2019-12-18 21:25:03 +00:00
|
|
|
/* Window Picker */
|
|
|
|
|
2020-06-03 16:17:54 +00:00
|
|
|
$window_picker_spacing: $base_spacing; // 6px
|
|
|
|
$window_picker_padding: $base_padding * 2; // 12px
|
2019-12-18 21:25:03 +00:00
|
|
|
|
2021-01-08 11:11:06 +00:00
|
|
|
$window_thumbnail_chrome_color: transparentize($osd_fg_color, 0.4);
|
|
|
|
$window_thumbnail_chrome_border: transparentize($osd_bg_color, 0.7);
|
|
|
|
|
|
|
|
$window_close_button_size: 30px;
|
2019-12-18 21:25:03 +00:00
|
|
|
$window_close_button_padding: 3px;
|
|
|
|
|
|
|
|
// Window picker
|
|
|
|
.window-picker {
|
2019-12-19 15:38:27 +00:00
|
|
|
// Space between window thumbnails
|
2020-06-03 16:17:54 +00:00
|
|
|
spacing: $window_picker_spacing;
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Window titles
|
|
|
|
.window-caption {
|
2021-01-08 11:11:06 +00:00
|
|
|
color: $osd_bg_color;
|
|
|
|
background-color: $window_thumbnail_chrome_color;
|
|
|
|
border-radius: 99px;
|
|
|
|
border: 1px solid $window_thumbnail_chrome_border;
|
2019-12-20 00:01:37 +00:00
|
|
|
padding: $base_padding $base_padding * 2;
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Close button
|
|
|
|
.window-close {
|
2021-01-08 11:11:06 +00:00
|
|
|
background-color: $window_thumbnail_chrome_color;
|
|
|
|
color: $osd_bg_color;
|
|
|
|
border: 1px solid $window_thumbnail_chrome_border;
|
2019-12-19 15:38:27 +00:00
|
|
|
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);
|
2019-12-18 21:25:03 +00:00
|
|
|
|
2021-01-08 11:11:06 +00:00
|
|
|
& StIcon { icon-size: 24px; }
|
|
|
|
|
2019-12-19 15:38:27 +00:00
|
|
|
&:hover {
|
2021-01-08 11:11:06 +00:00
|
|
|
background-color: lighten($window_thumbnail_chrome_color, 5%);
|
2019-12-19 15:38:27 +00:00
|
|
|
}
|
2019-12-18 21:25:03 +00:00
|
|
|
|
2019-12-19 15:38:27 +00:00
|
|
|
&:active {
|
2021-01-08 11:11:06 +00:00
|
|
|
background-color: darken($window_thumbnail_chrome_color, 5%);
|
2019-12-19 15:38:27 +00:00
|
|
|
}
|
2020-02-10 19:19:22 +00:00
|
|
|
}
|