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

 _entry.scss

View raw Download
text/plain • 1.09 kiB
ASCII text
        
            
1
/* Entries */
2
3
@use "../../../../theme";
4
@use "../../../../theme-color";
5
@use "../../gnome-shell";
6
@use "../../drawing";
7
8
%entry,
9
StEntry {
10
min-height: theme.$medium-size;
11
padding: 0 8px;
12
border-width: 0;
13
border-radius: theme.$corner-radius theme.$corner-radius 0 0;
14
color: theme-color.$on-surface;
15
selection-background-color: theme-color.$selected-overlay;
16
selected-color: theme-color.$on-surface;
17
@include drawing.type(body1);
18
@include drawing.entry(normal);
19
20
&:hover {
21
@include drawing.entry(hover);
22
}
23
24
&:focus {
25
@include drawing.entry(focus);
26
27
@if gnome-shell.$version == 3.34 {
28
border: 0;
29
}
30
}
31
32
&:insensitive {
33
@include drawing.entry(insensitive);
34
}
35
36
StIcon.capslock-warning {
37
icon-size: 16px;
38
padding: 0 4px;
39
warning-color: theme-color.$warning;
40
}
41
42
StIcon.peek-password {
43
icon-size: 16px;
44
padding: 0 4px;
45
color: theme-color.hint(theme-color.$on-surface);
46
47
&:hover {
48
color: theme-color.$on-surface;
49
}
50
}
51
52
StLabel.hint-text {
53
margin-left: 2px;
54
color: theme-color.hint(theme-color.$on-surface);
55
}
56
}
57