X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fglobal%2Fpopup.css;h=1661efb5c5b21a13bec2c001dc28271c12186e66;hp=608a8b9f56e7c7195b3c394b86fa2f458a7b2e96;hb=7862e6ee1141fa74a714e5461320d2fb8299c455;hpb=b87c9562a4c728734927c455c6201d13d11c8a9e diff --git a/EarlyBlue/global/popup.css b/EarlyBlue/global/popup.css index 608a8b9f..1661efb5 100644 --- a/EarlyBlue/global/popup.css +++ b/EarlyBlue/global/popup.css @@ -35,55 +35,50 @@ * * ***** END LICENSE BLOCK ***** */ +/* ===== popup.css ====================================================== + == Styles used by the XUL popup element. + ======================================================================= */ + @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); -menupopup, popup - { - /* DON'T DELETE. Removes disappearance of scrollbars - * in content pane when window is made smaller. - * Talk to evaughan@netscape.com for details. - */ - min-width : 1px; - background-color : #CCD0DD; - } +/* ::::: menupopup ::::: */ -/* XXX menupopups have to have a color explicitly specified. this is a bug */ -menupopup, popup - { - border : 1px outset #CCD0DD; - } +menupopup, +popup, +panel { + border: 1px outset #CCD0DD; + padding: 1px; + min-width: 1px; + background-color: #CCD0DD; +} -.popup-internal-box - { - padding : 1px; - } - -/** Tooltips (tooltip element is deprecated! Use instead!) - * class="tooltip" - **/ -.tooltip, tooltip - { - background-color : #FFFFCC; - border : 1px outset #FFFFCC; - color : #000000; - font : smaller; - padding : 2px; - max-width : 40em; - } +tooltip { + background-color : #FFFFCC; + border : 1px outset #FFFFCC; + color: #000000; + /* font-size: smaller; */ + padding: 2px; + max-width: 40em; +} -.tooltip > .popup-internal-box, -tooltip > .popup-internal-box - { - border : 0px; - padding : 0px; - } +tooltip[titletip="true"] { + /* See bug 32157 comment 128 + * margin: -2px 0px 0px -3px; + */ + max-width: none; +} /* rules for popups associated with menulists */ - menulist > menupopup, - .menulist-menupopup - { - border : 1px solid #666699; - min-width : 0px; - background-color : white; - } +menulist > menupopup, +.menulist-menupopup { + border: 1px solid #666699; + min-width: 0px; + padding: 0px; + background-color: white; +} + +menupopup > menu > menupopup, +popup > menu > menupopup { + margin-top: -2px; +}