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.

 _third-party.scss

View raw Download
text/plain • 3.19 kiB
ASCII text
        
            
1
/************
2
* Terminix *
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 { background-image: image($lighter_bg_color); }
17
18
button.image-button.session-new-button { min-width: $medium_size - 4px; }
19
20
21
/***********
22
* Eclipse *
23
***********/
24
window.background > box.vertical > scrolledwindow > widget toolbar {
25
padding: 2px;
26
27
separator,
28
button { margin: 2px; }
29
30
button { border-radius: 2px; }
31
}
32
33
34
/***********
35
* Firefox *
36
***********/
37
window.background:not(.csd) {
38
// for the bookmark toolbar's separators
39
> widget > separator { color: rgba(0, 0, 0, 0.2); }
40
41
// remove ugly border around the menus
42
> * > menu { border: none; }
43
44
// use 16px assets for hard-coded sizing
45
> window.background > menu > menuitem > check,
46
> widget > checkbutton > check {
47
& {
48
border-radius: 2px;
49
-gtk-icon-source: image(-gtk-recolor(url("assets/scalable/small-checkbox-unchecked-symbolic.svg")),
50
-gtk-recolor(url("assets/scalable/small-checkbox-unchecked-symbolic.symbolic.png")));
51
}
52
53
&:checked {
54
-gtk-icon-source: image(-gtk-recolor(url("assets/scalable/small-checkbox-checked-symbolic.svg")),
55
-gtk-recolor(url("assets/scalable/small-checkbox-checked-symbolic.symbolic.png")));
56
}
57
58
&:indeterminate {
59
-gtk-icon-source: image(-gtk-recolor(url("assets/scalable/small-checkbox-mixed-symbolic.svg")),
60
-gtk-recolor(url("assets/scalable/small-checkbox-mixed-symbolic.symbolic.png")));
61
}
62
}
63
64
> window.background > menu > menuitem > radio,
65
> widget > radiobutton > radio {
66
& {
67
-gtk-icon-source: image(-gtk-recolor(url("assets/scalable/small-radio-unchecked-symbolic.svg")),
68
-gtk-recolor(url("assets/scalable/small-radio-unchecked-symbolic.symbolic.png")));
69
}
70
71
&:checked {
72
border-image: none;
73
-gtk-icon-source: image(-gtk-recolor(url("assets/scalable/small-radio-checked-symbolic.svg")),
74
-gtk-recolor(url("assets/scalable/small-radio-checked-symbolic.symbolic.png")));
75
}
76
77
&:indeterminate {
78
-gtk-icon-source: image(-gtk-recolor(url("assets/scalable/small-radio-mixed-symbolic.svg")),
79
-gtk-recolor(url("assets/scalable/small-radio-mixed-symbolic.symbolic.png")));
80
}
81
}
82
}
83
84
// Firefox now uses this for selected items
85
text:selected { @extend %selected_items; }
86
87
// for backwards compatibility
88
window.background:not(.csd) {
89
> widget > menubar {
90
color: $secondary_titlebar_fg_color;
91
92
&:hover { color: $titlebar_fg_color; }
93
94
&:disabled { color: $disabled_secondary_titlebar_fg_color; }
95
}
96
97
> window.background > menu > separator { color: $border_color; }
98
99
> widget > frame { color: rgba(0, 0, 0, 0.2); }
100
101
> widget > checkbutton > check,
102
> widget > radiobutton > radio {
103
margin: 0;
104
padding: 0;
105
}
106
}
107
108
109
/***********
110
* Synapse *
111
***********/
112
box.vertical > widget > widget:selected { background-color: $primary_color; }
113