From: Jakub Steiner Date: Tue, 17 Mar 2015 17:18:18 +0000 (+0100) Subject: HightContrast: make tab buttons not shift size X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~24^2~10159 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f671cd629659766eb4cd0b07447ccd8d6c686ec5;p=gtk4.git HightContrast: make tab buttons not shift size - only 1px stroke for close buttons in notebook tabs https://bugzilla.gnome.org/show_bug.cgi?id=746149 --- diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss index 82ffe56e37..4036130d0f 100644 --- a/gtk/theme/HighContrast/_common.scss +++ b/gtk/theme/HighContrast/_common.scss @@ -1327,15 +1327,18 @@ GtkTreeView.view.progressbar { //Progressbar in treeview cells &:hover { color: $fg_color; @include button(hover, $edge: none); + border-width: 1px; background-image: none; box-shadow: none; } &:active { @include button(active, $edge: none); + border-width: 1px; } &:backdrop { color: transparentize($backdrop_fg_color,0.7); border-color: transparent; + border-width: 1px; } & > GtkImage { // this is a hack which makes tabs grow padding: 2px; diff --git a/gtk/theme/HighContrast/gtk.css b/gtk/theme/HighContrast/gtk.css index bbf1f6e688..0a942deaeb 100644 --- a/gtk/theme/HighContrast/gtk.css +++ b/gtk/theme/HighContrast/gtk.css @@ -1543,6 +1543,7 @@ GtkTreeView.view.progressbar { background-color: #fff; border-color: #7f7f7f; background-image: none; + border-width: 1px; background-image: none; box-shadow: none; } .notebook tab .button:active { @@ -1551,10 +1552,12 @@ GtkTreeView.view.progressbar { background-image: none; color: white; background-color: black; - border-color: #7f7f7f; } + border-color: #7f7f7f; + border-width: 1px; } .notebook tab .button:backdrop { color: rgba(0, 0, 0, 0.3); - border-color: transparent; } + border-color: transparent; + border-width: 1px; } .notebook tab .button > GtkImage { padding: 2px; }