From e4283f6d48b98e764b988b43bbc86b9d52e6ec94 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:54:43 +0200 Subject: Adding upstream version 43.9. Signed-off-by: Daniel Baumann --- .../gnome-shell-sass/widgets/_switcher-popup.scss | 72 ++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 data/theme/gnome-shell-sass/widgets/_switcher-popup.scss (limited to 'data/theme/gnome-shell-sass/widgets/_switcher-popup.scss') diff --git a/data/theme/gnome-shell-sass/widgets/_switcher-popup.scss b/data/theme/gnome-shell-sass/widgets/_switcher-popup.scss new file mode 100644 index 0000000..cec6c9a --- /dev/null +++ b/data/theme/gnome-shell-sass/widgets/_switcher-popup.scss @@ -0,0 +1,72 @@ +/* App Switcher */ + +// same as dash +$switcher_padding: $base_padding + 4px; // 10px +$switcher_border_radius: $modal_radius + 8px; + + +// the full screen container of the switcher +.switcher-popup { + padding: 0; + spacing: $base_padding * 4; +} + +// switcher onscreen panel +.switcher-list { + @extend %osd_panel; + padding: $switcher_padding; + border-radius: $switcher_border_radius; + box-shadow: 0 8px 8px 0 rgba(0,0,0,0.1); + + // container for items in list + .switcher-list-item-container { + spacing: $base_padding * 2; + } + + // each item in the list + .item-box { + @include tile_button($osd_fg_color); + // override over style so mouse doesn't steal focus + &:hover {background: none;} + } + + .separator { + width: 1px; + background: $borders_color; + } + + // container of thumbnails + .thumbnail-box { + padding: 2px; + spacing: $base_padding; + } + + // window thumbnail itself + .thumbnail { + width: 256px; // equal to THUMBNAIL_DEFAULT_SIZE in altTab.js + border-radius:$base_border_radius; + } +} + +// arrow if app has multiple windows +.switcher-arrow { + border-color: transparentize($osd_fg_color, 0.2); + color: transparentize($osd_fg_color, 0.2); + + &:highlighted { + border-color: $osd_fg_color; + color: $osd_fg_color; + } +} + +// Input Source Switcher +.input-source-switcher-symbol { + font-size: 34pt; + width: 96px; + height: 96px; +} + +// Window cycler highlight +.cycler-highlight { + border: 5px solid $selected_bg_color; +} -- cgit v1.2.3