From 9ecc27fe2328b8a193ceeb36bde9d25c23533118 Mon Sep 17 00:00:00 2001 From: "reed%reedloden.com" Date: Fri, 14 Dec 2007 07:39:11 +0000 Subject: [PATCH] Bug 408021 - "Hover feedback for tab close button" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r=Ryan a1.9=schrep] git-svn-id: svn://10.0.0.236/trunk@241235 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/browser/themes/gnomestripe/browser/browser.css | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/mozilla/browser/themes/gnomestripe/browser/browser.css b/mozilla/browser/themes/gnomestripe/browser/browser.css index 8bf4ebf968a..784a48a62c9 100644 --- a/mozilla/browser/themes/gnomestripe/browser/browser.css +++ b/mozilla/browser/themes/gnomestripe/browser/browser.css @@ -1180,11 +1180,12 @@ tabpanels { /* In-tab close button */ .tab-close-button > .toolbarbutton-icon { - -moz-margin-end: 0px !important; + /* XXX Buttons have padding in widget/ that we don't want here but can't override with good CSS, so we must + use evil CSS to give the impression of smaller content */ + margin: -3px !important; } .tab-close-button { - -moz-appearance: none; -moz-margin-end: 6px; padding: 0px; border: none; @@ -1207,6 +1208,10 @@ tabpanels { border: none; } +.tabs-closebutton > .toolbarbutton-icon { + margin: -3px !important; +} + /* All tabs menupopup */ .alltabs-item > .menu-iconic-left > .menu-iconic-icon { list-style-image: url("chrome://global/skin/icons/folder-item.png");