Merge branch 'adwaita-popover-radius' into 'gtk-3-24'

Adwaita: Apply border-radius to .csd popovers

See merge request GNOME/gtk!966
This commit is contained in:
Jakub Steiner 2019-06-27 08:11:31 +00:00
commit 45abadaf70
3 changed files with 8 additions and 6 deletions

View File

@ -2270,10 +2270,12 @@ menuitem {
popover.background {
padding: 2px;
border-radius: $popover_radius;
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);

View File

@ -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; }
/*************** 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; }

View File

@ -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; }
/*************** 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; }