-
Notifications
You must be signed in to change notification settings - Fork 140
Expand file tree
/
Copy pathcommon.css
More file actions
47 lines (41 loc) · 1.44 KB
/
common.css
File metadata and controls
47 lines (41 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
*:focus-visible {
outline: none;
}
body [tabindex='0']:focus,
body [tabindex='-1']:focus,
body .synthetic-focus,
body select:focus,
body input[type='button']:focus,
body input[type='text']:focus,
body button:focus,
body textarea:focus,
body input[type='search']:focus,
body input[type='checkbox']:focus {
outline-width: 1px;
outline-style: solid;
outline-offset: -1px;
outline-color: var(--focusBorder);
opacity: 1;
}
body .synthetic-focus :focus {
outline: 0 !important; /* elements within widgets that draw synthetic-focus should never show focus */
}
body .monaco-inputbox.info.synthetic-focus,
body .monaco-inputbox.warning.synthetic-focus,
body .monaco-inputbox.error.synthetic-focus,
body .monaco-inputbox.info input[type='text']:focus,
body .monaco-inputbox.warning input[type='text']:focus,
body .monaco-inputbox.error input[type='text']:focus {
outline: 0 !important; /* outline is not going well with decoration */
}
body .monaco-list:focus {
outline: 0 !important; /* tree indicates focus not via outline but through the focused item */
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif,
'Apple Color Emoji', 'Segoe UI Emoji';
}
/* Display the quickInputWidget of monaco editor uniformly at the top of the page */
.monaco-editor .overflow-guard .overlayWidgets > div[widgetid='editor.contrib.quickInputWidget'] {
position: fixed !important;
}