A fork of the Materia GTK theme.

By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

 _xfce.scss

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