gecko-dev/themes/classic/global/win/tree.css

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

/******** Tree widget **********/
/** basic tree ****************************************************
* basic tree widget for use in main windows where no decoration
* is required.
**/
2000-05-24 17:45:43 +04:00
tree
{
background-color : window;
border-spacing : 0px;
font : list;
border-left : 1px solid threedshadow;
border-top : 1px solid threedshadow;
border-right : 1px solid threedhighlight;
border-bottom : 1px soild threedhighlight;
}
2000-06-22 10:49:43 +04:00
.tree-container-treerows
{
border-left : 1px solid threeddarkshadow;
border-top : 1px solid threeddarkshadow;
border-right : 1px solid threedface;
border-bottom : 1px solid threedface;
}
2000-05-24 17:45:43 +04:00
tree.inset
{
margin : 1px 5px 2px 5px;
}
treeitem[selected="true"] > treerow {
color: highlighttext;
background-color: highlight;
}
2000-05-24 17:45:43 +04:00
treecell
{
white-space : nowrap;
vertical-align : middle;
padding : 1px 0px 1px 2px;
}
2000-05-24 17:45:43 +04:00
.treecell-header,
.treecell-inset-header
{
behavior : url("chrome://global/skin/treeBindings.xml#treecell-header");
2000-06-22 10:49:43 +04:00
border-left : 1px solid threedhighlight !important;
border-top : 1px solid threedhighlight !important;
2000-05-24 17:45:43 +04:00
border-right : 1px solid threeddarkshadow !important;
border-bottom : 1px solid threeddarkshadow !important;
background-color : threedface;
padding : 0px;
}
2000-05-24 17:45:43 +04:00
.treecell-header-box
{
2000-06-22 10:49:43 +04:00
border-left : 1px solid threedface;
border-top : 1px solid threedface;
2000-05-24 17:45:43 +04:00
border-right : 1px solid threedshadow;
border-bottom : 1px solid threedshadow;
padding : 2px 5px 2px 4px;
}
.sortable.treecell-header:hover:active,
.sortable.treecell-inset-header:hover:active
{
border : 1px solid threedshadow;
}
2000-05-24 17:45:43 +04:00
.sortable.treecell-header:hover:active > .treecell-header-box,
.sortable.treecell-inset-header:hover:active > .treecell-header-box
{
border : 1px solid threedface;
padding : 3px 4px 1px 5px;
}
/** class="propertylist" ******************************************
* class for cells in grid-formatted property lists.
**/
2000-05-24 17:45:43 +04:00
treecell.propertylist
{
padding-left : 5px;
border-right : 1px solid threedface;
border-bottom : 1px solid threedface;
}
.tree-cell-primary-icon {
list-style-image: inherit;
padding-right: 2px;
}
.tree-cell-icon {
list-style-image: inherit;
padding-right: 2px;
}
.tree-cell-twisty {
list-style-image: url("chrome://global/skin/twisty-closed.gif");
user-focus:ignore;
padding-right: 2px;
}
2000-06-14 12:47:12 +04:00
.treecell-indent > .tree-cell-primary-icon {
padding-left: 14px;
}
treeitem[container="true"] > treerow > .treecell-indent > .tree-cell-primary-icon {
padding-left: 0px;
}
treeitem[selected="true"] > treerow > treecell > .tree-cell-twisty {
list-style-image: url("chrome://global/skin/twisty-closed-selected.gif");
}
.tree-cell-twisty:hover {
text-decoration: none;
}
.tree-cell-twisty:active {
text-decoration: none;
}
.tree-cell-twisty[disabled="true"] {
list-style-image: none;
}
treeitem[container="true"][open="true"] > treerow > treecell > .tree-cell-twisty {
list-style-image: url("chrome://global/skin/twisty-open.gif");
}
treeitem[selected="true"][container="true"][open="true"] > treerow > treecell > .tree-cell-twisty {
list-style-image: url("chrome://global/skin/twisty-open-selected.gif");
}
/* tree header with sort direction indicators */
.sortDirectionIndicator[sortDirection="ascending"] > .tree-header-sortdirection {
list-style-image: url("chrome://global/skin/sortAscending.gif");
margin-right: 3px;
}
.sortDirectionIndicator[sortDirection="descending"] > .tree-header-sortdirection {
list-style-image: url("chrome://global/skin/sortDescending.gif");
margin-right: 3px;
}
2000-07-28 10:16:16 +04:00
.treecell-popup-icon
{
list-style-image : url("chrome://global/skin/columnselect.gif");
}