зеркало из https://github.com/mozilla/pjs.git
238 строки
5.6 KiB
CSS
238 строки
5.6 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)
|
|
*/
|
|
|
|
/* ===== tree.css =======================================================
|
|
== Styles used by XUL tree-related elements.
|
|
======================================================================= */
|
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
|
|
/* ::::: tree ::::: */
|
|
|
|
tree {
|
|
border: none;
|
|
border-spacing: 0px;
|
|
background-color: #FFFFFF;
|
|
}
|
|
|
|
tree.inset {
|
|
margin: 2px 4px;
|
|
border-top: 1px solid #BEC3D3 !important;
|
|
border-right: 1px solid #F8FAFE !important;
|
|
border-bottom: 1px solid #F8FAFE !important;
|
|
border-left: 1px solid #BEC3D3 !important;
|
|
}
|
|
|
|
tree.inset > .tree-container-treerows {
|
|
border: 1px solid #5D616E;
|
|
}
|
|
|
|
/* ::::: treeitem ::::: */
|
|
|
|
treeitem {
|
|
list-style-image: none;
|
|
}
|
|
|
|
/* ::::: treerow ::::: */
|
|
|
|
treerow {
|
|
border-right: 1px solid transparent;
|
|
border-left: 1px solid transparent;
|
|
}
|
|
|
|
treeitem[selected="true"] > treerow {
|
|
background-color: #C7D0D9;
|
|
color: #000000;
|
|
}
|
|
|
|
tree:focus > treechildren treeitem[selected="true"] > treerow,
|
|
treeitem[dd-dropon="true"] > treerow {
|
|
background-color: #424F63;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
treehead > treeitem > treerow,
|
|
treehead > treerow {
|
|
border: none;
|
|
}
|
|
|
|
/* :::::: treecell ::::: */
|
|
|
|
treecell {
|
|
border-top: 1px solid transparent;
|
|
border-bottom: 1px solid transparent;
|
|
padding: 0px 0px 1px 2px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
tree:focus > treechildren treeitem[selected="true"][current="true"] > treerow > treecell {
|
|
border-top-color: #000000;
|
|
border-bottom-color: #000000;
|
|
}
|
|
|
|
/* ::::: iconic treecell ::::: */
|
|
|
|
.tree-cell-icon,
|
|
.tree-cell-primary-icon,
|
|
.tree-cell-primary-icon-inline-edit-folder {
|
|
padding-right: 2px;
|
|
list-style-image: inherit;
|
|
}
|
|
|
|
.treecell-indent > .tree-cell-primary-icon {
|
|
padding-left: 14px;
|
|
}
|
|
|
|
treeitem[container="true"] > treerow > .treecell-indent > .tree-cell-primary-icon {
|
|
padding-left: 0px;
|
|
}
|
|
|
|
/* :::::: header treecell ::::: */
|
|
|
|
.treecell-header,
|
|
.treecell-inset-header,
|
|
.treecell-header-image {
|
|
border-left: 1px solid #EEF0F3;
|
|
border-top: 1px solid #EEF0F3;
|
|
border-right: 1px solid #63676B;
|
|
border-bottom: 1px solid #63676B;
|
|
padding: 0px;
|
|
background-color: #C7D0D9;
|
|
color: #000000;
|
|
}
|
|
|
|
.treecell-header-box,
|
|
.treecell-header-image-box {
|
|
border-left: 1px solid #C7D0D9;
|
|
border-top: 1px solid #C7D0D9;
|
|
border-right: 1px solid #A5ABB0;
|
|
border-bottom: 1px solid #A5ABB0;
|
|
}
|
|
|
|
.treecell-header-box {
|
|
padding: 0px 4px 0px 4px;
|
|
}
|
|
|
|
.treecell-header-image-box {
|
|
padding: 0px 1px 0px 1px;
|
|
}
|
|
|
|
.treecell-header:hover:active,
|
|
.treecell-header-image:hover:active,
|
|
.treecell-inset-header:hover:active {
|
|
border: 1px solid #A5ABB0 !important;
|
|
}
|
|
|
|
.treecell-header:hover:active > .treecell-header-box,
|
|
.treecell-inset-header:hover:active > .treecell-header-box,
|
|
.treecell-header-image:hover:active > .treecell-header-image-box {
|
|
border-top: 1px solid transparent;
|
|
border-right: none;
|
|
border-bottom: none;
|
|
border-left: 1px solid transparent;
|
|
}
|
|
|
|
.treecell-header:hover:active > .treecell-header-box,
|
|
.treecell-inset-header:hover:active > .treecell-header-box {
|
|
padding: 1px 4px 0px 5px;
|
|
}
|
|
|
|
.treecell-header:hover:active > .treecell-header-box,
|
|
.treecell-inset-header:hover:active > .treecell-header-box {
|
|
padding: 1px 4px 0px 5px;
|
|
}
|
|
|
|
.treecell-header-image:hover:active > .treecell-header-image-box {
|
|
padding: 1px 1px 0px 2px;
|
|
}
|
|
|
|
.treecell-image {
|
|
padding: 0px;
|
|
}
|
|
|
|
/* ::::: property list treecell ::::: */
|
|
|
|
treecell.propertylist {
|
|
border-right: 1px solid #CCCCCC;
|
|
border-bottom: 1px solid #CCCCCC;
|
|
padding-left: 5px;
|
|
}
|
|
|
|
/* ::::: treecell-editable ::::: */
|
|
|
|
treerow[mode="inline-edit"] {
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
treerow[mode="inline-edit"] > .treecell-editable {
|
|
border: none;
|
|
}
|
|
|
|
.inline-edit-cell-box {
|
|
margin-left: 2px;
|
|
}
|
|
|
|
.inline-edit-cell-box[mode="edit"] {
|
|
margin-left: 0px;
|
|
}
|
|
|
|
/* ::::: twisty ::::: */
|
|
|
|
.tree-cell-twisty {
|
|
-moz-user-focus: ignore;
|
|
padding-right: 2px;
|
|
list-style-image: url("chrome://global/skin/tree/twisty-clsd.gif");
|
|
}
|
|
|
|
treeitem[container="true"][open="true"] > treerow > treecell > .tree-cell-twisty {
|
|
list-style-image: url("chrome://global/skin/tree/twisty-open.gif");
|
|
}
|
|
|
|
.tree-cell-twisty[disabled="true"] {
|
|
list-style-image: none;
|
|
}
|
|
|
|
treeitem[empty="true"] > treerow > treecell > .tree-cell-twisty {
|
|
visibility: hidden;
|
|
}
|
|
|
|
/* ::::: sort direction indicator ::::: */
|
|
|
|
.tree-header-sortdirection {
|
|
list-style-image: none;
|
|
}
|
|
|
|
.sortDirectionIndicator[sortDirection="ascending"] > .treecell-header-box > .tree-header-sortdirection {
|
|
list-style-image: url("chrome://global/skin/tree/sort-asc.gif");
|
|
}
|
|
|
|
.sortDirectionIndicator[sortDirection="descending"] > .treecell-header-box > .tree-header-sortdirection {
|
|
list-style-image: url("chrome://global/skin/tree/sort-dsc.gif");
|
|
}
|
|
|
|
/* ::::: column picker ::::: */
|
|
|
|
.treecell-popup-icon {
|
|
list-style-image: url("chrome://global/skin/tree/columnpicker.gif");
|
|
}
|