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