forked from AuroraMiddleware/gtk
Adwaita: Apply border-radius to .csd popovers
Fix popover_radius variable doesn't apply to .csd popover. Closes https://gitlab.gnome.org/GNOME/gtk/issues/1984
This commit is contained in:
parent
017a440296
commit
d3cf55a26d
@ -2270,10 +2270,12 @@ menuitem {
|
|||||||
|
|
||||||
popover.background {
|
popover.background {
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
border-radius: $popover_radius;
|
|
||||||
background-color: $popover_bg_color;
|
background-color: $popover_bg_color;
|
||||||
|
|
||||||
.csd &, & { border: 1px solid $borders_color; }
|
.csd &, & {
|
||||||
|
border: 1px solid $borders_color;
|
||||||
|
border-radius: $popover_radius;
|
||||||
|
}
|
||||||
|
|
||||||
box-shadow: 0 1px 2px transparentize(black, 0.7);
|
box-shadow: 0 1px 2px transparentize(black, 0.7);
|
||||||
|
|
||||||
|
@ -868,9 +868,9 @@ menuitem check:dir(ltr), menuitem radio:dir(ltr) { margin-right: 7px; }
|
|||||||
menuitem check:dir(rtl), menuitem radio:dir(rtl) { margin-left: 7px; }
|
menuitem check:dir(rtl), menuitem radio:dir(rtl) { margin-left: 7px; }
|
||||||
|
|
||||||
/*************** Popovers * */
|
/*************** Popovers * */
|
||||||
popover.background { padding: 2px; border-radius: 9px; background-color: #353535; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); }
|
popover.background { padding: 2px; background-color: #353535; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); }
|
||||||
|
|
||||||
.csd popover.background, popover.background { border: 1px solid #1b1b1b; }
|
.csd popover.background, popover.background { border: 1px solid #1b1b1b; border-radius: 9px; }
|
||||||
|
|
||||||
popover.background:backdrop { background-color: #353535; box-shadow: none; }
|
popover.background:backdrop { background-color: #353535; box-shadow: none; }
|
||||||
|
|
||||||
|
@ -876,9 +876,9 @@ menuitem check:dir(ltr), menuitem radio:dir(ltr) { margin-right: 7px; }
|
|||||||
menuitem check:dir(rtl), menuitem radio:dir(rtl) { margin-left: 7px; }
|
menuitem check:dir(rtl), menuitem radio:dir(rtl) { margin-left: 7px; }
|
||||||
|
|
||||||
/*************** Popovers * */
|
/*************** Popovers * */
|
||||||
popover.background { padding: 2px; border-radius: 9px; background-color: #f6f5f4; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); }
|
popover.background { padding: 2px; background-color: #f6f5f4; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); }
|
||||||
|
|
||||||
.csd popover.background, popover.background { border: 1px solid #cdc7c2; }
|
.csd popover.background, popover.background { border: 1px solid #cdc7c2; border-radius: 9px; }
|
||||||
|
|
||||||
popover.background:backdrop { background-color: #f6f5f4; box-shadow: none; }
|
popover.background:backdrop { background-color: #f6f5f4; box-shadow: none; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user