toolkit/themes/faststripe/global/popup.css

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/themes/faststripe/global/popup.css	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,62 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +/* ===== popup.css ===================================================
     1.9 +  == Styles used by the XUL popup element.
    1.10 +  ======================================================================= */
    1.11 +
    1.12 +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
    1.13 +
    1.14 +/* ::::: menupopup ::::: */
    1.15 +
    1.16 +menupopup,
    1.17 +popup,
    1.18 +panel {
    1.19 +  border: 1px solid menutext;
    1.20 +  padding: 2px;
    1.21 +  min-width: 1px;
    1.22 +  background: Menu;
    1.23 +}
    1.24 +
    1.25 +menupopup,
    1.26 +/* auto complete popups don't render well as vista menus */
    1.27 +popup:not([type="autocomplete"])
    1.28 +{
    1.29 +  -moz-appearance: menupopup;
    1.30 +}
    1.31 +
    1.32 +menupopup > menu > menupopup,
    1.33 +popup > menu > menupopup {
    1.34 + /* align submenus */
    1.35 +  -moz-margin-start: -3px;
    1.36 +  margin-top: -3px;
    1.37 +}
    1.38 +
    1.39 +/* ::::: tooltip ::::: */
    1.40 +
    1.41 +tooltip {
    1.42 +  margin-top: 21px;
    1.43 +  border: 1px solid InfoText;
    1.44 +  padding: 2px 3px;
    1.45 +  max-width: 40em;
    1.46 +  background-color: InfoBackground;
    1.47 +  color: InfoText;
    1.48 +  font: message-box;
    1.49 +}
    1.50 +
    1.51 +tooltip[titletip="true"] {
    1.52 + /* See bug 32157 comment 128
    1.53 +  * margin: -2px 0px 0px -3px;
    1.54 +  */
    1.55 +  max-width: none;
    1.56 +}
    1.57 +
    1.58 +/* rules for popups associated with menulists */
    1.59 +
    1.60 +menulist > menupopup,
    1.61 +.menulist-menupopup {
    1.62 +  padding: 1px;
    1.63 +  min-width: 0px;
    1.64 +  background-color: -moz-Field;
    1.65 +}

mercurial