Skip to content

Commit

Permalink
microsoft#2500 and microsoft#2352 add focus indication to text editor…
Browse files Browse the repository at this point in the history
…s / panels.
  • Loading branch information
bgashler1 committed Mar 16, 2016
1 parent bcc2f3e commit d2aa297
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/vs/workbench/electron-browser/media/shell.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@
.monaco-shell.vs input[type="button"]:focus,
.monaco-shell.vs input[type="submit"]:focus,
.monaco-shell.vs input[type="text"]:focus, .monaco-shell.vs textarea:focus,
.monaco-shell.vs input[type="checkbox"]:focus {
.monaco-shell.vs input[type="checkbox"]:focus,
.monaco-shell.vs .monaco-editor.focused {
outline: 1px solid rgba(0, 122, 204, 0.4);
outline-offset: -1px;
opacity: 1 !important;
Expand All @@ -67,12 +68,19 @@
.monaco-shell.vs-dark input[type="button"]:focus,
.monaco-shell.vs-dark input[type="submit"]:focus,
.monaco-shell.vs-dark input[type="text"]:focus, .monaco-shell.vs-dark textarea:focus,
.monaco-shell.vs-dark input[type="checkbox"]:focus {
.monaco-shell.vs-dark input[type="checkbox"]:focus,
.monaco-shell.vs-dark .monaco-editor.focused {
outline: 1px solid rgba(14, 99, 156, 0.6);
outline-offset: -1px;
opacity: 1 !important;
}

.monaco-shell.vs-dark .monaco-editor.focused,
.monaco-shell.vs .monaco-editor.focused {
outline-offset: 0;
z-index: 1;
}

.monaco-shell.hc-black [tabindex="0"]:focus,
.monaco-shell.hc-black .synthetic-focus,
.monaco-shell.hc-black select:focus,
Expand Down

0 comments on commit d2aa297

Please sign in to comment.