From 3a6ed66ba6c7547098d5bd142cc0f395beb2816d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A3o=20Gottwald?= Date: Tue, 27 Sep 2011 10:24:09 +0200 Subject: [PATCH] Backed out 0812db89f2f2 in preparation for aurora merge, since followup bugs didn't make it --HG-- extra : rebase_source : 736f5b91ade5fa590afe762cef7e0ff57c117a27 --- .../themes/gnomestripe/browser/browser.css | 33 ++++--------------- 1 file changed, 7 insertions(+), 26 deletions(-) diff --git a/browser/themes/gnomestripe/browser/browser.css b/browser/themes/gnomestripe/browser/browser.css index ba5b10038e5..91295a5a0a7 100644 --- a/browser/themes/gnomestripe/browser/browser.css +++ b/browser/themes/gnomestripe/browser/browser.css @@ -603,37 +603,18 @@ toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button { #forward-button { list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=toolbar"); - -moz-transition: 250ms ease-out; } +#forward-button[disabled="true"] { + list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=toolbar&state=disabled"); +} + #forward-button:-moz-locale-dir(rtl) { list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=toolbar"); } - -toolbar:not([mode=icons]) #forward-button[disabled="true"] { - list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=toolbar&state=disabled"); -} -toolbar:not([mode=icons]) #forward-button[disabled="true"]:-moz-locale-dir(rtl) { +#forward-button[disabled="true"]:-moz-locale-dir(rtl) { list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=toolbar&state=disabled"); } -toolbar[mode=icons] #forward-button[disabled="true"] { - -moz-transform: scale(0); - opacity: 0; - pointer-events: none; -} -toolbar[mode=icons] #forward-button[disabled="true"]:-moz-locale-dir(ltr) { - margin-left: -36px; -} -toolbar[mode=icons] #forward-button[disabled="true"]:-moz-locale-dir(rtl) { - margin-right: -36px; -} -toolbar[mode=icons][iconsize=small] #forward-button[disabled="true"]:-moz-locale-dir(ltr) { - margin-left: -28px; -} -toolbar[mode=icons][iconsize=small] #forward-button[disabled="true"]:-moz-locale-dir(rtl) { - margin-right: -28px; -} - #reload-button { list-style-image: url("moz-icon://stock/gtk-refresh?size=toolbar"); } @@ -805,7 +786,7 @@ toolbar[iconsize="small"] #forward-button { .unified-nav-forward[_moz-menuactive] { list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=menu") !important; } -toolbar[iconsize="small"]:not([mode=icons]) #forward-button[disabled="true"] { +toolbar[iconsize="small"] #forward-button[disabled="true"] { list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=menu&state=disabled"); } @@ -815,7 +796,7 @@ toolbar[iconsize="small"] #forward-button:-moz-locale-dir(rtl) { .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) { list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=menu") !important; } -toolbar[iconsize="small"]:not([mode=icons]) #forward-button[disabled="true"]:-moz-locale-dir(rtl) { +toolbar[iconsize="small"] #forward-button[disabled="true"]:-moz-locale-dir(rtl) { list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=menu&state=disabled"); }