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