welcomePage.css 8.9 KB
Newer Older
C
Christof Marti 已提交
1 2 3 4 5
/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

6 7 8 9 10 11 12 13
.monaco-workbench > .part.editor > .content .welcomePageContainer {
	align-items: center;
	display: flex;
	justify-content: center;
	min-width: 100%;
	min-height: 100%;
}

14
.monaco-workbench > .part.editor > .content .welcomePage {
15
	width: 90%;
16
	max-width: 1200px;
17 18
	font-size: 10px;
}
19 20 21
.vs .monaco-workbench > .part.editor > .content .welcomePage {
	color: #6C6C6C;
}
22

23 24 25 26 27 28 29 30 31 32 33 34
.monaco-workbench > .part.editor > .content .welcomePage .row {
	display: flex;
	flex-flow: row;
}

.monaco-workbench > .part.editor > .content .welcomePage .row * {
	min-width: 0;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

35 36 37 38
.monaco-workbench > .part.editor > .content .welcomePage p {
	font-size: 1.3em;
}

39 40
.monaco-workbench > .part.editor > .content .welcomePage .keyboard {
	font-family: "Lucida Grande", sans-serif;/* Keyboard shortcuts */
C
Christof Marti 已提交
41 42
}

43
.monaco-workbench > .part.editor > .content .welcomePage a {
44
	color: #2e70c0;
45 46
	text-decoration: none;
}
47 48 49 50 51

.vs-dark .monaco-workbench > .part.editor > .content .welcomePage a {
	color: #4080D0;
}

52 53 54 55
.monaco-workbench > .part.editor > .content .welcomePage a:focus {
	outline: 1px solid -webkit-focus-ring-color;
	outline-offset: -1px;
}
56

57 58 59 60
.monaco-workbench > .part.editor > .content .welcomePage a:hover {
	color: #6ea0dc;
}

61 62 63 64
.hc-black .monaco-workbench > .part.editor > .content .welcomePage a {
	color: #0b9eff;
}

65 66 67 68
.hc-black .monaco-workbench > .part.editor > .content .welcomePage a:hover {
	color: #f38518;
}

69
.monaco-workbench > .part.editor > .content .welcomePage h1 {
C
Christof Marti 已提交
70 71 72
	padding: 0;
	margin: 0;
	border: none;
73 74
	/*font-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI Light", "HelveticaNeue-Light", "Ubuntu", "Droid Sans", sans-serif;*/
	font-weight: normal;
75
	color: rgba(0,0,0,.8);
76
	font-size: 3.6em;
C
Christof Marti 已提交
77
	white-space: nowrap;
C
Christof Marti 已提交
78
}
79 80 81 82 83 84 85 86 87

.vs-dark .monaco-workbench > .part.editor > .content .welcomePage h1 {
	color: rgba(255,255,255,.76);
}

.hc-black .monaco-workbench > .part.editor > .content .welcomePage h1 {
	color: white;
}

88
.monaco-workbench > .part.editor > .content .welcomePage .title {
89
	margin-top: 1em;
90 91
	margin-bottom: 1em;
	flex: 1 100%;
C
Christof Marti 已提交
92
}
93 94 95
.monaco-workbench > .part.editor > .content .welcomePage .subtitle {
	margin-top: .8em;
	font-size: 2.6em;
96
	color: rgba(0,0,0,.53);
97 98
	display: block;
}
99 100 101 102 103 104 105 106
.vs-dark .monaco-workbench > .part.editor > .content .welcomePage .subtitle {
	color: rgba(255,255,255,.46);
}

.hc-black .monaco-workbench > .part.editor > .content .welcomePage .subtitle {
	color: white;
	font-weight: 200;
}
C
Christof Marti 已提交
107

108 109 110 111 112 113
.monaco-workbench > .part.editor > .content .welcomePage .splash,
.monaco-workbench > .part.editor > .content .welcomePage .commands {
	flex: 1 1 0;
}

.monaco-workbench > .part.editor > .content .welcomePage h2 {
114
	font-weight: 200;
C
Christof Marti 已提交
115 116
	margin-top: 17px;
	margin-bottom: 5px;
117
	font-size: 1.9em;
118
	line-height: initial;
C
Christof Marti 已提交
119
}
120 121 122 123 124

.monaco-workbench > .part.editor > .content .welcomePage .splash .section {
	margin-bottom: 5em;
}

C
Christof Marti 已提交
125 126
.monaco-workbench > .part.editor > .content .welcomePage .splash ul {
	margin: 0;
127
	font-size: 1.3em;
C
Christof Marti 已提交
128 129 130 131
	list-style: none;
	padding: 0;
}

132
.monaco-workbench > .part.editor > .content .welcomePage.emptyRecent .splash .recent .list {
C
Christof Marti 已提交
133 134
	display: none;
}
135 136 137 138 139 140
.monaco-workbench > .part.editor > .content .welcomePage .splash .recent .none {
	display: none;
}
.monaco-workbench > .part.editor > .content .welcomePage.emptyRecent .splash .recent .none {
	display: initial;
}
141

C
Christof Marti 已提交
142
.monaco-workbench > .part.editor > .content .welcomePage .splash .recent li {
143
	min-width: 0;
C
Christof Marti 已提交
144 145 146 147 148 149
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.monaco-workbench > .part.editor > .content .welcomePage .splash .recent .path {
	padding-left: 1em;
150
	color: rgba(255,255,255,.46);
151 152
}

153
.monaco-workbench > .part.editor > .content .welcomePage .splash .recent .none,
154 155 156 157
.monaco-workbench > .part.editor > .content .welcomePage .splash .recent .path {
	color: rgba(0,0,0,.53);
}

158
.vs-dark .monaco-workbench > .part.editor > .content .welcomePage .splash .recent .none,
159 160
.vs-dark .monaco-workbench > .part.editor > .content .welcomePage .splash .recent .path {
	color: rgba(255,255,255,.46);
161 162
}

163
.hc-black .monaco-workbench > .part.editor > .content .welcomePage .splash .recent .none,
164 165
.hc-black .monaco-workbench > .part.editor > .content .welcomePage .splash .recent .path {
	color: white;
C
Christof Marti 已提交
166 167 168 169 170 171 172
}

.monaco-workbench > .part.editor > .content .welcomePage .splash .title,
.monaco-workbench > .part.editor > .content .welcomePage .splash .showOnStartup {
	white-space: nowrap;
}

173 174 175 176
.monaco-workbench > .part.editor > .content .welcomePage .splash .showOnStartup input[type=checkbox] {
	vertical-align: bottom;
}

C
Christof Marti 已提交
177 178 179 180 181
.monaco-workbench > .part.editor > .content .welcomePage .commands ul {
	list-style: none;
	padding: 0;
}
.monaco-workbench > .part.editor > .content .welcomePage .commands li {
182
	margin: 7px 0px;
C
Christof Marti 已提交
183 184 185
}
.monaco-workbench > .part.editor > .content .welcomePage .commands li button {
	margin: 0;
186
	padding: 12px 10px;
C
Christof Marti 已提交
187
	width: 100%;
188
	height: 5em;
189
	font-size: 1.3em;
C
Christof Marti 已提交
190 191 192 193 194
	text-align: left;
	cursor: pointer;
	white-space: nowrap;
}

195
.monaco-workbench > .part.editor > .content .welcomePage .commands li button > span {
196 197 198 199
	display: inline-block;
	width:100%;
}

200
.monaco-workbench > .part.editor > .content .welcomePage .commands li button h3 {
C
Christof Marti 已提交
201
	font-weight: normal;
202 203 204 205
	font-size: 1em;
	margin: 0;
	margin-bottom: .25em;
}
206 207 208 209 210

.vs .monaco-workbench > .part.editor > .content .welcomePage .commands li button h3 {
	color: #2c2c2c;
}

C
Christof Marti 已提交
211 212
.monaco-workbench > .part.editor > .content .welcomePage .commands li button {
	color: #6c6c6c;
213
	background:rgba(0,0,0,.04);
214
	border: none;
C
Christof Marti 已提交
215
}
216 217 218
.monaco-workbench > .part.editor > .content .welcomePage .commands li button:hover {
	background:rgba(0,0,0,.10);
}
C
Christof Marti 已提交
219

220
.vs-dark .monaco-workbench > .part.editor > .content .welcomePage .commands li button > h3 {
C
Christof Marti 已提交
221
	color: #ccc;
222 223
}

224 225 226 227
.hc-black .monaco-workbench > .part.editor > .content .welcomePage .commands li button > h3 {
	font-weight: bold;
}

228 229
.vs-dark .monaco-workbench > .part.editor > .content .welcomePage .commands li button {
	color: #828282;
230
	background: rgba(0, 0, 0, .2);
231 232 233
}

.vs-dark .monaco-workbench > .part.editor > .content .welcomePage .commands li button:hover {
234 235 236 237 238 239 240 241 242
	background: rgba(200, 235, 255, .072);
}

.vs-dark .monaco-workbench > .part.editor > .content .welcomePage.extra-dark .commands li button {
	background: rgba(200, 235, 255, .042);
}

.vs-dark .monaco-workbench > .part.editor > .content .welcomePage.extra-dark .commands li button:hover {
	background: rgba(200, 235, 255, .072);
C
Christof Marti 已提交
243 244
}

B
Benjamin Pasero 已提交
245 246 247
.monaco-workbench > .part.editor > .content .welcomePage .commands li button:focus {
	outline-style: solid;
	outline-width: 1px;
248 249
}

C
Christof Marti 已提交
250 251 252 253 254
.hc-black .monaco-workbench > .part.editor > .content .welcomePage .commands li button {
	color: white;
	background: black;
	border-color: #f38518;
	border-width: 1px;
255 256 257
	border-style: solid;
}

258 259 260 261 262
.hc-black .monaco-workbench > .part.editor > .content .welcomePage .commands li button:hover {
	outline: 1px dashed #f38518;
	outline-offset: -5px;
}

263 264 265 266 267 268 269 270 271 272
.monaco-workbench > .part.editor > .content .welcomePage .commands li button .currentKeymap {
	display: none;
}
.monaco-workbench > .part.editor > .content .welcomePage .commands li button .installKeymap.installed {
	display: none;
}
.monaco-workbench > .part.editor > .content .welcomePage .commands li button .currentKeymap.installed {
	display: inline;
}

273
.monaco-workbench > .part.editor > .content .welcomePageContainer.max-height-685px .title {
274 275
	display: none;
}
276

C
Christof Marti 已提交
277
.file-icons-enabled .show-file-icons .vs_code_welcome_page-name-file-icon.file-icon::before {
C
Christof Marti 已提交
278
	content: ' ';
279
	background-image: url('../../code-icon.svg');
C
Christof Marti 已提交
280 281
}

282 283 284 285 286 287 288 289 290 291 292 293 294
.monaco-workbench > .part.editor > .content .welcomePage .mac-only,
.monaco-workbench > .part.editor > .content .welcomePage .windows-only,
.monaco-workbench > .part.editor > .content .welcomePage .linux-only {
	display: none;
}
.monaco-workbench.mac > .part.editor > .content .welcomePage .mac-only {
	display: initial;
}
.monaco-workbench.windows > .part.editor > .content .welcomePage .windows-only {
	display: initial;
}
.monaco-workbench.linux > .part.editor > .content .welcomePage .linux-only {
	display: initial;
295
}
296 297 298 299 300 301 302 303 304
.monaco-workbench.mac > .part.editor > .content .welcomePage li.mac-only {
	display: list-item;
}
.monaco-workbench.windows > .part.editor > .content .welcomePage li.windows-only {
	display: list-item;
}
.monaco-workbench.linux > .part.editor > .content .welcomePage li.linux-only {
	display: list-item;
}
305 306 307 308 309 310 311

.monaco-workbench > .part.editor > .content .welcomePageContainer .scm-only {
	display: none;
}
.monaco-workbench > .part.editor > .content .welcomePageContainer.scmEnabled .scm-only {
	display: initial;
}
312 313 314
.monaco-workbench > .part.editor > .content .welcomePageContainer.scmEnabled li.scm-only {
	display: list-item;
}
315 316
.monaco-workbench > .part.editor > .content .welcomePageContainer.scmEnabled .git-only {
	display: none;
317
}