From 750c7192708725bd126a0470b3a38e920274895e Mon Sep 17 00:00:00 2001 From: EliverLara Date: Sat, 20 Apr 2019 13:04:00 -0500 Subject: [PATCH] Update tabs buttons --- gtk-3.0/gtk-dark.css | 2 ++ gtk-3.0/gtk.css | 2 ++ gtk-3.0/widgets/_notebooks.scss | 12 ++++++++++-- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/gtk-3.0/gtk-dark.css b/gtk-3.0/gtk-dark.css index bdab0311..8cd68d64 100755 --- a/gtk-3.0/gtk-dark.css +++ b/gtk-3.0/gtk-dark.css @@ -3181,6 +3181,8 @@ notebook > header { box-shadow: none; color: #bf616a; } notebook > header tab button.flat, notebook > header tab button.flat:backdrop { + background: transparent; + border: none; color: alpha(currentColor,0.3); } notebook > header tab button.flat:last-child { margin-left: 4px; diff --git a/gtk-3.0/gtk.css b/gtk-3.0/gtk.css index bdab0311..8cd68d64 100755 --- a/gtk-3.0/gtk.css +++ b/gtk-3.0/gtk.css @@ -3181,6 +3181,8 @@ notebook > header { box-shadow: none; color: #bf616a; } notebook > header tab button.flat, notebook > header tab button.flat:backdrop { + background: transparent; + border: none; color: alpha(currentColor,0.3); } notebook > header tab button.flat:last-child { margin-left: 4px; diff --git a/gtk-3.0/widgets/_notebooks.scss b/gtk-3.0/widgets/_notebooks.scss index fcd68f1c..5e708de2 100644 --- a/gtk-3.0/widgets/_notebooks.scss +++ b/gtk-3.0/widgets/_notebooks.scss @@ -208,9 +208,17 @@ // colors the button like the label, overridden otherwise button.flat { - &:hover { background: transparent; box-shadow: none; color: $red; } + &:hover { + background: transparent; + box-shadow: none; + color: $red; + } - &, &:backdrop { color: gtkalpha(currentColor, 0.3); } + &, &:backdrop { + background: transparent; + border: none; + color: gtkalpha(currentColor, 0.3); + } padding: 0; margin-top: 4px;