зеркало из https://github.com/mozilla/gecko-dev.git
New style rules for trees.
This commit is contained in:
Родитель
8a95785873
Коммит
31d0abe1ae
|
@ -682,12 +682,12 @@ treehead treerow treecell {
|
||||||
background-color: #666699;
|
background-color: #666699;
|
||||||
border: thin darkgray solid;
|
border: thin darkgray solid;
|
||||||
color: white;
|
color: white;
|
||||||
padding-left: 3px;
|
|
||||||
padding-right: 3px;
|
|
||||||
padding-top: 2px;
|
|
||||||
padding-bottom: 2px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tree-button {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
treeitem > treechildren {
|
treeitem > treechildren {
|
||||||
visibility: collapse;
|
visibility: collapse;
|
||||||
}
|
}
|
||||||
|
@ -1108,40 +1108,45 @@ box[align="vertical"] > splitter[collapse="after"] > grippy {
|
||||||
list-style-image: url(resource:/res/toolbar/grippy-vertical-after.gif);
|
list-style-image: url(resource:/res/toolbar/grippy-vertical-after.gif);
|
||||||
}
|
}
|
||||||
|
|
||||||
titledbutton.twisty
|
.tree-icon {
|
||||||
{
|
width: 100%;
|
||||||
visibility: hidden;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
treecell > .tree-button {
|
.tree-button {
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
border: none;
|
border: none;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
list-style-image: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
treeitem > treerow > treecell > titledbutton.twisty {
|
.tree-button[flex] {
|
||||||
vertical-align: bottom;
|
width: 10px;
|
||||||
height: 16px;
|
}
|
||||||
|
|
||||||
|
treecell {
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
treeitem > treerow > treecell > .tree-icon > .twisty {
|
||||||
|
border: none;
|
||||||
|
padding: 0px;
|
||||||
|
margin: 0px;
|
||||||
width: 16px;
|
width: 16px;
|
||||||
list-style-image: url("chrome://global/skin/closedtwisty.gif");
|
list-style-image: url("chrome://global/skin/closedtwisty.gif");
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
treeitem[empty="true"]> treerow > treecell > titledbutton.twisty {
|
treeitem[empty="true"] > treerow > treecell > .tree-icon > titledbutton.twisty {
|
||||||
visibility: hidden;
|
list-style-image: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
treeitem[empty="true"][open="true"]> treerow > treecell > titledbutton.twisty {
|
treeitem > treerow > treecell > .tree-icon > .twisty[disabled="true"] {
|
||||||
visibility: hidden;
|
list-style-image: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
treeitem[open="true"]> treerow > treecell > titledbutton.twisty {
|
treeitem[open="true"] > treerow > treecell > .tree-icon > .twisty {
|
||||||
vertical-align: bottom;
|
|
||||||
height: 16px;
|
|
||||||
width: 16px;
|
|
||||||
list-style-image: url("chrome://global/skin/opentwisty.gif");
|
list-style-image: url("chrome://global/skin/opentwisty.gif");
|
||||||
visibility: visible;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче