зеркало из https://github.com/mozilla/gecko-dev.git
Add support for primary selection to the folder pane so we don't highlight the entire folder column, just the folder name. Thanks to Neil for coming up with the patch (Bug #196262)
This commit is contained in:
Родитель
f019aaac8e
Коммит
5f4516dd75
|
@ -44,7 +44,6 @@ tree {
|
|||
|
||||
/* ::::: tree rows ::::: */
|
||||
|
||||
tree[selstyle="primary"] > treechildren::-moz-tree-row,
|
||||
treechildren::-moz-tree-row {
|
||||
border: 1px solid transparent;
|
||||
background-color: transparent;
|
||||
|
@ -67,6 +66,11 @@ treechildren::-moz-tree-row(current, focus) {
|
|||
treechildren::-moz-tree-row(selected, current, focus) {
|
||||
border: 1px dotted #C0C0C0;
|
||||
}
|
||||
|
||||
tree[selstyle="primary"] > treechildren::-moz-tree-row {
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/* ::::: tree cells ::::: */
|
||||
|
||||
|
@ -76,13 +80,17 @@ treechildren::-moz-tree-cell {
|
|||
|
||||
tree[selstyle="primary"] > treechildren::-moz-tree-cell-text,
|
||||
treechildren::-moz-tree-cell-text {
|
||||
border: 1px solid transparent;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
treechildren::-moz-tree-cell-text(selected) {
|
||||
color: -moz-DialogText;
|
||||
}
|
||||
|
||||
tree[selstyle="primary"] > treechildren::-moz-tree-cell-text(primary) {
|
||||
border: 1px solid transparent;
|
||||
padding: 0px 1px 1px 1px;
|
||||
}
|
||||
|
||||
tree[selstyle="primary"] > treechildren::-moz-tree-cell-text(primary, selected) {
|
||||
background-color: -moz-Dialog;
|
||||
|
|
Загрузка…
Ссылка в новой задаче