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