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

294 строки
7.2 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
{
border-spacing : 0px;
background-color : -moz-field;
color : WindowText;
2000-05-24 17:45:43 +04:00
}
.tree-container-treerows[dragover="true"][dragdroptree="true"]
{
border : 2px solid Highlight;
padding : 0px;
}
tree.inset > .tree-container-treerows
2000-06-22 10:49:43 +04:00
{
border-top : 1px solid ThreeDDarkShadow;
border-right : 1px solid ThreeDLightShadow;
border-bottom : 1px solid ThreeDLightShadow;
border-left : 1px solid ThreeDDarkShadow;
2000-06-22 10:49:43 +04:00
}
.tree-container-treerows[dragdroptree="true"]
{
padding : 1px;
}
2000-06-22 10:49:43 +04:00
2000-05-24 17:45:43 +04:00
tree.inset
{
margin : 1px 5px 2px 5px;
}
treeitem[selected="true"] > treerow
{
color : ButtonText;
background-color : ThreeDFace;
}
treeitem
{
list-style-image : none;
}
treerow
{
border : 1px solid transparent;
}
treehead > treeitem > treerow,
treehead > treerow
{
border : none;
}
2000-05-24 17:45:43 +04:00
treecell
{
padding : 0px 0px 1px 2px;
2000-05-24 17:45:43 +04:00
white-space : nowrap;
vertical-align : middle;
}
tree:focus > treechildren treeitem[selected="true"] > treerow,
treeitem[dd-dropon="true"] > treerow
2000-08-16 07:31:42 +04:00
{
background-color : Highlight;
color : HighlightText;
2000-08-16 07:31:42 +04:00
}
tree:focus > treechildren treeitem[selected="true"][current="true"] > treerow
2000-08-16 07:31:42 +04:00
{
/* this is not the right color, what we really need is a color complementary
to Highlight, but someone needs to implement that first */
border : 1px dotted #F5DB95;
2000-08-16 07:31:42 +04:00
}
2000-08-14 08:23:06 +04:00
.treecell-header-image
{
list-style-image : inherit;
2000-08-14 08:23:06 +04:00
}
.treecell-header,
.treecell-inset-header,
.treecell-header-image
{
border-left : 1px solid ThreeDHighlight !important;
border-top : 1px solid ThreeDHighlight !important;
border-right : 1px solid ThreeDDarkShadow !important;
border-bottom : 1px solid ThreeDDarkShadow !important;
padding : 0px;
background-color : ThreeDFace;
color : ButtonText;
}
.treecell-header-box,
.treecell-header-image-box
2000-08-14 08:23:06 +04:00
{
border-left : 1px solid ThreeDLightShadow;
border-top : 1px solid ThreeDLightShadow;
border-right : 1px solid ThreeDShadow;
border-bottom : 1px solid ThreeDShadow;
2001-02-05 14:50:42 +03:00
}
.treecell-header-box
{
padding : 0px 4px 0px 4px;
2000-08-14 08:23:06 +04:00
}
2000-08-02 04:26:25 +04:00
.treecell-header-image-box
2000-08-14 08:23:06 +04:00
{
padding : 0px 1px 0px 1px;
}
2000-05-24 17:45:43 +04:00
.treecell-header:hover:active,
.treecell-header-image:hover:active,
.treecell-inset-header:hover:active
2000-05-24 17:45:43 +04:00
{
border : 1px solid ThreeDShadow !important;
2000-05-24 17:45:43 +04:00
}
.treecell-header:hover:active > .treecell-header-box,
.treecell-inset-header:hover:active > .treecell-header-box,
.treecell-header-image:hover:active > .treecell-header-image-box
2000-05-24 17:45:43 +04:00
{
border-top : 1px solid transparent;
border-right : none;
border-bottom : none;
border-left : 1px solid transparent;
2000-05-24 17:45:43 +04:00
}
.treecell-header:hover:active > .treecell-header-box,
.treecell-inset-header:hover:active > .treecell-header-box
{
padding : 1px 4px 0px 5px;
}
2000-05-24 17:45:43 +04:00
.treecell-header-image:hover:active > .treecell-header-image-box
{
padding : 1px 1px 0px 2px;
}
.treecell-image
{
padding : 0px;
}
/* slimline sidebar treeheaders */
.treecell-header.treecell-header-sidebarpanel,
.treecell-inset-header.treecell-header-sidebarpanel
{
border-left : none !important;
border-top : 1px solid ThreeDHighlight !important;
border-bottom : 1px solid ThreeDShadow !important;
border-right : none !important;
padding : 0px 1px 1px 3px;
}
.treecell-header-sidebarpanel > .treecell-header-box
{
border : none !important;
border-right : 1px solid ThreeDFace !important;
}
/** class="propertylist" ******************************************
* class for cells in grid-formatted property lists.
**/
2001-02-05 15:34:22 +03:00
treecell.propertylist
{
border-right : 1px solid ThreeDFace;
border-bottom : 1px solid ThreeDFace;
padding-left : 5px;
}
.tree-cell-primary-icon,
.tree-cell-primary-icon-inline-edit-folder
2001-02-05 15:34:22 +03:00
{
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");
-moz-user-focus : ignore;
padding-right : 2px;
}
.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[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 */
2001-02-05 14:50:42 +03:00
2001-02-05 15:34:22 +03:00
.tree-header-sortdirection
{
list-style-image : none;
}
2001-02-05 15:34:22 +03:00
.sortDirectionIndicator[sortDirection="ascending"] > .treecell-header-box > .tree-header-sortdirection
{
list-style-image : url("chrome://global/skin/sortAscending.gif");
}
2001-02-05 15:34:22 +03:00
.sortDirectionIndicator[sortDirection="descending"] > .treecell-header-box > .tree-header-sortdirection
{
list-style-image : url("chrome://global/skin/sortDescending.gif");
}
/* column selection popup menu icon */
2000-07-28 10:16:16 +04:00
.treecell-popup-icon
{
list-style-image : url("chrome://global/skin/columnselect.gif");
2000-07-28 10:16:16 +04:00
}
/* Inline Editable Treecells */
treerow[mode="inline-edit"]
{
border-top : none !important;
border-bottom : none !important;
background-color : transparent !important;
}
2001-02-05 15:34:22 +03:00
.inline-edit-cell-box
{
margin-left : 2px;
}
2001-02-05 14:50:42 +03:00
.inline-edit-cell-box[mode="edit"]
{
margin-left : 0px;
}
.textbox-inline-edit
{
2001-02-05 15:34:22 +03:00
border : 1px solid WindowFrame !important;
margin : 0px !important;
}
.textbox-inline-edit > .textbox-internal-box > .textbox-input
{
border : none !important;
padding : 0px !important;
margin : 0px !important;
}
.textbox-inline-edit > .textbox-internal-box
{
border : none !important;
padding : 1px !important;
margin : 0px !important;
}