summarylogtreecommitdiffstats
path: root/Xfce-gtk3-Manjaro.patch
blob: 6112b08f8cb247e5a6e72fcc16c579db2c6d4074 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
diff -rupN a/gtk/sass/3.22/_3rd-party.scss b/gtk/sass/3.22/_3rd-party.scss
--- a/gtk/sass/3.22/_3rd-party.scss	2018-09-03 18:59:11.398964000 +0200
+++ b/gtk/sass/3.22/_3rd-party.scss	2018-09-03 19:31:59.897701633 +0200
@@ -2340,6 +2340,35 @@ widget box.horizontal > widget + box.hor
 //  * XFce4 *
 //  *********/
 
+// Start patch for icon view Manjaro //
+
+XfdesktopIconView.view {
+  background-color: rgba(0,0,0,0.0);
+}
+
+XfdesktopIconView.view:active {
+    background-color: rgba(0,0,0,0.1);
+    color: $selected_bg_color;
+    border-radius: 1px;
+}
+
+XfdesktopIconView.rubberband {
+  background-color: rgba(0,0,0,0.3);
+}
+
+XfdesktopIconView.label {
+  color: white;
+  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
+}
+
+XfdesktopIconView.label:active {
+  background-color: rgba(0,0,0,0.15);
+  color: white;
+  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
+}
+
+// End patch for icons //
+
 .XfceHeading {
   border: 0 none transparent;
   background-color: $bg_color;
@@ -2423,49 +2452,52 @@ XfdesktopIconView.view {
   .rubberband { @extend rubberband; }
 }
 
-window#whiskermenu-window {
-  background-color: $secondary_base_color;
-
-  // no CSD class even if the sw compositor was enabled.
-  > frame > border {
-    border-radius: 0;
-    border-top-color: $menu_highlight_color;
-  }
-
-  // why wasn't .popup class implemented in this window node? :/
-  > decoration { box-shadow: $z-depth-3; }
-
-  stack > box > box.horizontal {
-    &:first-child widget,
-    &:last-child > widget:last-child { // ugly resize-grip
-      color: $outline_track_color;
-    }
-  }
+// Start patch for Wisker menĂ¹ Manjaro //
 
-  scrolledwindow {
-    > viewport button.radio {
-      &:not(:disabled) {
-        border-radius: 0;
+window#whiskermenu-window {
+  color: $inverted_fg_color;
+  background-color: if($variant == light, $inverted_base_color,
+         $dark_color);
+  outline-color: rgba(0, 0, 0, 0.3);
+  box-shadow: inset 0 -2px $outline_track_color;
+
+  entry {
+    background-color: $fixed_base_color;
+    color: $fixed_fg_color;
+    font-weight: 500;
+  }
+   
+    button {
+      background-color: transparent;
+      background-image: none;
+      color: $inverted_fg_color;
+      transition: none;
+      &:hover {
+        background-color: transparent;
         background-image: none;
-        animation: none;
+        color: $selected_fg_color;
+        box-shadow: inset 0 -2px $outline_track_color;
         transition: none;
-      }
-      &:hover { background-color: $track_color; }
-      &:checked {
-        background-color: gtkopacity($selected_bg_color, 0.12);
-        color: $selected_bg_color;
-      }
     }
 
-    treeview.view {
-      &:selected:hover {
-        background-color: transparent;
-        color: $fg_color;
-      }
+    &:active,
+    &:checked,
+    &:hover:checked,
+    &:disabled:checked { // 'checked' = 'active'
+      background-color: transparent;
+      background-image: none;
+      color: $selected_fg_color;
+      box-shadow: inset 0 -2px $selected_bg_color;
+      transition: none;
+      animation: none;
+    }
+    &:active {
+      &, &:hover { background-color: gtkopacity($inverted_fg_color, 0.12); }
     }
   }
 }
 
+// End patched code for Wisker menĂ¹ //
 
 // /**********
 //  * Thunar *