_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
.XfceHeading {
8
background-color: $base;
9
}
10
11
12
/***************
13
* xfce4-panel *
14
***************/
15
.xfce4-panel.background {
16
border: none; // Sadly the border is hard-coded
17
background-color: $panel;
18
color: on($panel, secondary);
19
font-weight: 500;
20
21
button {
22
// @extend %flat_button;
23
@extend %button_selected.flat;
24
25
min-height: 16px;
26
min-width: 16px;
27
padding: 0;
28
border-radius: 0;
29
30
&:checked { background-color: on($panel, divider); }
31
}
32
33
.tasklist button {
34
border-image: image(transparent) 0 0 2 / 0 0 2px;
35
36
&:checked { border-image: image(currentColor) 0 0 2 / 0 0 2px; }
37
38
image { padding: 4px; }
39
}
40
41
// &.horizontal .tasklist button { margin: 0 1px; }
42
43
// &.vertical .tasklist button { margin: 1px 0; }
44
}
45
46
// Workspace switcher provided by libwnck
47
wnck-pager {
48
&:hover { background-color: on($panel, divider); }
49
50
&:active { background-color: on($panel, track); }
51
52
&:selected { background-color: $primary; }
53
}
54
55
XfdesktopIconView.view {
56
border-radius: $corner-radius;
57
background-color: transparent;
58
color: on(dark);
59
text-shadow: $shadow-1;
60
61
// XfdesktopIconView uses :active instead of :selected for selection
62
&:active {
63
@extend %selected_items;
64
65
box-shadow: none;
66
}
67
68
// .label { text-shadow: $shadow-1; }
69
70
.rubberband {
71
@extend rubberband;
72
73
border-radius: 0;
74
}
75
}
76
77
#XfceNotifyWindow {
78
buttonbox { padding: 0; }
79
80
button {
81
}
82
83
label#summary { font-weight: bold; }
84
85
progressbar {
86
progress {
87
}
88
89
trough {
90
}
91
}
92
}
93
94
// Xfwm4's alt-tab dialog, aka "tabwin"
95
#xfwm-tabwin {
96
padding: 12px;
97
border-radius: $corner-radius;
98
99
// Set the application icon- and preview-size to 64px
100
-XfwmTabwinWidget-icon-size: 64px;
101
-XfwmTabwinWidget-preview-size: 64px;
102
103
button {
104
}
105
}
106
107
108
/**********
109
* Thunar *
110
**********/
111
.thunar {
112
#location-toolbar { border-bottom: 1px solid $border; }
113
114
.standard-view.frame { border-style: none; }
115
116
.sidebar .view:not(:selected) { background-color: transparent; }
117
118
statusbar {
119
margin: 0 -10px;
120
padding: 0 4px;
121
border-top: 1px solid $border;
122
}
123
}
124