toolkit/themes/linux/global/popup.css

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/themes/linux/global/popup.css	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,102 @@
     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 +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
     1.9 +
    1.10 +/* ::::: menupopup ::::: */
    1.11 +
    1.12 +menupopup,
    1.13 +panel {
    1.14 +  -moz-appearance: menupopup;
    1.15 +  min-width: 1px;
    1.16 +  color: MenuText;
    1.17 +}
    1.18 +
    1.19 +/* ::::: arrow panel ::::: */
    1.20 +
    1.21 +panel[type="arrow"] {
    1.22 +  transition: opacity 300ms;
    1.23 +  -moz-appearance: none;
    1.24 +}
    1.25 +
    1.26 +panel[type="arrow"][side="top"],
    1.27 +panel[type="arrow"][side="bottom"] {
    1.28 +  margin-left: -16px;
    1.29 +  margin-right: -16px;
    1.30 +}
    1.31 +
    1.32 +panel[type="arrow"][side="left"],
    1.33 +panel[type="arrow"][side="right"] {
    1.34 +  margin-top: -16px;
    1.35 +  margin-bottom: -16px;
    1.36 +}
    1.37 +
    1.38 +.panel-arrowcontent {
    1.39 +  padding: 10px;
    1.40 +  color: -moz-DialogText;
    1.41 +  background: -moz-Dialog;
    1.42 +  border: 1px solid ThreeDShadow;
    1.43 +}
    1.44 +
    1.45 +.panel-arrow[side="top"],
    1.46 +.panel-arrow[side="bottom"] {
    1.47 +  list-style-image: url("chrome://global/skin/icons/panelarrow-vertical.svg");
    1.48 +  position: relative;
    1.49 +  margin-left: 6px;
    1.50 +  margin-right: 6px;
    1.51 +}
    1.52 +
    1.53 +.panel-arrow[side="top"] {
    1.54 +  margin-bottom: -1px;
    1.55 +}
    1.56 +
    1.57 +.panel-arrow[side="bottom"] {
    1.58 +  transform: scaleY(-1);
    1.59 +  margin-top: -1px;
    1.60 +}
    1.61 +
    1.62 +.panel-arrow[side="left"],
    1.63 +.panel-arrow[side="right"] {
    1.64 +  list-style-image: url("chrome://global/skin/icons/panelarrow-horizontal.svg");
    1.65 +  position: relative;
    1.66 +  margin-top: 6px;
    1.67 +  margin-bottom: 6px;
    1.68 +}
    1.69 +
    1.70 +.panel-arrow[side="left"] {
    1.71 +  margin-right: -1px;
    1.72 +}
    1.73 +
    1.74 +.panel-arrow[side="right"] {
    1.75 +  transform: scaleX(-1);
    1.76 +  margin-left: -1px;
    1.77 +}
    1.78 +
    1.79 +/* ::::: tooltip ::::: */
    1.80 +
    1.81 +tooltip {
    1.82 +  -moz-appearance: tooltip;
    1.83 +  margin-top: 21px;
    1.84 +  /* GTK hardcodes this to 4px */
    1.85 +  padding: 4px;
    1.86 +  max-width: 40em;
    1.87 +  color: InfoText;
    1.88 +  font: message-box;
    1.89 +}
    1.90 +
    1.91 +tooltip[titletip="true"] {
    1.92 + /* See bug 32157 comment 128
    1.93 +  * margin: -2px 0px 0px -3px;
    1.94 +  */
    1.95 +  max-width: none;
    1.96 +}
    1.97 +
    1.98 +/* rules for popups associated with menulists */
    1.99 +
   1.100 +menulist > menupopup,
   1.101 +.menulist-menupopup {
   1.102 +  padding: 0px;
   1.103 +  min-width: 0px;
   1.104 +}
   1.105 +

mercurial