summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;