Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/extensions/media-preview/media/audioPreview.css
3292 views
1
/*---------------------------------------------------------------------------------------------
2
* Copyright (c) Microsoft Corporation. All rights reserved.
3
* Licensed under the MIT License. See License.txt in the project root for license information.
4
*--------------------------------------------------------------------------------------------*/
5
6
html, body {
7
width: 100%;
8
height: 100%;
9
text-align: center;
10
}
11
12
body {
13
padding: 5px 10px;
14
box-sizing: border-box;
15
-webkit-user-select: none;
16
user-select: none;
17
}
18
19
.audio-container {
20
height: 100%;
21
display: flex;
22
justify-content: center;
23
align-items: center;
24
}
25
26
.container.loading,
27
.container.error {
28
display: flex;
29
justify-content: center;
30
align-items: center;
31
}
32
33
.loading-indicator {
34
width: 30px;
35
height: 30px;
36
background-image: url('./loading.svg');
37
background-size: cover;
38
}
39
40
.loading-indicator,
41
.loading-error {
42
display: none;
43
}
44
45
.loading .loading-indicator,
46
.error .loading-error {
47
display: block;
48
}
49
50
.loading-error {
51
margin: 1em;
52
}
53
54
.vscode-dark .loading-indicator {
55
background-image: url('./loading-dark.svg');
56
}
57
58
.vscode-high-contrast .loading-indicator {
59
background-image: url('./loading-hc.svg');
60
}
61
62