A fork of the Materia GTK theme.

Important information: Google announced that, from September 2026, Android devices will require ALL apps to be signed by Google, effectively leading to an iOS situation. Value your right to a computer that does what you want; do not tolerate this monopolistic practice! Contact me if you don't understand why it is bad. Click to learn more.

 _misc.scss

View raw Download
text/plain • 5.22 kiB
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($popup_bg_color); }
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: $bg_color; }
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', $bg_color, $popup_bg_color);
53
54
// FIXME: no way to change the toolbar button colors only
55
// toolbar button { color: $secondary_fg_color; }
56
57
// toolbar's border-bottom refers to button's border
58
entry,
59
> button:not(.suggested-action):not(.destructive-action) { border: 1px solid $alt_border_color; }
60
61
> button {
62
box-shadow: none;
63
background-size: auto;
64
65
&:hover { background-image: image($hover_bg_color); }
66
67
&:active { background-image: image($checked_bg_color); }
68
}
69
70
// workaround for headerbar's non-animatable buttons
71
headerbar button:active { background-size: 1000% 1000%; }
72
73
spinner { color: $primary_color; }
74
75
// entry uses this as well
76
textview { background-color: $popup_bg_color; }
77
}
78
79
tooltip.background.chromium { background-color: rgba($tooltip_bg_color, 1); }
80
81
82
/***********
83
* Firefox *
84
***********/
85
window.background:not(.csd) {
86
> widget {
87
// for the bookmark toolbar's separators
88
> separator { color: $alt_border_color; }
89
90
// avoid black border
91
> scrollbar { background-clip: border-box; }
92
93
// emphasize borders color
94
> scrollbar,
95
> frame > border { border-color: $alt_border_color; }
96
97
> entry,
98
> button > button {
99
border: 1px solid $alt_border_color;
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_color; }
108
}
109
110
> button > button {
111
padding: 4px 8px;
112
background-size: auto;
113
// color: $fg_color;
114
115
&:hover { background-image: image($hover_bg_color); }
116
117
&:active { background-image: image($checked_bg_color); }
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 { @extend %selected_items; }
143
144
// for backward compatibility
145
window.background:not(.csd) {
146
> widget {
147
> menubar {
148
color: $titlebar_secondary_fg_color;
149
150
&:hover { color: $titlebar_fg_color; }
151
152
&:disabled { color: $titlebar_disabled_secondary_fg_color; }
153
}
154
155
> frame { color: $alt_border_color; }
156
157
> checkbutton > check,
158
> radiobutton > radio {
159
margin: 0;
160
padding: 0;
161
}
162
}
163
164
> window.background > menu > separator { color: $border_color; }
165
}
166
167
168
/************
169
* Inkscape *
170
************/
171
#ToolboxCommon {
172
> #AuxToolbox {
173
#StyleSwatch { font-size: smaller; }
174
175
#Kludge { padding: 0; }
176
177
spinbutton,
178
entry { min-height: 32px; }
179
180
button:not(.up):not(.down) {
181
min-height: 24px;
182
min-width: 16px;
183
padding: 4px 8px;
184
border-radius: $material_radius;
185
-gtk-outline-radius: $material_radius;
186
}
187
188
spinbutton button { border-width: 4px; }
189
}
190
191
> toolbar.vertical {
192
margin-top: -4px;
193
194
button {
195
min-height: 24px;
196
min-width: 24px;
197
padding: 4px;
198
border-radius: $material_radius;
199
-gtk-outline-radius: $material_radius;
200
}
201
}
202
}
203
204
#CanvasTable {
205
button {
206
min-height: 16px;
207
min-width: 16px;
208
padding: 0;
209
}
210
211
#HorizontalScrollbar { border-top: 1px solid $border_color; }
212
213
#VerticalScrollbar {
214
&:dir(ltr) { border-left: 1px solid $border_color; }
215
216
&:dir(rtl) { border-right: 1px solid $border_color; }
217
}
218
}
219
220
#Canvas_and_Dock {
221
frame > border { border: none; }
222
223
// each canvases' titlebar
224
widget > widget {
225
> button.flat {
226
min-height: 16px;
227
min-width: 16px;
228
padding: 4px;
229
}
230
231
> box.horizontal image { padding: 4px; }
232
}
233
234
// vertical dock buttons
235
box.horizontal > box.vertical > button.flat {
236
min-height: 16px;
237
min-width: 24px;
238
padding: 8px 4px;
239
}
240
}
241
242
243
/***********
244
* Synapse *
245
***********/
246
box.vertical > widget > widget:selected { background-color: $primary_color; }
247