aboutsummaryrefslogtreecommitdiff
path: root/libLumina/themes
diff options
context:
space:
mode:
Diffstat (limited to 'libLumina/themes')
-rw-r--r--libLumina/themes/Lumina-default.qss.template56
-rw-r--r--libLumina/themes/None.qss.template14
2 files changed, 51 insertions, 19 deletions
diff --git a/libLumina/themes/Lumina-default.qss.template b/libLumina/themes/Lumina-default.qss.template
index ed02b310..1b47e0af 100644
--- a/libLumina/themes/Lumina-default.qss.template
+++ b/libLumina/themes/Lumina-default.qss.template
@@ -79,18 +79,24 @@ LTBWidget{
}
LTBWidget::menu-indicator{ image: none; } /*disable the menu arrow*/
LTBWidget#WindowVisible{
- background: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0 %%SECONDARYDISABLECOLOR%%, stop: 1 transparent);
+ background: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 1.1, stop: 0.3 %%SECONDARYCOLOR%%, stop: 1 transparent);
}
LTBWidget#WindowInvisible{
/* Primary color is used for the panel appearance, so use that to make it disappear*/
- background: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0 %%PRIMARYCOLOR%%, stop: 1 transparent);
+ background: transparent;
}
LTBWidget#WindowActive{
- background: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0 %%ACCENTCOLOR%%, stop: 1 transparent);
+ background: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 1.1, stop: 0.3 %%HIGHLIGHTDISABLECOLOR%%, stop: 1 transparent);
}
LTBWidget#WindowAttention{
- background: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0 %%HIGHLIGHTDISABLECOLOR%%, stop: 1 transparent);
+ background: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 1.1, stop: 0.3 %%HIGHLIGHTCOLOR%%, stop: 1 transparent);
+}
+LTBWidget:hover, LTBWidget#WindowVisible:hover, LTBWidget#WindowInvisible:hover, LTBWidget#WindowActive:hover, LTBWidget#WindowAttention:hover{
+ background: %%HIGHLIGHTCOLOR%%;
+ color: %%TEXTHIGHLIGHTCOLOR%%;
+ border: 1px solid %%ACCENTCOLOR%%;
}
+
/* ALL THE WIDGETS WITH THE BASE COLOR */
QMainWindow, QMenu, QDialog, QMessageBox{
background: %%BASECOLOR%%;
@@ -118,13 +124,32 @@ QToolBox::tab{
}
/* MENU WIDGETS */
-QMenuBar, QMenuBar::item, QToolBar, QStatusBar{
- background: transparent;
- border-color: none;
+QMenuBar, QMenuBar::item,QToolBar{
+ background: %%SECONDARYCOLOR%%;
+ border: none;
+ color: %%TEXTCOLOR%%;
+}
+
+QStatusBar{
+ background: QLinearGradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 transparent, stop: 0.5 %%SECONDARYCOLOR%%);
+ border: none;
color: %%TEXTCOLOR%%;
}
+QToolBar:top{
+ border-bottom: 1px solid %%ACCENTCOLOR%%;
+}
+QToolBar:bottom{
+ border-top: 1px solid %%ACCENTCOLOR%%;
+}
+QToolBar:left{
+ border-right: 1px solid %%ACCENTCOLOR%%;
+}
+QToolBar:right{
+ border-left: 1px solid %%ACCENTCOLOR%%;
+}
QMenuBar::item{
+ background: transparent; /*Use the menu bar color*/
padding-left: 4px;
padding-right: 2px;
}
@@ -233,7 +258,7 @@ QGroupBox::title{
subcontrol-position: top center;
padding: 0 3px;
background: transparent;
- border: none;
+ /*border: none;*/
color: %%TEXTCOLOR%%;
}
@@ -270,6 +295,7 @@ Already set though parentage and causes usage errors if set manually
border-color: %%ACCENTCOLOR%%;
color: %%TEXTCOLOR%%;
}*/
+
QTreeView::item:hover, QListView::item:hover{
background: %%HIGHLIGHTDISABLECOLOR%%;
}
@@ -325,14 +351,14 @@ QScrollBar::add-page:horizontal{
border-left: none;
}
QScrollBar::handle{
- background: QLinearGradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 %%SECONDARYCOLOR%%, stop: 1 %%SECONDARYDISABLECOLOR%%);
+ background: QLinearGradient(x1: 0, y1: -0.3, x2: 0, y2: 1.3, stop: 0 %%BASECOLOR%%, stop: 0.5 %%SECONDARYCOLOR%%, stop: 1 %%BASECOLOR%%);
border: 1px solid %%ACCENTCOLOR%%;
}
QScrollBar::handle:hover, QScrollBar::add-line:hover, QScrollBar::sub-line:hover{
background: %%HIGHLIGHTCOLOR%%;
}
QScrollBar::add-line{
- background: QLinearGradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 %%BASECOLOR%%, stop: 1 %%SECONDARYCOLOR%%);
+ background: QLinearGradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 %%SECONDARYDISABLECOLOR%%, stop: 1 %%SECONDARYCOLOR%%);
border: 1px solid %%ACCENTCOLOR%%;
subcontrol-position: bottom right;
subcontrol-origin: margin;
@@ -344,7 +370,7 @@ QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal{
width: 20px;
}
QScrollBar::sub-line{
- background: QLinearGradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 %%SECONDARYCOLOR%%, stop: 1 %%BASECOLOR%%);
+ background: QLinearGradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 %%SECONDARYCOLOR%%, stop: 1 %%SECONDARYDISABLECOLOR%%);
border: 1px solid %%ACCENTCOLOR%%;
subcontrol-position: top left;
subcontrol-origin: margin;
@@ -424,7 +450,7 @@ border: 1px solid %%ACCENTCOLOR%%;
/* BUTTONS */
QPushButton{
border: 1px solid %%ACCENTCOLOR%%;
- border-radius: 6px;
+ border-radius: 3px;
background-color: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0 %%SECONDARYDISABLECOLOR%%, stop: 1 %%SECONDARYCOLOR%%);
padding: 2px;
padding-right: 4px;
@@ -449,8 +475,8 @@ QPushButton:flat, QToolButton:flat{
border: 1px solid transparent; /* no border for a flat button */
}
-QPushButton::hover, QToolButton::hover{
- border: 1px solid %%ACCENTDISABLECOLOR%%;
+QPushButton:hover, QToolButton:hover{
+ border: 1px solid %%ACCENTCOLOR%%;
background-color: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0 %%HIGHLIGHTDISABLECOLOR%%, stop: 1 %%HIGHLIGHTCOLOR%%);
color: %%TEXTHIGHLIGHTCOLOR%%;
}
@@ -466,7 +492,7 @@ QRadioButton::hover, QCheckBox:hover{
color: %%TEXTHIGHLIGHTCOLOR%%;
}
QRadioButton::indicator, QCheckBox::indicator, QGroupBox::indicator{
- border: 1px solid %%ACCENTCOLOR%%;
+ border: 1px solid %%TEXTCOLOR%%;
}
QRadioButton::indicator{
border-radius: 7px;
diff --git a/libLumina/themes/None.qss.template b/libLumina/themes/None.qss.template
index 430bd44b..4b1d302d 100644
--- a/libLumina/themes/None.qss.template
+++ b/libLumina/themes/None.qss.template
@@ -68,6 +68,7 @@ UserItemWidget:hover{
background: %%HIGHLIGHTCOLOR%%;
color: %%TEXTHIGHLIGHTCOLOR%%;
}
+
/*Special taskmanager window buttons: based on window state*/
LTBWidget{
border: 1px solid transparent;
@@ -75,17 +76,22 @@ LTBWidget{
}
LTBWidget::menu-indicator{ image: none; } /*disable the menu arrow*/
LTBWidget#WindowVisible{
- background: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0 %%SECONDARYDISABLECOLOR%%, stop: 1 transparent);
+ background: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 1.1, stop: 0.3 %%SECONDARYCOLOR%%, stop: 1 transparent);
}
LTBWidget#WindowInvisible{
/* Primary color is used for the panel appearance, so use that to make it disappear*/
- background: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0 %%PRIMARYCOLOR%%, stop: 1 transparent);
+ background: transparent;
}
LTBWidget#WindowActive{
- background: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0 %%ACCENTCOLOR%%, stop: 1 transparent);
+ background: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 1.1, stop: 0.3 %%HIGHLIGHTDISABLECOLOR%%, stop: 1 transparent);
}
LTBWidget#WindowAttention{
- background: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0 %%HIGHLIGHTDISABLECOLOR%%, stop: 1 transparent);
+ background: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 1.1, stop: 0.3 %%HIGHLIGHTCOLOR%%, stop: 1 transparent);
+}
+LTBWidget:hover, LTBWidget#WindowVisible:hover, LTBWidget#WindowInvisible:hover, LTBWidget#WindowActive:hover, LTBWidget#WindowAttention:hover{
+ background: %%HIGHLIGHTCOLOR%%;
+ color: %%TEXTHIGHLIGHTCOLOR%%;
+ border: 1px solid %%ACCENTCOLOR%%;
}
/* CALENDER WIDGET */
bgstack15