Gnome-Shell: theme screenshot dialog

This commit is contained in:
Daniel Ruiz de Alegría
2022-03-11 18:21:13 +01:00
parent f541fcf0a0
commit 48c9290e05
3 changed files with 162 additions and 40 deletions
@@ -12,6 +12,18 @@ $dialog_box_shadow: 0 2px 8px 0 transparentize(black, .6);
box-shadow: 0 4px 10px transparentize(black, .8);
}
// buttons on OSD elements
// that are undecorated by default and use OSD colors
%osd_button {
@include button(undecorated);
border: 0!important;
&:insensitive { @include button(undecorated, $tc:$osd_fg_color, $c:$osd_bg_color); }
&:focus { @include button(focus, $tc:$osd_fg_color, $c:$osd_bg_color); }
&:hover { @include button(hover, $tc:$osd_fg_color, $c:$osd_bg_color); }
&:active { @include button(active, $tc:$osd_fg_color, $c:$osd_bg_color); }
&:outlined, &:checked { @include button(checked, $tc:$osd_fg_color, $c:$osd_bg_color); }
}
/* Switches */
.toggle-switch {
height: 22px;
@@ -120,6 +132,18 @@ $dialog_box_shadow: 0 2px 8px 0 transparentize(black, .6);
}
}
/* Screenshot UI */
.screenshot-ui-shot-cast-container {
background-color: lighten($osd_bg_color, 4%);
}
.screenshot-ui-shot-cast-button {
background-color: transparent;
&:hover, &:focus { background-color: lighten($osd_bg_color, 10%); }
&:active { background-color: lighten($osd_bg_color, 15%); }
&:checked { background-color: white; color: black; }
}
/* Top Bar */
#panel {
$_panel_bg: transparentize($bg_color, .2);