mirror of
https://github.com/luneko/SweetTokyoNight.git
synced 2025-12-13 23:39:51 +01:00
Initial commit
This commit is contained in:
45
gtk-3.0/widgets/_popovers.scss
Normal file
45
gtk-3.0/widgets/_popovers.scss
Normal file
@@ -0,0 +1,45 @@
|
||||
/***************
|
||||
* Popovers *
|
||||
***************/
|
||||
|
||||
popover.background {
|
||||
padding: 2px;
|
||||
border-radius: 5px;
|
||||
background: if( $variant == 'light', linear-gradient(to bottom, #fff 20%, #fff), linear-gradient(to bottom, lighten($bg_color, 2%), darken($bg_color, 2%)));
|
||||
|
||||
.csd &, & { border: 1px solid $borders_color; }
|
||||
|
||||
box-shadow: 0 4px 6px $menu_shadow_color;
|
||||
|
||||
&:backdrop {
|
||||
background-color: $backdrop_bg_color;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
> list,
|
||||
> .view,
|
||||
> toolbar {
|
||||
border-style: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.csd &, & {
|
||||
&.touch-selection,
|
||||
&.magnifier {
|
||||
@extend %osd;
|
||||
|
||||
border: 1px solid transparentize(white, 0.9);
|
||||
|
||||
button { @extend %osd_button };
|
||||
}
|
||||
|
||||
&.osd { @extend %osd; }
|
||||
}
|
||||
|
||||
separator { margin: 3px; }
|
||||
|
||||
list separator { margin: 0px; }
|
||||
|
||||
checkbutton,
|
||||
radiobutton { @extend modelbutton.flat; }
|
||||
}
|
||||
Reference in New Issue
Block a user