diff options
Diffstat (limited to 'common/gtk-3.0/3.20/sass')
-rw-r--r-- | common/gtk-3.0/3.20/sass/_common.scss | 21 |
1 files changed, 8 insertions, 13 deletions
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) { |