summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColomban Wendling <[email protected]>2019-07-02 18:41:57 +0200
committerraveit65 <[email protected]>2019-07-03 12:13:26 +0200
commitbf763bdce1802792c30f829abc057b076a6a4525 (patch)
tree52054cce3f2d8c3c95fac2e9acab2d5a8e1fd1e4
parent55a02f1c28e5c2d03eef124fdfb0fd8d8fa479e7 (diff)
downloadcaja-bf763bdce1802792c30f829abc057b076a6a4525.tar.bz2
caja-bf763bdce1802792c30f829abc057b076a6a4525.tar.xz
Restore transparent background on icon view labels
18e4fbd005bd561e4a12ed388d4d9a8c93f0b15b started always drawing the frame on canvas items for the desktop's sake, but it also impacts other icon views. This is good in theory, but conflicts with some themes that used to work fine and now display an unwanted background because of generic rules matching these elements. Unfortunately there don't seem to be another solution than providing overrides for this yet, so do that, as anyway before recently the background wasn't drawn at all even if specified.
-rw-r--r--data/caja-desktop.css5
1 files changed, 4 insertions, 1 deletions
diff --git a/data/caja-desktop.css b/data/caja-desktop.css
index bb277937..33f0d754 100644
--- a/data/caja-desktop.css
+++ b/data/caja-desktop.css
@@ -2,7 +2,10 @@
/* 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:not(:selected):not(:active):not(.rubberband),
+/* unfortunately we also have to apply this to all views normal states for the
+ * split view items not to have background */
+.caja-canvas-item:not(:selected):not(:active):not(.rubberband){
background-color: transparent;
border: none;
}