From 98513645c9994c28f59e8754f7bd377e78384b1d Mon Sep 17 00:00:00 2001 From: "gavin%gavinsharp.com" Date: Wed, 7 Nov 2007 05:12:27 +0000 Subject: [PATCH] Bug 353324: When search engine is found and search bar icon highlighted in blue, it loses effect on hover, r=mano --- browser/themes/gnomestripe/browser/searchbar.css | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/browser/themes/gnomestripe/browser/searchbar.css b/browser/themes/gnomestripe/browser/searchbar.css index 2e22161f8f9..8345650340d 100644 --- a/browser/themes/gnomestripe/browser/searchbar.css +++ b/browser/themes/gnomestripe/browser/searchbar.css @@ -68,29 +68,29 @@ -moz-image-region: rect(12px, 128px, 22px, 96px); } -.searchbar-engine-button:hover .searchbar-engine-button-top { +.searchbar-engine-button:not([addengines="true"]):hover .searchbar-engine-button-top { -moz-image-region: rect(0px, 64px, 10px, 32px); } -.searchbar-engine-button:hover .searchbar-engine-button-mid-top, -.searchbar-engine-button:hover .searchbar-engine-button-mid-bottom { +.searchbar-engine-button:not([addengines="true"]):hover .searchbar-engine-button-mid-top, +.searchbar-engine-button:not([addengines="true"]):hover .searchbar-engine-button-mid-bottom { background-position: -32px 0px; } -.searchbar-engine-button:hover .searchbar-engine-button-bottom { +.searchbar-engine-button:not([addengines="true"]):hover .searchbar-engine-button-bottom { -moz-image-region: rect(12px, 64px, 22px, 32px); } -.searchbar-engine-button[open="true"] .searchbar-engine-button-top { +.searchbar-engine-button:not([addengines="true"])[open="true"] .searchbar-engine-button-top { -moz-image-region: rect(0px, 96px, 10px, 64px); } -.searchbar-engine-button[open="true"] .searchbar-engine-button-mid-top, -.searchbar-engine-button[open="true"] .searchbar-engine-button-mid-bottom { +.searchbar-engine-button:not([addengines="true"])[open="true"] .searchbar-engine-button-mid-top, +.searchbar-engine-button:not([addengines="true"])[open="true"] .searchbar-engine-button-mid-bottom { background-position: -64px 0px; } -.searchbar-engine-button[open="true"] .searchbar-engine-button-bottom { +.searchbar-engine-button:not([addengines="true"])[open="true"] .searchbar-engine-button-bottom { -moz-image-region: rect(12px, 96px, 22px, 64px); }