From d91380c1b4ec2770e5189e64ad29329c466c43cf Mon Sep 17 00:00:00 2001 From: "andreww%netscape.com" Date: Mon, 26 Nov 2001 22:47:10 +0000 Subject: [PATCH] bugzilla 83828 - fixes improper borders in mac classic popups. r=shliang sr=blake. --- themes/classic/global/mac/popup.css | 39 +++++++++++++++++++++-------- 1 file changed, 28 insertions(+), 11 deletions(-) diff --git a/themes/classic/global/mac/popup.css b/themes/classic/global/mac/popup.css index d0265b551b7e..820699e1d662 100644 --- a/themes/classic/global/mac/popup.css +++ b/themes/classic/global/mac/popup.css @@ -7,7 +7,7 @@ menupopup, popup border-top : thin solid black; border-right : 3px ridge black; border-bottom : 3px ridge black; - -moz-user-focus : ignore; + -moz-user-focus : ignore; } /** Tooltips (tooltip element is deprecated. USE instead!) @@ -20,14 +20,14 @@ menupopup, popup color : InfoText; font : message-box; padding : 2px 3px 2px 3px; - margin : 0px; + margin : 0px; } .tooltip > .popup-internal-box, tooltip > .popup-internal-box { - border: none; - padding: 0px; + border: none; + padding: 0px; } /* rules for popups associated with menulists */ @@ -35,11 +35,28 @@ tooltip > .popup-internal-box menulist > menupopup, .menulist-menupopup { - border-left : thin solid white; - border-top : thin solid white; - border-right : 3px ridge black; - border-bottom : 3px ridge black; - background-color : #DDDDDD; - min-width : 0px; + border-left : thin solid black; + border-top : thin solid black; + border-right : thin solid black; + border-bottom : thin solid black; + background-color : #DDDDDD; + min-width : 0px; } - + +menulist > menupopup > .popup-internal-box, +.menulist-menupopup > .popup-internal-box + { + border-left : thin solid white; + border-top : thin solid white; + border-bottom : 2px ridge black; + border-right : 2px ridge black + } + +popup > .popup-internal-box, +menupopup > .popup-internal-box + { + border-left : thin solid white; + border-top : thin solid white; + border-bottom : none; + border-right : none; + }