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