_osd.scss
ASCII text
1/* OSD */ 2 3@use "../../../../theme"; 4@use "../../../../theme-color"; 5@use "../../../../shadow"; 6@use "../../gnome-shell"; 7@use "../../typography"; 8 9@mixin panel { 10padding: 12px; 11border: none; 12border-radius: theme.$corner-radius; 13box-shadow: shadow.$z8; 14background-color: theme-color.$surface-z8; 15color: theme-color.$on-surface; 16} 17 18.osd-window { 19@include panel; 20text-align: center; 21font-weight: bold; 22spacing: 12px; 23margin: 32px; 24min-width: 64px; 25min-height: 64px; 26 27StIcon { 28icon-size: 96px; 29} 30 31.osd-monitor-label { 32@include typography.headline3; 33} 34 35@if gnome-shell.$version >= 3.30 { 36.level { 37height: 8px; 38-barlevel-height: 8px; 39-barlevel-background-color: theme-color.disabled-stroke(theme-color.$on-surface); 40-barlevel-active-background-color: theme-color.$primary; 41-barlevel-overdrive-color: theme-color.$error; 42-barlevel-overdrive-separator-width: 2px; 43} 44} @else { 45.level { 46height: 8px; 47border-radius: 0; 48background-color: theme-color.disabled-stroke(theme-color.$on-surface); 49color: theme-color.$on-surface; 50} 51 52.level-bar { 53border-radius: 0; 54background-color: theme-color.$primary; 55} 56} 57} 58 59.resize-popup { 60@include panel; 61} 62 63/* Pad OSD */ 64 65.pad-osd-window { 66padding: 32px; 67background-color: theme-color.$scrim; 68 69.pad-osd-title-box { 70spacing: 12px; 71} 72 73.pad-osd-title-menu-box { 74spacing: 6px; 75} 76} 77 78.combo-box-label { 79width: 15em; 80} 81