control selected appearance on clicky based on tree focus, not window focus

This commit is contained in:
Simon Kornblith 2011-02-12 21:22:01 +00:00
parent 7b66113990
commit 51c119ae8a

View file

@ -450,22 +450,12 @@ treechilren::-moz-tree-twisty(active) {
}
*/
#zotero-pane:not(:-moz-window-inactive) treechildren::-moz-tree-twisty(selected) {
tree:focus treechildren::-moz-tree-twisty(selected) {
-moz-appearance: none;
list-style-image: url("chrome://zotero/skin/mac/twisty-selected.png");
}
:root[active] treechildren::-moz-tree-twisty(selected) {
-moz-appearance: none;
list-style-image: url("chrome://zotero/skin/mac/twisty-selected.png");
}
#zotero-pane:not(:-moz-window-inactive) treechildren::-moz-tree-twisty(selected, open) {
-moz-appearance: none;
list-style-image: url("chrome://zotero/skin/mac/twisty-selected-open.png");
}
:root[active] treechildren::-moz-tree-twisty(selected, open) {
tree:focus treechildren::-moz-tree-twisty(selected, open) {
-moz-appearance: none;
list-style-image: url("chrome://zotero/skin/mac/twisty-selected-open.png");
}