2021-08-16 07:25:52 +00:00
|
|
|
// Screenshot UI
|
2021-08-16 07:29:26 +00:00
|
|
|
.icon-label-button-container {
|
2022-02-07 18:22:40 +00:00
|
|
|
spacing: $base_padding;
|
|
|
|
@extend %caption;
|
2021-08-16 07:29:26 +00:00
|
|
|
|
2022-02-07 18:22:40 +00:00
|
|
|
StIcon { icon-size: 32px;}
|
2021-08-16 07:29:26 +00:00
|
|
|
}
|
|
|
|
|
2022-02-07 18:22:40 +00:00
|
|
|
$screenshot_ui_panel_padding: $base_padding*3;
|
2022-01-28 19:53:38 +00:00
|
|
|
$screenshot_ui_shot_cast_margin: 21px;
|
2022-02-07 18:22:40 +00:00
|
|
|
$screenshot_ui_panel_border_radius: $modal_radius + $screenshot_ui_shot_cast_margin;
|
2022-01-28 19:53:38 +00:00
|
|
|
$screenshot_ui_shot_cast_spacing: 3px;
|
|
|
|
|
2022-02-07 18:22:40 +00:00
|
|
|
$screenshot_ui_button_red: $error_color;
|
2021-08-16 15:16:11 +00:00
|
|
|
|
2021-08-16 07:25:52 +00:00
|
|
|
.screenshot-ui-panel {
|
2022-02-07 18:22:40 +00:00
|
|
|
@extend %osd_panel;
|
2022-01-28 19:53:38 +00:00
|
|
|
border-radius: $screenshot_ui_panel_border_radius;
|
|
|
|
padding: $screenshot_ui_panel_padding;
|
|
|
|
// Reduce the bottom padding a little to accommodate the large capture button.
|
|
|
|
padding-bottom: $screenshot_ui_panel_padding - 6px;
|
2022-02-07 18:22:40 +00:00
|
|
|
margin-bottom: 4em;
|
2021-08-16 07:25:52 +00:00
|
|
|
spacing: $base_padding * 2;
|
|
|
|
}
|
2022-01-23 10:53:35 +00:00
|
|
|
|
|
|
|
.screenshot-ui-close-button {
|
2022-02-25 15:10:24 +00:00
|
|
|
@extend .window-close; // copy window close button
|
|
|
|
padding: $base_padding !important; // but with more padding
|
2022-05-31 12:33:58 +00:00
|
|
|
margin-top: 12px;
|
|
|
|
box-shadow: 0 2px 4px 0 $shadow_color;
|
|
|
|
&.left { margin-left: 12px;}
|
|
|
|
&.right { margin-right: 12px;}
|
2022-01-23 10:53:35 +00:00
|
|
|
}
|
2022-01-15 15:23:32 +00:00
|
|
|
|
|
|
|
.screenshot-ui-type-button {
|
2022-10-13 16:51:17 +00:00
|
|
|
@extend %osd_button_flat;
|
2022-02-25 15:10:24 +00:00
|
|
|
min-width: 48px;
|
2022-02-07 18:22:40 +00:00
|
|
|
padding: $base_padding * 2 $base_padding * 3 !important;
|
2022-01-28 19:53:38 +00:00
|
|
|
border-radius: $screenshot_ui_panel_border_radius - $screenshot_ui_panel_padding;
|
2022-01-15 15:23:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.screenshot-ui-capture-button {
|
|
|
|
width: 36px;
|
|
|
|
height: 36px;
|
|
|
|
border-radius: 99px;
|
2022-02-07 18:22:40 +00:00
|
|
|
border: 4px $osd_fg_color;
|
2022-01-15 15:23:32 +00:00
|
|
|
padding: 4px;
|
|
|
|
|
|
|
|
.screenshot-ui-capture-button-circle {
|
2022-02-07 18:22:40 +00:00
|
|
|
background-color: $osd_fg_color;
|
2022-01-15 15:23:32 +00:00
|
|
|
transition-duration: 200ms;
|
2022-02-25 15:10:24 +00:00
|
|
|
&:hover, &:focus { background-color: $hover_bg_color;}
|
2022-01-15 15:23:32 +00:00
|
|
|
border-radius: 99px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover, &:focus {
|
|
|
|
.screenshot-ui-capture-button-circle {
|
2022-02-07 18:22:40 +00:00
|
|
|
background-color: darken($osd_fg_color, 15%);
|
2022-01-15 15:23:32 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
.screenshot-ui-capture-button-circle {
|
2022-02-07 18:22:40 +00:00
|
|
|
background-color: darken($osd_fg_color, 50%);
|
2022-01-15 15:23:32 +00:00
|
|
|
}
|
|
|
|
}
|
2021-08-16 15:16:11 +00:00
|
|
|
|
|
|
|
&:cast {
|
|
|
|
.screenshot-ui-capture-button-circle {
|
|
|
|
background-color: $screenshot_ui_button_red;
|
|
|
|
}
|
|
|
|
&:hover, &:focus {
|
|
|
|
.screenshot-ui-capture-button-circle {
|
2022-02-25 15:10:24 +00:00
|
|
|
background-color: lighten($screenshot_ui_button_red, 5%);
|
2021-08-16 15:16:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
&:active {
|
|
|
|
.screenshot-ui-capture-button-circle {
|
2022-02-25 15:10:24 +00:00
|
|
|
background-color: darken($screenshot_ui_button_red, 7%);
|
2021-08-16 15:16:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.screenshot-ui-shot-cast-container {
|
2022-05-31 06:45:26 +00:00
|
|
|
background-color: lighten($osd_bg_color,5%);
|
2022-02-07 18:22:40 +00:00
|
|
|
border-radius: $modal_radius;
|
2022-01-28 19:53:38 +00:00
|
|
|
padding: $screenshot_ui_shot_cast_spacing;
|
|
|
|
spacing: $screenshot_ui_shot_cast_spacing;
|
2021-08-16 15:16:11 +00:00
|
|
|
|
2022-02-25 15:10:24 +00:00
|
|
|
&:ltr { margin-left: $screenshot_ui_shot_cast_margin - $screenshot_ui_panel_padding;}
|
|
|
|
&:rtl { margin-right: $screenshot_ui_shot_cast_margin - $screenshot_ui_panel_padding;}
|
2021-08-16 15:16:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.screenshot-ui-shot-cast-button {
|
2022-02-07 18:22:40 +00:00
|
|
|
padding: $base_padding $base_padding*2;
|
2021-08-16 15:16:11 +00:00
|
|
|
background-color: transparent;
|
2022-05-31 06:45:26 +00:00
|
|
|
&:hover, &:focus { background-color: lighten($osd_bg_color, 10%);}
|
2022-02-25 15:10:24 +00:00
|
|
|
&:active { background-color: lighten($active_bg_color,5%);}
|
|
|
|
&:checked { background-color: white;color: black;}
|
2022-08-21 18:59:25 +00:00
|
|
|
&:insensitive { color: transparentize($osd_fg_color, 0.5);}
|
2021-08-16 15:16:11 +00:00
|
|
|
|
2022-02-07 18:22:40 +00:00
|
|
|
border-radius: $modal_radius - $screenshot_ui_shot_cast_spacing;
|
2021-08-16 15:16:11 +00:00
|
|
|
|
2022-02-25 15:10:24 +00:00
|
|
|
StIcon { icon-size: $base_icon_size;}
|
2022-01-15 15:23:32 +00:00
|
|
|
}
|
|
|
|
|
2021-08-16 15:12:05 +00:00
|
|
|
.screenshot-ui-show-pointer-button {
|
2022-10-13 16:51:17 +00:00
|
|
|
@extend %osd_button_flat;
|
2021-08-16 15:12:05 +00:00
|
|
|
border-radius: 99px;
|
2022-02-07 18:22:40 +00:00
|
|
|
padding: $base_padding * 2 !important;
|
2022-02-25 15:10:24 +00:00
|
|
|
StIcon { icon-size: $base_icon_size;}
|
2021-08-16 15:12:05 +00:00
|
|
|
}
|
|
|
|
|
2021-08-16 11:34:49 +00:00
|
|
|
.screenshot-ui-area-indicator-shade {
|
2022-02-07 18:22:40 +00:00
|
|
|
background-color: rgba(0,0,0,.3);
|
2021-08-16 11:34:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.screenshot-ui-area-selector {
|
|
|
|
.screenshot-ui-area-indicator-shade {
|
2022-02-07 18:22:40 +00:00
|
|
|
background-color: rgba(0,0,0,.5);
|
2021-08-16 11:34:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.screenshot-ui-area-indicator-selection {
|
|
|
|
border: 2px white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.screenshot-ui-area-selector-handle {
|
|
|
|
border-radius: 99px;
|
|
|
|
background-color: white;
|
2022-10-13 16:51:17 +00:00
|
|
|
box-shadow: 0 1px 3px 2px $shadow_color;
|
2021-08-16 11:34:49 +00:00
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
}
|
|
|
|
|
2021-08-16 15:06:35 +00:00
|
|
|
.screenshot-ui-window-selector {
|
2022-11-29 21:49:32 +00:00
|
|
|
background-color: $system_bg_color;
|
2021-08-16 15:06:35 +00:00
|
|
|
|
|
|
|
.screenshot-ui-window-selector-window-container {
|
|
|
|
margin: 100px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:primary-monitor {
|
|
|
|
.screenshot-ui-window-selector-window-container {
|
|
|
|
// Make some room for the panel.
|
|
|
|
margin-bottom: 200px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.screenshot-ui-window-selector-window-border {
|
|
|
|
transition-duration: 200ms;
|
2022-02-07 18:22:40 +00:00
|
|
|
border-radius: $modal_radius;
|
2021-08-16 15:06:35 +00:00
|
|
|
border: 6px transparent;
|
|
|
|
}
|
|
|
|
|
2021-12-17 05:58:00 +00:00
|
|
|
.screenshot-ui-window-selector-check {
|
|
|
|
transition-duration: 200ms;
|
|
|
|
color: transparent;
|
|
|
|
border-radius: 99px;
|
|
|
|
border-width: 12px;
|
|
|
|
icon-size: 24px;
|
|
|
|
}
|
|
|
|
|
2021-08-16 15:06:35 +00:00
|
|
|
.screenshot-ui-window-selector-window {
|
|
|
|
&:hover {
|
|
|
|
.screenshot-ui-window-selector-window-border {
|
|
|
|
border-color: darken($selected_bg_color, 15%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:checked {
|
|
|
|
.screenshot-ui-window-selector-window-border {
|
|
|
|
border-color: $selected_bg_color;
|
|
|
|
background-color: transparentize($selected_bg_color, 0.8);
|
|
|
|
}
|
2021-12-17 05:58:00 +00:00
|
|
|
|
|
|
|
.screenshot-ui-window-selector-check {
|
2022-02-25 15:10:24 +00:00
|
|
|
color: $selected_fg_color;
|
2021-12-17 05:58:00 +00:00
|
|
|
background-color: $selected_bg_color;
|
|
|
|
}
|
2021-08-16 15:06:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-01-15 15:23:32 +00:00
|
|
|
.screenshot-ui-screen-selector {
|
|
|
|
transition-duration: 200ms;
|
2022-02-07 18:22:40 +00:00
|
|
|
background-color: rgba(0,0,0,.5);
|
2022-01-15 15:23:32 +00:00
|
|
|
|
2022-02-25 15:10:24 +00:00
|
|
|
&:hover { background-color: rgba(0,0,0,.3);}
|
|
|
|
&:active { background-color: rgba(0,0,0,.7);}
|
2022-01-15 15:23:32 +00:00
|
|
|
&:checked {
|
|
|
|
background-color: transparent;
|
|
|
|
border: 2px white;
|
|
|
|
}
|
|
|
|
}
|
2021-12-10 13:25:09 +00:00
|
|
|
|
|
|
|
.screenshot-ui-tooltip {
|
2023-05-02 13:31:12 +00:00
|
|
|
@extend %tooltip;
|
2021-12-10 13:25:09 +00:00
|
|
|
text-align: center;
|
|
|
|
-y-offset: 24px;
|
|
|
|
}
|