30f27412c2
We currently use a thick border to indicate the hovered/focused preview. It works well for that purpose, but is a bit in the face. Slightly scaling up the preview still provides a clear indication, but in a more subtle and elegant way. https://gitlab.gnome.org/Teams/Design/os-mockups/-/issues/81 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1605>
45 lines
1.1 KiB
SCSS
45 lines
1.1 KiB
SCSS
/* Window Picker */
|
|
|
|
$window_picker_spacing: $base_spacing; // 6px
|
|
$window_picker_padding: $base_padding * 2; // 12px
|
|
|
|
$window_close_button_size: 24px;
|
|
$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: $osd_bg_color;
|
|
border:1px solid $osd_outer_borders_color;
|
|
border-radius: $base_border_radius + 1;
|
|
padding: $base_padding $base_padding * 2;
|
|
font-weight: bold;
|
|
@include fontsize($base_font_size + 1);
|
|
}
|
|
|
|
// Close button
|
|
.window-close {
|
|
background-color: $selected_bg_color;
|
|
color: $selected_fg_color;
|
|
border: none;
|
|
border-radius: $window_close_button_size * 0.5 + $window_close_button_padding * 2;
|
|
padding: $window_close_button_padding;
|
|
height: $window_close_button_size;
|
|
width: $window_close_button_size;
|
|
box-shadow: -1px 1px 5px 0px rgba(0,0,0,0.5);
|
|
|
|
&:hover {
|
|
background-color: lighten($selected_bg_color, 5%);
|
|
}
|
|
|
|
&:active {
|
|
background-color: darken($selected_bg_color, 5%);
|
|
}
|
|
}
|