Skip to content

Commit 6fe710d

Browse files
author
Benjamin Pasero
committed
proper outline for buttons too
1 parent b8540de commit 6fe710d

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

  • src/vs/workbench/electron-browser/media

src/vs/workbench/electron-browser/media/shell.css

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,18 @@
5050
.monaco-shell a[tabindex="0"]:focus,
5151
.monaco-shell div[tabindex="0"]:focus,
5252
.monaco-shell select:focus,
53+
.monaco-shell input[type="button"]:focus,
5354
.monaco-shell iframe[tabindex="0"]:focus {
5455
outline: 2px auto -webkit-focus-ring-color;
5556
outline-offset: -2px;
5657
opacity: 1 !important; /* prevent components from dimming focus feedback */
5758
}
5859

59-
.monaco-shell a[tabindex="0"]:active, a[tabindex="0"]:hover,
60-
.monaco-shell div[tabindex="0"]:active, div[tabindex="0"]:hover,
61-
.monaco-shell select:active, select:hover,
62-
.monaco-shell iframe[tabindex="0"]:active, iframe[tabindex="0"]:hover {
60+
.monaco-shell a[tabindex="0"]:active, .monaco-shell a[tabindex="0"]:hover,
61+
.monaco-shell div[tabindex="0"]:active, .monaco-shell div[tabindex="0"]:hover,
62+
.monaco-shell select:active, .monaco-shell select:hover,
63+
.monaco-shell input[type="button"]:active, .monaco-shell input[type="button"]:hover,
64+
.monaco-shell iframe[tabindex="0"]:active, .monaco-shell iframe[tabindex="0"]:hover {
6365
outline: 0;
6466
opacity: inherit;
6567
}

0 commit comments

Comments
 (0)