forked from AuroraMiddleware/gtk
Adwaita: use transparent borders for popovers
Do the same thing as menus and windows do already.
This commit is contained in:
parent
06d1cf5e52
commit
379669b153
@ -2282,6 +2282,13 @@ popover.background {
|
||||
border-radius: $popover_radius;
|
||||
}
|
||||
|
||||
.csd & {
|
||||
$_popover_border: if($variant=='light', transparentize(black, 0.77), transparentize($borders_color, 0.1));
|
||||
|
||||
background-clip: padding-box;
|
||||
border-color: $_popover_border;
|
||||
}
|
||||
|
||||
box-shadow: 0 1px 2px transparentize(black, 0.7);
|
||||
|
||||
&:backdrop {
|
||||
|
@ -795,6 +795,8 @@ popover.background { padding: 2px; background-color: #353535; box-shadow: 0 1px
|
||||
|
||||
.csd popover.background, popover.background { border: 1px solid #1b1b1b; border-radius: 9px; }
|
||||
|
||||
.csd popover.background { background-clip: padding-box; border-color: rgba(27, 27, 27, 0.9); }
|
||||
|
||||
popover.background:backdrop { background-color: #353535; box-shadow: none; }
|
||||
|
||||
popover.background > list, popover.background > .view, popover.background > iconview, popover.background > toolbar { border-style: none; background-color: transparent; }
|
||||
|
@ -803,6 +803,8 @@ popover.background { padding: 2px; background-color: #f6f5f4; box-shadow: 0 1px
|
||||
|
||||
.csd popover.background, popover.background { border: 1px solid #cdc7c2; border-radius: 9px; }
|
||||
|
||||
.csd popover.background { background-clip: padding-box; border-color: rgba(0, 0, 0, 0.23); }
|
||||
|
||||
popover.background:backdrop { background-color: #f6f5f4; box-shadow: none; }
|
||||
|
||||
popover.background > list, popover.background > .view, popover.background > iconview, popover.background > toolbar { border-style: none; background-color: transparent; }
|
||||
|
Loading…
Reference in New Issue
Block a user