Debian Codegraph @

dark/gtk-3.0/_xfce.scss

raw
1 $variant: 'dark';
2
3 @import 'colors';
4
5 .XfceHeading {
6 margin: 0;
7 padding: 0;
8 border-width: 0;
9 background-image: none;
10 background-color: shade($bg_color, 1.18);
11 color: $text_color;
12 text-shadow: 0px 1px $shadow_color;
13 }
14
15 .xfce4-panel.background {
16 background-color: rgba(36, 36, 36, 0.8);
17 color: $panel_fg_color;
18 font-weight: normal;
19 button {
20 background-image: none;
21 background-color: transparent;
22 border-radius: 0;
23 border-color: transparent;
24 box-shadow: none;
25 padding: 0 1px;
26 color: $panel_fg_color;
27 text-shadow: 0px 1px $shadow_color;
28 &:active, &:checked {
29 background-image: none;
30 background-color: shade($panel_bg_color, 0.7);
31 border-color: shade($panel_bg_color, 0.6);
32 color: $panel_fg_color;
33 transition: none;
34 }
35 &:hover, &:active:hover, &:checked:hover {
36 border-color: shade($selected_bg_color, 0.6);
37 background-image: linear-gradient(to bottom,
38 shade($selected_bg_color, 0.88),
39 shade($selected_bg_color, 0.85)
40 );
41 color: $panel_fg_color;
42 box-shadow: inset 0 -1px gtkalpha(white, 0.0),
43 inset 1px 0 gtkalpha(white, 0.15),
44 inset -1px 0 gtkalpha(white, 0.15),
45 inset 0 1px gtkalpha(white, 0.15);
46 transition: none;
47 }
48 &:drop(active) {
49 color: $drop_target_color;
50 border-color: $drop_target_color;
51 box-shadow: inset 0 0 0 1px $drop_target_color;
52 }
53 }
54 entry { caret-color: $text_color; }
55 menu {
56 -gtk-icon-effect: none;
57
58 text-shadow: none;
59 // Theme pulseaudio-plugin's mpris buttons
60 .linked button {
61 @extend %linked;
62 @include button(normal, $menu_color, $text_color);
63 &:disabled {
64 @include button(insensitive);
65 border-color: transparentize($borders_color, 0.5);
66 }
67 }
68 }
69 progressbar {
70 margin: 0;
71
72 &.horizontal {
73 trough { min-height: 6px; padding: 0; }
74 progress { min-height: 4px; }
75 }
76
77 &.vertical {
78 trough { min-width: 6px; padding: 0; }
79 progress { min-width: 4px; }
80 }
81 progress { border-radius: 0px; }
82 trough {
83 background: shade($panel_bg_color, 0.7);
84 border-radius: 0px;
85 border-color: shade($panel_bg_color, 0.4);
86 }
87 }
88 .tasklist button {
89 border-radius: 3px;
90 color: shade($panel_fg_color, 0.7);
91 background-image: linear-gradient(to bottom,
92 shade($panel_bg_color, 0.65),
93 shade($panel_bg_color, 0.60),
94 shade($panel_bg_color, 0.50),
95 shade($panel_bg_color, 0.45)
96 );
97 border: none;
98 &.flat {
99 background-image: none;
100 border: none;
101 box-shadow: none;
102 }
103 &:active, &:checked {
104 background-image: linear-gradient(to bottom,
105 shade($selected_bg_color, 0.65),
106 shade($selected_bg_color, 0.60),
107 shade($selected_bg_color, 0.50),
108 shade($selected_bg_color, 0.45)
109 );
110 color: shade($panel_fg_color, 1.0);
111 box-shadow: inset 0 1px transparentize(white, 0.9),
112 inset 0 -1px transparentize(black, 0.8);
113 }
114 &:hover, &:active:hover, &:checked:hover {
115 background-image: linear-gradient(to bottom,
116 shade($selected_bg_color, 0.85),
117 shade($selected_bg_color, 0.80),
118 shade($selected_bg_color, 0.70),
119 shade($selected_bg_color, 0.65)
120 );
121 color: shade($panel_fg_color, 1.0);
122 box-shadow: inset 0 1px transparentize(white, 0.9),
123 inset 0 -1px transparentize(black, 0.8);
124 }
125 image {
126 padding: 3px;
127 }
128 }
129 &.horizontal .tasklist {
130 button {
131 margin: 0 1px;
132 label { padding-right: 3px; }
133 }
134 }
135 &.vertical .tasklist {
136 button {
137 margin: 1px 0;
138 label { padding-bottom: 3px; }
139 }
140 }
141 }
142
143 /* Workspace switcher provided by libwnck */
144 wnck-pager {
145 &:selected { background-color: shade($selected_bg_color, 0.88); }
146 &:hover { background-color: $selected_bg_color; }
147 }
148
149 /* Thunar's sidebar top border */
150 .thunar {
151 :backdrop { color: $insensitive_fg_color; }
152 toolbar {
153 border-bottom: none;
154 background-color: $bg_color;
155 background-image: none;
156
157 entry { min-height: 24px; }
158 }
159 .sidebar.frame { border-top: 1px solid $borders_color; }
160 }
161
162 XfdesktopIconView.view {
163 background: transparent;
164 color: $panel_fg_color;
165 border-radius: 3px;
166 &:active {
167 background-color: rgba(darken($selected_bg_color, 15%), 0.5);
168 color: $selected_bg_color;
169 text-shadow: 0 1px 1px black;
170 }
171 .label {
172 text-shadow: 1px 1px 2px black;
173 outline-style: none;
174 &:active {
175 color: $selected_fg_color;
176 }
177 &:backdrop {
178 color: $selected_fg_color;
179 background-color: transparent;
180 }
181 &:selected {
182 background-color: lighten($selected_bg_color, 20%);
183 }
184 &:selected:backdrop {
185 background-color: rgba($selected_bg_color, 0.5);
186 }
187 }
188 .rubberband {
189 @extend rubberband;
190 border-radius: 0;
191 }
192 }
193
194 #XfceNotifyWindow {
195 background-color: shade($panel_bg_color, 0.3);
196 color: $panel_fg_color;
197 border-color: shade($panel_bg_color, 0.6);
198 box-shadow: none;
199
200 buttonbox { padding: 0; }
201
202 button {
203 color: $panel_fg_color;
204 background-image: none;
205 border-color: shade($panel_fg_color, 0.35);
206 border-radius: 3px;
207 box-shadow: none;
208 &:hover {
209 background-color: shade($panel_bg_color, 0.4);
210 border-color: shade($panel_fg_color, 0.45);
211 }
212 }
213
214 label#summary {
215 font-weight: bold;
216 }
217
218 progressbar {
219 min-height: 6px;
220 border-radius: 3px;
221 progress {
222 background-image: none;
223 background-color: $panel_fg_color;
224 border: none;
225 box-shadow: none;
226 }
227 trough {
228 background-image: linear-gradient(to bottom,
229 shade($panel_bg_color, 0.65),
230 shade($panel_bg_color, 1.25)
231 );
232 border: 1px solid shade($panel_bg_color, 0.2);
233 border-radius: 3px;
234 padding: 1px 0;
235 }
236 }
237 }
238
239 /* Xfwm4's alt-tab dialog, aka "tabwin" */
240 #xfwm-tabwin {
241 padding: 12px;
242 background-image: none;
243 background-color: transparentize(black, 0.2);
244 color: shade($selected_fg_color, 0.65);
245 text-shadow: 0px 1px transparentize(black, 0.2);
246 border-radius: 12px;
247 /* Set the application icon- and preview-size to 64px */
248 -XfwmTabwinWidget-icon-size: 64px;
249 -XfwmTabwinWidget-preview-size: 128px;
250
251 button {
252 background-image: none;
253 color: $selected_fg_color;
254 font-weight: bold;
255 text-shadow: 0px 1px transparentize(black, 0.2);
256 border: none;
257 border-radius: 6px;
258 box-shadow: none;
259
260 &:active, &:checked, &:active:hover, &:checked:hover {
261 background: transparentize($fg_color, 0.7);
262 }
263 &:hover {
264 background: transparentize($bg_color, 0.9);
265 box-shadow: inset 0 -1px gtkalpha(white, 0.15),
266 inset 1px 0 gtkalpha(white, 0.15),
267 inset -1px 0 gtkalpha(white, 0.15),
268 inset 0 1px gtkalpha(white, 0.15);
269 transition-duration: 50ms;
270 }
271 }
272 .tabwin-app-grid button {
273 min-width: 96px;
274 min-height: 96px;
275 }
276 }
277
278 #xfce4-terminal-notebook {
279 > stack:not(:only-child) { // the :not(:only-child) is for "hidden" notebooks
280 /* Make sure there are no extra borders for the tabs in the terminal apart from at the top */
281 border-left: none;
282 border-right: none;
283 border-bottom: none;
284 }
285 }