From 7146d1947f497db1035eca784d263788ec638c7d Mon Sep 17 00:00:00 2001 From: "rflint@ryanflint.com" Date: Tue, 6 Nov 2007 21:09:21 -0800 Subject: [PATCH] Bug 398020 - more endcap cleanup. Patch by Dão Gottwald , r/a=mconnor --- .../themes/gnomestripe/browser/browser.css | 25 +++++++------------ .../themes/gnomestripe/browser/searchbar.css | 4 --- 2 files changed, 9 insertions(+), 20 deletions(-) diff --git a/browser/themes/gnomestripe/browser/browser.css b/browser/themes/gnomestripe/browser/browser.css index 3ab31755da7..293a65ab599 100644 --- a/browser/themes/gnomestripe/browser/browser.css +++ b/browser/themes/gnomestripe/browser/browser.css @@ -1004,10 +1004,7 @@ statusbarpanel#statusbar-display { /* ::::: endcaps ::::: */ .endcap { - padding: 2px 0px 2px 0px; -} - -.endcap-box { + margin: 2px 0px 2px 0px; -moz-border-radius: 0 4px 4px 0; border: 1px solid ThreeDShadow; border-left-width: 0; @@ -1016,17 +1013,18 @@ statusbarpanel#statusbar-display { background-position: 50% 50%; } -toolbar:not([mode="text"]) .endcap:hover > .endcap-box { - background-image: url("chrome://browser/skin/endcap-bkgnd-hover.png"); -} - -.endcap-box[chromedir="rtl"] { +.endcap[chromedir="rtl"] { -moz-border-radius: 4px 0 0 4px; border-left-width: 1px; border-right-width: 0; } -toolbar[mode="text"] .endcap-box { +toolbar:not([mode="text"]) .endcap:hover { + background-image: url("chrome://browser/skin/endcap-bkgnd-hover.png"); +} + +toolbar[mode="text"] .endcap { + margin: 0; border: none; background-image: none; } @@ -1062,10 +1060,6 @@ toolbar[mode="text"] #go-button { padding: 3px; } -toolbar[mode="text"] #go-button-stack { - padding: 0; -} - #go-button > .toolbarbutton-icon { margin: 0; } @@ -1104,8 +1098,7 @@ toolbar:not([mode="text"]) #star-button[starred="true"], } #star-button > .toolbarbutton-icon { - margin-left: 3px; - margin-right: 3px; + margin: 3px; } /* ::::: content area ::::: */ diff --git a/browser/themes/gnomestripe/browser/searchbar.css b/browser/themes/gnomestripe/browser/searchbar.css index 93e62500c62..2bb518e27fb 100644 --- a/browser/themes/gnomestripe/browser/searchbar.css +++ b/browser/themes/gnomestripe/browser/searchbar.css @@ -163,10 +163,6 @@ toolbar[mode="text"] .search-go-button { -moz-appearance: toolbarbutton; } -toolbar[mode="text"] .search-go-button-stack { - padding: 0px; -} - toolbar[mode="text"] .search-go-button { background-image: none; list-style-image: none;