_misc.scss
ASCII text
1
/*********
2
* Tilix *
3
*********/
4
overlay > revealer {
5
&.left > scrolledwindow.frame,
6
&.right > scrolledwindow.frame {
7
border-style: none;
8
box-shadow: $shadow_4;
9
}
10
11
&.left > scrolledwindow.frame { margin-right: 32px; }
12
13
&.right > scrolledwindow.frame { margin-left: 32px; }
14
}
15
16
.terminix-session-sidebar, // for backward compatibility
17
.tilix-session-sidebar { background-image: image($surface); }
18
19
.terminal-titlebar button { border-radius: 0; }
20
21
button.image-button.session-new-button { min-width: $medium_size - 4px; }
22
23
24
/**************
25
* Terminator *
26
**************/
27
.terminator-terminal-window {
28
paned > separator { background-color: $background; }
29
30
// this should be fixed by the upstream
31
notebook.frame { border-style: none; }
32
}
33
34
35
/***********
36
* Eclipse *
37
***********/
38
window.background > box.vertical > scrolledwindow > widget toolbar {
39
padding: 2px;
40
41
separator,
42
button { margin: 2px; }
43
44
button { border-radius: $material_radius; }
45
}
46
47
48
/************
49
* Chromium *
50
************/
51
window.background.chromium {
52
background-color: if($variant == 'light', $background, $surface);
53
54
// FIXME: no way to change the toolbar button colors only
55
// toolbar button { color: $text-secondary; }
56
57
// toolbar's border-bottom refers to button's border
58
entry,
59
> button:not(.suggested-action):not(.destructive-action) { border: 1px solid $border-alt; }
60
61
> button {
62
box-shadow: none;
63
background-size: auto;
64
65
&:hover { background-image: image($overlay-hover); }
66
67
&:active { background-image: image($overlay-checked); }
68
}
69
70
// workaround for headerbar's non-animatable buttons
71
headerbar button:active { background-size: 1000% 1000%; }
72
73
spinner { color: $primary; }
74
75
// entry uses this as well
76
textview { background-color: $surface; }
77
}
78
79
tooltip.background.chromium { background-color: rgba($tooltip, 1); }
80
81
82
/***********
83
* Firefox *
84
***********/
85
window.background:not(.csd) {
86
> widget {
87
// for the bookmark toolbar's separators
88
> separator { color: $border-alt; }
89
90
// avoid black border
91
> scrollbar { background-clip: border-box; }
92
93
// emphasize borders color
94
> scrollbar,
95
> frame > border { border-color: $border-alt; }
96
97
> entry,
98
> button > button {
99
border: 1px solid $border-alt;
100
border-radius: $material_radius + 1px;
101
box-shadow: none;
102
}
103
104
> entry {
105
min-height: 32px - 2px;
106
107
&:focus { border-color: $primary; }
108
}
109
110
> button > button {
111
padding: 4px 8px;
112
background-size: auto;
113
// color: $fg_color;
114
115
&:hover { background-image: image($overlay-hover); }
116
117
&:active { background-image: image($overlay-checked); }
118
}
119
120
// use 16px assets for hard-coded sizing
121
> checkbutton > check { @extend %small_check; }
122
123
> radiobutton > radio { @extend %small_radio; }
124
125
// make check/radio visible regardless of whether the background is bright or dark
126
> checkbutton > check:not(:checked),
127
> radiobutton > radio:not(:checked) {
128
color: $grey-600;
129
130
&:hover, &:active { color: $grey-900; }
131
132
&:disabled { color: rgba($grey-600, 0.5); }
133
}
134
}
135
136
// remove ugly border around the menus
137
> window > menu,
138
> menu > menu { border: none; }
139
}
140
141
// Firefox now uses this for selected items
142
text:selected {
143
// use traditional selection style as workaround for Firefox
144
background-color: $primary;
145
color: $inverse-text;
146
}
147
148
// for backward compatibility
149
window.background:not(.csd) {
150
> widget {
151
> menubar {
152
color: $titlebar-text-secondary;
153
154
&:hover { color: $titlebar-text; }
155
156
&:disabled { color: $titlebar-text-secondary-disabled; }
157
}
158
159
> frame { color: $border-alt; }
160
161
> checkbutton > check,
162
> radiobutton > radio {
163
margin: 0;
164
padding: 0;
165
}
166
}
167
168
> window.background > menu > separator { color: $border; }
169
}
170
171
172
/************
173
* Inkscape *
174
************/
175
#ToolboxCommon {
176
> #AuxToolbox {
177
#StyleSwatch { font-size: smaller; }
178
179
#Kludge { padding: 0; }
180
181
spinbutton,
182
entry { min-height: 32px; }
183
184
button:not(.up):not(.down) {
185
min-height: 24px;
186
min-width: 16px;
187
padding: 4px 8px;
188
border-radius: $material_radius;
189
-gtk-outline-radius: $material_radius;
190
}
191
192
spinbutton button { border-width: 4px; }
193
}
194
195
> toolbar.vertical {
196
margin-top: -4px;
197
198
button {
199
min-height: 24px;
200
min-width: 24px;
201
padding: 4px;
202
border-radius: $material_radius;
203
-gtk-outline-radius: $material_radius;
204
}
205
}
206
}
207
208
#CanvasTable {
209
button {
210
min-height: 16px;
211
min-width: 16px;
212
padding: 0;
213
}
214
215
#HorizontalScrollbar { border-top: 1px solid $border; }
216
217
#VerticalScrollbar {
218
&:dir(ltr) { border-left: 1px solid $border; }
219
220
&:dir(rtl) { border-right: 1px solid $border; }
221
}
222
}
223
224
#Canvas_and_Dock {
225
frame > border { border: none; }
226
227
// each canvases' titlebar
228
widget > widget {
229
> button.flat {
230
min-height: 16px;
231
min-width: 16px;
232
padding: 4px;
233
}
234
235
> box.horizontal image { padding: 4px; }
236
}
237
238
// vertical dock buttons
239
box.horizontal > box.vertical > button.flat {
240
min-height: 16px;
241
min-width: 24px;
242
padding: 8px 4px;
243
}
244
}
245
246
247
/***********
248
* Synapse *
249
***********/
250
box.vertical > widget > widget:selected { @extend %selected_items; }
251