diff options
author | Ken Moore <moorekou@gmail.com> | 2016-06-15 15:46:57 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2016-06-15 15:46:57 -0400 |
commit | 546ea0917f5d4185d784e1cd96256ad2e23fefc4 (patch) | |
tree | 2a20f04ea8b662e32113581de078396c88fa58f6 /src-qt5/core/libLumina/themes | |
parent | make the new start menu search a bit more responsive (in case of lots of resu... (diff) | |
download | lumina-546ea0917f5d4185d784e1cd96256ad2e23fefc4.tar.gz lumina-546ea0917f5d4185d784e1cd96256ad2e23fefc4.tar.bz2 lumina-546ea0917f5d4185d784e1cd96256ad2e23fefc4.zip |
Another few fixes for the new Glass theme.
Diffstat (limited to 'src-qt5/core/libLumina/themes')
-rw-r--r-- | src-qt5/core/libLumina/themes/Glass.qss.template | 33 |
1 files changed, 20 insertions, 13 deletions
diff --git a/src-qt5/core/libLumina/themes/Glass.qss.template b/src-qt5/core/libLumina/themes/Glass.qss.template index de032668..c0c4e9e0 100644 --- a/src-qt5/core/libLumina/themes/Glass.qss.template +++ b/src-qt5/core/libLumina/themes/Glass.qss.template @@ -3,8 +3,10 @@ INHERITS=None /* ALL THE WIDGETS WITH THE BASE COLOR */ QMainWindow, QMenu, QDialog, QMessageBox{ - background: %%BASECOLOR%%; + background: qradialgradient(spread:reflect, cx:0.113757, cy:0.875, radius:0.7, fx:0.045, fy:0.954545, stop:0 %%BASECOLOR%%, stop:1 %%ALTBASECOLOR%%); color: %%TEXTCOLOR%%; + border: 1px solid %%ACCENTDISABLECOLOR%%; + border-radius: 3px; } /* ALL THE WIDGETS WITH AN ALTERNATE BASE COLOR */ @@ -14,12 +16,11 @@ QLineEdit, QTextEdit, QTextBrowser, QPlainTextEdit, QSpinBox, QDateEdit, QDateTi border-color: %%ACCENTDISABLECOLOR%%; selection-background-color: %%HIGHLIGHTCOLOR%%; selection-color: %%TEXTHIGHLIGHTCOLOR%%; - } /* PAGES OF CONTAINER WIDGETS */ QStackedWidget .QWidget, QTabWidget .QWidget{ - background: %%ALTBASECOLOR%%; + background: transparent; color: %%TEXTCOLOR%%; border: none; } @@ -29,7 +30,7 @@ QToolBox::tab{ /* MENU WIDGETS */ QMenuBar, QMenuBar::item,QToolBar{ - background: %%SECONDARYCOLOR%%; + background: transparent; border: none; color: %%TEXTCOLOR%%; } @@ -67,9 +68,9 @@ QMenuBar::item:disabled{ color: %%TEXTDISABLECOLOR%%; } -QMenu::item{ +/*QMenu::item{ border: 2px solid #808080; -} +}*/ QMenu::item{ background: transparent; @@ -244,8 +245,7 @@ QHeaderView::section:hover{ /* SCROLLBARS (NOTE: Changing 1 subcontrol means you have to change all of them)*/ QScrollBar{ - background: QLinearGradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 %%SECONDARYCOLOR%%, stop: 1 %%SECONDARYDISABLECOLOR%%); - /*border: 1px solid %%ACCENTCOLOR%%;*/ + background:%%BASECOLOR%%; } QScrollBar:horizontal{ margin: 0px 20px 0px 20px; @@ -255,7 +255,7 @@ QScrollBar:vertical{ } QScrollBar::sub-page, QScrollBar::add-page{ background: %%BASECOLOR%%; - border: 1px solid %%ACCENTCOLOR%%; + border: 1px solid transparent; } QScrollBar::sub-page:vertical{ border-bottom: none; @@ -270,15 +270,16 @@ QScrollBar::add-page:horizontal{ border-left: none; } QScrollBar::handle{ - 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%%; + background: QLinearGradient(x1: 0.5, y1: 0, x2: 0.5, y2: 1, stop: 0 %%SECONDARYDISABLECOLOR%%, stop: 0.5 %%SECONDARYCOLOR%%, stop: 1 %%SECONDARYDISABLECOLOR%%); + border: 1px solid transparent; + border-radius: 3px; } 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 %%SECONDARYDISABLECOLOR%%, stop: 1 %%SECONDARYCOLOR%%); - border: 1px solid %%ACCENTCOLOR%%; + border: 1px solid transparent; border-radius: 3px; subcontrol-position: bottom right; subcontrol-origin: margin; @@ -291,7 +292,7 @@ width: 20px; } QScrollBar::sub-line{ background: QLinearGradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 %%SECONDARYCOLOR%%, stop: 1 %%SECONDARYDISABLECOLOR%%); - border: 1px solid %%ACCENTCOLOR%%; + border: 1px solid transparent; border-radius: 3px; subcontrol-position: top left; subcontrol-origin: margin; @@ -457,6 +458,11 @@ QProgressBar::chunk:horizontal{ margin-bottom: 2px; } +QWidget#LuminaBootSplash{ + background: qradialgradient(spread:reflect, cx:0.113757, cy:0.875, radius:0.7, fx:0.045, fy:0.954545, stop:0 rgba(234, 236, 243, 30), stop:1 rgba(229, 229, 229, 70)); + border-radius: 5px; +} + LDPlugin#applauncher QToolButton, LDPlugin, LDPlugin#desktopview QListWidget::item{ background-color: qradialgradient(spread:reflect, cx:0.113757, cy:0.875, radius:0.7, fx:0.045, fy:0.954545, stop:0 rgba(234, 236, 243, 30), stop:1 rgba(229, 229, 229, 70)); border-width: 3px; @@ -468,6 +474,7 @@ LDPlugin#applauncher QToolButton, LDPlugin, LDPlugin#desktopview QListWidget::i border-right-color: qradialgradient(spread:pad, cx:0, cy:0.5, radius:0.5, fx:1, fy:0.5, stop:0 rgba(255, 255, 255, 30), stop:0.724868 rgba(255, 255, 255, 60), stop:1 rgba(255, 255, 255, 10)); color: white; } + LDPlugin#applauncher QToolButton:hover, LDPlugin#desktopview QListWidget::item:hover{ background-color: qradialgradient(spread:reflect, cx:0.113757, cy:0.875, radius:0.7, fx:0.045, fy:0.954545, stop:0 rgba(234, 236, 243, 100), stop:1 rgba(229, 229, 229, 150)); border-width: 3px; |