提交 db58168a 编写于 作者: B Benjamin Pasero

fix outlint in tree for other themes too

上级 7c8e43f4
...@@ -92,12 +92,7 @@ ...@@ -92,12 +92,7 @@
outline: 1px solid #007ACC; /* higher contrast color for focusable elements in a row that shows focus feedback */ 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 { .monaco-shell .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 {
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
...@@ -106,11 +101,19 @@ ...@@ -106,11 +101,19 @@
z-index: 5; /* make sure we are on top of the tree items */ z-index: 5; /* make sure we are on top of the tree items */
content: ""; content: "";
pointer-events: none; /* enable click through */ 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: 1px solid rgba(14, 99, 156, 0.6); /* we still need to handle the empty tree or no focus item case */
outline-offset: -1px; 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: 2px solid #DF740C; /* we still need to handle the empty tree or no focus item case */
outline-offset: -2px; outline-offset: -2px;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册