0b3fec22d7
Since the caps-lock warning adds a lot of spacing to dialogs and the lock screen, hide it by default and only show it when necessary. To make the transition smooth instead of just showing the label, animate it in using the height and opacity. Also add some bottom padding to the label so we can show or hide that padding, too. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/952
28 lines
638 B
SCSS
28 lines
638 B
SCSS
/* Entries */
|
|
|
|
StEntry {
|
|
border-radius: $base_border_radius;
|
|
padding: 8px;
|
|
border-width: 1px;
|
|
color: $fg_color;
|
|
@include entry(normal);
|
|
//&:hover { @include entry(hover);}
|
|
&:focus { @include entry(focus);}
|
|
&:insensitive { @include entry(insensitive);}
|
|
selection-background-color: $selected_bg_color;
|
|
selected-color: $selected_fg_color;
|
|
StIcon.capslock-warning {
|
|
icon-size: 16px;
|
|
warning-color: $warning_color;
|
|
padding: 0 4px;
|
|
}
|
|
StIcon.peek-password {
|
|
icon-size: $base_icon_size;
|
|
padding: 0 4px;
|
|
}
|
|
StLabel.hint-text {
|
|
margin-left: 2px;
|
|
color: transparentize($fg_color, 0.3);
|
|
}
|
|
}
|