[Gtk-3.22] Fixing & adjusting menu & modelbutton padding

pull/614/merge
Khurshid Alam 2017-02-09 22:06:13 +05:30
parent 0220883625
commit 653556d408
1 changed files with 10 additions and 10 deletions

View File

@ -73,7 +73,7 @@
.context-menu { .context-menu {
border: 0; border: 0;
border-radius: 0; border-radius: 0;
padding: 2px 0; padding: 0;
background-color: $menu_bg_color; background-color: $menu_bg_color;
color: $menu_fg_color; color: $menu_fg_color;
@ -85,7 +85,7 @@
separator, separator,
.csd & separator { .csd & separator {
background-color: shade($menu_bg_color, ($contrast + .1)); background-color: shade($menu_bg_color, ($contrast + .1));
margin: ($spacing - 2px) 0; margin: 1px 0;
} }
// Firefox workaround // Firefox workaround
@ -93,7 +93,7 @@
.csd & .separator { color: shade($menu_bg_color, ($contrast + .1)); } .csd & .separator { color: shade($menu_bg_color, ($contrast + .1)); }
menuitem { menuitem {
min-height: 16px; min-height: 14px;
min-width: 40px; min-width: 40px;
padding: $spacing - 1px; padding: $spacing - 1px;
border-radius: 0; border-radius: 0;
@ -111,8 +111,8 @@
// submenu indicators // submenu indicators
arrow { arrow {
min-height: 16px; min-height: 14px;
min-width: 16px; min-width: 14px;
&:dir(ltr) { &:dir(ltr) {
-gtk-icon-source: -gtk-icontheme('pan-end-symbolic'); -gtk-icon-source: -gtk-icontheme('pan-end-symbolic');
@ -152,8 +152,8 @@
> arrow { > arrow {
//@include button(undecorated); //@include button(undecorated);
min-height: 16px; min-height: 14px;
min-width: 16px; min-width: 14px;
padding: $spacing; padding: $spacing;
background-color: $menu_bg_color; background-color: $menu_bg_color;
border-radius: 0; border-radius: 0;
@ -196,8 +196,8 @@
} }
check, radio { check, radio {
min-height: 16px; min-height: 14px;
min-width: 16px; min-width: 14px;
&:dir(ltr) { margin-right: 7px; } &:dir(ltr) { margin-right: 7px; }
&:dir(rtl) { margin-left: 7px; } &:dir(rtl) { margin-left: 7px; }
@ -288,7 +288,7 @@
modelbutton.flat, modelbutton.flat,
menuitem.button.flat { menuitem.button.flat {
padding: $spacing ($spacing + 2px); padding: ($spacing - 1px) ($spacing + 1px);
outline-color: transparent; outline-color: transparent;
transition: none; transition: none;