From 309b8aced2416195643e8b8dec620afe6f60d74c Mon Sep 17 00:00:00 2001 From: wi Date: Tue, 5 May 2015 22:17:10 +0200 Subject: New icon layout for the icons on the desktop --- libLumina/themes/Lumina-default.qss.template | 41 ++++++++++++++++++++++++---- 1 file changed, 35 insertions(+), 6 deletions(-) (limited to 'libLumina/themes/Lumina-default.qss.template') diff --git a/libLumina/themes/Lumina-default.qss.template b/libLumina/themes/Lumina-default.qss.template index fd9c97e7..af19324f 100644 --- a/libLumina/themes/Lumina-default.qss.template +++ b/libLumina/themes/Lumina-default.qss.template @@ -12,17 +12,46 @@ QWidget#LuminaPanelColor{ /*border: 1px solid transparent;*/ } /* Set the default canvas appearance for Lumina desktop plugins*/ -LDPlugin#LuminaDesktopPlugin{ +QWidget#LuminaPanelColor{ + background: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0 %%PRIMARYCOLOR%%, stop: 1 %%PRIMARYDISABLECOLOR%%); + border-radius: 3px; + /*border: 1px solid transparent;*/ +} + +LDPlugin#applauncher QWidget{ +background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 transparent, + stop: 0.7 transparent, + stop: 1.0 %%ACCENTDISABLECOLOR%%); + border-radius: 5px; + color: %%ALTBASECOLOR%%; +} +LDPlugin#applauncher QWidget:hover{ + background: %%ACCENTDISABLECOLOR%%; + border-radius: 5px; + color: %%ALTBASECOLOR%%; +} + +LDPlugin#desktopview QWidget{ background: transparent; + border: 1px solid transparent; +} + +LDPlugin#desktopview QListWidget::item{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 transparent, + stop: 0.7 transparent, + stop: 1.0 %%ACCENTDISABLECOLOR%%); border-radius: 5px; - border: none; + color: %%ALTBASECOLOR%%; } -/*For special desktop plugins that should never have a transparent background*/ -LDPlugin#LuminaDesktopPluginVisible{ - background: %%BASECOLOR%%; - border: 1px solid transparent; + +LDPlugin#desktopview QListWidget::item:hover{ + background: %%ACCENTDISABLECOLOR%%; border-radius: 5px; + color: %%ALTBASECOLOR%%; } + /*For the special widgets on the user button*/ UserItemWidget{ background: transparent; -- cgit