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