gecko-dev/themes/modern/global/popup.css

80 строки
2.0 KiB
CSS
Исходник Обычный вид История

/*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998-2001 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Joe Hewitt (hewitt@netscape.com)
*/
/* ===== popup.css =====================================================
== Styles used by the XUL popup & menupopup elements.
======================================================================= */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* ::::: popup/menupopup ::::: */
menupopup,
popup {
cursor: default;
border: 1px solid #7F8893;
background-color: #DDE3EB;
color: #22262F;
}
.popup-internal-box {
border-top: 1px solid #EEF4FC;
border-right: 1px solid #B9BFC7;
border-bottom: 1px solid #B9BFC7;
border-left: 1px solid #EEF4FC;
}
/* ::::: tooltip ::::: */
tooltip {
margin-top: 21px;
border: 1px solid #000000;
padding: 2px 3px 2px 3px;
max-width: 40em;
background-color: #FFFFE7;
color: #000000;
font: message-box;
}
.tooltip-label {
margin: 0px !important;
}
tooltip[titletip="true"] {
margin: -2px 0px 0px -4px;
}
/* ::::: menulist popup :::::: */
menulist > menupopup,
.menulist-menupopup {
border: 1px solid black;
padding: 0px;
min-width: 0px;
}
.menulist-menupopup > .popup-internal-box,
menulist > menupopup > .popup-internal-box {
border: none;
}