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/_window-picker.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/_window-picker.scss | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/data/theme/gnome-shell-sass/widgets/_window-picker.scss b/data/theme/gnome-shell-sass/widgets/_window-picker.scss new file mode 100644 index 0000000..9067a6d --- /dev/null +++ b/data/theme/gnome-shell-sass/widgets/_window-picker.scss @@ -0,0 +1,53 @@ +/* Window Picker */ + +$window_picker_spacing: $base_padding; // 6px +$window_picker_padding: $base_padding * 2; // 12px + +$window_thumbnail_label_color: transparentize($osd_bg_color, 0.4); + +$window_close_button_color: transparentize(lighten($osd_bg_color, 7%), .02); +$window_close_button_size: 30px; +$window_close_button_padding: 3px; + +// Window picker +.window-picker { + // Space between window thumbnails + spacing: $window_picker_spacing; +} + +// Window titles +.window-caption { + color: $osd_fg_color; + background-color: lighten($osd_bg_color, 5%); + border-radius: 99px; + padding: $base_padding $base_padding * 2; +} + +// Close button +.window-close { + background-color: $window_close_button_color; + color: $osd_fg_color; + border-radius: 99px; + box-shadow: 0 2px 4px 0 $shadow_color; + padding: $window_close_button_padding; + height: $window_close_button_size; + width: $window_close_button_size; + transition-duration: 100ms; + + & StIcon { icon-size: 24px; } // uses non standard icon size + + &:hover { + background-color: lighten($window_close_button_color, 7%); + } + + &:active { + background-color: lighten($window_close_button_color, 13%); + } +} + +.workspace-background { + // keep in sync with BACKGROUND_CORNER_RADIUS_PIXELS in workspace.js + border-radius: 30px; + background-color: $invisible_occluded_bg_color; + box-shadow: 0 4px 16px 4px transparentize(darken($osd_bg_color, 30%), 0.7); +} |