aboutsummaryrefslogtreecommitdiff
path: root/libLumina
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2015-10-15 14:20:56 -0400
committerKen Moore <moorekou@gmail.com>2015-10-15 14:20:56 -0400
commit5d6689bd8e0a2578dfb629027957cefc0a582ec3 (patch)
treee61767bb760fba4c479c88fc95b00e19e83dffe9 /libLumina
parentClean up the copy/cut/paste/delete keyboard shortcuts. Now the shortcuts are ... (diff)
downloadlumina-5d6689bd8e0a2578dfb629027957cefc0a582ec3.tar.gz
lumina-5d6689bd8e0a2578dfb629027957cefc0a582ec3.tar.bz2
lumina-5d6689bd8e0a2578dfb629027957cefc0a582ec3.zip
Adjust the theme file a little bit for some more visual cues about which list/tree widget currently has focus.
Diffstat (limited to 'libLumina')
-rw-r--r--libLumina/themes/Lumina-default.qss.template15
1 files changed, 12 insertions, 3 deletions
diff --git a/libLumina/themes/Lumina-default.qss.template b/libLumina/themes/Lumina-default.qss.template
index 9133ccf8..4bd2979d 100644
--- a/libLumina/themes/Lumina-default.qss.template
+++ b/libLumina/themes/Lumina-default.qss.template
@@ -181,14 +181,18 @@ QComboBox{
QTreeView, QListView{
background: %%ALTBASECOLOR%%;
alternate-background-color: %%BASECOLOR%%;
- selection-background-color: %%SECONDARYCOLOR%%;
+ /*selection-background-color: %%SECONDARYCOLOR%%;*/
border: 1px solid %%ACCENTCOLOR%%;
border-radius: 3px;
- show-decoration-selected: 1;
+ /*show-decoration-selected: 1;*/
color: %%TEXTCOLOR%%;
selection-color: %%TEXTCOLOR%%;
}
+QTreeView:focus, QListView:focus{
+ border: 1px solid %%HIGHLIGHTDISABLECOLOR%%;
+}
+
/*
QTreeView::item and QListView::item unneccessary:
Already set though parentage and causes usage errors if set manually
@@ -206,7 +210,12 @@ QTreeView::item:hover, QListView::item:hover{
QTreeView::item:selected:hover, QListView::item:selected:hover{
background: %%HIGHLIGHTDISABLECOLOR%%;
}
-
+QTreeView::item:selected, QListView::item:selected{
+ background: %%SECONDARYDISABLECOLOR%%;
+}
+QTreeView::item:selected:focus, QListView::item:selected:focus{
+ background: %%SECONDARYCOLOR%%;
+}
QHeaderView{
background: %%HIGHLIGHTDISABLECOLOR%%;
color: %%TEXTHIGHLIGHTCOLOR%%;
bgstack15