-
Notifications
You must be signed in to change notification settings - Fork 31k
/
Copy pathstyle.css
222 lines (182 loc) · 7.05 KB
/
style.css
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
/* Font Families (with CJK support) */
.mac { font-family: -apple-system, BlinkMacSystemFont, sans-serif; }
.mac:lang(zh-Hans) { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", sans-serif; }
.mac:lang(zh-Hant) { font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", sans-serif; }
.mac:lang(ja) { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic Pro", sans-serif; }
.mac:lang(ko) { font-family: -apple-system, BlinkMacSystemFont, "Nanum Gothic", "Apple SD Gothic Neo", "AppleGothic", sans-serif; }
.windows { font-family: "Segoe WPC", "Segoe UI", sans-serif; }
.windows:lang(zh-Hans) { font-family: "Segoe WPC", "Segoe UI", "Microsoft YaHei", sans-serif; }
.windows:lang(zh-Hant) { font-family: "Segoe WPC", "Segoe UI", "Microsoft Jhenghei", sans-serif; }
.windows:lang(ja) { font-family: "Segoe WPC", "Segoe UI", "Meiryo", sans-serif; }
.windows:lang(ko) { font-family: "Segoe WPC", "Segoe UI", "Malgun Gothic", "Dotom", sans-serif; }
.linux { font-family: "Ubuntu", "Droid Sans", sans-serif; }
.linux:lang(zh-Hans) { font-family: "Ubuntu", "Droid Sans", "Source Han Sans SC", "Source Han Sans CN", "Source Han Sans", sans-serif; }
.linux:lang(zh-Hant) { font-family: "Ubuntu", "Droid Sans", "Source Han Sans TC", "Source Han Sans TW", "Source Han Sans", sans-serif; }
.linux:lang(ja) { font-family: "Ubuntu", "Droid Sans", "Source Han Sans J", "Source Han Sans JP", "Source Han Sans", sans-serif; }
.linux:lang(ko) { font-family: "Ubuntu", "Droid Sans", "Source Han Sans K", "Source Han Sans JR", "Source Han Sans", "UnDotum", "FBaekmuk Gulim", sans-serif; }
.mac { --monaco-monospace-font: Monaco, Menlo, Inconsolata, "Courier New", monospace; }
.windows { --monaco-monospace-font: Consolas, Inconsolata, "Courier New", monospace; }
.linux { --monaco-monospace-font: "Droid Sans Mono", Inconsolata, "Courier New", monospace, "Droid Sans Fallback"; }
/* Global Styles */
body {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
overflow: hidden;
font-size: 11px;
user-select: none;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.monaco-workbench {
font-size: 13px;
line-height: 1.4em;
position: relative;
z-index: 1;
overflow: hidden;
}
.monaco-workbench img {
border: 0;
}
.monaco-workbench label {
cursor: pointer;
}
.monaco-workbench a {
text-decoration: none;
}
.monaco-workbench a:active {
color: inherit;
background-color: inherit;
}
.monaco-workbench a.plain {
color: inherit;
text-decoration: none;
}
.monaco-workbench a.plain:hover,
.monaco-workbench a.plain.hover {
color: inherit;
text-decoration: none;
}
.monaco-workbench input {
color: inherit;
font-family: inherit;
font-size: 100%;
}
.monaco-workbench select {
font-family: inherit;
}
.monaco-workbench .pointer {
cursor: pointer;
}
.monaco-workbench .monaco-font-aliasing-antialiased {
-webkit-font-smoothing: antialiased;
}
.monaco-workbench .monaco-font-aliasing-none {
-webkit-font-smoothing: none;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
.monaco-workbench .monaco-font-aliasing-auto {
-webkit-font-smoothing: antialiased;
}
}
.monaco-workbench .context-view {
-webkit-app-region: no-drag;
}
.monaco-workbench .monaco-menu .monaco-action-bar.vertical {
padding: .5em 0;
}
.monaco-workbench .monaco-menu .monaco-action-bar.vertical .action-menu-item {
height: 1.8em;
}
.monaco-workbench .monaco-menu .monaco-action-bar.vertical .action-label:not(.separator),
.monaco-workbench .monaco-menu .monaco-action-bar.vertical .keybinding {
font-size: inherit;
padding: 0 2em;
}
.monaco-workbench .monaco-menu .monaco-action-bar.vertical .menu-item-check {
font-size: inherit;
width: 2em;
}
.monaco-workbench .monaco-menu .monaco-action-bar.vertical .action-label.separator {
font-size: inherit;
padding: 0.2em 0 0 0;
margin-bottom: 0.2em;
}
.monaco-workbench.linux .monaco-menu .monaco-action-bar.vertical .action-label.separator {
margin-left: 0;
margin-right: 0;
}
.monaco-workbench .monaco-menu .monaco-action-bar.vertical .submenu-indicator {
font-size: 60%;
padding: 0 1.8em;
}
.monaco-workbench.linux .monaco-menu .monaco-action-bar.vertical .submenu-indicator {
height: 100%;
-webkit-mask-size: 10px 10px;
mask-size: 10px 10px;
}
.monaco-workbench .monaco-menu .action-item {
cursor: default;
}
/* START Keyboard Focus Indication Styles */
.monaco-workbench [tabindex="0"]:focus,
.monaco-workbench .synthetic-focus,
.monaco-workbench select:focus,
.monaco-workbench input[type="button"]:focus,
.monaco-workbench input[type="text"]:focus,
.monaco-workbench textarea:focus,
.monaco-workbench input[type="checkbox"]:focus {
outline-width: 1px;
outline-style: solid;
outline-offset: -1px;
opacity: 1 !important;
}
.monaco-workbench [tabindex="0"]:active,
.monaco-workbench select:active,
.monaco-workbench input[type="button"]:active,
.monaco-workbench input[type="checkbox"]:active,
.monaco-workbench .monaco-tree .monaco-tree-row
.monaco-workbench .monaco-tree.focused.no-focused-item:active:before {
outline: 0 !important; /* fixes some flashing outlines from showing up when clicking */
}
.monaco-workbench.mac select:focus {
border-color: transparent; /* outline is a square, but border has a radius, so we avoid this glitch when focused (https://github.com/Microsoft/vscode/issues/26045) */
}
.monaco-workbench .monaco-tree.focused .monaco-tree-row.focused [tabindex="0"]:focus {
outline-width: 1px; /* higher contrast color for focusable elements in a row that shows focus feedback */
outline-style: solid;
}
.monaco-workbench .monaco-tree.focused.no-focused-item:focus:before,
.monaco-workbench .monaco-list:not(.element-focused):focus:before {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 5; /* make sure we are on top of the tree items */
content: "";
pointer-events: none; /* enable click through */
outline: 1px solid; /* we still need to handle the empty tree or no focus item case */
outline-width: 1px;
outline-style: solid;
outline-offset: -1px;
}
.monaco-workbench .synthetic-focus :focus {
outline: 0 !important; /* elements within widgets that draw synthetic-focus should never show focus */
}
.monaco-workbench .monaco-inputbox.info.synthetic-focus,
.monaco-workbench .monaco-inputbox.warning.synthetic-focus,
.monaco-workbench .monaco-inputbox.error.synthetic-focus,
.monaco-workbench .monaco-inputbox.info input[type="text"]:focus,
.monaco-workbench .monaco-inputbox.warning input[type="text"]:focus,
.monaco-workbench .monaco-inputbox.error input[type="text"]:focus {
outline: 0 !important; /* outline is not going well with decoration */
}
.monaco-workbench .monaco-tree.focused:focus,
.monaco-workbench .monaco-list:focus {
outline: 0 !important; /* tree indicates focus not via outline but through the focused item */
}