summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-03-12 11:24:34 +0100
committerraveit65 <[email protected]>2017-03-12 11:24:34 +0100
commit2a3d4cbef005553cff444aad4caa11f73484e1ea (patch)
treed9e93b87e7eac4fb3264c6b361318708eb3c2dbf /data
parent14b802e267e66f99db00fec1d2e6d262e5b7fb5a (diff)
downloadcaja-2a3d4cbef005553cff444aad4caa11f73484e1ea.tar.bz2
caja-2a3d4cbef005553cff444aad4caa11f73484e1ea.tar.xz
css: honor new bg handling for all gtk+ versions
Diffstat (limited to 'data')
-rw-r--r--data/caja-desktop.css10
1 files changed, 9 insertions, 1 deletions
diff --git a/data/caja-desktop.css b/data/caja-desktop.css
index a56797d9..e9c5ba9c 100644
--- a/data/caja-desktop.css
+++ b/data/caja-desktop.css
@@ -2,10 +2,18 @@
/* This is loaded with GTK_STYLE_PROVIDER_PRIORITY_APPLICATION and overrides themes */
.caja-desktop-window,
-.caja-desktop:not(:selected):not(:active):not(.rubberband){
+.caja-desktop {
background-color: transparent;
}
+.caja-desktop:selected, .caja-desktop:active {
+ background-color: @theme_selected_bg_color;
+}
+
+.caja-desktop.rubberband {
+ background-color: alpha(@theme_selected_bg_color,0.35);
+}
+
/* desktop mode */
.caja-desktop.caja-canvas-item {
color: #ffffff;