aboutsummaryrefslogtreecommitdiff
path: root/libLumina/themes
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-06-20 10:10:23 -0400
committerKen Moore <ken@pcbsd.org>2015-06-20 10:10:23 -0400
commit71b35dd3e841939dd3ad7fd7e58a1abc59d0e7d8 (patch)
treef493ef3cb6b7f45940c8f9468d5373f275eef983 /libLumina/themes
parentMerge branch 'master' of github.com:pcbsd/lumina (diff)
downloadlumina-71b35dd3e841939dd3ad7fd7e58a1abc59d0e7d8.tar.gz
lumina-71b35dd3e841939dd3ad7fd7e58a1abc59d0e7d8.tar.bz2
lumina-71b35dd3e841939dd3ad7fd7e58a1abc59d0e7d8.zip
Fix a bug in the writeFile() function when passed an empty list of text. This fixes the issue with removing the last "favorite" from the system causing a crash.Also make sure to remove any empty lines from the favorites when loading them.
Diffstat (limited to 'libLumina/themes')
-rw-r--r--libLumina/themes/Lumina-default.qss.template21
-rw-r--r--libLumina/themes/None.qss.template21
2 files changed, 14 insertions, 28 deletions
diff --git a/libLumina/themes/Lumina-default.qss.template b/libLumina/themes/Lumina-default.qss.template
index b8ea28da..ed02b310 100644
--- a/libLumina/themes/Lumina-default.qss.template
+++ b/libLumina/themes/Lumina-default.qss.template
@@ -16,23 +16,14 @@ QWidget#LuminaBootSplash{
}
/* Set the default canvas appearance for Lumina desktop plugins*/
-LDPlugin#audioplayer{
+/* Default to a non-transparent background for all desktop plugins*/
+LDPlugin{
background: %%BASECOLOR%%;
border-radius: 5px;
}
-
-LDPlugin#calendar{
- background: %%BASECOLOR%%;
- border-radius: 5px;
-}
-
-LDPlugin#notepad{
- background: %%BASECOLOR%%;
- border-radius: 5px;
-}
-
-LDPlugin#systemmonitor{
- background: %%BASECOLOR%%;
+/* Now specify which plugins should have a transparent background */
+LDPlugin#applauncher, LDPlugin#desktopview{
+ background: transparent;
border-radius: 5px;
}
@@ -41,11 +32,13 @@ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 transparent,
stop: 0.7 transparent,
stop: 1.0 %%PRIMARYDISABLECOLOR%%);
+ border: none;
border-radius: 5px;
color: %%TEXTCOLOR%%;
}
LDPlugin#applauncher QToolButton:hover{
background: %%PRIMARYDISABLECOLOR%%;
+ border: none;
border-radius: 5px;
color: %%TEXTHIGHLIGHTCOLOR%%;
}
diff --git a/libLumina/themes/None.qss.template b/libLumina/themes/None.qss.template
index 57dd84e4..430bd44b 100644
--- a/libLumina/themes/None.qss.template
+++ b/libLumina/themes/None.qss.template
@@ -14,23 +14,14 @@ QWidget#LuminaBootSplash{
}
/* Set the default canvas appearance for Lumina desktop plugins*/
-LDPlugin#audioplayer{
+/* Default to a non-transparent background for all desktop plugins*/
+LDPlugin{
background: %%BASECOLOR%%;
border-radius: 5px;
}
-
-LDPlugin#calendar{
- background: %%BASECOLOR%%;
- border-radius: 5px;
-}
-
-LDPlugin#notepad{
- background: %%BASECOLOR%%;
- border-radius: 5px;
-}
-
-LDPlugin#systemmonitor{
- background: %%BASECOLOR%%;
+/* Now specify which plugins should have a transparent background */
+LDPlugin#applauncher, LDPlugin#desktopview{
+ background: transparent;
border-radius: 5px;
}
@@ -39,11 +30,13 @@ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 transparent,
stop: 0.7 transparent,
stop: 1.0 %%PRIMARYDISABLECOLOR%%);
+ border: none;
border-radius: 5px;
color: %%TEXTCOLOR%%;
}
LDPlugin#applauncher QToolButton:hover{
background: %%PRIMARYDISABLECOLOR%%;
+ border: none;
border-radius: 5px;
color: %%TEXTHIGHLIGHTCOLOR%%;
}
bgstack15