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