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

177 lines
3.8 KiB
CSS

/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Joe Hewitt <hewitt@netscape.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* ::::: colors ::::: */
/* ::::: inset areas ::::: */
.inset {
border: 1px inset #C7D0D9;
margin: 0px 5px 5px 5px;
}
/* ::::: formatting ::::: */
.groove-top {
border-top: 2px groove #C7D0D9;
}
.groove-right {
border-right: 2px groove #C7D0D9;
}
.groove-left {
border-left: 2px groove #C7D0D9;
}
.groove-bottom {
border-bottom: 2px groove #C7D0D9;
}
.outset {
border: 1px outset #C7D0D9;
}
/* ::::: separator rules ::::: */
/* ..... standard separators ..... */
separator, separator[orient="horizontal"] {
height: 1.5em;
}
separator[orient="vertical"] {
width: 1.5em;
}
/* ..... thinner separators ..... */
separator.thin, separator.thin[orient="horizontal"] {
height: 0.5em;
}
separator.thin[orient="vertical"] {
width: 0.5em;
}
/* ..... groove separators ..... */
separator.groove,
separator.groove[orient="horizontal"] {
border-top: 1px solid #7A8490;
border-bottom: 1px solid #FEFEFE;
height: 0px;
margin-top: 0.4em;
margin-bottom: 0.4em;
}
separator.groove[orient="vertical"] {
border-left: 1px solid #7A8490;
border-right: 1px solid #FEFEFE;
margin-left: 0.4em;
margin-right: 0.4em;
}
/* ..... thin groove separators ..... */
separator.groove-thin {
border-top: 2px groove #D7D9E0;
height: 0px;
}
separator[orient="vertical"].groove-thin {
border-left: 2px groove #D7D9E0;
}
/* ::::: text formatting rules ::::: */
/* ..... label (with margins) ..... */
/* reduced margin for some UI */
.small-margin {
margin: 1px 2px 1px 2px;
}
.plain {
margin: 0px !important;
border: none;
padding: 0px;
}
description, label {
cursor: default;
}
description {
margin: 1px 5px 4px 5px;
}
label {
margin: 1px 5px 2px 5px;
}
description[disabled="true"],
label[disabled="true"] {
color: #8C99AB;
}
.header {
font-weight: bold;
}
.indent {
margin-left: 20px;
}
.icon-dropmarker {
list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
}
.box-padded {
padding: 5px;
}
.spaced {
margin: 3px 5px 4px 5px;
}
.wizard-box {
padding: 20px 44px 10px 44px;
}