* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+/* ===== popup.css ======================================================
+ == Styles used by the XUL popup element.
+ ======================================================================= */
+
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* ::::: menupopup ::::: */
background-color: #CCD0DD;
}
+menupopup > menu > menupopup {
+ /* align submenus */
+ margin-top: -1px;
+}
+
+/* ::::: arrow panel ::::: */
+
panel[type="arrow"] {
background: transparent;
border: none;
+ padding: 0;
transition: opacity 300ms;
}
background-color: #CCD0DD;
background-clip: padding-box;
border: 1px outset #CCD0DD;
- margin: 3px;
+ margin: 0px;
}
.panel-arrow[side="top"],
}
.panel-arrow[side="top"] {
- margin-bottom: -5px;
+ margin-bottom: -1px;
}
.panel-arrow[side="bottom"] {
transform: scaleY(-1);
- margin-top: -5px;
+ margin-top: -1px;
}
.panel-arrow[side="left"],
}
.panel-arrow[side="left"] {
- margin-right: -5px;
+ margin-right: -1px;
}
.panel-arrow[side="right"] {
transform: scaleX(-1);
- margin-left: -5px;
+ margin-left: -1px;
}
/* ::::: tooltip ::::: */