Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vs/sessions/contrib/tunnelHost/electron-browser/media/tunnelHost.css
13406 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
.tunnel-host-toggle {
7
display: flex;
8
align-items: center;
9
gap: 4px;
10
height: 16px;
11
padding: 3px 6px;
12
cursor: pointer;
13
color: var(--vscode-icon-foreground);
14
border-radius: 4px;
15
}
16
17
.tunnel-host-toggle:hover {
18
background-color: var(--vscode-toolbar-hoverBackground);
19
}
20
21
.tunnel-host-toggle:focus-visible {
22
outline: 1px solid var(--vscode-focusBorder);
23
outline-offset: -1px;
24
}
25
26
.tunnel-host-toggle .tunnel-host-icon {
27
display: flex;
28
align-items: center;
29
}
30
31
.tunnel-host-toggle.sharing .tunnel-host-icon .codicon {
32
color: var(--vscode-problemsWarningIcon-foreground) !important;
33
}
34
35
.tunnel-host-toggle.connecting .tunnel-host-icon .codicon {
36
animation: tunnel-host-pulse 1.5s ease-in-out infinite;
37
}
38
39
@keyframes tunnel-host-pulse {
40
0%, 100% {
41
opacity: 1;
42
}
43
50% {
44
opacity: 0.3;
45
}
46
}
47
48
@media (prefers-reduced-motion: reduce) {
49
.tunnel-host-toggle.connecting .tunnel-host-icon .codicon {
50
animation: none;
51
}
52
}
53
54
.tunnel-host-toast {
55
max-width: 0;
56
overflow: hidden;
57
white-space: nowrap;
58
opacity: 0;
59
font-size: 11px;
60
transition: max-width 0.3s ease-out, opacity 0.3s ease-out;
61
}
62
63
.tunnel-host-toast.visible {
64
max-width: 300px;
65
opacity: 1;
66
}
67
68