X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fglobal%2Fpopup.css;h=b312935798b2f87d7e7ba7b8e61ad7496659a0e6;hp=608a8b9f56e7c7195b3c394b86fa2f458a7b2e96;hb=1f0c82bb9de8e738721734805e06e3c130c561a4;hpb=b87c9562a4c728734927c455c6201d13d11c8a9e diff --git a/EarlyBlue/global/popup.css b/EarlyBlue/global/popup.css index 608a8b9f..b3129357 100644 --- a/EarlyBlue/global/popup.css +++ b/EarlyBlue/global/popup.css @@ -37,53 +37,97 @@ @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; - } - -/* XXX menupopups have to have a color explicitly specified. this is a bug */ -menupopup, popup - { - border : 1px outset #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 > .popup-internal-box, -tooltip > .popup-internal-box - { - border : 0px; - padding : 0px; - } +/* ::::: menupopup ::::: */ + +menupopup, +panel { + border: 1px outset #CCD0DD; + padding: 1px; + min-width: 1px; + background-color: #CCD0DD; +} + +panel[type="arrow"] { + -moz-transition: opacity 300ms; +} + +panel[type="arrow"][side="top"], +panel[type="arrow"][side="bottom"] { + margin-left: -25px; + margin-right: -25px; +} + +panel[type="arrow"][side="left"], +panel[type="arrow"][side="right"] { + margin-top: -25px; + margin-bottom: -25px; +} + +.panel-arrowcontent { + border-radius: 6px; + padding: 6px; + margin: 3px; +} + +.panel-arrow[side="top"] { + list-style-image: url("chrome://global/skin/arrow/panelarrow-up.png"); + margin-left: 6px; + margin-right: 6px; + margin-bottom: -13px; + margin-top: -4px; +} + +.panel-arrow[side="bottom"] { + list-style-image: url("chrome://global/skin/arrow/panelarrow-down.png"); + margin-left: 6px; + margin-right: 6px; + margin-top: -12px; + margin-bottom: -4px; +} + +.panel-arrow[side="left"] { + list-style-image: url("chrome://global/skin/arrow/panelarrow-horiz.png"); + margin-top: 6px; + margin-bottom: 6px; + margin-right: -12px; + margin-left: -4px; +} + +.panel-arrow[side="right"] { + list-style-image: url("chrome://global/skin/arrow/panelarrow-horiz.png"); + -moz-transform: scaleX(-1); + margin-top: 6px; + margin-bottom: 6px; + margin-left: -12px; + margin-right: -4px; +} + +tooltip { + background-color : #FFFFCC; + border : 1px outset #FFFFCC; + color: #000000; + /* font-size: smaller; */ + padding: 2px; + max-width: 40em; +} + +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 { + margin-top: -2px; +}