fix outlint in tree for other themes too

This commit is contained in:
Benjamin Pasero 2016-02-05 09:32:11 +01:00
parent 7c8e43f421
commit db58168a2f

View file

@ -92,12 +92,7 @@
outline: 1px solid #007ACC; /* higher contrast color for focusable elements in a row that shows focus feedback */
}
.monaco-shell.vs .monaco-tree.focused.no-item-focus:focus {
outline: 1px solid rgba(0, 122, 204, 0.4); /* we still need to handle the empty tree or no focus item case */
outline-offset: -1px;
}
.monaco-shell.vs-dark .monaco-tree.focused.no-item-focus:focus:before {
.monaco-shell .monaco-tree.focused.no-item-focus:focus:before {
position: absolute;
top: 0;
left: 0;
@ -106,11 +101,19 @@
z-index: 5; /* make sure we are on top of the tree items */
content: "";
pointer-events: none; /* enable click through */
}
.monaco-shell.vs .monaco-tree.focused.no-item-focus:focus:before {
outline: 1px solid rgba(0, 122, 204, 0.4); /* we still need to handle the empty tree or no focus item case */
outline-offset: -1px;
}
.monaco-shell.vs-dark .monaco-tree.focused.no-item-focus:focus:before {
outline: 1px solid rgba(14, 99, 156, 0.6); /* we still need to handle the empty tree or no focus item case */
outline-offset: -1px;
}
.monaco-shell.hc-black .monaco-tree.focused.no-item-focus:focus {
.monaco-shell.hc-black .monaco-tree.focused.no-item-focus:focus:before {
outline: 2px solid #DF740C; /* we still need to handle the empty tree or no focus item case */
outline-offset: -2px;
}