diff options
author | Ken Moore <ken@pcbsd.org> | 2015-01-19 11:17:11 -0500 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-01-19 11:17:11 -0500 |
commit | a64499a04072df7918ba6c67eba41bf031c4dc05 (patch) | |
tree | cd98197d937fe70d626022ad76271ee51a4479fd /libLumina | |
parent | Update the user button to recognize the existance of a customized user icon f... (diff) | |
download | lumina-a64499a04072df7918ba6c67eba41bf031c4dc05.tar.gz lumina-a64499a04072df7918ba6c67eba41bf031c4dc05.tar.bz2 lumina-a64499a04072df7918ba6c67eba41bf031c4dc05.zip |
Update the themes that are included within Lumina.
Diffstat (limited to 'libLumina')
-rw-r--r-- | libLumina/themes/Lumina-default.qss.template | 25 | ||||
-rw-r--r-- | libLumina/themes/None.qss.template | 45 |
2 files changed, 68 insertions, 2 deletions
diff --git a/libLumina/themes/Lumina-default.qss.template b/libLumina/themes/Lumina-default.qss.template index 94163877..f1d4adc4 100644 --- a/libLumina/themes/Lumina-default.qss.template +++ b/libLumina/themes/Lumina-default.qss.template @@ -5,6 +5,23 @@ QWidget{ font-family: %%FONT%%; font-size: %%FONTSIZE%%; } +/* Set the panel appearance for this theme (unless manually customized) */ +QWidget#LuminaPanelColor{ + background: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0 %%ACCENTCOLOR%%, stop: 1 %%PRIMARYDISABLECOLOR%%); + border-radius: 3px; + border: 1px solid %%ACCENTCOLOR%%; +} +/* Set the default canvas appearance for Lumina desktop plugins*/ +LDPlugin#LuminaDesktopPlugin{ + background: transparent; + border-radius: 5px; + border: none; +} +/*For special desktop plugins that should never have a transparent background*/ +LDPlugin#LuminaDesktopPlugin QFrame{ + background: %%ACCENTCOLOR%%; + border: none; +} /*QAbstractItemView, QAbstractSpinBox, QAbstractScrollArea{ border: 1px solid %%ACCENTCOLOR%%; @@ -138,7 +155,7 @@ QToolTip{ QFrame{ background: transparent; border-radius: 3px; - border-color: %%ACCENTCOLOR%%; + border: 1px solid %%ACCENTCOLOR%%; padding: 1px; } QLabel{ @@ -453,7 +470,13 @@ QCalendarWidget QAbstractButton::menu-indicator{ image: none; } QCalendarWidget QAbstractItemView{ + background-color: %%SECONDARYCOLOR%%; selection-background-color: QLinearGradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 %%HIGHLIGHTDISABLECOLOR%%, stop: 1 %%HIGHLIGHTCOLOR%%);; selection-color: %%TEXTHIGHLIGHTCOLOR%%; } +QCalendarWidget QWidget#qt_calendar_calendarview{ + background-color: %%BASECOLOR%%; + border: none; +} +
\ No newline at end of file diff --git a/libLumina/themes/None.qss.template b/libLumina/themes/None.qss.template index f9e4860f..1a8c902d 100644 --- a/libLumina/themes/None.qss.template +++ b/libLumina/themes/None.qss.template @@ -1,5 +1,48 @@ -/* This is a blank stylesheet to disable the Lumina Themes entirely (except for font settings)*/ +/* This is a blank stylesheet to disable the Lumina Themes almost entirely*/ QWidget{ font-family: %%FONT%%; font-size: %%FONTSIZE%%; } +/* Set the panel appearance for this theme (unless manually customized) */ +QWidget#LuminaPanelColor{ + background: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0 %%ACCENTCOLOR%%, stop: 1 %%PRIMARYDISABLECOLOR%%); + border-radius: 3px; + border: 1px solid %%ACCENTCOLOR%%; +} +/* Set the default canvas appearance for Lumina desktop plugins*/ +LDPlugin#LuminaDesktopPlugin{ + background: transparent; + border-radius: 5px; + border: none; +} +/*For special desktop plugins that should never have a transparent background*/ +LDPlugin#LuminaDesktopPlugin QFrame{ + background: %%ACCENTCOLOR%%; + border: 1px solid transparent; + border-radius: 5px; +} + /* CALENDER WIDGET */ + /* (This is a special hack since there is no official support for stylesheets for this widget) */ + QCalendarWidget QWidget#qt_calendar_navigationbar{ + background-color: QLinearGradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 %%PRIMARYDISABLECOLOR%%, stop: 1 %%PRIMARYCOLOR%%); + } +QCalendarWidget QWidget{ + background-color: %%BASECOLOR%%; + alternate-background-color: %%PRIMARYDISABLECOLOR%%; + color: %%TEXTCOLOR%%; +} +QCalendarWidget QAbstractButton{ + background-color: transparent; +} +QCalendarWidget QAbstractButton::menu-indicator{ + image: none; +} +QCalendarWidget QAbstractItemView{ + background-color: %%SECONDARYCOLOR%%; + selection-background-color: QLinearGradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 %%HIGHLIGHTDISABLECOLOR%%, stop: 1 %%HIGHLIGHTCOLOR%%);; + selection-color: %%TEXTHIGHLIGHTCOLOR%%; +} +QCalendarWidget QWidget#qt_calendar_calendarview{ + background-color: %%BASECOLOR%%; + border: none; +}
\ No newline at end of file |