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