2019-12-18 16:25:03 -05:00
|
|
|
/* Window Picker */
|
|
|
|
|
2022-02-07 13:22:40 -05:00
|
|
|
$window_picker_spacing: $base_padding; // 6px
|
2020-06-03 12:17:54 -04:00
|
|
|
$window_picker_padding: $base_padding * 2; // 12px
|
2019-12-18 16:25:03 -05:00
|
|
|
|
2021-02-04 12:04:09 -05:00
|
|
|
$window_thumbnail_label_color: transparentize($osd_bg_color, 0.4);
|
2021-01-08 06:11:06 -05:00
|
|
|
|
2022-05-27 11:54:28 -04:00
|
|
|
$window_close_button_color: lighten(transparentize($osd_bg_color, .05), 7%);
|
2021-01-08 06:11:06 -05:00
|
|
|
$window_close_button_size: 30px;
|
2019-12-18 16:25:03 -05:00
|
|
|
$window_close_button_padding: 3px;
|
|
|
|
|
|
|
|
// Window picker
|
|
|
|
.window-picker {
|
2019-12-19 10:38:27 -05:00
|
|
|
// Space between window thumbnails
|
2020-06-03 12:17:54 -04:00
|
|
|
spacing: $window_picker_spacing;
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// Window titles
|
|
|
|
.window-caption {
|
2021-02-04 12:04:09 -05:00
|
|
|
color: $osd_fg_color;
|
|
|
|
background-color: $osd_bg_color;
|
2021-01-08 06:11:06 -05:00
|
|
|
border-radius: 99px;
|
2019-12-19 19:01:37 -05:00
|
|
|
padding: $base_padding $base_padding * 2;
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// Close button
|
|
|
|
.window-close {
|
2022-02-07 13:22:40 -05:00
|
|
|
background-color: $window_close_button_color;
|
2021-02-04 12:04:09 -05:00
|
|
|
color: $osd_fg_color;
|
2022-02-25 10:10:24 -05:00
|
|
|
border-radius: 99px;
|
2022-05-27 11:54:28 -04:00
|
|
|
box-shadow: 0 2px 4px 0 $shadow_color;
|
2019-12-19 10:38:27 -05:00
|
|
|
padding: $window_close_button_padding;
|
|
|
|
height: $window_close_button_size;
|
|
|
|
width: $window_close_button_size;
|
2021-02-04 12:04:09 -05:00
|
|
|
transition-duration: 300ms;
|
2019-12-18 16:25:03 -05:00
|
|
|
|
2022-02-07 13:22:40 -05:00
|
|
|
& StIcon { icon-size: 24px; } // uses non standard icon size
|
2021-01-08 06:11:06 -05:00
|
|
|
|
2019-12-19 10:38:27 -05:00
|
|
|
&:hover {
|
2022-02-07 13:22:40 -05:00
|
|
|
background-color: mix($osd_fg_color, $window_close_button_color, 15%);
|
2019-12-19 10:38:27 -05:00
|
|
|
}
|
2019-12-18 16:25:03 -05:00
|
|
|
|
2019-12-19 10:38:27 -05:00
|
|
|
&:active {
|
2021-02-04 12:04:09 -05:00
|
|
|
color: transparentize($osd_fg_color, 0.2);
|
2022-02-07 13:22:40 -05:00
|
|
|
background-color: darken($window_close_button_color, 5%);
|
2019-12-19 10:38:27 -05:00
|
|
|
}
|
2020-02-10 14:19:22 -05:00
|
|
|
}
|
2021-02-08 10:43:32 -05:00
|
|
|
|
|
|
|
.workspace-background {
|
|
|
|
// keep in sync with BACKGROUND_CORNER_RADIUS_PIXELS in workspace.js
|
|
|
|
border-radius: 30px;
|
2021-02-18 16:10:02 -05:00
|
|
|
box-shadow: 0 4px 16px 4px transparentize(darken($osd_bg_color, 30%), 0.7);
|
2021-02-08 10:43:32 -05:00
|
|
|
}
|