From b5c0b2b0a220275827cb67e56fc5cb0fc1ece6fa Mon Sep 17 00:00:00 2001 From: isanae <14251494+isanae@users.noreply.github.com> Date: Sun, 9 Feb 2020 00:24:16 -0500 Subject: updated stylesheets for new "filtered" property on lists with FilterWidget --- src/stylesheets/Night Eyes.qss | 6 ++++- src/stylesheets/Parchment v1.1 by Bob.qss | 4 +++ src/stylesheets/Transparent-Style-101-Green.qss | 35 ++++++++++++++----------- src/stylesheets/Transparent-Style-BOS.qss | 9 +++++-- src/stylesheets/Transparent-Style-Skyrim.qss | 9 +++++-- src/stylesheets/dark.qss | 4 +++ src/stylesheets/dracula.qss | 4 +++ src/stylesheets/skyrim.qss | 4 +++ src/stylesheets/vs15 Dark-Green.qss | 4 +++ src/stylesheets/vs15 Dark-Orange.qss | 4 +++ src/stylesheets/vs15 Dark-Purple.qss | 4 +++ src/stylesheets/vs15 Dark-Red.qss | 4 +++ src/stylesheets/vs15 Dark-Yellow.qss | 4 +++ src/stylesheets/vs15 Dark.qss | 4 +++ 14 files changed, 79 insertions(+), 20 deletions(-) (limited to 'src/stylesheets') diff --git a/src/stylesheets/Night Eyes.qss b/src/stylesheets/Night Eyes.qss index 14f7434e..6642284c 100644 --- a/src/stylesheets/Night Eyes.qss +++ b/src/stylesheets/Night Eyes.qss @@ -691,4 +691,8 @@ QProgressBar border-radius: 5px; text-align: center; margin: 0px; -} \ No newline at end of file +} + +QAbstractItemView[filtered=true] { + border: 2px solid #f00 !important; +} diff --git a/src/stylesheets/Parchment v1.1 by Bob.qss b/src/stylesheets/Parchment v1.1 by Bob.qss index 61c2f84d..1f549fa7 100644 --- a/src/stylesheets/Parchment v1.1 by Bob.qss +++ b/src/stylesheets/Parchment v1.1 by Bob.qss @@ -145,6 +145,10 @@ QWebView { border-radius: 6px; } +QAbstractItemView[filtered=true] { + border: 2px solid #f00 !important; +} + /* Group Boxes */ QGroupBox { diff --git a/src/stylesheets/Transparent-Style-101-Green.qss b/src/stylesheets/Transparent-Style-101-Green.qss index 3bbdb5db..e5688d75 100644 --- a/src/stylesheets/Transparent-Style-101-Green.qss +++ b/src/stylesheets/Transparent-Style-101-Green.qss @@ -6,13 +6,13 @@ } QWidget { color: #fff; - background-color: rgb(0, 204, 0, 5); - alternate-background-color: rgb(0, 204, 0, 10); + background-color: rgba(0, 204, 0, 5); + alternate-background-color: rgba(0, 204, 0, 10); } QAbstractItemView { color: #fff; - background-color: rgb(0, 204, 0, 5); - alternate-background-color: rgb(0, 204, 0, 10); + background-color: rgba(0, 204, 0, 5); + alternate-background-color: rgba(0, 204, 0, 10); border: 1px solid #001a00; border-style:outset; border-radius: 3px; @@ -29,7 +29,7 @@ border-image: url(./Transparent-Style/Green/vault-tec-small.png) 0 0 0 0 stretch stretch; } #nameLabel { - background-color: rgb(0, 0, 0, 20); + background-color: rgba(0, 0, 0, 20); border-top:1px solid black; border-bottom:1px solid black; } @@ -269,7 +269,7 @@ padding-right: 5%; } QPushButton:open { - background-color: rgb(0, 204, 0, 100); + background-color: rgba(0, 204, 0, 100); } QPushButton:!enabled { border: 1px grey; @@ -331,29 +331,34 @@ border-radius: 5px; border-top:1px solid #b9d7fc; border-bottom:1px solid #b9d7fc; - background-color: rgb(0, 204, 0, 100); + background-color: rgba(0, 204, 0, 100); } QTreeView::branch:has-siblings:!adjoins-item { - background:url(Vault-101/Vault-101-item-line-v.png) center center no-repeat; + background:url(Transparent-Style/Green/Vault-101-item-line-v.png) center center no-repeat; } QTreeView::branch:has-siblings { - background:url(Vault-101/Vault-101-itemB-line.png) center center no-repeat; + background:url(Transparent-Style/Green/Vault-101-itemB-line.png) center center no-repeat; } QTreeView::branch:!has-children:!has-siblings:adjoins-item { - background:url(Vault-101/Vault-101-itemB-end.png) center center no-repeat; + background:url(Transparent-Style/Green/Vault-101-itemB-end.png) center center no-repeat; } QTreeView::branch:closed:has-children:has-siblings { - background:url(Vault-101/Vault-101-itemB-close.png) center center no-repeat; + background:url(Transparent-Style/Green/Vault-101-itemB-close.png) center center no-repeat; } QTreeView::branch:closed:has-children:!has-siblings { - background:url(Vault-101/Vault-101-itemB-close-last.png) center center no-repeat; + background:url(Transparent-Style/Green/Vault-101-itemB-close-last.png) center center no-repeat; } QTreeView::branch:open:has-children:has-siblings { - background:url(Vault-101/Vault-101-itemB-open.png) center center no-repeat; + background:url(Transparent-Style/Green/Vault-101-itemB-open.png) center center no-repeat; } QTreeView::branch:open:has-children:!has-siblings { - background:url(Vault-101/Vault-101-itemB-open-last.png) center center no-repeat; + background:url(Transparent-Style/Green/Vault-101-itemB-open-last.png) center center no-repeat; } + +QAbstractItemView[filtered=true] { + border: 2px solid #f00 !important; +} + /* **************************************************************** */ /* Checkboxes and Radio buttons common #QCheckBox, #QRadioButton */ /* common */ @@ -477,7 +482,7 @@ QStatusBar::item {border: None;} border-radius:5px; margin: 0px; padding-left:2px; - selection-background-color: rgb(0, 204, 0, 10); + selection-background-color: rgba(0, 204, 0, 10); } /* Font size */ QLabel, QMenu, QPushButton, QTabBar, QTextEdit, QLineEdit, QWebView, QComboBox, QComboBox:editable, QAbstractSpinBox, QGroupBox, QCheckBox, QRadioButton { diff --git a/src/stylesheets/Transparent-Style-BOS.qss b/src/stylesheets/Transparent-Style-BOS.qss index 33eed327..8cec7309 100644 --- a/src/stylesheets/Transparent-Style-BOS.qss +++ b/src/stylesheets/Transparent-Style-BOS.qss @@ -12,8 +12,8 @@ } QAbstractItemView{ color: #dcdcdc; - background-color: rgb(45,45,48,30); - alternate-background-color: rgb(38,38,38,50); + background-color: rgba(45,45,48,30); + alternate-background-color: rgba(38,38,38,50); border: 1px solid #3F3F46; /* Grey - Blue*/ border-style:outset; @@ -507,6 +507,11 @@ QMenu::item:selected{ QTreeView::branch:open:has-children:!has-siblings{ background:url(Transparent-Style/vault-101-itemB-open-last.png) center center no-repeat; } + +QAbstractItemView[filtered=true] { + border: 2px solid #f00 !important; +} + /* **************************************************************** */ /* Checkboxes and Radio buttons common #QCheckBox, #QRadioButton */ /* common */ diff --git a/src/stylesheets/Transparent-Style-Skyrim.qss b/src/stylesheets/Transparent-Style-Skyrim.qss index 308580a5..4e649cf3 100644 --- a/src/stylesheets/Transparent-Style-Skyrim.qss +++ b/src/stylesheets/Transparent-Style-Skyrim.qss @@ -12,8 +12,8 @@ } QAbstractItemView{ color: #dcdcdc; - background-color: rgb(45,45,48,30); - alternate-background-color: rgb(38,38,38,50); + background-color: rgba(45,45,48,30); + alternate-background-color: rgba(38,38,38,50); border: 1px solid #3F3F46; /* Grey - Blue*/ border-style:outset; @@ -507,6 +507,11 @@ QMenu::item:selected{ QTreeView::branch:open:has-children:!has-siblings{ background:url(Transparent-Style/vault-101-itemB-open-last.png) center center no-repeat; } + +QAbstractItemView[filtered=true] { + border: 2px solid #f00 !important; +} + /* **************************************************************** */ /* Checkboxes and Radio buttons common #QCheckBox, #QRadioButton */ /* common */ diff --git a/src/stylesheets/dark.qss b/src/stylesheets/dark.qss index 91f808bc..d220d887 100644 --- a/src/stylesheets/dark.qss +++ b/src/stylesheets/dark.qss @@ -356,6 +356,10 @@ QTreeView, QListView alternate-background-color: #2F3031; } +QAbstractItemView[filtered=true] { + border: 2px solid #f00 !important; +} + QTreeView::branch:has-children:!has-siblings:closed, QTreeView::branch:closed:has-children:has-siblings { diff --git a/src/stylesheets/dracula.qss b/src/stylesheets/dracula.qss index a78d2414..5a296fd4 100644 --- a/src/stylesheets/dracula.qss +++ b/src/stylesheets/dracula.qss @@ -373,6 +373,10 @@ QTreeView::branch:open:has-children:has-siblings { image: url(:/stylesheet/branch-open.png); } +QAbstractItemView[filtered=true] { + border: 2px solid #f00 !important; +} + /* * Tool bar */ diff --git a/src/stylesheets/skyrim.qss b/src/stylesheets/skyrim.qss index a516f5ff..6191d87d 100644 --- a/src/stylesheets/skyrim.qss +++ b/src/stylesheets/skyrim.qss @@ -79,6 +79,10 @@ QListView, QTreeView { show-decoration-selected: 1; } +QAbstractItemView[filtered=true] { + background-color: #f00 !important; +} + QAbstractItemView::item:hover, QListView::item:hover, QTreeView::branch:hover, diff --git a/src/stylesheets/vs15 Dark-Green.qss b/src/stylesheets/vs15 Dark-Green.qss index 0a3150ad..fbc85015 100644 --- a/src/stylesheets/vs15 Dark-Green.qss +++ b/src/stylesheets/vs15 Dark-Green.qss @@ -71,6 +71,10 @@ QAbstractItemView { background-color: #009933; color: #F1F1F1; } +QAbstractItemView[filtered=true] { + border: 2px solid #f00 !important; +} + QAbstractItemView, QListView, QTreeView { diff --git a/src/stylesheets/vs15 Dark-Orange.qss b/src/stylesheets/vs15 Dark-Orange.qss index 0e1d96b1..97fbf204 100644 --- a/src/stylesheets/vs15 Dark-Orange.qss +++ b/src/stylesheets/vs15 Dark-Orange.qss @@ -72,6 +72,10 @@ QAbstractItemView { background-color: #CC6600; color: #F1F1F1; } +QAbstractItemView[filtered=true] { + border: 2px solid #f00 !important; +} + QAbstractItemView, QListView, QTreeView { diff --git a/src/stylesheets/vs15 Dark-Purple.qss b/src/stylesheets/vs15 Dark-Purple.qss index c19d188b..d40e874a 100644 --- a/src/stylesheets/vs15 Dark-Purple.qss +++ b/src/stylesheets/vs15 Dark-Purple.qss @@ -72,6 +72,10 @@ QAbstractItemView { background-color: #7E2AD2; color: #F1F1F1; } +QAbstractItemView[filtered=true] { + border: 2px solid #f00 !important; +} + QAbstractItemView, QListView, QTreeView { diff --git a/src/stylesheets/vs15 Dark-Red.qss b/src/stylesheets/vs15 Dark-Red.qss index a6221dff..16f9cd58 100644 --- a/src/stylesheets/vs15 Dark-Red.qss +++ b/src/stylesheets/vs15 Dark-Red.qss @@ -72,6 +72,10 @@ QAbstractItemView { background-color: #990000; color: #F1F1F1; } +QAbstractItemView[filtered=true] { + border: 2px solid #f00 !important; +} + QAbstractItemView, QListView, QTreeView { diff --git a/src/stylesheets/vs15 Dark-Yellow.qss b/src/stylesheets/vs15 Dark-Yellow.qss index fb2e0422..9a9c99e6 100644 --- a/src/stylesheets/vs15 Dark-Yellow.qss +++ b/src/stylesheets/vs15 Dark-Yellow.qss @@ -71,6 +71,10 @@ QAbstractItemView { background-color: #9A9A00; color: #F1F1F1; } +QAbstractItemView[filtered=true] { + border: 2px solid #f00 !important; +} + QAbstractItemView, QListView, QTreeView { diff --git a/src/stylesheets/vs15 Dark.qss b/src/stylesheets/vs15 Dark.qss index 17def4dd..e96dd416 100644 --- a/src/stylesheets/vs15 Dark.qss +++ b/src/stylesheets/vs15 Dark.qss @@ -71,6 +71,10 @@ QAbstractItemView { background-color: #3399FF; color: #F1F1F1; } +QAbstractItemView[filtered=true] { + border: 2px solid #f00 !important; +} + QAbstractItemView, QListView, QTreeView { -- cgit v1.3.1 From 7c2952b83c3aff216f2cd74523a24428ab4cf91c Mon Sep 17 00:00:00 2001 From: isanae <14251494+isanae@users.noreply.github.com> Date: Sun, 9 Feb 2020 02:33:01 -0500 Subject: fixed stylesheets for "valid-filter" property --- src/stylesheets/Night Eyes.qss | 4 ++++ src/stylesheets/Parchment v1.1 by Bob.qss | 6 +++++- src/stylesheets/Transparent-Style-101-Green.qss | 4 ++++ src/stylesheets/Transparent-Style-BOS.qss | 4 ++++ src/stylesheets/Transparent-Style-Skyrim.qss | 4 ++++ src/stylesheets/dark.qss | 4 ++++ src/stylesheets/dracula.qss | 4 ++++ src/stylesheets/skyrim.qss | 4 ++++ src/stylesheets/vs15 Dark-Green.qss | 4 ++++ src/stylesheets/vs15 Dark-Orange.qss | 4 ++++ src/stylesheets/vs15 Dark-Purple.qss | 4 ++++ src/stylesheets/vs15 Dark-Red.qss | 4 ++++ src/stylesheets/vs15 Dark-Yellow.qss | 4 ++++ src/stylesheets/vs15 Dark.qss | 4 ++++ 14 files changed, 57 insertions(+), 1 deletion(-) (limited to 'src/stylesheets') diff --git a/src/stylesheets/Night Eyes.qss b/src/stylesheets/Night Eyes.qss index 6642284c..135f0c09 100644 --- a/src/stylesheets/Night Eyes.qss +++ b/src/stylesheets/Night Eyes.qss @@ -696,3 +696,7 @@ QProgressBar QAbstractItemView[filtered=true] { border: 2px solid #f00 !important; } + +QLineEdit[valid-filter=false] { + background-color: #661111 !important; +} diff --git a/src/stylesheets/Parchment v1.1 by Bob.qss b/src/stylesheets/Parchment v1.1 by Bob.qss index 1f549fa7..269869ad 100644 --- a/src/stylesheets/Parchment v1.1 by Bob.qss +++ b/src/stylesheets/Parchment v1.1 by Bob.qss @@ -600,4 +600,8 @@ QSlider::handle:horizontal:hover { QTableView { gridline-color: #DBD399; border: 0px; -} \ No newline at end of file +} + +QLineEdit[valid-filter=false] { + background-color: #661111 !important; +} diff --git a/src/stylesheets/Transparent-Style-101-Green.qss b/src/stylesheets/Transparent-Style-101-Green.qss index e5688d75..0d35ec7e 100644 --- a/src/stylesheets/Transparent-Style-101-Green.qss +++ b/src/stylesheets/Transparent-Style-101-Green.qss @@ -500,3 +500,7 @@ LinkLabel { font-family: Source Sans Pro; font-size: 14px; } + +QLineEdit[valid-filter=false] { + background-color: #661111 !important; +} diff --git a/src/stylesheets/Transparent-Style-BOS.qss b/src/stylesheets/Transparent-Style-BOS.qss index 8cec7309..0b4ba23d 100644 --- a/src/stylesheets/Transparent-Style-BOS.qss +++ b/src/stylesheets/Transparent-Style-BOS.qss @@ -752,3 +752,7 @@ QStatusBar::item {border: None;} LinkLabel { qproperty-linkColor: #3399FF; } + +QLineEdit[valid-filter=false] { + background-color: #661111 !important; +} diff --git a/src/stylesheets/Transparent-Style-Skyrim.qss b/src/stylesheets/Transparent-Style-Skyrim.qss index 4e649cf3..cbc43033 100644 --- a/src/stylesheets/Transparent-Style-Skyrim.qss +++ b/src/stylesheets/Transparent-Style-Skyrim.qss @@ -752,3 +752,7 @@ QStatusBar::item {border: None;} LinkLabel { qproperty-linkColor: #3399FF; } + +QLineEdit[valid-filter=false] { + background-color: #661111 !important; +} diff --git a/src/stylesheets/dark.qss b/src/stylesheets/dark.qss index d220d887..1bf5c819 100644 --- a/src/stylesheets/dark.qss +++ b/src/stylesheets/dark.qss @@ -389,3 +389,7 @@ DownloadListWidget[downloadView=compact]::item { LinkLabel { qproperty-linkColor: #3399FF; } + +QLineEdit[valid-filter=false] { + background-color: #661111 !important; +} diff --git a/src/stylesheets/dracula.qss b/src/stylesheets/dracula.qss index 5a296fd4..9beba52d 100644 --- a/src/stylesheets/dracula.qss +++ b/src/stylesheets/dracula.qss @@ -439,3 +439,7 @@ QProgressBar::chunk { background-color: #427683; } + +QLineEdit[valid-filter=false] { + background-color: #661111 !important; +} diff --git a/src/stylesheets/skyrim.qss b/src/stylesheets/skyrim.qss index 6191d87d..ffd42640 100644 --- a/src/stylesheets/skyrim.qss +++ b/src/stylesheets/skyrim.qss @@ -663,3 +663,7 @@ QDialog#CredentialsDialog { #pluginsList { min-width: 260px; } + +QLineEdit[valid-filter=false] { + background-color: #661111 !important; +} diff --git a/src/stylesheets/vs15 Dark-Green.qss b/src/stylesheets/vs15 Dark-Green.qss index fbc85015..a4c6a2cc 100644 --- a/src/stylesheets/vs15 Dark-Green.qss +++ b/src/stylesheets/vs15 Dark-Green.qss @@ -759,3 +759,7 @@ QDialog#QueryOverwriteDialog { QDialog#ModInfoDialog { min-width: 850px; } + +QLineEdit[valid-filter=false] { + background-color: #661111 !important; +} diff --git a/src/stylesheets/vs15 Dark-Orange.qss b/src/stylesheets/vs15 Dark-Orange.qss index 97fbf204..c909d103 100644 --- a/src/stylesheets/vs15 Dark-Orange.qss +++ b/src/stylesheets/vs15 Dark-Orange.qss @@ -760,3 +760,7 @@ QDialog#QueryOverwriteDialog { QDialog#ModInfoDialog { min-width: 850px; } + +QLineEdit[valid-filter=false] { + background-color: #661111 !important; +} diff --git a/src/stylesheets/vs15 Dark-Purple.qss b/src/stylesheets/vs15 Dark-Purple.qss index d40e874a..2cff0e06 100644 --- a/src/stylesheets/vs15 Dark-Purple.qss +++ b/src/stylesheets/vs15 Dark-Purple.qss @@ -760,3 +760,7 @@ QDialog#QueryOverwriteDialog { QDialog#ModInfoDialog { min-width: 850px; } + +QLineEdit[valid-filter=false] { + background-color: #661111 !important; +} diff --git a/src/stylesheets/vs15 Dark-Red.qss b/src/stylesheets/vs15 Dark-Red.qss index 16f9cd58..2df39fc4 100644 --- a/src/stylesheets/vs15 Dark-Red.qss +++ b/src/stylesheets/vs15 Dark-Red.qss @@ -760,3 +760,7 @@ QDialog#QueryOverwriteDialog { QDialog#ModInfoDialog { min-width: 850px; } + +QLineEdit[valid-filter=false] { + background-color: #661111 !important; +} diff --git a/src/stylesheets/vs15 Dark-Yellow.qss b/src/stylesheets/vs15 Dark-Yellow.qss index 9a9c99e6..63688511 100644 --- a/src/stylesheets/vs15 Dark-Yellow.qss +++ b/src/stylesheets/vs15 Dark-Yellow.qss @@ -759,3 +759,7 @@ QDialog#QueryOverwriteDialog { QDialog#ModInfoDialog { min-width: 850px; } + +QLineEdit[valid-filter=false] { + background-color: #661111 !important; +} diff --git a/src/stylesheets/vs15 Dark.qss b/src/stylesheets/vs15 Dark.qss index e96dd416..af29a696 100644 --- a/src/stylesheets/vs15 Dark.qss +++ b/src/stylesheets/vs15 Dark.qss @@ -759,3 +759,7 @@ QDialog#QueryOverwriteDialog { QDialog#ModInfoDialog { min-width: 850px; } + +QLineEdit[valid-filter=false] { + background-color: #661111 !important; +} -- cgit v1.3.1