From b8a8461709064429491d1958d771f7019bc639f3 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Sat, 1 Oct 2016 21:49:37 +0200 Subject: revert recent pathbar changes --- common/gtk-3.0/3.20/sass/_common.scss | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) (limited to 'common/gtk-3.0/3.20/sass') diff --git a/common/gtk-3.0/3.20/sass/_common.scss b/common/gtk-3.0/3.20/sass/_common.scss index 847c5c7..e260901 100644 --- a/common/gtk-3.0/3.20/sass/_common.scss +++ b/common/gtk-3.0/3.20/sass/_common.scss @@ -651,17 +651,17 @@ toolbar.inline-toolbar toolbutton { // special case, because path-bars are bugged @mixin pathbar_linking_rules($sep_color:if($variant=='light', transparentize($button_border, 0.6), transparentize($button_border, 0.5))) { - > button + button { border-left-style: none; } + > button + button { border-left-style: none; } - > button:hover:not(:checked):not(:active):not(:only-child):not(:first-child):not(:last-child) { + > button:hover:not(:checked):not(:active):not(:only-child) { - &:hover { - box-shadow: inset 1px 0 $sep_color, - inset -1px 0 $sep_color; - } + &:hover { + box-shadow: inset 1px 0 $sep_color, + inset -1px 0 $sep_color; } - button:nth-child(2):not(:active):not(:checked) { box-shadow: inset 1px 0 $sep_color; } - button:nth-last-child(2):not(:active):not(:checked) { box-shadow: inset -1px 0 $sep_color; } + &:first-child:hover { box-shadow: inset -1px 0 $sep_color; } + &:last-child:hover { box-shadow: inset 1px 0 $sep_color; } + } } // Apply the rules defined above @@ -1244,13 +1244,8 @@ headerbar { &, &:hover, &:active, &:checked, &:disabled { @extend %linked; } } - @include pathbar_linking_rules($sep_color:$header_button_border); } - .linked:not(.vertical):not(.path-bar).stack-switcher { - button:nth-child(2):not(:active):not(:checked), - button:nth-last-child(2):not(:active):not(:checked) { box-shadow: none; } - } // use linking rules for entries only .linked:not(.vertical):not(.path-bar) { -- cgit v1.2.3