From b0b90ef6e5a6ec10bcbc45d6b4ce3711d4b5b1e2 Mon Sep 17 00:00:00 2001 From: Tim Taubert Date: Tue, 28 Jul 2015 17:49:01 +0200 Subject: [PATCH] Bug 1187705 - Add proper white arrow to show when subview is open r=paolo --- browser/themes/linux/jar.mn | 1 + browser/themes/osx/jar.mn | 1 + .../themes/shared/controlcenter/arrow-subview-back.svg | 7 +++++++ browser/themes/shared/controlcenter/panel.inc.css | 10 +--------- browser/themes/windows/jar.mn | 1 + 5 files changed, 11 insertions(+), 9 deletions(-) create mode 100644 browser/themes/shared/controlcenter/arrow-subview-back.svg diff --git a/browser/themes/linux/jar.mn b/browser/themes/linux/jar.mn index b9c124f446b..b6419ee5f55 100644 --- a/browser/themes/linux/jar.mn +++ b/browser/themes/linux/jar.mn @@ -146,6 +146,7 @@ browser.jar: skin/classic/browser/loop/toolbar-inverted@2x.png (loop/toolbar-inverted@2x.png) * skin/classic/browser/controlcenter/panel.css (controlcenter/panel.css) skin/classic/browser/controlcenter/arrow-subview.svg (../shared/controlcenter/arrow-subview.svg) + skin/classic/browser/controlcenter/arrow-subview-back.svg (../shared/controlcenter/arrow-subview-back.svg) skin/classic/browser/controlcenter/conn-not-secure.svg (../shared/controlcenter/conn-not-secure.svg) skin/classic/browser/controlcenter/conn-secure.svg (../shared/controlcenter/conn-secure.svg) skin/classic/browser/controlcenter/conn-degraded.svg (../shared/controlcenter/conn-degraded.svg) diff --git a/browser/themes/osx/jar.mn b/browser/themes/osx/jar.mn index cf676571a11..20f75b3c253 100644 --- a/browser/themes/osx/jar.mn +++ b/browser/themes/osx/jar.mn @@ -190,6 +190,7 @@ browser.jar: skin/classic/browser/yosemite/loop/toolbar@2x.png (loop/toolbar-yosemite@2x.png) * skin/classic/browser/controlcenter/panel.css (controlcenter/panel.css) skin/classic/browser/controlcenter/arrow-subview.svg (../shared/controlcenter/arrow-subview.svg) + skin/classic/browser/controlcenter/arrow-subview-back.svg (../shared/controlcenter/arrow-subview-back.svg) skin/classic/browser/controlcenter/conn-not-secure.svg (../shared/controlcenter/conn-not-secure.svg) skin/classic/browser/controlcenter/conn-secure.svg (../shared/controlcenter/conn-secure.svg) skin/classic/browser/controlcenter/conn-degraded.svg (../shared/controlcenter/conn-degraded.svg) diff --git a/browser/themes/shared/controlcenter/arrow-subview-back.svg b/browser/themes/shared/controlcenter/arrow-subview-back.svg new file mode 100644 index 00000000000..8566d639bf6 --- /dev/null +++ b/browser/themes/shared/controlcenter/arrow-subview-back.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/browser/themes/shared/controlcenter/panel.inc.css b/browser/themes/shared/controlcenter/panel.inc.css index ec485d104e1..cec82a67013 100644 --- a/browser/themes/shared/controlcenter/panel.inc.css +++ b/browser/themes/shared/controlcenter/panel.inc.css @@ -116,16 +116,8 @@ .identity-popup-expander[panel-multiview-anchor] { transition: background-color 250ms ease-in; background-color: Highlight; - background-image: url("chrome://browser/skin/customizableui/subView-arrow-back-inverted.png"), + background-image: url("chrome://browser/skin/controlcenter/arrow-subview-back.svg"), linear-gradient(rgba(255,255,255,0.3), transparent); - color: HighlightText; -} - -@media (min-resolution: 1.1dppx) { - .identity-popup-expander[panel-multiview-anchor] { - background-image: url("chrome://browser/skin/customizableui/subView-arrow-back-inverted@2x.png"), - linear-gradient(rgba(255,255,255,0.3), transparent); - } } .identity-popup-expander > .button-box { diff --git a/browser/themes/windows/jar.mn b/browser/themes/windows/jar.mn index 96b55fb892b..ebd9622fbda 100644 --- a/browser/themes/windows/jar.mn +++ b/browser/themes/windows/jar.mn @@ -202,6 +202,7 @@ browser.jar: skin/classic/browser/loop/toolbar-XP@2x.png (loop/toolbar-XP@2x.png) * skin/classic/browser/controlcenter/panel.css (controlcenter/panel.css) skin/classic/browser/controlcenter/arrow-subview.svg (../shared/controlcenter/arrow-subview.svg) + skin/classic/browser/controlcenter/arrow-subview-back.svg (../shared/controlcenter/arrow-subview-back.svg) skin/classic/browser/controlcenter/conn-not-secure.svg (../shared/controlcenter/conn-not-secure.svg) skin/classic/browser/controlcenter/conn-degraded.svg (../shared/controlcenter/conn-degraded.svg) skin/classic/browser/controlcenter/conn-secure.svg (../shared/controlcenter/conn-secure.svg)