From 21c7ea2bd43dd4aa61d1ed875802830edc67dcef Mon Sep 17 00:00:00 2001 From: Daniel Boles Date: Tue, 5 Sep 2017 00:58:00 +0100 Subject: [PATCH] HighContrast: Kill abominable headerbar vseparator Commit 70b61973fc0214dab7771fd2b339103592e7358f fixed a syntax error and unwittingly released this bizarre mutant. https://bugzilla.gnome.org/show_bug.cgi?id=787280 --- gtk/theme/HighContrast/_common.scss | 6 +----- gtk/theme/HighContrast/gtk-contained-inverse.css | 2 -- gtk/theme/HighContrast/gtk-contained.css | 2 -- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss index 4b427760a6..70f9f44381 100644 --- a/gtk/theme/HighContrast/_common.scss +++ b/gtk/theme/HighContrast/_common.scss @@ -1225,11 +1225,7 @@ headerbar { font-size: 80%; padding: 0 12px; } - & > box > separator.vertical { - border-width: 0 1px; - border-color: $fg_color; - border-style: solid; - } + &.selection-mode { color: darken($selected_bg_color, 15%); text-shadow: 0 1px transparentize(black, 0.5); diff --git a/gtk/theme/HighContrast/gtk-contained-inverse.css b/gtk/theme/HighContrast/gtk-contained-inverse.css index b730519a91..ab66c8add6 100644 --- a/gtk/theme/HighContrast/gtk-contained-inverse.css +++ b/gtk/theme/HighContrast/gtk-contained-inverse.css @@ -490,8 +490,6 @@ toolbar.inline-toolbar:backdrop, searchbar.inline-toolbar:backdrop { border-colo .titlebar .subtitle, headerbar .subtitle { font-size: 80%; padding: 0 12px; } -.titlebar > box > separator.vertical, headerbar > box > separator.vertical { border-width: 0 1px; border-color: #fff; border-style: solid; } - .titlebar.selection-mode, headerbar.selection-mode { color: #b7b7b7; text-shadow: 0 1px rgba(0, 0, 0, 0.5); background-image: linear-gradient(to bottom, #eaeaea, #e2e2e2); box-shadow: inset 0 -1px #262626, inset 0 1px #6f6f6f; } .titlebar.selection-mode button, headerbar.selection-mode button { border-width: 2px; border-style: solid; color: #000; background-image: none; background-color: #ddd; border-color: #9d9d9d; } diff --git a/gtk/theme/HighContrast/gtk-contained.css b/gtk/theme/HighContrast/gtk-contained.css index d8babec066..e0e583f36d 100644 --- a/gtk/theme/HighContrast/gtk-contained.css +++ b/gtk/theme/HighContrast/gtk-contained.css @@ -494,8 +494,6 @@ toolbar.inline-toolbar:backdrop, searchbar.inline-toolbar:backdrop { border-colo .titlebar .subtitle, headerbar .subtitle { font-size: 80%; padding: 0 12px; } -.titlebar > box > separator.vertical, headerbar > box > separator.vertical { border-width: 0 1px; border-color: #000; border-style: solid; } - .titlebar.selection-mode, headerbar.selection-mode { color: black; text-shadow: 0 1px rgba(0, 0, 0, 0.5); background-image: linear-gradient(to bottom, #0d0d0d, #050505); box-shadow: inset 0 -1px #d9d9d9, inset 0 1px gray; } .titlebar.selection-mode button, headerbar.selection-mode button { border-width: 2px; border-style: solid; color: #fff; background-image: none; background-color: #000; border-color: black; } -- 2.30.2