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

158 lines
3.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-2001 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Joe Hewitt (hewitt@netscape.com)
*/
/* ===== outliner.css ===================================================
== Styles used by the XUL outline element.
======================================================================= */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* ::::: outliner ::::: */
outliner {
background-color: #FFFFFF;
color: #000000;
}
outlinerbody {
-moz-user-select: none;
}
/* ::::: outliner rows ::::: */
outlinerbody:-moz-outliner-row {
border: 1px solid transparent;
height: 17px;
}
outlinerbody:-moz-outliner-row(selected) {
background-color: #C2D0D0;
}
outlinerbody:-moz-outliner-row(selected, focus) {
background-color: #486380;
}
outlinerbody:-moz-outliner-row(current, focus) {
border-color: #243140;
}
/* ::::: outliner cells ::::: */
outlinerbody:-moz-outliner-cell {
border-top: 1px solid transparent;
border-bottom: 1px solid transparent;
padding: 0px 0px 1px 2px;
}
outlinerbody:-moz-outliner-cell-text {
color: inherit;
}
outlinerbody:-moz-outliner-cell-text(selected) {
color: #000000;
}
outlinerbody:-moz-outliner-cell-text(selected, focus) {
color: #FFFFFF;
}
/* ::::: outliner columns ::::: */
outlinercol {
border-top: 1px solid #EDEDED;
border-right: 1px solid #6E7070;
border-bottom: 1px solid #6E7070;
border-left: 1px solid #EDEDED;
background-color: #C2D0D0;
color: #000000;
}
outlinerbody:-moz-outliner-line {
border: 1px dotted #808080;
}
outlinerbody:-moz-outliner-line(selected) {
border: 1px dotted #000000;
}
/* ..... internal box ..... */
.outlinercol-box,
.outlinercol-image-box {
border-top: 1px solid #C2D0D0;
border-right: 1px solid #A4ACAC;
border-bottom: 1px solid #A4ACAC;
border-left: 1px solid #C2D0D0;
vertical-align: middle;
}
.outlinercol-box {
padding: 0px 4px;
}
.outlinercol-image-box {
padding: 0px 1px;
}
outlinercol:hover:active {
border: 1px solid #A4ACAC;
}
outlinercol:hover:active > .outlinercol-box,
outlinercol:hover:active > .outlinercol-image-box {
border-top: 1px solid transparent;
border-right: none;
border-bottom: none;
border-left: 1px solid transparent;
}
outlinercol:hover:active > .outlinercol-box {
padding: 1px 4px 0px 5px;
}
outlinercol:hover:active > .outlinercol-image-box {
padding: 1px 1px 0px 2px;
}
/* ::::: sort direction indicator ::::: */
.outlinercol-sortdirection {
list-style-image: none;
}
.sortDirectionIndicator[sortDirection="ascending"] > .outlinercol-box > .outlinercol-sortdirection {
list-style-image: url("chrome://global/skin/tree/sort-asc.gif");
}
.sortDirectionIndicator[sortDirection="descending"] > .outlinercol-box > .outlinercol-sortdirection {
list-style-image: url("chrome://global/skin/tree/sort-dsc.gif");
}
/* ::::: column picker ::::: */
.outliner-colpicker-icon {
list-style-image : url("chrome://global/skin/tree/columnpicker.gif");
}