зеркало из https://github.com/mozilla/gecko-dev.git
253 строки
5.7 KiB
CSS
253 строки
5.7 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-1999 Netscape Communications Corporation. All
|
|
* Rights Reserved.
|
|
*
|
|
* Contributor(s):
|
|
* Pete Collins, Ben Goodger
|
|
*/
|
|
|
|
/*
|
|
THIS FILE IS LOCKED DOWN. YOU ARE NOT ALLOWED TO MODIFY IT WITHOUT FIRST HAVING YOUR
|
|
CHANGES REVIEWED BY cmanske@netscape.com.
|
|
*/
|
|
|
|
|
|
/* HTML ELEMENTS */
|
|
|
|
table { cell-spacing: 0px; }
|
|
td, table { border: 0px;}
|
|
|
|
/* Use to center vertically in a table cell */
|
|
tr {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
select.SpellCheckList, select.SpellCheckLanguage, input.SpellCheckWord {
|
|
width: 20em;
|
|
}
|
|
|
|
select.dialog {
|
|
font-size: smaller;
|
|
}
|
|
|
|
div.spacer [align~=horizontal] {
|
|
border: 1px inset white;
|
|
height: 2px;
|
|
}
|
|
|
|
div#message {
|
|
width: 20em;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
div.color-well {
|
|
width:30px;
|
|
border: 1px inset white;
|
|
/* Background color is set at runtime */
|
|
background-color:white;
|
|
}
|
|
|
|
div#TextSampleWindow {
|
|
border: 1px inset white;
|
|
width: 100px;
|
|
height: 100px;
|
|
background-color:white;
|
|
}
|
|
|
|
div.middle-align {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
/* XUL ELEMENTS */
|
|
|
|
/* values = margin, padding. Padding doesn't work yet */
|
|
|
|
/* Should be in XUL.css? */
|
|
tab {
|
|
padding: 0px 3px;
|
|
}
|
|
|
|
select#alignTypeSelect,label#alignLabel {
|
|
margin-left: 5px;
|
|
}
|
|
|
|
/* For right-aligned buttons - TODO: RESOLVE PROBLEM WITH FIELDSET MARGINS */
|
|
titledbutton#AdvancedEditButton,titledbutton#AdvancedEditExtraButton,titledbutton#SaveDefault {
|
|
margin-right: 6px;
|
|
min-width: 8em;
|
|
}
|
|
|
|
titledbutton#editImageMap,titledbutton#removeImageMap {
|
|
margin-left: 6px;
|
|
margin-right: 6px;
|
|
min-width: 8em;
|
|
}
|
|
|
|
titledbutton#MoreFewerButton[more="0"] {
|
|
margin-left: 6px;
|
|
list-style-image: url(chrome://global/skin/scroll-down.gif);
|
|
/* bug 9459 - changing button text doesn't resize width.
|
|
This covers that problem, but we want this size anyway */
|
|
width: 10em;
|
|
}
|
|
titledbutton#MoreFewerButton[more="1"] {
|
|
margin-left: 6px;
|
|
list-style-image: url(chrome://global/skin/scroll-up.gif);
|
|
width: 10em;
|
|
}
|
|
|
|
titledbutton.color-well {
|
|
list-style-image:url("chrome://editor/skin/images/color.gif");
|
|
border: 1px solid #CCCCCC;
|
|
padding: 0px;
|
|
margin: 0px;
|
|
background-color: #AA0000;
|
|
}
|
|
|
|
titledbutton.color-well:hover {
|
|
border: 1px solid white;
|
|
}
|
|
|
|
/* THIS SHOULD BE IN GLOBAL.CSS */
|
|
label.dialog[disabled],legend.dialog[disabled] {
|
|
color: gray;
|
|
}
|
|
|
|
titledbutton.SizeToParent {
|
|
width: 100%;
|
|
}
|
|
|
|
spring.spacer {
|
|
width: 5px;
|
|
height: 5px;
|
|
}
|
|
|
|
spring.bigspacer {
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
|
|
box.tabpanel {
|
|
border: 1px outset #CCCCDD;
|
|
padding: 10px;
|
|
}
|
|
|
|
img.AlignIcon {
|
|
margin-right: 5px;
|
|
/* To make all align the same */
|
|
/*vertical-align: middle;*/
|
|
}
|
|
|
|
titledbutton#img-align-top {
|
|
list-style-image:url("chrome://editor/skin/images/img-align-top.gif");
|
|
}
|
|
titledbutton#img-align-middle {
|
|
list-style-image:url("chrome://editor/skin/images/img-align-middle.gif");
|
|
}
|
|
titledbutton#img-align-bottom {
|
|
list-style-image:url("chrome://editor/skin/images/img-align-bottom.gif");
|
|
}
|
|
titledbutton#img-align-left {
|
|
list-style-image:url("chrome://editor/skin/images/img-align-left.gif");
|
|
}
|
|
titledbutton#img-align-right {
|
|
list-style-image:url("chrome://editor/skin/images/img-align-right.gif");
|
|
}
|
|
|
|
/* Rest are from Ben Goodger for Advanced Edit dialog
|
|
These need reviewing and eliminate all but essential attributes */
|
|
/* Have made some mods and eliminated some unnecessary portions.
|
|
hope to merge most of the treecell formatting into global as some of
|
|
this "property list" style treecell formatting is used by cookie/signon
|
|
viewers. */
|
|
|
|
|
|
div.tagname {
|
|
font-weight: bold;
|
|
}
|
|
|
|
div#tagLabel {
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* styles for an attribute tree-table */
|
|
tree.AttributesTree {
|
|
min-width : 200px;
|
|
min-height: 200px;
|
|
border: 1px inset #CCCCCC;
|
|
}
|
|
|
|
tree.AttributesTree > treehead > treerow > treecell,
|
|
tree.AttributesTree > treechildren > treerow > treecell treecell {
|
|
color : #000000;
|
|
padding-left : 10px;
|
|
padding-top : 2px;
|
|
padding-bottom: 2px;
|
|
padding-right : 2px;
|
|
}
|
|
|
|
tree.AttributesTree > treechildren > treeitem > treerow > treecell {
|
|
border-right : 1px solid #CCCCCC;
|
|
border-bottom : 1px solid #CCCCCC;
|
|
color : #000000;
|
|
background-color: #FFFFFF;
|
|
padding-left : 10px;
|
|
padding-top : 2px;
|
|
padding-bottom : 2px;
|
|
padding-right : 2px;
|
|
}
|
|
|
|
tree.AttributesTree > treechildren > treeitem > treerow > treecell.value {
|
|
border-bottom : 1px solid #CCCCCC;
|
|
color : #000000;
|
|
background-color: #FFFFFF;
|
|
padding-left : 0px;
|
|
padding-top : 0px;
|
|
padding-bottom : 0px;
|
|
padding-right : 0px;
|
|
margin-left : 0px;
|
|
}
|
|
|
|
|
|
tree.AttributesTree > treechildren > treeitem > treerow [selected ~= false] {
|
|
color : #000000;
|
|
background-color: #FFFFFF;
|
|
}
|
|
|
|
tree.AttributesTree > treechildren > treeitem > treerow [selected ~= true] {
|
|
color : #000000;
|
|
background-color: #E5E5E5;
|
|
}
|
|
|
|
input.AttributesCell {
|
|
border: none;
|
|
width: 100%;
|
|
background-color: #FFFFFF;
|
|
font-weight: normal;
|
|
border: none;
|
|
outline: none;
|
|
margin: 0px;
|
|
width: 100%;
|
|
}
|
|
|
|
treecell > input {
|
|
margin: 0px;
|
|
background-color: #E5E5E5 ! important;
|
|
}
|
|
|