diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 15:07:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 15:07:22 +0000 |
commit | f9d480cfe50ca1d7a0f0b5a2b8bb9932962bfbe7 (patch) | |
tree | ce9e8db2d4e8799780fa72ae8f1953039373e2ee /data/theme/gnome-shell-sass/widgets/_osd.scss | |
parent | Initial commit. (diff) | |
download | gnome-shell-upstream/3.38.6.tar.xz gnome-shell-upstream/3.38.6.zip |
Adding upstream version 3.38.6.upstream/3.38.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'data/theme/gnome-shell-sass/widgets/_osd.scss')
-rw-r--r-- | data/theme/gnome-shell-sass/widgets/_osd.scss | 45 |
1 files changed, 45 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..f85124c --- /dev/null +++ b/data/theme/gnome-shell-sass/widgets/_osd.scss @@ -0,0 +1,45 @@ +/* OSD */ + +$osd_levelbar_height:8px; + +.osd-window { + @extend %osd_panel; + text-align: center; + font-weight: bold; + spacing: $base_spacing * 2; // 12px + margin: $base_margin * 8; // 32px + min-width: 64px; + min-height: 64px; + + StIcon { + icon-size:$base_icon_size * 6; + } + + .osd-monitor-label { font-size: 3em; } + + .level { + height: $osd_levelbar_height; + -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; + } +} + +/* 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; +}
\ No newline at end of file |