_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, 10StEntry { 11min-height: theme.$medium-size; 12padding: 0 8px; 13border-width: 0; 14border-radius: theme.$corner-radius theme.$corner-radius 0 0; 15color: theme-color.$on-surface; 16selection-background-color: theme-color.$selected-overlay; 17selected-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 { 29border: 0; 30} 31} 32 33&:insensitive { 34@include drawing.entry(insensitive); 35} 36 37StIcon.capslock-warning { 38icon-size: 16px; 39padding: 0 4px; 40warning-color: theme-color.$warning; 41} 42 43StIcon.peek-password { 44icon-size: 16px; 45padding: 0 4px; 46color: theme-color.hint(theme-color.$on-surface); 47 48&:hover { 49color: theme-color.$on-surface; 50} 51} 52 53StLabel.hint-text { 54margin-left: 2px; 55color: theme-color.hint(theme-color.$on-surface); 56} 57} 58