_xfce.scss
ASCII text
1
// based css:
2
// https://github.com/shimmerproject/Greybird/blob/master/gtk-3.0/_xfce.scss
3
4
/**************
5
* Xfce4 Apps *
6
**************/
7
8
.XfceHeading {
9
background-color: $base;
10
}
11
12
/***************
13
* xfce4-panel *
14
***************/
15
16
.xfce4-panel.background {
17
border: none; // Sadly the border is hard-coded
18
background-color: $panel;
19
color: on($panel, text2);
20
font-weight: 500;
21
22
button {
23
min-height: 16px;
24
min-width: 16px;
25
padding: 0;
26
border-radius: 0;
27
28
@include ink-color(on($panel, text2));
29
30
&:disabled {
31
color: on($panel, text2-disabled);
32
}
33
34
&:checked {
35
color: on(dark);
36
37
&:disabled {
38
color: on(dark, text-disabled);
39
}
40
}
41
}
42
43
.tasklist button {
44
border-image: image(transparent) 0 0 2 / 0 0 2px;
45
46
&:checked {
47
border-image: image(currentcolor) 0 0 2 / 0 0 2px;
48
}
49
50
image {
51
padding: 4px;
52
}
53
}
54
55
&.horizontal .tasklist button {
56
// margin: 0 1px;
57
}
58
59
&.vertical .tasklist button {
60
// margin: 1px 0;
61
}
62
63
frame > border {
64
border-style: none;
65
}
66
67
progressbar {
68
progress {
69
background-color: on($panel, primary);
70
}
71
72
trough {
73
background-color: on($panel, stroke-disabled);
74
}
75
}
76
}
77
78
// Workspace switcher provided by libwnck
79
wnck-pager {
80
&:hover {
81
background-color: $overlay-hover;
82
}
83
84
&:active {
85
background-color: $overlay-active;
86
}
87
88
&:selected {
89
background-color: $primary;
90
}
91
}
92
93
XfdesktopIconView.view {
94
border-radius: $corner-radius;
95
background-color: transparent;
96
color: on(dark);
97
text-shadow: $text-shadow;
98
99
// XfdesktopIconView uses :active instead of :selected for selection
100
&:active {
101
@extend %selected_items;
102
103
box-shadow: none;
104
}
105
106
.label {
107
// text-shadow: $text-shadow;
108
}
109
110
.rubberband {
111
@extend rubberband;
112
113
border-radius: 0;
114
}
115
}
116
117
#XfceNotifyWindow {
118
border-radius: $corner-radius;
119
box-shadow: $shadow-z4, inset 0 1px highlight($surface);
120
background-color: $surface;
121
122
buttonbox button:not(:disabled) {
123
@include ink-color($primary);
124
}
125
126
label#summary {
127
font-weight: bold;
128
129
+ label {
130
color: $text2;
131
}
132
}
133
134
progressbar {
135
progress {
136
}
137
138
trough {
139
}
140
}
141
}
142
143
// Xfwm4's alt-tab dialog, aka "tabwin"
144
#xfwm-tabwin {
145
padding: 12px;
146
border-radius: $corner-radius;
147
148
// Set the application icon- and preview-size to 64px
149
-XfwmTabwinWidget-icon-size: 64px;
150
-XfwmTabwinWidget-preview-size: 64px;
151
152
button {
153
}
154
}
155
156
/**********
157
* Thunar *
158
**********/
159
160
.thunar {
161
#location-toolbar {
162
border-bottom: 1px solid $divider;
163
164
// FIXME: This has no .image-button style class :(
165
> toolitem > button {
166
min-width: 24px;
167
padding: ($medium-size - 24px) / 2;
168
border-radius: $circular-radius;
169
}
170
}
171
172
.shortcuts-pane.frame,
173
.standard-view.frame {
174
border-style: none;
175
}
176
177
.sidebar .view:not(:selected) {
178
background-color: transparent;
179
}
180
181
statusbar {
182
margin: 0 -10px;
183
padding: 0 4px;
184
border-top: 1px solid $divider;
185
}
186
}
187