/
_xfce.scss
155 lines (145 loc) · 5.16 KB
/
_xfce.scss
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
$variant: 'light';
@import 'colors';
.XfceHeading {
margin: 0;
padding: 0;
border-width: 0;
background-image: none;
background-color: shade($bg_color, 1.18);
color: $text_color;
text-shadow: 0px 1px $shadow_color;
}
.xfce4-panel.background {
background-color: shade($panel_bg_color, 0.35);
color: $panel_fg_color;
font-weight: normal;
button {
background-image: none;
background-color: transparent;
border-radius: 0;
border-color: transparent;
box-shadow: none;
padding: 0 1px;
color: $panel_fg_color;
text-shadow: 0px 1px $shadow_color;
&:active, &:checked {
background-image: none;
background-color: shade($panel_bg_color, 0.7);
border-color: shade($panel_bg_color, 0.6);
color: $panel_fg_color;
transition: none;
}
&:hover, &:active:hover, &:checked:hover {
border-color: shade($selected_bg_color, 0.6);
background-image: linear-gradient(to bottom,
shade($selected_bg_color, 0.88),
shade($selected_bg_color, 0.85)
);
color: $panel_fg_color;
box-shadow: inset 0 -1px gtkalpha(white, 0.0),
inset 1px 0 gtkalpha(white, 0.15),
inset -1px 0 gtkalpha(white, 0.15),
inset 0 1px gtkalpha(white, 0.15);
transition: none;
}
}
menu {
-gtk-icon-effect: none;
text-shadow: none;
}
.tasklist button {
margin: 1px;
border-radius: 3px;
text-shadow: 0 1px $fg_color;
color: shade($panel_fg_color, 0.7);
background-image: linear-gradient(to bottom,
shade($panel_bg_color, 0.65),
shade($panel_bg_color, 0.60),
shade($panel_bg_color, 0.50),
shade($panel_bg_color, 0.45)
);
border: none;
&.flat {
background-image: none;
border: none;
box-shadow: none;
}
&:active, &:checked {
background-image: linear-gradient(to bottom,
shade($selected_bg_color, 0.65),
shade($selected_bg_color, 0.60),
shade($selected_bg_color, 0.50),
shade($selected_bg_color, 0.45)
);
color: shade($panel_fg_color, 1.0);
box-shadow: inset 0 1px transparentize(white, 0.9),
inset 0 -1px transparentize(black, 0.8);
}
&:hover, &:active:hover, &:checked:hover {
background-image: linear-gradient(to bottom,
shade($selected_bg_color, 0.85),
shade($selected_bg_color, 0.80),
shade($selected_bg_color, 0.70),
shade($selected_bg_color, 0.65)
);
color: shade($panel_fg_color, 1.0);
box-shadow: inset 0 1px transparentize(white, 0.9),
inset 0 -1px transparentize(black, 0.8);
}
image {
padding: 3px;
}
}
}
/* Workspace switcher provided by libwnck */
wnck-pager {
&:selected { background-color: shade($selected_bg_color, 0.88); }
&:hover { background-color: $selected_bg_color; }
}
XfdesktopIconView.view {
background: transparent;
color: $panel_fg_color;
border-radius: 3px;
&:active {
background: rgba(darken($selected_bg_color, 15%), 0.5);
text-shadow: 0 1px 1px black;
}
.label { text-shadow: 1px 1px 2px black; }
.rubberband {
background: rgba($selected_bg_color, 0.2);
border: 1px solid shade($selected_bg_color, 0.7);
}
}
#XfceNotifyWindow {
background-color: shade($panel_bg_color, 0.3);
color: $panel_fg_color;
border-color: shade($panel_bg_color, 0.6);
button {
background-image: none;
border-color: shade($panel_fg_color, 0.35);
border-radius: 3px;
box-shadow: none;
}
label#summary {
font-weight: bold;
}
progressbar {
min-height: 6px;
border-radius: 3px;
progress {
background-image: none;
background-color: $panel_fg_color;
border: none;
box-shadow: none;
}
trough {
background-image: linear-gradient(to bottom,
shade($panel_bg_color, 0.65),
shade($panel_bg_color, 1.25)
);
border: 1px solid shade($panel_bg_color, 0.2);
border-radius: 3px;
padding: 1px 0;
}
}
}