mirror of
https://github.com/luneko/SweetTokyoNight.git
synced 2025-12-13 07:29:51 +01:00
66 lines
1.2 KiB
SCSS
66 lines
1.2 KiB
SCSS
/***************
|
|
* Popovers *
|
|
***************/
|
|
|
|
popover.background {
|
|
|
|
background: transparent;
|
|
font: initial;
|
|
|
|
> arrow,
|
|
> contents {
|
|
$_popover_border: if($variant=='light', transparentize(black, 0.77), transparentize(black, 0.25));
|
|
|
|
background: if( $variant == 'light', linear-gradient(to bottom, #fff 20%, #fff), linear-gradient(to bottom, lighten($bg_color, 2%), darken($bg_color, 2%)));
|
|
background-clip: padding-box;
|
|
border: 1px solid $borders_color;
|
|
box-shadow: 0 4px 6px $menu_shadow_color;
|
|
}
|
|
|
|
&:backdrop {
|
|
background-color: transparent;
|
|
box-shadow: none;
|
|
}
|
|
|
|
> contents {
|
|
padding: 8px;
|
|
border-radius: 5px;
|
|
|
|
> list,
|
|
> .view,
|
|
> toolbar {
|
|
border-style: none;
|
|
background-color: transparent;
|
|
}
|
|
|
|
separator {
|
|
background-color: mix($bg_color, $borders_color, 30%);
|
|
margin: 3px;
|
|
}
|
|
|
|
list separator { margin: 0; }
|
|
}
|
|
|
|
.osd &,
|
|
&.touch-selection,
|
|
&.magnifier {
|
|
background-color: transparent;
|
|
|
|
> arrow,
|
|
> contents {
|
|
@extend %osd;
|
|
|
|
border: 1px solid transparentize(white, 0.9);
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
|
|
&.touch-selection,
|
|
&.magnifier {
|
|
button { @extend %osd_button; }
|
|
}
|
|
}
|
|
|
|
magnifier {
|
|
background-color: $base_color;
|
|
} |