提交 507b6bfc 编写于 作者: B Benjamin Pasero

Merge pull request #4402 from bgashler1/feature/focuscolorfix

#3769 fixes the light theme focus on buttons in message bar and viewlet
......@@ -84,11 +84,22 @@
outline-offset: -1px;
}
.monaco-shell.vs .monaco-button:focus,
.monaco-shell.vs-dark .monaco-button:focus,
.monaco-shell.vs .action-button:focus,
.monaco-shell.vs-dark .action-button:focus {
outline-color: rgba(255, 255, 255, .5); /* buttons have a blue color, so focus indication needs to be different */
}
.monaco-shell.vs .monaco-button:focus,
.monaco-shell.vs .action-button:focus {
outline-offset: -2px; /* Inset outline so it stands out on light background. */
}
.monaco-shell.hc-black .action-button:focus {
outline-offset: -4px; /* Helps high-contrast outline avoid clipping. */
}
.monaco-shell.hc-black .synthetic-focus input {
background:transparent; /* Search input focus fix when in high contrast */
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册