From 367543c0e8ed7e86b9fc7d26edd04a7e95d06f36 Mon Sep 17 00:00:00 2001 From: Lapo Calamandrei Date: Sat, 9 Jan 2016 11:55:40 +0100 Subject: [PATCH] Adwaita: remove old headerbar separator styling which was actually selecting nothing now. --- gtk/theme/Adwaita/_common.scss | 16 ---------------- gtk/theme/Adwaita/gtk-contained-dark.css | 7 ------- gtk/theme/Adwaita/gtk-contained.css | 7 ------- 3 files changed, 30 deletions(-) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index bb22ace09c..d7ffb3baa4 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -1143,22 +1143,6 @@ headerbar { @extend .dim-label; } - // FIXME: we need a safer way to select this separator - & > GtkBox > separator.vertical { - border-width: 0 1px; - border-image: linear-gradient(to bottom, - transparentize($borders_color,1), - $borders_color 30%, - $borders_color 70%, - transparentize($borders_color,1) 100%) - 0 1 / 0 1px stretch; //FIXME use a proper color - - &:backdrop { - border-image: linear-gradient(to bottom, transparentize($backdrop_borders_color, 0.5)) - 0 1 / 1px 1px; //FIXME use a proper color - } - } - &.selection-mode { $_hc: mix($top_hilight,$selected_bg_color, 50%); // hilight color diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css index 039e063e2f..ab57a2ce26 100644 --- a/gtk/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/theme/Adwaita/gtk-contained-dark.css @@ -1628,13 +1628,6 @@ headerbar { font-size: smaller; padding-left: 12px; padding-right: 12px; } - .titlebar:not(headerbar) > GtkBox > separator.vertical, - headerbar > GtkBox > separator.vertical { - border-width: 0 1px; - border-image: linear-gradient(to bottom, rgba(28, 31, 31, 0), #1c1f1f 30%, #1c1f1f 70%, rgba(28, 31, 31, 0) 100%) 0 1/0 1px stretch; } - .titlebar:not(headerbar) > GtkBox > separator.vertical:backdrop, - headerbar > GtkBox > separator.vertical:backdrop { - border-image: linear-gradient(to bottom, rgba(31, 34, 34, 0.5)) 0 1/1px 1px; } .selection-mode.titlebar:not(headerbar), headerbar.selection-mode { color: #ffffff; diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index f39a0b0825..9a01662202 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -1632,13 +1632,6 @@ headerbar { font-size: smaller; padding-left: 12px; padding-right: 12px; } - .titlebar:not(headerbar) > GtkBox > separator.vertical, - headerbar > GtkBox > separator.vertical { - border-width: 0 1px; - border-image: linear-gradient(to bottom, rgba(157, 157, 153, 0), #9d9d99 30%, #9d9d99 70%, rgba(157, 157, 153, 0) 100%) 0 1/0 1px stretch; } - .titlebar:not(headerbar) > GtkBox > separator.vertical:backdrop, - headerbar > GtkBox > separator.vertical:backdrop { - border-image: linear-gradient(to bottom, rgba(165, 165, 161, 0.5)) 0 1/1px 1px; } .selection-mode.titlebar:not(headerbar), headerbar.selection-mode { color: #ffffff;