* Optimized popover padding. Fixed #439
parent
33891784a9
commit
3f9df111ec
|
@ -43,7 +43,7 @@
|
||||||
|
|
||||||
@include exports("menu") {
|
@include exports("menu") {
|
||||||
menu, .menu {
|
menu, .menu {
|
||||||
padding: $spacing;
|
padding: 0;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
border: 0;
|
border: 0;
|
||||||
background-color: $menu_bg_color;
|
background-color: $menu_bg_color;
|
||||||
|
@ -192,8 +192,6 @@
|
||||||
|
|
||||||
@include exports("popover") {
|
@include exports("popover") {
|
||||||
popover.background {
|
popover.background {
|
||||||
margin: 10px;
|
|
||||||
padding: $spacing;
|
|
||||||
border-radius: $roundness;
|
border-radius: $roundness;
|
||||||
background-clip: border-box;
|
background-clip: border-box;
|
||||||
background-color: $menu_bg_color;
|
background-color: $menu_bg_color;
|
||||||
|
@ -280,7 +278,9 @@
|
||||||
//@extend %undecorated_button;
|
//@extend %undecorated_button;
|
||||||
|
|
||||||
&:hover { background-color: $selected_bg_color; color: $selected_fg_color }
|
&:hover { background-color: $selected_bg_color; color: $selected_fg_color }
|
||||||
|
|
||||||
&:active, &:selected { &, arrow { @extend %selected_items; } }
|
&:active, &:selected { &, arrow { @extend %selected_items; } }
|
||||||
|
|
||||||
&:checked { color: $fg_color; }
|
&:checked { color: $fg_color; }
|
||||||
|
|
||||||
// FIXME: temporary workaround
|
// FIXME: temporary workaround
|
||||||
|
@ -292,6 +292,7 @@
|
||||||
|
|
||||||
&.flat arrow {
|
&.flat arrow {
|
||||||
&.left { -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); }
|
&.left { -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); }
|
||||||
|
|
||||||
&.right { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); }
|
&.right { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue