A fork of the Materia GTK theme.

By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

 _network-dialog.scss

View raw Download
text/plain • 1.73 kiB
ASCII text
        
            
1
/* Network Dialogs */
2
3
@use "../../../../theme";
4
@use "../../../../theme-color";
5
@use "../../../../st-theme";
6
@use "../../typography";
7
8
.nm-dialog {
9
max-height: 34em;
10
min-height: 31em;
11
min-width: 32em;
12
}
13
14
.nm-dialog-content {
15
spacing: 20px;
16
padding: 24px;
17
}
18
19
.nm-dialog-airplane-box {
20
spacing: 12px;
21
}
22
23
.nm-dialog-airplane-headline {
24
// font-weight: bold;
25
text-align: center;
26
}
27
28
.nm-dialog-airplane-text {
29
color: theme-color.hint(theme-color.$on-surface);
30
}
31
32
// header
33
.nm-dialog-header {
34
@include typography.headline6;
35
}
36
37
.nm-dialog-subheader {
38
color: theme-color.hint(theme-color.$on-surface);
39
}
40
41
.nm-dialog-header-icon {
42
icon-size: 32px;
43
color: theme-color.hint(theme-color.$on-surface);
44
}
45
46
.nm-dialog-header-hbox {
47
spacing: 16px;
48
}
49
50
// list of networks
51
.nm-dialog-scroll-view {
52
border: 0;
53
padding: 0;
54
background-color: transparent;
55
}
56
57
// list item
58
.nm-dialog-item {
59
transition-duration: st-theme.$duration;
60
padding: 12px;
61
spacing: 20px;
62
border-bottom: 0;
63
border-radius: theme.$corner-radius;
64
font-size: 1em;
65
66
&:focus {
67
background-color: theme-color.focus-overlay(theme-color.$on-surface);
68
}
69
70
&:hover {
71
background-color: theme-color.hover-overlay(theme-color.$on-surface);
72
}
73
74
&:active {
75
transition-duration: st-theme.$duration-ripple;
76
background-color: theme-color.pressed-overlay(theme-color.$on-surface);
77
}
78
79
&:selected {
80
background-color: theme-color.$selected-overlay;
81
color: theme-color.$on-surface;
82
}
83
}
84
85
// icons in list
86
.nm-dialog-icon {
87
icon-size: 16px;
88
color: theme-color.hint(theme-color.$on-surface);
89
}
90
91
.nm-dialog-icons {
92
spacing: .5em;
93
}
94
95
// no networks
96
.no-networks-label {
97
color: theme-color.hint(theme-color.$on-surface);
98
}
99
100
.no-networks-box {
101
spacing: 12px;
102
}
103