_overview.scss
ASCII text
1/* OVERVIEW */ 2 3@use "../../../../theme"; 4@use "../../../../theme-color"; 5@use "../../../../st-theme"; 6@use "../../gnome-shell"; 7@use "../../drawing"; 8@use "../base/scrollbar"; 9 10@if gnome-shell.$version >= 40 { 11.controls-manager, 12.secondary-monitor-workspaces { 13spacing: 16px; 14} 15 16#overviewGroup { 17background-color: theme-color.$system; 18color: theme-color.$on-system; 19 20StScrollBar { 21@extend %scrollbar-on-dark; 22} 23} 24} @else { 25#overview { 26spacing: 24px; 27background-color: transparent; 28color: theme-color.$on-dark; 29 30StScrollBar { 31@extend %scrollbar-on-dark; 32} 33} 34 35.overview-controls { 36padding-bottom: 32px; 37} 38} 39 40%overview-panel { 41transition-duration: st-theme.$duration-panel; 42border: 0; 43background-color: theme-color.fill(theme-color.$on-dark); 44color: theme-color.$on-dark; 45} 46 47%overview-status-text { 48@include drawing.type(headline3); 49color: theme-color.disabled(theme-color.$on-dark); 50} 51 52%overview-item { 53@extend %-overview-item; 54 55&:focus { 56@extend %-overview-item-focus; 57} 58 59&:hover, 60&:selected { 61@extend %-overview-item-hover; 62} 63 64&:active, 65&:checked { 66@extend %-overview-item-active; 67} 68} 69 70%overview-icon { 71.overview-icon { 72@extend %-overview-item; 73} 74 75&:focus { 76.overview-icon { 77@extend %-overview-item-focus; 78} 79} 80 81&:drop, 82&:hover, 83&:selected { 84.overview-icon { 85@extend %-overview-item-hover; 86} 87} 88 89&:active, 90&:checked { 91.overview-icon { 92@extend %-overview-item-active; 93} 94} 95} 96 97%-overview-item { 98padding: 6px; 99border: 0; 100border-radius: theme.$corner-radius; 101background-color: transparent; 102color: inherit; 103text-align: center; 104transition-duration: st-theme.$duration; 105} 106 107%-overview-item-focus { 108border-image: none; 109background-image: none; 110background-color: theme-color.focus-overlay(theme-color.$on-dark); 111color: inherit; 112transition-duration: 0ms; 113} 114 115%-overview-item-hover { 116border: 0; 117border-image: none; 118background-image: none; 119background-color: theme-color.hover-overlay(theme-color.$on-dark); 120color: inherit; 121transition-duration: 0ms; 122} 123 124%-overview-item-active { 125box-shadow: none; 126background-color: theme-color.pressed-overlay(theme-color.$on-dark); 127color: inherit; 128transition-duration: st-theme.$duration-ripple; 129} 130