gecko-dev/layout/style/ua.css

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

1998-04-14 00:24:54 +04: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.
*/
1999-06-15 10:17:17 +04:00
@namespace url(http://www.w3.org/TR/REC-html40); /* set default namespace to HTML */
@namespace xul url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); /* namespace for XUL elements */
1999-02-12 09:19:07 +03:00
html {
display: block;
1998-07-13 23:49:53 +04:00
}
1998-04-14 00:24:54 +04:00
1999-02-12 09:19:07 +03:00
body {
1998-07-13 23:49:53 +04:00
display: block;
1998-10-17 02:05:03 +04:00
line-height: normal;
margin: 8px;
}
1999-02-12 09:19:07 +03:00
frameset {
overflow: hidden;
}
1998-04-14 00:24:54 +04:00
frame {
background-color: white;
}
iframe {
background-color: white;
}
1999-02-12 09:19:07 +03:00
/* blocks */
1998-04-14 00:24:54 +04:00
1999-02-12 09:19:07 +03:00
p {
1998-04-14 00:24:54 +04:00
display: block;
margin: 1em 0;
1998-04-14 00:24:54 +04:00
}
1999-02-12 09:19:07 +03:00
address {
1998-04-14 00:24:54 +04:00
display: block;
font-style: italic;
}
1999-02-12 09:19:07 +03:00
blockquote {
1998-04-14 00:24:54 +04:00
display: block;
margin: 1em 40px;
1998-04-14 00:24:54 +04:00
}
blockquote[type=cite] {
display: block;
margin: 1em 0px;
padding-left: 1em;
border-left: solid;
border-color: blue;
border-width: thin;
}
1999-02-12 09:19:07 +03:00
center {
1998-04-14 00:24:54 +04:00
display: block;
1999-03-26 03:42:39 +03:00
text-align: -moz-center;
1998-04-14 00:24:54 +04:00
}
1999-02-12 09:19:07 +03:00
div {
1998-04-14 00:24:54 +04:00
display: block;
}
1999-02-12 09:19:07 +03:00
h1 {
1998-04-14 00:24:54 +04:00
display: block;
font-size: xx-large;
1998-04-14 00:24:54 +04:00
font-weight: bold;
margin: 1em 0;
1998-04-14 00:24:54 +04:00
}
1999-02-12 09:19:07 +03:00
h2 {
1998-04-14 00:24:54 +04:00
display: block;
font-size: x-large;
1998-04-14 00:24:54 +04:00
font-weight: bold;
margin: 1em 0;
1998-04-14 00:24:54 +04:00
}
1999-02-12 09:19:07 +03:00
h3 {
1998-04-14 00:24:54 +04:00
display: block;
font-size: large;
1998-04-14 00:24:54 +04:00
font-weight: bold;
margin: 1em 0;
1998-04-14 00:24:54 +04:00
}
1999-02-12 09:19:07 +03:00
h4 {
1998-04-14 00:24:54 +04:00
display: block;
font-size: medium;
1998-04-14 00:24:54 +04:00
font-weight: bold;
margin: 1em 0;
1998-04-14 00:24:54 +04:00
}
1999-02-12 09:19:07 +03:00
h5 {
1998-04-14 00:24:54 +04:00
display: block;
font-size: small;
1998-04-14 00:24:54 +04:00
font-weight: bold;
margin: 1em 0;
1998-04-14 00:24:54 +04:00
}
1999-02-12 09:19:07 +03:00
h6 {
1998-04-14 00:24:54 +04:00
display: block;
font-size: x-small;
1998-04-14 00:24:54 +04:00
font-weight: bold;
margin: 1em 0;
1998-04-14 00:24:54 +04:00
}
1999-02-12 09:19:07 +03:00
layer {
display: block;
position: absolute;
}
1999-02-12 09:19:07 +03:00
listing {
1998-04-14 00:24:54 +04:00
display: block;
font-family: -moz-fixed;
font-size: medium;
1998-04-14 00:24:54 +04:00
white-space: pre;
margin: 1em 0;
1998-04-14 00:24:54 +04:00
}
1999-02-12 09:19:07 +03:00
plaintext, xmp, pre {
1998-07-13 23:49:53 +04:00
display: block;
font-family: -moz-fixed;
1998-04-14 00:24:54 +04:00
white-space: pre;
margin: 1em 0;
1998-04-14 00:24:54 +04:00
}
pre[wrap] {
white-space: -moz-pre-wrap;
}
pre[cols] {
white-space: -moz-pre-wrap;
}
pre[width] {
white-space: -moz-pre-wrap;
}
1999-02-12 09:19:07 +03:00
multicol {
1998-07-13 23:49:53 +04:00
display: block;
margin: 1em 0;
1998-07-13 23:49:53 +04:00
}
1999-02-12 09:19:07 +03:00
/* tables */
1998-04-14 00:24:54 +04:00
1999-02-12 09:19:07 +03:00
table {
display: table;
/* border-style: outset; */
1999-02-12 09:19:07 +03:00
border-color: #c0c0c0;
1999-05-18 09:18:16 +04:00
border-spacing: 2px;
1999-08-08 05:23:22 +04:00
border-collapse: separate;
margin-top: 0;
margin-bottom: 0;
1998-04-14 00:24:54 +04:00
}
table[align=left] {
margin-right: 4px;
}
table[align=right] {
margin-left: 4px;
}
1999-05-18 09:18:16 +04:00
/* must never set padding in td, th */
1999-02-12 09:19:07 +03:00
td, th {
vertical-align: inherit;
1999-06-15 10:17:17 +04:00
text-align: left;
/* border-style: inset; */
1999-02-12 09:19:07 +03:00
border-color: #c0c0c0;
display: table-cell;
1998-04-14 00:24:54 +04:00
}
1999-02-12 09:19:07 +03:00
th {
1998-04-14 00:24:54 +04:00
font-weight: bold;
1999-06-15 10:17:17 +04:00
text-align: center;
1998-04-14 00:24:54 +04:00
}
1999-02-12 09:19:07 +03:00
caption {
1998-04-25 22:41:41 +04:00
text-align: center;
display: table-caption;
1998-04-25 22:41:41 +04:00
}
1999-02-12 09:19:07 +03:00
tr {
1998-07-13 23:49:53 +04:00
display: table-row;
vertical-align: inherit;
1998-05-20 20:28:19 +04:00
}
1999-02-12 09:19:07 +03:00
tbody {
1998-07-13 23:49:53 +04:00
display: table-row-group;
vertical-align: middle;
1998-07-13 23:49:53 +04:00
}
1999-02-12 09:19:07 +03:00
thead {
1998-07-13 23:49:53 +04:00
display: table-header-group;
vertical-align: middle;
1998-07-13 23:49:53 +04:00
}
1999-02-12 09:19:07 +03:00
tfoot {
1998-07-13 23:49:53 +04:00
display: table-footer-group;
vertical-align: middle;
1998-07-13 23:49:53 +04:00
}
1999-02-12 09:19:07 +03:00
col {
1998-07-13 23:49:53 +04:00
display: table-column;
}
1999-02-12 09:19:07 +03:00
colgroup {
1998-07-13 23:49:53 +04:00
display: table-column-group;
}
1999-02-12 09:19:07 +03:00
/* spans */
1998-04-25 22:41:41 +04:00
1999-06-15 10:17:17 +04:00
q:before {
1999-04-05 06:56:37 +04:00
content: open-quote;
}
1999-06-15 10:17:17 +04:00
q:after {
1999-04-05 06:56:37 +04:00
content: close-quote;
}
1999-02-12 09:19:07 +03:00
a:link {
1998-07-13 23:49:53 +04:00
display: inline;
color: blue;
text-decoration: underline;
1998-10-27 02:14:45 +03:00
cursor: pointer;
1998-07-13 23:49:53 +04:00
}
1999-02-12 09:19:07 +03:00
a:visited {
1998-07-13 23:49:53 +04:00
display: inline;
color: purple;
text-decoration: underline;
1998-10-27 02:14:45 +03:00
cursor: pointer;
1998-07-13 23:49:53 +04:00
}
1999-02-12 09:19:07 +03:00
a:active {
1998-07-13 23:49:53 +04:00
display: inline;
color: red;
1998-07-13 23:49:53 +04:00
text-decoration: underline;
1998-10-27 02:14:45 +03:00
cursor: pointer;
1998-07-13 23:49:53 +04:00
}
1999-02-12 09:19:07 +03:00
a:out-of-date {
1998-07-13 23:49:53 +04:00
display: inline;
color: lime;
1998-07-13 23:49:53 +04:00
text-decoration: underline;
1998-10-27 02:14:45 +03:00
cursor: pointer;
1998-07-13 23:49:53 +04:00
}
1999-02-12 09:19:07 +03:00
b, strong {
1998-04-14 00:24:54 +04:00
display: inline;
font-weight: bolder;
}
1999-02-12 09:19:07 +03:00
i, cite, em, var {
1998-04-14 00:24:54 +04:00
display: inline;
font-style: italic;
}
1999-02-12 09:19:07 +03:00
tt, code, kbd, samp {
1998-04-14 00:24:54 +04:00
display: inline;
font-family: -moz-fixed;
1998-04-14 00:24:54 +04:00
}
1999-02-12 09:19:07 +03:00
u {
1998-04-14 00:24:54 +04:00
display: inline;
text-decoration: underline;
}
1999-02-12 09:19:07 +03:00
s, strike {
1998-04-14 00:24:54 +04:00
display: inline;
text-decoration: line-through;
}
1999-02-12 09:19:07 +03:00
blink {
1998-04-14 00:24:54 +04:00
display: inline;
text-decoration: blink;
}
1999-02-12 09:19:07 +03:00
big {
1998-04-14 00:24:54 +04:00
display: inline;
font-size: larger;
}
1999-02-12 09:19:07 +03:00
small {
1998-04-14 00:24:54 +04:00
display: inline;
font-size: smaller;
}
1999-02-12 09:19:07 +03:00
abbr, acronym, del, dfn, ins, q, span {
1998-04-14 00:24:54 +04:00
display: inline;
}
1999-02-12 09:19:07 +03:00
ins { text-decoration: underline; }
del { text-decoration: line-through; }
dfn { font-style: italic; }
sub {
1998-04-14 00:24:54 +04:00
display: inline;
vertical-align: sub;
1998-06-29 20:10:41 +04:00
font-size: smaller;
1998-04-14 00:24:54 +04:00
}
1999-02-12 09:19:07 +03:00
sup {
1998-04-14 00:24:54 +04:00
display: inline;
vertical-align: super;
1998-06-29 20:10:41 +04:00
font-size: smaller;
1998-04-14 00:24:54 +04:00
}
1999-02-12 09:19:07 +03:00
ilayer {
position: relative;
display: inline;
}
1999-02-12 09:19:07 +03:00
nobr {
1998-07-13 23:49:53 +04:00
display: inline;
white-space: nowrap;
}
1999-02-12 09:19:07 +03:00
legend {
display: inline;
padding-left: 2px;
padding-right: 2px;
border: 2px solid black;
}
1999-02-12 09:19:07 +03:00
fieldset {
display: block;
border: 2px solid black;
padding: 4px;
margin-left: 2px;
margin-right: 2px;
}
1998-07-13 23:49:53 +04:00
1999-02-12 09:19:07 +03:00
/* lists */
1998-07-13 23:49:53 +04:00
1999-02-19 01:20:19 +03:00
:-moz-list-bullet {
1998-12-12 01:22:29 +03:00
display: inline;
1999-02-19 01:20:19 +03:00
vertical-align: baseline;
1998-12-12 01:22:29 +03:00
margin-right: 8px;
}
1999-02-12 09:19:07 +03:00
ul, menu, dir {
display: block;
1998-07-13 23:49:53 +04:00
list-style-type: disc;
margin: 1em 0 1em 40px;
counter-reset: -html-counter 0;
1998-07-13 23:49:53 +04:00
}
1998-12-12 01:22:29 +03:00
1999-02-12 09:19:07 +03:00
ol {
display: block;
1998-07-13 23:49:53 +04:00
list-style-type: decimal;
margin: 1em 0 1em 40px;
counter-reset: -html-counter 0;
1998-07-13 23:49:53 +04:00
}
1998-09-23 06:33:37 +04:00
1999-02-12 09:19:07 +03:00
li {
1998-12-12 01:22:29 +03:00
display: list-item;
list-style-position: inside;
}
1999-02-12 09:19:07 +03:00
ul li, ol li, menu li, dir li {
1998-12-12 01:22:29 +03:00
list-style-position: outside;
}
1999-02-12 09:19:07 +03:00
/* nested lists have no top/bottom margins */
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
1998-12-12 01:22:29 +03:00
{
margin-top: 0;
margin-bottom: 0;
}
/* 2 deep unordered lists use a circle */
1999-02-12 09:19:07 +03: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-09-23 06:33:37 +04:00
{
1998-07-13 23:49:53 +04:00
list-style-type: circle;
}
1998-09-23 06:33:37 +04:00
/* 3 deep (or more) unordered lists use a square */
1999-02-12 09:19:07 +03: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,
1998-09-23 06:33:37 +04:00
1999-02-12 09:19:07 +03:00
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,
1998-09-23 06:33:37 +04:00
1999-02-12 09:19:07 +03:00
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,
1998-09-23 06:33:37 +04:00
1999-02-12 09:19:07 +03:00
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-09-23 06:33:37 +04:00
{
1998-07-13 23:49:53 +04:00
list-style-type: square;
}
1998-09-23 06:33:37 +04:00
1999-02-12 09:19:07 +03:00
dl {
1998-07-13 23:49:53 +04:00
display: block;
margin: 1em 0;
1998-07-13 23:49:53 +04:00
}
1999-02-12 09:19:07 +03:00
dt {
1998-07-13 23:49:53 +04:00
display: block;
}
1999-02-12 09:19:07 +03:00
dd {
1998-07-13 23:49:53 +04:00
display: block;
margin-left: 40px;
}
dl dl {
margin: 0 0 0 40px;
}
1998-07-13 23:49:53 +04:00
1999-02-12 09:19:07 +03:00
/* leafs */
1998-07-13 23:49:53 +04:00
1999-02-12 09:19:07 +03:00
embed {
display: inline;
}
1999-02-12 09:19:07 +03:00
hr {
1998-07-13 23:49:53 +04:00
display: block;
border: 1px -moz-bg-inset;
1999-03-26 03:42:39 +03:00
margin: 0 auto;
1998-07-13 23:49:53 +04:00
}
1999-02-12 09:19:07 +03:00
br {
1998-07-13 23:49:53 +04:00
display: inline;
color: cyan;
}
1999-02-12 09:19:07 +03:00
img {
1998-07-13 23:49:53 +04:00
display: inline;
}
/* note: not exactly 4.x compatible; 4.x has 3px for *both* margins */
img[align=left] {
margin-right: 4px;
}
img[align=right] {
margin-left: 4px;
}
a:link img, a:visited img, a:active img,
a:out-of-date img, img[usemap], object[usemap] {
display: inline;
border: 2px solid;
cursor: pointer;
}
img[usemap], object[usemap] {
color: blue;
}
img:-moz-text {
/* font-family: sans-serif; */
/* font-size: 8.5pt; */
1998-07-13 23:49:53 +04:00
}
1999-02-12 09:19:07 +03:00
spacer {
1998-07-13 23:49:53 +04:00
display: inline;
}
1999-02-12 09:19:07 +03:00
wbr {
1998-07-13 23:49:53 +04:00
display: inline;
}
1999-02-12 09:19:07 +03:00
iframe {
1998-07-13 23:49:53 +04:00
display: inline;
border: 2px solid black;
1998-07-13 23:49:53 +04:00
}
1999-03-26 03:42:39 +03:00
form {
display: block;
1999-07-23 03:28:16 +04:00
margin: 1em 0;
1999-03-26 03:42:39 +03:00
}
/* button */
input[type=button]:-moz-buttonlabel {
box-sizing: border-box;
content:" ";
font-family: sans-serif;
font-size: small;
background-color:inherit;
}
input[type=button][value]:-moz-buttonlabel {
content:attr(value);
font-family: sans-serif;
font-size: small;
background-color:inherit;
}
/* submit */
input[type=submit]:-moz-buttonlabel {
content:"Submit Query";
font-family: sans-serif;
font-size: small;
}
input[type=submit][value]:-moz-buttonlabel {
content:attr(value);
font-family: sans-serif;
font-size: small;
}
/* reset */
input[type=reset]:-moz-buttonlabel {
content:"Reset";
font-family: sans-serif;
font-size: small;
}
input[type=reset][value]:-moz-buttonlabel {
content:attr(value);
font-family: sans-serif;
font-size: small;
}
1999-02-12 09:19:07 +03:00
input {
1998-07-13 23:49:53 +04:00
vertical-align: bottom;
border: 2px inset rgb(204, 204, 204);
color: black;
1998-07-13 23:49:53 +04:00
}
input[type=hidden] {
border: none;
1999-05-04 00:49:06 +04:00
visibility: hidden;
}
/*------- Focus ------*/
a:focus {
outline: 1px dotted black;
}
a:focus img {
outline: 1px dotted black;
}
select[mulitple]:focus {
border: 1px dotted black;
}
select[size]:focus {
border: 1px dotted black;
}
select[size="1"]:focus {
border: 0px dotted black;
}
select[size="1"]:focus input#-moz-display {
border: 1px dotted black;
}
input[type=radio]:focus {
border: 2px inset rgb(204, 204, 204);
}
input[type=checkbox]:focus {
border: 1px inset rgb(204, 204, 204);
}
input[type=image]:focus {
border: 2px dotted black;
}
/*------- End Focus ------*/
input[type=image] {
box-sizing: border-box;
border: 2px solid blue;
}
input[type=file] {
box-sizing: border-box;
white-space: nowrap;
border:none;
}
/* browse button for file selector */
input[type=file] input[type=button] {
height:inherit;
}
input[type=file] input[type=button]:-moz-buttonlabel {
content:"Browse...";
font-family: sans-serif;
}
1999-02-12 09:19:07 +03:00
input[type=radio] {
box-sizing: border-box;
/* these margins are for NavQuirks, we need a Standard ua.css */
margin-left: 3px;
margin-right: 5px;
margin-top: 3px;
margin-bottom: 3px;
border: 2px outset rgb(204, 204, 204);
background-color:rgb(204, 204, 204);
color:black;
width:12px;
height:12px;
-moz-border-radius:6px;
}
input[type=radio][disabled] {
background-color:rgb(150, 150, 150);
}
input[type=radio]:active {
background-color:white;
border: 2px inset rgb(204, 204, 204);
}
input[type=radio][disabled]:hover {
background-color:rgb(150, 150, 150);
border: 2px outset rgb(204, 204, 204);
}
input[type=radio]:hover {
border : 2px solid black;
}
:-moz-radio {
background-color:black;
width:6px;
height:6px;
left:6px;
top:6px;
-moz-border-radius:3px;
}
1999-02-12 09:19:07 +03:00
input[type=checkbox] {
box-sizing: border-box;
/* these margins are for NavQuirks, we need a Standard ua.css */
margin-left: 3px;
margin-right: 5px;
margin-top: 3px;
margin-bottom: 4px;
border: 1px outset rgb(153, 153, 153);
width:11px;
height:11px;
background-color:rgb(204, 204, 204);
color:black;
/* -moz-border-radius:1px; */
}
input[type=checkbox][disabled] {
background-color:rgb(150, 150, 150);
}
input[type=checkbox]:active {
background-color:gray;
border: 1px inset rgb(204, 204, 204);
}
input[type=checkbox][disabled]:active {
background-color:rgb(150, 150, 150);
border : 1px solid rgb(204, 204, 204);
}
input[type=checkbox]:hover {
border : 1px solid black;
}
input[type=checkbox][disabled]:hover {
border: 1px outset rgb(153, 153, 153);
}
input[type="submit"] {
box-sizing: border-box;
border: 2px outset rgb(156, 154, 156);
background-color: rgb(206, 207, 206);
color:black;
padding: 1px;
}
input[type="submit"]:active {
border-style: inset;
padding-left: 2px;
padding-right: 0px;
padding-top: 2px;
padding-bottom: 0px;
}
input[type="submit"]:active:-moz-outline {
border : 1px solid black;
}
input[type="submit"]:hover:-moz-outline {
border : 1px solid black;
}
input[type="submit"]:hover {
border : 2px solid black;
}
1999-03-13 02:47:52 +03:00
input[type="submit"][disabled] {
border-style: solid;
}
input[type="submit"][disabled]:hover {
border: 2px solid rgb(156, 154, 156);
}
input[type="submit"][disabled]:active {
padding: 1px;
}
input[type="submit"]:-moz-focus-inner {
padding-left : 2px;
padding-right : 2px;
padding-top : 1px;
padding-bottom: 1px;
margin: 0px;
}
input[type="submit"]:focus:-moz-focus-inner {
padding-left : 1px;
padding-right : 1px;
padding-top : 0px;
padding-bottom: 0px;
margin: 0px;
border : 1px dotted black;
}
input[type="reset"] {
box-sizing: border-box;
border: 2px outset rgb(156, 154, 156);
background-color: rgb(206, 207, 206);
color:black;
padding: 1px;
}
input[type="reset"]:active {
border-style: inset;
padding-left: 2px;
padding-right: 0px;
padding-top: 2px;
padding-bottom: 0px;
}
input[type="reset"]:active:-moz-outline {
border : 1px solid black;
}
input[type="reset"]:hover:-moz-outline {
border : 1px solid black;
}
input[type="reset"]:hover {
border : 2px solid black;
}
1999-03-13 02:47:52 +03:00
input[type="reset"][disabled] {
border-style: solid;
}
input[type="reset"][disabled]:hover {
border: 2px solid rgb(156, 154, 156);
}
input[type="reset"][disabled]:active {
padding: 1px;
}
input[type="reset"]:-moz-focus-inner {
padding-left : 2px;
padding-right : 2px;
padding-top : 1px;
padding-bottom: 1px;
margin: 0px;
}
input[type="reset"]:focus:-moz-focus-inner {
padding-left : 1px;
padding-right : 1px;
padding-top : 0px;
padding-bottom: 0px;
margin: 0px;
border : 1px dotted black;
}
input[type="button"] {
box-sizing: border-box;
border: 2px outset rgb(156, 154, 156);
background-color: rgb(206, 207, 206);
color:black;
padding: 1px;
}
input[type="button"]:active {
border-style: inset;
padding-left: 2px;
padding-right: 0px;
padding-top: 2px;
padding-bottom: 0px;
}
input[type="button"]:active:-moz-outline {
border : 1px solid black;
}
input[type="button"]:hover:-moz-outline {
border : 1px solid black;
}
input[type="button"]:hover {
border : 2px solid black;
}
1999-03-13 02:47:52 +03:00
input[type="button"][disabled] {
border-style: solid;
}
input[type="button"][disabled]:hover {
border: 2px solid rgb(156, 154, 156);
}
input[type="button"][disabled]:active {
padding: 1px;
}
input[type="button"]:-moz-focus-inner {
padding-left : 2px;
padding-right : 2px;
padding-top : 1px;
padding-bottom: 1px;
margin: 0px;
}
input[type="button"]:focus:-moz-focus-inner {
padding-left : 1px;
padding-right : 1px;
padding-top : 0px;
padding-bottom: 0px;
margin: 0px;
border : 1px dotted black;
}
button {
display: inline;
vertical-align: bottom;
cursor: default;
border: 2px outset rgb(156, 154, 156);
background-color: rgb(206, 207, 206);
color:black;
padding: 1px;
}
button:active {
border-style: inset;
padding-left: 2px;
padding-right: 0px;
padding-top: 2px;
padding-bottom: 0px;
}
button:hover {
border : 2px solid black;
}
button:active:-moz-outline {
border : 1px solid black;
}
button:hover:-moz-outline {
border : 1px solid black;
}
1999-03-13 02:47:52 +03:00
button[disabled] {
border-style: solid;
}
button[disabled]:hover {
border: 2px solid rgb(156, 154, 156);
}
button[disabled]:active {
padding: 1px;
}
button:-moz-focus-inner {
padding-left : 2px;
padding-right : 2px;
padding-top : 1px;
padding-bottom: 1px;
margin: 0px;
}
button:focus:-moz-focus-inner {
padding-left : 1px;
padding-right : 1px;
padding-top : 0px;
padding-bottom: 0px;
margin: 0px;
border : 1px dotted black;
}
1999-02-12 09:19:07 +03:00
input[type=text] {
font-family:monospace;
font-size: 10;
border: 2px inset rgb(204, 204, 204);
background-color: white;
color: black;
}
1999-06-13 02:33:45 +04:00
input[type=text][disabled] {
color: gray;
}
1999-02-12 09:19:07 +03:00
input[type=password] {
border: 2px inset rgb(204, 204, 204);
background-color: white;
color:black;
}
1999-02-12 09:19:07 +03:00
label {
display: inline;
vertical-align: bottom;
padding-left: 3px;
padding-right: 3px;
}
/* Combo box style */
1999-08-06 18:43:46 +04:00
select:-moz-dummy-option {
visibility: hidden;
content: "X";
display: block;
}
select, select[size="1"] {
1998-07-13 23:49:53 +04:00
vertical-align: bottom;
border: none;
background-color:rgb(204, 204, 204);
color:black;
white-space:nowrap;
text-align: left;
1998-07-13 23:49:53 +04:00
}
/* Listbox style */
select[size] {
background-color: white;
border: 1px inset rgb(153, 153, 153);
}
select[size][disabled] {
background-color:rgb(204, 204, 204);
border: 1px inset rgb(153, 153, 153);
}
select[multiple] {
background-color: white;
border: 1px inset rgb(153, 153, 153);
}
select[multiple][disabled] {
background-color:rgb(204, 204, 204);
border: 1px inset rgb(153, 153, 153);
}
select[disabled] {
background-color: rgb(204, 204, 204);
border: 1px inset rgb(153, 153, 153);
}
select[multiple][size="1"] {
background-color: white;
border: 1px inset rgb(153, 153, 153);
}
select[size="1"] {
vertical-align: bottom;
border: none;
background-color:rgb(204, 204, 204);
color:black;
white-space:nowrap;
text-align: left;
}
/* combobox button */
select input[type=button] {
border: outset 1px rgb(204, 204, 204);
background-image:url("arrow.gif");
background-repeat:no-repeat;
background-position:center;
width:12px;
height:12px;
-moz-border-radius:0px;
}
select[disabled] input[type=button] {
border: solid 1px rgb(204, 204, 204);
}
/* combobox display area */
select input#-moz-display {
border: inset 1px rgb(204, 204, 204);
background-color: white;
background-image: none;
-moz-border-radius:0px;
padding-left: 0px;
padding-right: 0px;
padding-top: 0px;
padding-bottom: 0px;
}
select[disabled] input#-moz-display {
border: inset 1px rgb(204, 204, 204);
color: gray;
background-color: white;
background-image: none;
-moz-border-radius:0px;
padding-left: 0px;
padding-right: 0px;
padding-top: 0px;
padding-bottom: 0px;
}
/* combbox display area - active */
select input#-moz-display:active {
border: inset 1px rgb(204, 204, 204);
background-color:white;
background-image: none;
-moz-border-radius:0px;
padding-left: 0px;
padding-right: 0px;
padding-top: 0px;
padding-bottom: 0px;
background-color:white;
}
1999-02-12 09:19:07 +03:00
option {
display:block;
padding-left:3px;
padding-right:3px;
font-family: sans-serif;
font-size: small;
}
select[disabled] option {
color:rgb(153, 153, 153);
background-color:white;
}
/* Combobox item style */
select option[-moz-option-selected] {
color:white;
background-color:rgb(51,51,102);
}
/* List box item selected style */
select[size] option[-moz-option-selected] {
color:white;
background-color:rgb(51,51,102);
1998-07-13 23:49:53 +04:00
}
select[size][disabled] option[-moz-option-selected] {
color:rgb(153,153,153);
background-color:rgb(204,204,204);
}
select[size="1"] option[-moz-option-selected] {
color:white;
background-color:rgb(51,51,102);
}
select[size="1"][disabled] option[-moz-option-selected] {
color:yellow;
background-color:green;
}
select[multiple] option[-moz-option-selected] {
color:white;
background-color:rgb(51,51,102);
}
select[multiple][disabled] option[-moz-option-selected] {
color:rgb(153,153,153);
background-color:rgb(204,204,204);
}
select[multiple][size="1"] option[-moz-option-selected] {
color:white;
background-color:rgb(51,51,102);
}
1999-02-12 09:19:07 +03:00
option.selectedfocus {
border: 1px dotted white;
background-color: rgb(0,0,128);
color: rgb(255,255,255);
}
optgroup {
display:block;
font-style:italic;
font-weight:bold;
}
optgroup option {
display:block;
padding-left:20px;
font-style:normal;
font-weight:normal;
}
optgroup:before {
display:block;
content:attr(label);
}
1999-02-12 09:19:07 +03:00
textarea {
font-family:monospace;
font-size: 10;
1998-07-13 23:49:53 +04:00
vertical-align: bottom;
1999-02-12 09:19:07 +03:00
border: 2px inset #c0c0c0;
background-color:white;
color:black;
1998-07-13 23:49:53 +04:00
}
1999-08-07 09:37:06 +04:00
textarea[disabled] {
color: gray;
}
1999-02-12 09:19:07 +03:00
/* misc */
1999-02-12 09:19:07 +03:00
applet {
display: inline;
}
1999-02-12 09:19:07 +03:00
area {
display: none;
}
1999-06-22 23:20:42 +04:00
map {
display: none;
1999-06-22 23:20:42 +04:00
}
1999-02-12 09:19:07 +03:00
base {
display: none;
}
1999-02-12 09:19:07 +03:00
basefont {
display: none;
}
1999-02-12 09:19:07 +03:00
head {
display: none;
}
1999-02-12 09:19:07 +03:00
meta {
display: none;
}
1999-02-12 09:19:07 +03:00
object {
display: inline;
}
1999-02-12 09:19:07 +03:00
script {
1998-09-04 02:23:22 +04:00
display: none;
}
1999-02-12 09:19:07 +03:00
style {
1998-09-04 02:23:22 +04:00
display: none;
}
1999-02-12 09:19:07 +03:00
title {
1998-09-04 02:23:22 +04:00
display: none;
}
1999-02-12 09:19:07 +03:00
noembed {
display: none;
}
1999-02-12 09:19:07 +03:00
noscript {
display: none;
}
1999-02-12 09:19:07 +03:00
noframes {
display: none;
}
1999-02-12 09:19:07 +03:00
param {
1999-02-04 06:47:01 +03:00
display: none;
}
1999-06-15 10:17:17 +04:00
parsererror { /* XXX should not be in HTML namespace */
display: block;
font-family: sans-serif;
font-weight: bold;
white-space: pre;
margin: 1em;
padding: 1em;
border-width: thin;
border-style: inset;
border-color: red;
font-size: 14pt;
background-color: lightyellow;
}
1999-06-15 10:17:17 +04:00
sourcetext { /* XXX should not be in HTML namespace */
display: block;
white-space: pre;
font-family: Courier;
margin-top: 2em;
margin-bottom: 1em;
color: red;
font-weight: bold;
font-size: 12pt;
}
1999-02-12 09:19:07 +03:00
/* pseudo-element style */
1999-02-12 09:19:07 +03:00
:scrollbar-look {
background-color: #c0c0c0;
/* border-color: inherit; */
/* border: 2px outset #c0c0c0; */
}
1999-02-12 09:19:07 +03:00
:scrollbar-arrow-look {
background-color: #c0c0c0;
border-color: inherit;
border: 2px outset #c0c0c0;
}
1999-02-12 09:19:07 +03:00
:scrollbar-thumb-look {
background-color: #c0c0c0;
border-color: inherit;
border: 2px outset #c0c0c0;
}
1999-02-12 09:19:07 +03:00
:scrolled-content {
background: inherit;
padding: inherit;
display: inherit;
}
1999-02-12 09:19:07 +03:00
:wrapped-frame {
display: inherit;
}
1999-02-12 09:19:07 +03:00
:placeholder-frame {
display: inline;
width: 0;
height: 0;
}
1999-08-08 05:23:22 +04:00
:viewport, :viewport-scroll {
1999-02-11 09:48:51 +03:00
display: block;
background-color: inherit;
}
1999-02-19 03:53:09 +03:00
/* XXX Temporary until @page is supported... */
1999-08-08 05:23:22 +04:00
:-moz-page, :-moz-page-sequence {
1999-02-19 03:53:09 +03:00
background: none;
display: block;
1999-02-19 03:53:09 +03:00
}
1999-08-08 05:23:22 +04:00
:canvas {
display: block;
background-color: inherit;
}
1998-11-18 05:10:45 +03:00
1999-02-12 09:19:07 +03:00
:table {
1998-11-21 00:06:59 +03:00
display: table;
border-style: inherit;
border-color: inherit;
margin-top: inherit;
margin-bottom: inherit;
background: inherit;
}
1998-12-03 21:03:28 +03:00
1999-02-12 09:19:07 +03:00
:table-cell {
display: table-cell;
}
1999-02-12 09:19:07 +03:00
:table-column {
1998-12-03 21:03:28 +03:00
display: table-column;
}
1999-02-12 09:19:07 +03:00
:table-column-group {
1998-12-03 21:03:28 +03:00
display: table-column-group;
}
1999-02-12 09:19:07 +03:00
:table-outer {
display: table;
}
1999-02-12 09:19:07 +03:00
:table-row {
1998-12-03 21:03:28 +03:00
display: table-row;
}
1999-02-12 09:19:07 +03:00
:table-row-group {
1998-12-03 21:03:28 +03:00
display: table-row-group;
1998-12-12 01:22:29 +03:00
}
1999-02-12 09:19:07 +03:00
:cell-content {
display: block;
}
1999-01-03 03:15:56 +03:00
1999-02-12 09:19:07 +03:00
:fieldset-content {
1999-01-03 03:15:56 +03:00
display: block;
}
1999-02-12 09:19:07 +03:00
:button-content {
1999-01-03 03:15:56 +03:00
display: block;
}
1999-02-12 09:19:07 +03:00
:label-content {
1999-01-03 03:15:56 +03:00
display: block;
}
1999-02-12 09:21:34 +03:00
:-moz-comment {
display: none;
}
:-moz-pi {
display: none;
}
/* combobox dropdown list */
:-moz-dropdown-list {
background-color:inherit;
border: 1px inset rgb(153, 153, 153);
}
/* combobox dropdown list hidden */
select:-moz-dropdown-list {
visibility:hidden;
}
/* combobox dropdown list visible */
select[-moz-dropdown-active]:-moz-dropdown-list {
visibility: visible;
}
1999-02-01 20:34:16 +03:00
1999-02-12 09:21:34 +03:00
:-moz-anonymous-block {
1999-02-01 20:34:16 +03:00
display: block;
1999-03-26 03:42:39 +03:00
/* border: 2px dashed green; */
1999-02-01 20:34:16 +03:00
}
:-moz-line-frame {
}
1999-04-28 02:14:06 +04:00
:-moz-letter-frame {
}
1999-08-20 02:16:23 +04:00
xul|titledbutton {
display: block;
border:2px solid blue;
}
xul|thumb {
display: block;
background-color: rgb(206, 207, 206);
border: 2px outset rgb(156, 154, 156);
list-style-image: url(chrome://global/skin/scroll-thumb-horiz.gif)
}
xul|thumb:hover {
list-style-image: url(chrome://global/skin/scroll-thumb-horiz-hover.gif);
}
xul|thumb[disabled="true"] {
list-style-image: url(chrome://global/skin/scroll-thumb-horiz-disabled.gif);
}
xul|slider[align="vertical"] xul|thumb {
list-style-image: url(chrome://global/skin/scroll-thumb-vert.gif)
}
xul|slider[align="vertical"] xul|thumb:hover {
list-style-image: url(chrome://global/skin/scroll-thumb-vert-hover.gif);
}
xul|slider[align="vertical"] xul|thumb[disabled="true"] {
list-style-image: url(chrome://global/skin/scroll-thumb-vert-disabled.gif);
}
xul|thumb:active {
background-color: rgb(220, 210, 210);
}
xul|slider[align="vertical"] xul|thumb:active {
background-color: rgb(220, 210, 210);
}
xul|slider {
display: block;
border: 1px solid black;
background-color: rgb(240,240,240);
// background-image: url("resource:/res/samples/bg.jpg");
}
xul|scrollbarbutton {
display: inline;
vertical-align: bottom;
cursor: default;
border: 2px outset rgb(156, 154, 156);
background-color: rgb(206, 207, 206);
color:black;
padding: 1px;
}
xul|scrollbarbutton:active {
border-style: inset;
padding-left: 2px;
padding-right: 0px;
padding-top: 2px;
padding-bottom: 0px;
}
xul|scrollbarbutton[type="decrement"] {
list-style-image: url(chrome://global/skin/scroll-left.gif)
}
xul|scrollbarbutton[type="decrement"]:hover {
list-style-image: url(chrome://global/skin/scroll-left-hover.gif)
}
xul|scrollbarbutton[type="decrement"][disabled="true"] {
list-style-image: url(chrome://global/skin/scroll-left-disabled.gif)
}
xul|scrollbarbutton[type="increment"] {
list-style-image: url(chrome://global/skin/scroll-right.gif)
}
xul|scrollbarbutton[type="increment"]:hover {
list-style-image: url(chrome://global/skin/scroll-right-hover.gif)
}
xul|scrollbarbutton[type="increment"][disabled="true"] {
list-style-image: url(chrome://global/skin/scroll-right-disabled.gif)
}
xul|scrollbar[align="vertical"] xul|scrollbarbutton[type="decrement"] {
list-style-image: url(chrome://global/skin/scrollUp.gif)
}
xul|scrollbar[align="vertical"] xul|scrollbarbutton[type="decrement"]:hover {
list-style-image: url(chrome://global/skin/scrollUp_mo.gif)
}
xul|scrollbar[align="vertical"] xul|scrollbarbutton[type="decrement"][disabled="true"] {
list-style-image: url(chrome://global/skin/scrollUp_dis.gif)
}
xul|scrollbar[align="vertical"] xul|scrollbarbutton[type="increment"] {
list-style-image: url(chrome://global/skin/scrollDown.gif)
}
xul|scrollbar[align="vertical"] xul|scrollbarbutton[type="increment"]:hover {
list-style-image: url(chrome://global/skin/scrollDown_mo.gif)
}
xul|scrollbar[align="vertical"] xul|scrollbarbutton[type="increment"][disabled="true"] {
list-style-image: url(chrome://global/skin/scrollDown_dis.gif)
}
xul|scrollbar[value="hidden"] {
visibility: hidden;
}