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.

 _button.scss

View raw Download
text/plain • 923 B
ASCII text
        
            
1
/* Buttons */
2
3
@use "../../../../theme";
4
@use "../../drawing";
5
@use "../../typography";
6
7
%button,
8
.button {
9
min-height: theme.$medium-size;
10
min-width: 64px - 8px * 2;
11
padding: 0 8px;
12
border: 0;
13
border-radius: theme.$corner-radius;
14
15
@include typography.button;
16
@include drawing.button(flat-normal);
17
18
&:focus {
19
@include drawing.button(flat-focus);
20
}
21
22
&:hover {
23
@include drawing.button(flat-hover);
24
}
25
26
&:active {
27
@include drawing.button(flat-active);
28
}
29
30
&:insensitive {
31
@include drawing.button(flat-insensitive);
32
}
33
}
34
35
// buttons in dialogs and notifications
36
%bubble_button {
37
@extend %button;
38
margin: theme.$container-padding;
39
margin-right: 0;
40
41
&:first-child,
42
&:last-child,
43
&:first-child:last-child {
44
border-radius: theme.$corner-radius;
45
}
46
47
&:last-child,
48
&:first-child:last-child {
49
margin-right: theme.$container-padding;
50
border-right-width: 0;
51
}
52
}
53