From 3f9df111ecee2104b12b2c2f3efaff67c5a31d62 Mon Sep 17 00:00:00 2001 From: Megax Date: Sun, 12 Jun 2016 14:45:48 +0200 Subject: [PATCH] * Optimized popover padding. Fixed #439 --- gtk-3.20/scss/widgets/_menu.scss | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/gtk-3.20/scss/widgets/_menu.scss b/gtk-3.20/scss/widgets/_menu.scss index 4d5ece8..47044da 100755 --- a/gtk-3.20/scss/widgets/_menu.scss +++ b/gtk-3.20/scss/widgets/_menu.scss @@ -43,7 +43,7 @@ @include exports("menu") { menu, .menu { - padding: $spacing; + padding: 0; border-radius: 0; border: 0; background-color: $menu_bg_color; @@ -192,8 +192,6 @@ @include exports("popover") { popover.background { - margin: 10px; - padding: $spacing; border-radius: $roundness; background-clip: border-box; background-color: $menu_bg_color; @@ -260,9 +258,9 @@ border-radius: $roundness; } - entry { @include entry($menu_bg_color, $menu_fg_color); } + entry { @include entry($menu_bg_color, $menu_fg_color); } - button { @include button($menu_bg_color, $menu_fg_color); } + button { @include button($menu_bg_color, $menu_fg_color); } > list, > .view, > toolbar { border-style: none; @@ -280,7 +278,9 @@ //@extend %undecorated_button; &:hover { background-color: $selected_bg_color; color: $selected_fg_color } + &:active, &:selected { &, arrow { @extend %selected_items; } } + &:checked { color: $fg_color; } // FIXME: temporary workaround @@ -292,6 +292,7 @@ &.flat arrow { &.left { -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); } + &.right { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); } } }