aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/themes
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2016-07-25 11:47:26 -0400
committerKen Moore <ken@pcbsd.org>2016-07-25 11:47:26 -0400
commit90b6f1d234d47eaf7ccddd63953a06693cc385d8 (patch)
tree2cad2c7ba443b7bccdda40975bf9b76e0a205b54 /src-qt5/core/libLumina/themes
parentMerge branch 'master' of github.com:trueos/lumina (diff)
downloadlumina-90b6f1d234d47eaf7ccddd63953a06693cc385d8.tar.gz
lumina-90b6f1d234d47eaf7ccddd63953a06693cc385d8.tar.bz2
lumina-90b6f1d234d47eaf7ccddd63953a06693cc385d8.zip
Update the "Glass" theme and colors a bit.
Diffstat (limited to 'src-qt5/core/libLumina/themes')
-rw-r--r--src-qt5/core/libLumina/themes/Glass.qss.template77
1 files changed, 29 insertions, 48 deletions
diff --git a/src-qt5/core/libLumina/themes/Glass.qss.template b/src-qt5/core/libLumina/themes/Glass.qss.template
index 827d8de4..d594d25e 100644
--- a/src-qt5/core/libLumina/themes/Glass.qss.template
+++ b/src-qt5/core/libLumina/themes/Glass.qss.template
@@ -24,15 +24,6 @@ QStackedWidget .QWidget{
color: %%TEXTCOLOR%%;
border: none;
}
-/* Transparency does not work on main pages within tabwidgets*/
-QTabWidget QStackedWidget .QWidget{
- background: %%ALTBASECOLOR%%;
-}
-QTabWidget{
- background: %%ALTBASECOLOR%%;
- color: %%TEXTCOLOR%%;
- border: none;
-}
QToolBox::tab{
color: %%TEXTCOLOR%%;
@@ -96,8 +87,21 @@ QMenu::item{
Custom Font settings need to be here and NOT in the ::tab fields,
otherwise it will break auto-scaling of the tab sizes to fit the text
}*/
+/* Transparency does not work on main pages within tabwidgets*/
+QTabWidget QStackedWidget .QWidget{
+ background: rgb(230,230,230);
+ border-bottom-left-radius: 4px;
+ border-bottom-right-radius: 4px;
+}
+QTabWidget{
+ color: black;
+ border: none;
+}
+QTabWidget QLabel{
+ color: black;
+}
QTabBar::tab {
- background: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0 %%SECONDARYDISABLECOLOR%%, stop: 1 %%SECONDARYCOLOR%%);
+ background: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0 %%SECONDARYDISABLECOLOR%%, stop: 1 %%ALTBASECOLOR%%);
border: 1px solid %%ACCENTCOLOR%%;
padding: 2px;
color: %%TEXTCOLOR%%;
@@ -128,7 +132,8 @@ QTabBar::tab:left{
min-height: 0em;
}
QTabBar::tab:selected{
- background: %%HIGHLIGHTDISABLECOLOR%%;
+ background: QLinearGradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 %%HIGHLIGHTDISABLECOLOR%%, stop: 1 rgb(230,230,230));
+ border-bottom: none;
}
QTabBar::tab:hover {
background: %%HIGHLIGHTCOLOR%%;
@@ -255,59 +260,35 @@ QHeaderView::section:hover{
/* SCROLLBARS (NOTE: Changing 1 subcontrol means you have to change all of them)*/
QScrollBar{
- background:%%BASECOLOR%%;
+ background:%%ALTBASECOLOR%%;
}
QScrollBar:horizontal{
- margin: 0px 20px 0px 20px;
+ margin: 0px 0px 0px 0px;
}
QScrollBar:vertical{
- margin: 20px 0px 20px 0px;
-}
-QScrollBar::sub-page, QScrollBar::add-page{
- background: %%BASECOLOR%%;
- border: 1px solid transparent;
-}
-QScrollBar::sub-page:vertical{
- border-bottom: none;
-}
-QScrollBar::add-page:vertical{
- border-top: none;
-}
-QScrollBar::sub-page:horizontal{
- border-right: none;
-}
-QScrollBar::add-page:horizontal{
- border-left: none;
+ margin: 0px 0px 0px 0px;
}
QScrollBar::handle{
- background: QLinearGradient(x1: 0.5, y1: 0, x2: 0.5, y2: 1, stop: 0 %%SECONDARYDISABLECOLOR%%, stop: 0.5 %%SECONDARYCOLOR%%, stop: 1 %%SECONDARYDISABLECOLOR%%);
+ background: %%SECONDARYCOLOR%%;
border: 1px solid transparent;
- border-radius: 3px;
+ border-radius: 7px;
}
QScrollBar::handle:hover, QScrollBar::add-line:hover, QScrollBar::sub-line:hover{
- background: %%HIGHLIGHTCOLOR%%;
+ background: %%SECONDARYDISABLECOLOR%%;
}
QScrollBar::add-line{
- background: QLinearGradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 %%SECONDARYDISABLECOLOR%%, stop: 1 %%SECONDARYCOLOR%%);
- border: 1px solid transparent;
- border-radius: 3px;
-subcontrol-position: bottom right;
-subcontrol-origin: margin;
+subcontrol-origin: none;
}
QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical{
-height: 20px;
+height: 0px;
}
QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal{
-width: 20px;
+width: 0px;
}
QScrollBar::sub-line{
- background: QLinearGradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 %%SECONDARYCOLOR%%, stop: 1 %%SECONDARYDISABLECOLOR%%);
- border: 1px solid transparent;
- border-radius: 3px;
-subcontrol-position: top left;
-subcontrol-origin: margin;
-height: 20px;
+subcontrol-origin: none;
}
+
/* SLIDERS */
QSlider::groove:horizontal {
border: 1px solid %%ACCENTCOLOR%%;
@@ -539,7 +520,7 @@ LTBWidget:hover, LTBWidget#WindowVisible:hover, LTBWidget#WindowInvisible:hover,
}
QCalendarWidget QWidget{
background-color: %%BASECOLOR%%;
- alternate-background-color: rgba(229, 229, 229, 50);
+ alternate-background-color: rgba(255, 255, 255, 50);
color: %%TEXTCOLOR%%;
}
QCalendarWidget QAbstractButton{
@@ -553,6 +534,6 @@ QCalendarWidget QAbstractItemView{
selection-color: %%TEXTHIGHLIGHTCOLOR%%;
}
QCalendarWidget QWidget#qt_calendar_calendarview{
- background-color: %%ALTBASECOLOR%%;
+ background-color: rgb(220,220,220);
border: none;
}
bgstack15