diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:54:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:54:43 +0000 |
commit | e4283f6d48b98e764b988b43bbc86b9d52e6ec94 (patch) | |
tree | c8f7f7a6c2f5faa2942d27cefc6fd46cca492656 /data/theme/gnome-shell-sass/widgets/_osd.scss | |
parent | Initial commit. (diff) | |
download | gnome-shell-e4283f6d48b98e764b988b43bbc86b9d52e6ec94.tar.xz gnome-shell-e4283f6d48b98e764b988b43bbc86b9d52e6ec94.zip |
Adding upstream version 43.9.upstream/43.9upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | data/theme/gnome-shell-sass/widgets/_osd.scss | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/data/theme/gnome-shell-sass/widgets/_osd.scss b/data/theme/gnome-shell-sass/widgets/_osd.scss new file mode 100644 index 0000000..a8d1a55 --- /dev/null +++ b/data/theme/gnome-shell-sass/widgets/_osd.scss @@ -0,0 +1,64 @@ +/* OSD */ + +$osd_levelbar_height:6px; + +.osd-window { + @extend %osd_panel; + @extend %heading; + text-align: center; + font-weight: bold; + spacing: $base_padding * 2; // 12px + padding: $base_padding * 2 $base_padding * 3; + & > * { spacing: 8px; } + margin-bottom: 4em; + + StIcon { icon-size:$large_icon_size;} + + StLabel { + &:ltr { margin-right: 6px; } + &:rtl { margin-left: 6px; } + } + + .level { + margin-bottom: 4px; + &:first-child { margin-bottom: 0px; } + + height: $osd_levelbar_height; + min-width:$base_icon_size * 10; + -barlevel-height: $osd_levelbar_height; + -barlevel-background-color: transparentize($osd_fg_color, if($variant=='light', 0.7, 0.9)); + -barlevel-active-background-color: $osd_fg_color; + -barlevel-overdrive-color: $destructive_color; + -barlevel-overdrive-separator-width: 3px; + &:ltr { margin-right: 6px; } + &:rtl { margin-left: 6px; } + } +} + +// Monitor number label +.osd-monitor-label { + @extend %osd_panel; + border-radius: $modal_radius; + font-size: 3em; + font-weight: bold; + margin: $base_margin * 3; + text-align: center; + min-width: 1.3em; +} + +/* Pad OSD */ +.pad-osd-window { + padding: 32px; + background-color: transparentize(#000, 0.2); + + .pad-osd-title-box { spacing: 12px; } + .pad-osd-title-menu-box { spacing: 6px; } +} + +.combo-box-label { + width: 15em; +} + +.resize-popup { + @extend %osd_panel; +} |