welcomePage.css 6.5 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
.monaco-workbench .part.editor > .content .welcomePageContainer {
7 8 9 10 11 12 13
	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
.monaco-workbench .part.editor > .content .welcomePage .row {
21 22 23 24
	display: flex;
	flex-flow: row;
}

25
.monaco-workbench .part.editor > .content .welcomePage .row .section {
26 27 28
	overflow: hidden;
}

29
.monaco-workbench .part.editor > .content .welcomePage .row .splash {
30 31 32
	overflow: hidden;
}

33
.monaco-workbench .part.editor > .content .welcomePage .row .commands {
34 35 36
	overflow: hidden;
}

37
.monaco-workbench .part.editor > .content .welcomePage .row .commands .list {
38 39 40
	overflow: hidden;
}

41
.monaco-workbench .part.editor > .content .welcomePage p {
42 43 44
	font-size: 1.3em;
}

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

49
.monaco-workbench .part.editor > .content .welcomePage a {
50 51
	text-decoration: none;
}
52

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

58
.monaco-workbench .part.editor > .content .welcomePage h1 {
C
Christof Marti 已提交
59 60 61
	padding: 0;
	margin: 0;
	border: none;
62 63
	font-weight: normal;
	font-size: 3.6em;
C
Christof Marti 已提交
64
	white-space: nowrap;
C
Christof Marti 已提交
65
}
66

67
.monaco-workbench .part.editor > .content .welcomePage .title {
68
	margin-top: 1em;
69 70
	margin-bottom: 1em;
	flex: 1 100%;
C
Christof Marti 已提交
71
}
72

73
.monaco-workbench .part.editor > .content .welcomePage .subtitle {
74 75 76 77
	margin-top: .8em;
	font-size: 2.6em;
	display: block;
}
78

79
.monaco-workbench.hc-black .part.editor > .content .welcomePage .subtitle {
80 81
	font-weight: 200;
}
C
Christof Marti 已提交
82

83 84
.monaco-workbench .part.editor > .content .welcomePage .splash,
.monaco-workbench .part.editor > .content .welcomePage .commands {
85 86 87
	flex: 1 1 0;
}

88
.monaco-workbench .part.editor > .content .welcomePage h2 {
89
	font-weight: 200;
C
Christof Marti 已提交
90 91
	margin-top: 17px;
	margin-bottom: 5px;
92
	font-size: 1.9em;
93
	line-height: initial;
C
Christof Marti 已提交
94
}
95

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

100
.monaco-workbench .part.editor > .content .welcomePage .splash ul {
C
Christof Marti 已提交
101
	margin: 0;
102
	font-size: 1.3em;
C
Christof Marti 已提交
103 104 105 106
	list-style: none;
	padding: 0;
}

107
.monaco-workbench .part.editor > .content .welcomePage .splash li {
108 109 110 111 112 113
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

114
.monaco-workbench .part.editor > .content .welcomePage.emptyRecent .splash .recent .list {
C
Christof Marti 已提交
115 116
	display: none;
}
117
.monaco-workbench .part.editor > .content .welcomePage .splash .recent .none {
118 119
	display: none;
}
120
.monaco-workbench .part.editor > .content .welcomePage.emptyRecent .splash .recent .none {
121 122
	display: initial;
}
123

124
.monaco-workbench .part.editor > .content .welcomePage .splash .recent li.moreRecent {
125 126 127
	margin-top: 5px;
}

128
.monaco-workbench .part.editor > .content .welcomePage .splash .recent .path {
C
Christof Marti 已提交
129 130 131
	padding-left: 1em;
}

132 133
.monaco-workbench .part.editor > .content .welcomePage .splash .title,
.monaco-workbench .part.editor > .content .welcomePage .splash .showOnStartup {
134
	min-width: 0;
C
Christof Marti 已提交
135
	white-space: nowrap;
136 137
	overflow: hidden;
	text-overflow: ellipsis;
C
Christof Marti 已提交
138 139
}

140
.monaco-workbench .part.editor > .content .welcomePage .splash .showOnStartup > .checkbox {
141
	vertical-align: bottom;
142 143
}

144
.monaco-workbench .part.editor > .content .welcomePage .commands .list {
C
Christof Marti 已提交
145 146 147
	list-style: none;
	padding: 0;
}
148
.monaco-workbench .part.editor > .content .welcomePage .commands .item {
149
	margin: 7px 0px;
C
Christof Marti 已提交
150
}
151
.monaco-workbench .part.editor > .content .welcomePage .commands .item button {
152
	margin: 1px;
153
	padding: 12px 10px;
154
	width: calc(100% - 2px);
155
	height: 5em;
156
	font-size: 1.3em;
C
Christof Marti 已提交
157 158 159
	text-align: left;
	cursor: pointer;
	white-space: nowrap;
160
	font-family: inherit;
C
Christof Marti 已提交
161 162
}

163
.monaco-workbench .part.editor > .content .welcomePage .commands .item button > span {
164 165
	display: inline-block;
	width:100%;
166 167 168 169
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
170 171
}

172
.monaco-workbench .part.editor > .content .welcomePage .commands .item button h3 {
C
Christof Marti 已提交
173
	font-weight: normal;
174 175 176
	font-size: 1em;
	margin: 0;
	margin-bottom: .25em;
177 178 179 180
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
181
}
182

183
.monaco-workbench .part.editor > .content .welcomePage .commands .item button {
184
	border: none;
C
Christof Marti 已提交
185 186
}

187
.monaco-workbench.hc-black .part.editor > .content .welcomePage .commands .item button > h3 {
188 189 190
	font-weight: bold;
}

191
.monaco-workbench .part.editor > .content .welcomePage .commands .item button:focus {
B
Benjamin Pasero 已提交
192 193
	outline-style: solid;
	outline-width: 1px;
194 195
}

196
.monaco-workbench.hc-black .part.editor > .content .welcomePage .commands .item button {
C
Christof Marti 已提交
197
	border-width: 1px;
198 199 200
	border-style: solid;
}

201
.monaco-workbench.hc-black .part.editor > .content .welcomePage .commands .item button:hover {
202 203
	outline-width: 1px;
	outline-style: dashed;
204 205 206
	outline-offset: -5px;
}

207
.monaco-workbench .part.editor > .content .welcomePage .commands .item button .enabledExtension {
208 209
	display: none;
}
210
.monaco-workbench .part.editor > .content .welcomePage .commands .item button .installExtension.installed {
211 212
	display: none;
}
213
.monaco-workbench .part.editor > .content .welcomePage .commands .item button .enabledExtension.installed {
214 215 216
	display: inline;
}

217
.monaco-workbench .part.editor > .content .welcomePageContainer.max-height-685px .title {
218 219
	display: none;
}
220

C
Christof Marti 已提交
221
.file-icons-enabled .show-file-icons .vs_code_welcome_page-name-file-icon.file-icon::before {
C
Christof Marti 已提交
222
	content: ' ';
223
	background-image: url('../../../../browser/media/code-icon.svg');
C
Christof Marti 已提交
224 225
}

226 227 228
.monaco-workbench .part.editor > .content .welcomePage .mac-only,
.monaco-workbench .part.editor > .content .welcomePage .windows-only,
.monaco-workbench .part.editor > .content .welcomePage .linux-only {
229 230
	display: none;
}
231
.monaco-workbench.mac .part.editor > .content .welcomePage .mac-only {
232 233
	display: initial;
}
234
.monaco-workbench.windows .part.editor > .content .welcomePage .windows-only {
235 236
	display: initial;
}
237
.monaco-workbench.linux .part.editor > .content .welcomePage .linux-only {
238
	display: initial;
239
}
240
.monaco-workbench.mac .part.editor > .content .welcomePage li.mac-only {
241 242
	display: list-item;
}
243
.monaco-workbench.windows .part.editor > .content .welcomePage li.windows-only {
244 245
	display: list-item;
}
246
.monaco-workbench.linux .part.editor > .content .welcomePage li.linux-only {
247 248
	display: list-item;
}