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