_search-entry.scss
ASCII text
1// Search entry 2 3@use "../../../../theme"; 4@use "../../../../theme-color"; 5@use "../../gnome-shell"; 6@use "../../drawing"; 7 8%search-entry, 9.search-entry { 10width: 320px - 8px * 2; 11padding: 0 8px; 12border-radius: theme.$corner-radius theme.$corner-radius 0 0; 13color: theme-color.disabled(theme-color.$on-dark); 14selection-background-color: theme-color.stroke(theme-color.$on-dark); 15selected-color: theme-color.$on-dark; 16@include drawing.entry(normal, $fc: theme-color.stroke(theme-color.$on-dark)); 17 18@if gnome-shell.$version >= 40 { 19margin-top: 16px; 20margin-bottom: 8px; 21} 22 23&:hover { 24@include drawing.entry(hover, $fc: theme-color.stroke(theme-color.$on-dark)); 25color: theme-color.disabled(theme-color.$on-dark); 26} 27 28&:focus { 29@include drawing.entry(focus, $fc: theme-color.$on-dark); 30padding: 0 8px; 31border: 0; 32color: theme-color.$on-dark; 33} 34 35StLabel.hint-text { 36color: theme-color.hint(theme-color.$on-dark); 37} 38 39.search-entry-icon { 40icon-size: 16px; 41padding: 0 4px; 42color: theme-color.hint(theme-color.$on-dark); 43} 44 45&:hover, 46&:focus { 47.search-entry-icon { 48color: theme-color.$on-dark; 49} 50} 51} 52