From 8f25fc712ea2da1ce13c30417269b4b1d0055f25 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Sun, 15 May 2016 11:55:06 +0200 Subject: [PATCH] 3.20: menu separator workaround for firefox (#526) --- common/gtk-3.0/3.20/gtk-dark.css | 6 ++++++ common/gtk-3.0/3.20/gtk-darker.css | 6 ++++++ common/gtk-3.0/3.20/gtk-solid-dark.css | 6 ++++++ common/gtk-3.0/3.20/gtk-solid-darker.css | 6 ++++++ common/gtk-3.0/3.20/gtk-solid.css | 6 ++++++ common/gtk-3.0/3.20/gtk.css | 6 ++++++ common/gtk-3.0/3.20/sass/_common.scss | 4 ++++ 7 files changed, 40 insertions(+) diff --git a/common/gtk-3.0/3.20/gtk-dark.css b/common/gtk-3.0/3.20/gtk-dark.css index 6a81870..2cf0003 100644 --- a/common/gtk-3.0/3.20/gtk-dark.css +++ b/common/gtk-3.0/3.20/gtk-dark.css @@ -1540,6 +1540,12 @@ menu, .menu separator { margin: 2px 0; background-color: #383C4A; } + menu .separator, + .csd menu .separator, + .menu .separator, + .csd + .menu .separator { + color: #383C4A; } menu menuitem, .menu menuitem { min-height: 16px; diff --git a/common/gtk-3.0/3.20/gtk-darker.css b/common/gtk-3.0/3.20/gtk-darker.css index 486f2d6..ba652bb 100644 --- a/common/gtk-3.0/3.20/gtk-darker.css +++ b/common/gtk-3.0/3.20/gtk-darker.css @@ -1539,6 +1539,12 @@ menu, .menu separator { margin: 2px 0; background-color: #ffffff; } + menu .separator, + .csd menu .separator, + .menu .separator, + .csd + .menu .separator { + color: #ffffff; } menu menuitem, .menu menuitem { min-height: 16px; diff --git a/common/gtk-3.0/3.20/gtk-solid-dark.css b/common/gtk-3.0/3.20/gtk-solid-dark.css index b0f6993..82eb666 100644 --- a/common/gtk-3.0/3.20/gtk-solid-dark.css +++ b/common/gtk-3.0/3.20/gtk-solid-dark.css @@ -1540,6 +1540,12 @@ menu, .menu separator { margin: 2px 0; background-color: #383C4A; } + menu .separator, + .csd menu .separator, + .menu .separator, + .csd + .menu .separator { + color: #383C4A; } menu menuitem, .menu menuitem { min-height: 16px; diff --git a/common/gtk-3.0/3.20/gtk-solid-darker.css b/common/gtk-3.0/3.20/gtk-solid-darker.css index fd24afa..c5b9b72 100644 --- a/common/gtk-3.0/3.20/gtk-solid-darker.css +++ b/common/gtk-3.0/3.20/gtk-solid-darker.css @@ -1539,6 +1539,12 @@ menu, .menu separator { margin: 2px 0; background-color: #ffffff; } + menu .separator, + .csd menu .separator, + .menu .separator, + .csd + .menu .separator { + color: #ffffff; } menu menuitem, .menu menuitem { min-height: 16px; diff --git a/common/gtk-3.0/3.20/gtk-solid.css b/common/gtk-3.0/3.20/gtk-solid.css index 227dce7..4edd832 100644 --- a/common/gtk-3.0/3.20/gtk-solid.css +++ b/common/gtk-3.0/3.20/gtk-solid.css @@ -1543,6 +1543,12 @@ menu, .menu separator { margin: 2px 0; background-color: #ffffff; } + menu .separator, + .csd menu .separator, + .menu .separator, + .csd + .menu .separator { + color: #ffffff; } menu menuitem, .menu menuitem { min-height: 16px; diff --git a/common/gtk-3.0/3.20/gtk.css b/common/gtk-3.0/3.20/gtk.css index a3555f4..0ff3d6b 100644 --- a/common/gtk-3.0/3.20/gtk.css +++ b/common/gtk-3.0/3.20/gtk.css @@ -1543,6 +1543,12 @@ menu, .menu separator { margin: 2px 0; background-color: #ffffff; } + menu .separator, + .csd menu .separator, + .menu .separator, + .csd + .menu .separator { + color: #ffffff; } menu menuitem, .menu menuitem { min-height: 16px; diff --git a/common/gtk-3.0/3.20/sass/_common.scss b/common/gtk-3.0/3.20/sass/_common.scss index b782b56..0b60153 100644 --- a/common/gtk-3.0/3.20/sass/_common.scss +++ b/common/gtk-3.0/3.20/sass/_common.scss @@ -1615,6 +1615,10 @@ menu, background-color: $_menu_bg; } + // Firefox workaround + .separator, + .csd & .separator { color: $_menu_bg; } + menuitem { min-height: 16px; min-width: 40px;