gecko-dev/layout/style/ua.css

659 lines
10 KiB
CSS
Raw Normal View History

1998-04-13 20:24:54 +00:00
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
1998-07-13 19:49:53 +00:00
HTML {
display: block;
1998-07-13 19:49:53 +00:00
}
1998-04-13 20:24:54 +00:00
BODY {
1998-07-13 19:49:53 +00:00
display: block;
1998-10-16 22:05:03 +00:00
line-height: normal;
margin: 8px;
}
FRAMESET {
overflow: hidden;
}
1998-04-13 20:24:54 +00:00
/* Blocks */
1998-04-13 20:24:54 +00:00
1998-07-13 19:49:53 +00:00
P {
1998-04-13 20:24:54 +00:00
display: block;
1998-09-23 02:33:37 +00:00
margin-bottom: auto;
margin-top: auto;
1998-04-13 20:24:54 +00:00
}
ADDRESS {
display: block;
font-style: italic;
1998-09-23 02:33:37 +00:00
margin-bottom: 0;
margin-top: 0;
1998-04-13 20:24:54 +00:00
}
BLOCKQUOTE {
display: block;
1998-09-23 02:33:37 +00:00
margin-left: 40px;
margin-right: 40px;
1998-09-29 22:35:24 +00:00
margin-top: auto;
margin-bottom: auto;
1998-04-13 20:24:54 +00:00
}
CENTER {
display: block;
text-align: center;
margin-bottom: 0;
margin-top: 0;
1998-04-13 20:24:54 +00:00
}
DIV {
display: block;
1998-09-23 02:33:37 +00:00
margin-bottom: 0;
margin-top: 0;
1998-04-13 20:24:54 +00:00
}
H1 {
display: block;
font-size: xx-large;
1998-04-13 20:24:54 +00:00
font-weight: bold;
1998-09-23 02:33:37 +00:00
margin-bottom: auto;
margin-top: auto;
1998-04-13 20:24:54 +00:00
}
H2 {
display: block;
font-size: x-large;
1998-04-13 20:24:54 +00:00
font-weight: bold;
1998-09-23 02:33:37 +00:00
margin-bottom: auto;
margin-top: auto;
1998-04-13 20:24:54 +00:00
}
H3 {
display: block;
font-size: large;
1998-04-13 20:24:54 +00:00
font-weight: bold;
1998-09-23 02:33:37 +00:00
margin-bottom: auto;
margin-top: auto;
1998-04-13 20:24:54 +00:00
}
H4 {
display: block;
font-size: medium;
1998-04-13 20:24:54 +00:00
font-weight: bold;
1998-09-23 02:33:37 +00:00
margin-bottom: auto;
margin-top: auto;
1998-04-13 20:24:54 +00:00
}
H5 {
display: block;
font-size: small;
1998-04-13 20:24:54 +00:00
font-weight: bold;
1998-09-23 02:33:37 +00:00
margin-bottom: auto;
margin-top: auto;
1998-04-13 20:24:54 +00:00
}
H6 {
display: block;
font-size: x-small;
1998-04-13 20:24:54 +00:00
font-weight: bold;
1998-09-23 02:33:37 +00:00
margin-bottom: auto;
margin-top: auto;
1998-04-13 20:24:54 +00:00
}
LAYER {
display: block;
position: absolute;
}
1998-04-13 20:24:54 +00:00
LISTING {
display: block;
font-family: monospace;
font-size: medium;
1998-04-13 20:24:54 +00:00
white-space: pre;
1998-09-23 02:33:37 +00:00
margin-bottom: auto;
margin-top: auto;
1998-04-13 20:24:54 +00:00
}
PLAINTEXT, XMP, PRE {
1998-07-13 19:49:53 +00:00
display: block;
1998-04-13 20:24:54 +00:00
font-family: monospace;
white-space: pre;
1998-09-23 02:33:37 +00:00
margin-bottom: auto;
margin-top: auto;
1998-04-13 20:24:54 +00:00
}
1998-07-13 19:49:53 +00:00
MULTICOL {
display: block;
1998-09-23 02:33:37 +00:00
margin-bottom: auto;
margin-top: auto;
1998-07-13 19:49:53 +00:00
}
/* Tables */
1998-04-13 20:24:54 +00:00
TABLE {
display: table;
/* border-style: outset; */
1998-04-13 20:24:54 +00:00
border-color: #C0C0C0;
cell-spacing: 2px;
cell-padding: 2px;
margin-top: 0;
margin-bottom: 0;
background: transparent;
1998-04-13 20:24:54 +00:00
}
TD, TH {
vertical-align: inherit;
background: inherit;
text-align: left;
/* border-style: inset; */
1998-04-13 20:24:54 +00:00
border-color: #C0C0C0;
display: table-cell;
1998-04-13 20:24:54 +00:00
}
TH {
font-weight: bold;
text-align: center;
1998-04-13 20:24:54 +00:00
}
1998-04-25 18:41:41 +00:00
CAPTION {
text-align: center;
display: table-caption;
1998-04-25 18:41:41 +00:00
}
1998-07-13 19:49:53 +00:00
TR {
display: table-row;
vertical-align: inherit;
background: inherit;
1998-05-20 16:28:19 +00:00
}
1998-07-13 19:49:53 +00:00
TBODY {
display: table-row-group;
vertical-align: middle;
background: inherit;
1998-07-13 19:49:53 +00:00
}
THEAD {
display: table-header-group;
vertical-align: middle;
background: inherit;
1998-07-13 19:49:53 +00:00
}
TFOOT {
display: table-footer-group;
vertical-align: middle;
background: inherit;
1998-07-13 19:49:53 +00:00
}
COL {
display: table-column;
}
COLGROUP {
display: table-column-group;
}
/* Spans */
1998-04-25 18:41:41 +00:00
1998-07-13 19:49:53 +00:00
A:link {
display: inline;
color: blue;
text-decoration: underline;
1998-10-26 23:14:45 +00:00
cursor: pointer;
1998-07-13 19:49:53 +00:00
}
A:visited {
display: inline;
color: purple;
text-decoration: underline;
1998-10-26 23:14:45 +00:00
cursor: pointer;
1998-07-13 19:49:53 +00:00
}
A:active {
display: inline;
color: lime;
text-decoration: underline;
1998-10-26 23:14:45 +00:00
cursor: pointer;
1998-07-13 19:49:53 +00:00
}
A:out-of-date {
display: inline;
color: red;
text-decoration: underline;
1998-10-26 23:14:45 +00:00
cursor: pointer;
1998-07-13 19:49:53 +00:00
}
A:link IMG {
display: inline;
border: 2px solid blue;
font-family: sans-serif;
font-size: 8.5pt;
text-decoration: none;
1998-07-13 19:49:53 +00:00
}
A:visited IMG {
display: inline;
border: 2px solid purple;
font-family: sans-serif;
font-size: 8.5pt;
text-decoration: none;
1998-07-13 19:49:53 +00:00
}
A:active IMG {
display: inline;
border: 2px solid lime;
font-family: sans-serif;
font-size: 8.5pt;
text-decoration: none;
1998-07-13 19:49:53 +00:00
}
A:out-of-date IMG {
display: inline;
border: 2px solid red;
font-family: sans-serif;
font-size: 8.5pt;
text-decoration: none;
1998-07-13 19:49:53 +00:00
}
1998-04-13 20:24:54 +00:00
B, STRONG {
display: inline;
font-weight: bolder;
}
I, CITE, EM, VAR {
display: inline;
font-style: italic;
}
TT, CODE, KBD, SAMP {
display: inline;
font-family: monospace;
}
U {
display: inline;
text-decoration: underline;
}
S, STRIKE {
display: inline;
text-decoration: line-through;
}
BLINK {
display: inline;
text-decoration: blink;
}
BIG {
display: inline;
font-size: larger;
}
SMALL {
display: inline;
font-size: smaller;
}
ABBR, ACRONYM, DEL, DFN, INS, Q, SPAN {
1998-04-13 20:24:54 +00:00
display: inline;
}
1998-11-06 00:51:46 +00:00
INS { text-decoration: underline; }
1998-12-02 00:35:26 +00:00
DEL { text-decoration: line-through; }
1998-11-06 00:51:46 +00:00
DFN { font-style: italic; }
1998-04-13 20:24:54 +00:00
SUB {
display: inline;
vertical-align: sub;
1998-06-29 16:10:41 +00:00
font-size: smaller;
1998-04-13 20:24:54 +00:00
}
SUP {
display: inline;
vertical-align: super;
1998-06-29 16:10:41 +00:00
font-size: smaller;
1998-04-13 20:24:54 +00:00
}
ILAYER {
position: absolute;
display: inline;
}
1998-07-13 19:49:53 +00:00
NOBR {
display: inline;
white-space: nowrap;
}
LEGEND {
display: inline;
padding-left: 2px;
padding-right: 2px;
border: 2px solid black;
}
FIELDSET {
display: block;
border: 2px solid black;
padding: 4px;
margin-left: 2px;
margin-right: 2px;
}
1998-07-13 19:49:53 +00:00
/* Lists */
1998-07-13 19:49:53 +00:00
1998-12-11 22:22:29 +00:00
:BULLET {
display: inline;
margin-right: 8px;
}
1998-09-23 02:33:37 +00:00
UL, MENU, DIR {
display: block;
1998-09-29 22:35:24 +00:00
margin-right: 0;
margin-bottom: auto;
margin-top: auto;
1998-07-13 19:49:53 +00:00
list-style-type: disc;
1998-11-15 01:13:00 +00:00
margin-left: 40px;
1998-07-13 19:49:53 +00:00
}
1998-12-11 22:22:29 +00:00
1998-07-13 19:49:53 +00:00
OL {
display: block;
1998-09-29 22:35:24 +00:00
margin-right: 0;
margin-bottom: auto;
margin-top: auto;
1998-07-13 19:49:53 +00:00
list-style-type: decimal;
1998-11-15 01:13:00 +00:00
margin-left: 40px;
1998-07-13 19:49:53 +00:00
}
1998-09-23 02:33:37 +00:00
1998-12-11 22:22:29 +00:00
LI {
display: list-item;
list-style-position: inside;
}
UL LI, OL LI, MENU LI, DIR LI {
list-style-position: outside;
}
/* Nested lists have no top/bottom margins */
1998-12-11 22:22:29 +00:00
UL UL, UL OL, UL MENU, UL DIR,
MENU UL, MENU OL, MENU MENU, MENU DIR,
DIR UL, DIR OL, DIR MENU, DIR DIR,
OL UL, OL OL, OL MENU, OL DIR
{
margin-top: 0;
margin-bottom: 0;
}
/* 2 deep unordered lists use a circle */
1998-09-23 02:33:37 +00:00
OL UL, UL UL, MENU UL, DIR UL,
OL MENU, UL MENU, MENU MENU, DIR MENU,
OL DIR, UL DIR, MENU DIR, DIR DIR
{
1998-07-13 19:49:53 +00:00
list-style-type: circle;
}
1998-09-23 02:33:37 +00:00
/* 3 deep (or more) unordered lists use a square */
1998-09-23 02:33:37 +00:00
OL OL UL, OL UL UL, OL MENU UL, OL DIR UL,
OL OL MENU, OL UL MENU, OL MENU MENU, OL DIR MENU,
OL OL DIR, OL UL DIR, OL MENU DIR, OL DIR DIR,
UL OL UL, UL UL UL, UL MENU UL, UL DIR UL,
UL OL MENU, UL UL MENU, UL MENU MENU, UL DIR MENU,
UL OL DIR, UL UL DIR, UL MENU DIR, UL DIR DIR,
MENU OL UL, MENU UL UL, MENU MENU UL, MENU DIR UL,
MENU OL MENU, MENU UL MENU, MENU MENU MENU, MENU DIR MENU,
MENU OL DIR, MENU UL DIR, MENU MENU DIR, MENU DIR DIR,
DIR OL UL, DIR UL UL, DIR MENU UL, DIR DIR UL,
DIR OL MENU, DIR UL MENU, DIR MENU MENU, DIR DIR MENU,
DIR OL DIR, DIR UL DIR, DIR MENU DIR, DIR DIR DIR
{
1998-07-13 19:49:53 +00:00
list-style-type: square;
}
1998-09-23 02:33:37 +00:00
1998-07-13 19:49:53 +00:00
DL {
display: block;
1998-09-29 22:35:24 +00:00
margin-bottom: auto;
margin-top: auto;
1998-07-13 19:49:53 +00:00
}
DT {
display: block;
}
DD {
display: block;
margin-left: 40px;
}
/* Leafs */
1998-07-13 19:49:53 +00:00
EMBED {
display: inline;
}
1998-07-13 19:49:53 +00:00
HR {
display: block;
1998-07-15 17:07:00 +00:00
margin-top: 0;
margin-bottom: 0;
text-align: center;
border: 1px -moz-bg-inset;
1998-07-13 19:49:53 +00:00
}
BR {
display: inline;
color: cyan;
}
IMG {
display: inline;
font-family: sans-serif;
font-size: 8.5pt;
1998-07-13 19:49:53 +00:00
}
SPACER {
display: inline;
}
WBR {
display: inline;
}
IFRAME {
display: inline;
border: 2px solid black;
1998-07-13 19:49:53 +00:00
}
INPUT {
vertical-align: bottom;
}
INPUT[type=checkbox] {
width:11px;
height:11px;
background-color:white;
border-color:gray;
border-style:inset;
color:black;
border-width: 2px;
}
LABEL {
display: inline;
vertical-align: bottom;
background-color: white;
1999-02-03 03:10:29 +00:00
padding-left: 3px;
padding-right: 3px;
}
1998-10-17 00:35:32 +00:00
BUTTON {
display: inline;
1998-10-17 00:35:32 +00:00
vertical-align: bottom;
1998-11-18 02:10:45 +00:00
cursor: default;
1998-10-17 00:35:32 +00:00
}
BUTTON {
display: inline;
vertical-align: bottom;
/*background-color: white; */
/*border: 3px outset gray;*/
/*padding: 3px;*/
background-color: rgb(192,192,192);
border: 2px solid rgb(192,192,192);
padding: 2px;
cursor: default;
}
BUTTON.ROLLOVER {
border: 2px outset rgb(192,192,192);
}
BUTTON.DISABLED {
border: 2px solid rgb(192,192,192);
color: rgb(225,225,225);
}
1998-07-13 19:49:53 +00:00
SELECT {
vertical-align: bottom;
}
OPTION {
}
OPTION.SELECTED {
border: 1px solid rgb(0,0,128);
background-color: rgb(0,0,128);
color: rgb(255,255,255);
}
OPTION.SELECTEDFOCUS {
border: 1px dotted white;
background-color: rgb(0,0,128);
color: rgb(255,255,255);
}
1998-07-13 19:49:53 +00:00
TEXTAREA {
vertical-align: bottom;
}
/* Misc */
APPLET {
display: inline;
}
AREA {
display: none;
}
BASE {
display: none;
}
BASEFONT {
display: none;
}
HEAD {
display: none;
}
MAP {
display: none;
}
META {
display: none;
}
OBJECT {
display: inline;
}
1998-09-03 22:23:22 +00:00
SCRIPT {
display: none;
}
STYLE {
display: none;
}
TITLE {
display: none;
}
NOEMBED {
display: none;
}
NOSCRIPT {
display: none;
}
NOFRAMES {
display: none;
}
1999-02-04 03:47:01 +00:00
PARAM {
display: none;
}
/* Pseudo-element style */
:SCROLLBAR-LOOK {
background-color: #c0c0c0;
/* border-color: inherit; */
/* border: 2px outset #c0c0c0; */
}
:SCROLLBAR-ARROW-LOOK {
background-color: #c0c0c0;
border-color: inherit;
border: 2px outset #c0c0c0;
}
:SCROLLBAR-THUMB-LOOK {
background-color: #c0c0c0;
border-color: inherit;
border: 2px outset #c0c0c0;
}
:SCROLLED-CONTENT {
background: inherit;
padding: inherit;
display: inherit;
}
:WRAPPED-FRAME {
display: inherit;
}
:PLACEHOLDER-FRAME {
display: inline;
width: 0;
height: 0;
}
:ROOT {
display: block;
background-color: inherit;
}
1998-11-18 02:10:45 +00:00
1998-11-20 21:06:59 +00:00
:TABLE {
display: table;
border-style: inherit;
border-color: inherit;
cell-spacing: inherit;
cell-padding: inherit;
margin-top: inherit;
margin-bottom: inherit;
background: inherit;
}
1998-12-03 18:03:28 +00:00
:TABLE-CELL {
display: table-cell;
}
1998-12-03 18:03:28 +00:00
:TABLE-COLUMN {
display: table-column;
}
:TABLE-COLUMN-GROUP {
display: table-column-group;
}
:TABLE-OUTER {
display: table;
}
1998-12-03 18:03:28 +00:00
:TABLE-ROW {
display: table-row;
}
:TABLE-ROW-GROUP {
display: table-row-group;
1998-12-11 22:22:29 +00:00
}
:CELL-CONTENT {
display: block;
}
1999-01-03 00:15:56 +00:00
:FIELDSET-CONTENT {
display: block;
}
:BUTTON-CONTENT {
display: block;
}
:LABEL-CONTENT {
display: block;
}
:MOZ-COMMENT {
display: none;
}
:DROPDOWN-VISIBLE {
visibility: visible;
}
:DROPDOWN-HIDDEN {
visibility: hidden;
}
:COMBOBOX-TEXT {
color: black;
padding-left: 2px;
}
:COMBOBOX-TEXTSELECTED {
background-color: rgb(0,0,128);
color: white;
border: 1px solid rgb(0,0,128);
}
:COMBOBOX-TEXTSELECTEDFOCUS {
background-color: rgb(0,0,128);
color: white;
border: 1px dotted white;
}
1999-02-01 17:34:16 +00:00
1999-02-02 17:30:10 +00:00
:MOZ-ANONYMOUS-BLOCK {
1999-02-01 17:34:16 +00:00
display: block;
}