From 2e7277468939cc1824148811a7de6c51d89d3e03 Mon Sep 17 00:00:00 2001 From: Jared Wein Date: Mon, 7 May 2012 10:17:55 -0700 Subject: [PATCH] Bug 747608 - The identity-box should have a smaller font-size and a gradient end border instead of a solid line. r=dao --- browser/themes/gnomestripe/browser.css | 15 +++++++++++++-- browser/themes/pinstripe/browser.css | 15 +++++++++++++-- browser/themes/winstripe/browser.css | 15 +++++++++++++-- 3 files changed, 39 insertions(+), 6 deletions(-) diff --git a/browser/themes/gnomestripe/browser.css b/browser/themes/gnomestripe/browser.css index 3a83b52960d1..0917812e23e0 100644 --- a/browser/themes/gnomestripe/browser.css +++ b/browser/themes/gnomestripe/browser.css @@ -1069,6 +1069,7 @@ toolbar[iconsize="small"] #feed-button { padding: 1px; margin: -1px; -moz-margin-end: 0; + font-size: .9em; } #identity-box:-moz-locale-dir(ltr) { @@ -1093,9 +1094,19 @@ toolbar[iconsize="small"] #feed-button { #identity-box.verifiedIdentity { background-color: #fff; - color: hsl(92,81%,16%); - -moz-border-end: 1px solid hsla(92,81%,16%,.2); + color: hsl(92,100%,30%); -moz-margin-end: 4px; + background-image: -moz-linear-gradient(hsla(92,81%,16%,0), + hsla(92,81%,16%,.2) 25%, + hsla(92,81%,16%,.2) 75%, + hsla(92,81%,16%,0)); + background-position: right; + background-size: 1px; + background-repeat: no-repeat; +} + +#identity-box.verifiedIdentity:-moz-locale-dir(rtl) { + background-position: left; } /* Identity popup icons */ diff --git a/browser/themes/pinstripe/browser.css b/browser/themes/pinstripe/browser.css index d260900e7d23..ca8fbd8f8fb3 100644 --- a/browser/themes/pinstripe/browser.css +++ b/browser/themes/pinstripe/browser.css @@ -980,6 +980,7 @@ toolbar[mode="icons"] #zoom-in-button { padding-bottom: 1px; -moz-padding-start: 4px; -moz-padding-end: 0; + font-size: .9em; } #identity-box:-moz-locale-dir(ltr) { @@ -1025,9 +1026,19 @@ toolbar[mode="icons"] #zoom-in-button { } #identity-box.verifiedIdentity { - color: hsl(92,100%,20%); - -moz-border-end: 1px solid hsla(92,81%,16%,.2); + color: hsl(92,100%,30%); -moz-padding-end: 4px; + background-image: -moz-linear-gradient(hsla(92,81%,16%,0), + hsla(92,81%,16%,.2) 25%, + hsla(92,81%,16%,.2) 75%, + hsla(92,81%,16%,0)); + background-position: right; + background-size: 1px; + background-repeat: no-repeat; +} + +#identity-box.verifiedIdentity:-moz-locale-dir(rtl) { + background-position: left; } #identity-box:-moz-focusring { diff --git a/browser/themes/winstripe/browser.css b/browser/themes/winstripe/browser.css index c88957574980..aaede807896c 100644 --- a/browser/themes/winstripe/browser.css +++ b/browser/themes/winstripe/browser.css @@ -1359,6 +1359,7 @@ html|*.urlbar-input:-moz-lwtheme:-moz-placeholder, #identity-box { padding: 2px; + font-size: .9em; } #identity-box:-moz-locale-dir(ltr) { @@ -1406,9 +1407,19 @@ html|*.urlbar-input:-moz-lwtheme:-moz-placeholder, } #identity-box.verifiedIdentity { - color: hsl(92,100%,20%); - -moz-border-end: 1px solid hsla(92,81%,16%,.2); + color: hsl(92,100%,30%); -moz-margin-end: 4px; + background-image: -moz-linear-gradient(hsla(92,81%,16%,0), + hsla(92,81%,16%,.2) 25%, + hsla(92,81%,16%,.2) 75%, + hsla(92,81%,16%,0)); + background-position: right; + background-size: 1px; + background-repeat: no-repeat; +} + +#identity-box.verifiedIdentity:-moz-locale-dir(rtl) { + background-position: left; } #identity-box.verifiedIdentity:not(:-moz-lwtheme) {