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 • 4.11 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 backwards compatibility
17
.tilix-session-sidebar { background-image: image($lighter_bg_color); }
18
19
button.image-button.session-new-button { min-width: $medium_size - 4px; }
20
21
22
/***********
23
* Eclipse *
24
***********/
25
window.background > box.vertical > scrolledwindow > widget toolbar {
26
padding: 2px;
27
28
separator,
29
button { margin: 2px; }
30
31
button { border-radius: 2px; }
32
}
33
34
35
/************
36
* Chromium *
37
************/
38
tooltip.chromium { background-color: $tooltip_bg_color; }
39
40
41
/***********
42
* Firefox *
43
***********/
44
window.background:not(.csd) {
45
> widget {
46
// for the bookmark toolbar's separators
47
> separator { color: $alt_border_color; }
48
49
// avoid black border
50
> scrollbar { background-clip: border-box; }
51
52
// emphasize borders color
53
> scrollbar,
54
> frame > border { border-color: $alt_border_color; }
55
56
> entry,
57
> button > button {
58
border: 1px solid $alt_border_color;
59
border-radius: 2px + 1px;
60
box-shadow: none;
61
}
62
63
> entry {
64
min-height: 32px - 2px;
65
66
&:focus { border-color: $primary_color; }
67
}
68
69
> button > button {
70
padding: 4px 8px;
71
background-size: auto;
72
// color: $fg_color;
73
74
&:hover { background-image: image(gtkalpha(currentColor, 0.1 / 2)); }
75
76
&:active { background-image: image(gtkalpha(currentColor, 0.1)); }
77
}
78
79
// use 16px assets for hard-coded sizing
80
> checkbutton > check { @extend %small_check; }
81
82
> radiobutton > radio { @extend %small_radio; }
83
84
// make check/radio visible regardless of whether the background is bright or dark
85
> checkbutton > check:not(:checked),
86
> radiobutton > radio:not(:checked) {
87
color: $grey_600;
88
89
&:hover, &:active { color: $grey_900; }
90
91
&:disabled { color: rgba($grey_600, 0.5); }
92
}
93
}
94
95
// remove ugly border around the menus
96
> window > menu,
97
> menu > menu { border: none; }
98
}
99
100
// Firefox now uses this for selected items
101
text:selected { @extend %selected_items; }
102
103
// for backwards compatibility
104
window.background:not(.csd) {
105
> widget {
106
> menubar {
107
color: $titlebar_secondary_fg_color;
108
109
&:hover { color: $titlebar_fg_color; }
110
111
&:disabled { color: $titlebar_disabled_secondary_fg_color; }
112
}
113
114
> frame { color: $alt_border_color; }
115
116
> checkbutton > check,
117
> radiobutton > radio {
118
margin: 0;
119
padding: 0;
120
}
121
}
122
123
> window.background > menu > separator { color: $border_color; }
124
}
125
126
127
/************
128
* Inkscape *
129
************/
130
#ToolboxCommon {
131
> #AuxToolbox {
132
#StyleSwatch { font-size: smaller; }
133
134
#Kludge { padding: 0; }
135
136
spinbutton,
137
entry { min-height: 32px; }
138
139
button:not(.up):not(.down) {
140
min-height: 24px;
141
min-width: 16px;
142
padding: 4px 8px;
143
border-radius: 2px;
144
-gtk-outline-radius: 2px;
145
}
146
147
spinbutton button { border-width: 4px; }
148
}
149
150
> toolbar.vertical {
151
margin-top: -4px;
152
153
button {
154
min-height: 24px;
155
min-width: 24px;
156
padding: 4px;
157
border-radius: 2px;
158
-gtk-outline-radius: 2px;
159
}
160
}
161
}
162
163
#CanvasTable {
164
button {
165
min-height: 16px;
166
min-width: 16px;
167
padding: 0;
168
}
169
170
#HorizontalScrollbar { border-top: 1px solid $border_color; }
171
172
#VerticalScrollbar {
173
&:dir(ltr) { border-left: 1px solid $border_color; }
174
175
&:dir(rtl) { border-right: 1px solid $border_color; }
176
}
177
}
178
179
#Canvas_and_Dock {
180
frame > border { border: none; }
181
182
// each canvases' titlebar
183
widget > widget {
184
> button.flat {
185
min-height: 16px;
186
min-width: 16px;
187
padding: 4px;
188
}
189
190
> box.horizontal image { padding: 4px; }
191
}
192
193
// vertical dock buttons
194
box.horizontal > box.vertical > button.flat {
195
min-height: 16px;
196
min-width: 24px;
197
padding: 8px 4px;
198
}
199
}
200
201
202
/***********
203
* Synapse *
204
***********/
205
box.vertical > widget > widget:selected { background-color: $primary_color; }
206