Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/extensions/github-authentication/media/auth.css
3314 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
:root {
7
/* Dark theme colors (default) */
8
--vscode-foreground: #CCCCCC;
9
--vscode-editor-background: #1F1F1F;
10
--vscode-error-foreground: #F85149;
11
--vscode-textLink-foreground: #4daafc;
12
13
--vscode-filter-0: drop-shadow(0 0 0 rgba(0, 122, 204, 0));
14
--vscode-filter-50: drop-shadow(0 4px 12px rgba(0, 122, 204, 0.15));
15
--vscode-filter-70: drop-shadow(0 6px 18px rgba(0, 122, 204, 0.25));
16
--vscode-filter-100: drop-shadow(0 8px 24px rgba(0, 122, 204, 0.3));
17
18
--vscode-insiders-filter-0: drop-shadow(0 0 0 rgba(36, 191, 165, 0));
19
--vscode-insiders-filter-50: drop-shadow(0 4px 12px rgba(36, 191, 165, 0.15));
20
--vscode-insiders-filter-70: drop-shadow(0 6px 18px rgba(36, 191, 165, 0.25));
21
--vscode-insiders-filter-100: drop-shadow(0 8px 24px rgba(36, 191, 165, 0.3));
22
}
23
24
/* Light theme colors */
25
@media (prefers-color-scheme: light) {
26
:root {
27
--vscode-foreground: #3B3B3B;
28
--vscode-editor-background: #FFFFFF;
29
--vscode-error-foreground: #F85149;
30
--vscode-textLink-foreground: #005FB8;
31
}
32
}
33
34
html {
35
height: 100%;
36
}
37
38
body {
39
box-sizing: border-box;
40
min-height: 100%;
41
margin: 0;
42
padding: 15px 30px;
43
display: flex;
44
flex-direction: column;
45
color: var(--vscode-foreground);
46
font-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", system-ui, "Ubuntu", "Droid Sans", sans-serif;
47
background-color: var(--vscode-editor-background);
48
}
49
50
a {
51
color: var(--vscode-textLink-foreground);
52
text-decoration: none;
53
}
54
55
a:hover, a:focus {
56
text-decoration: underline;
57
}
58
59
.container {
60
height: 100vh;
61
display: flex;
62
align-items: center;
63
justify-content: center;
64
text-align: center;
65
}
66
67
.icon-container {
68
margin-bottom: 24px;
69
}
70
71
@keyframes rise-and-glow {
72
0% {
73
opacity: 0;
74
transform: translateY(15px) scale(0.95);
75
filter: var(--vscode-filter-0);
76
}
77
78
50% {
79
opacity: 0.8;
80
transform: translateY(-2px) scale(1.02);
81
filter: var(--vscode-filter-50);
82
}
83
84
70% {
85
opacity: 1;
86
transform: translateY(1px) scale(0.99);
87
filter: var(--vscode-filter-70);
88
}
89
90
100% {
91
opacity: 1;
92
transform: translateY(0) scale(1);
93
filter: var(--vscode-filter-100);
94
}
95
}
96
97
.vscode-icon {
98
width: 128px;
99
height: 128px;
100
animation: rise-and-glow 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
101
}
102
103
.title {
104
font-size: 28px;
105
font-weight: 300;
106
margin: 0 0 12px 0;
107
color: var(--vscode-foreground);
108
}
109
110
.subtitle {
111
font-size: 18px;
112
font-weight: 300;
113
color: var(--vscode-foreground);
114
opacity: 0.7;
115
margin: 0 0 36px 0;
116
}
117
118
.detail {
119
font-size: 14px;
120
color: var(--vscode-foreground);
121
opacity: 0.7;
122
margin: 0;
123
}
124
125
body.error .detail {
126
color: var(--vscode-error-foreground);
127
}
128
129
body.error .success-message {
130
display: none;
131
}
132
133
body:not(.error) .error-message {
134
display: none;
135
}
136
137