Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vs/workbench/contrib/browserView/electron-browser/media/browser.css
4780 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
.browser-root {
7
display: flex;
8
flex-direction: column;
9
width: 100%;
10
height: 100%;
11
12
.browser-toolbar {
13
display: flex;
14
align-items: center;
15
padding: 8px;
16
border-bottom: 1px solid var(--vscode-editorWidget-border);
17
background-color: var(--vscode-editor-background);
18
flex-shrink: 0;
19
gap: 8px;
20
}
21
22
.browser-nav-toolbar,
23
.browser-actions-toolbar {
24
display: flex;
25
align-items: center;
26
flex-shrink: 0;
27
}
28
29
.browser-url-input {
30
flex: 1;
31
padding: 4px 8px;
32
background-color: var(--vscode-input-background);
33
color: var(--vscode-input-foreground);
34
border: 1px solid var(--vscode-input-border);
35
border-radius: 2px;
36
outline: none;
37
font-size: 13px;
38
39
&:focus {
40
border-color: var(--vscode-focusBorder);
41
}
42
}
43
44
.browser-container {
45
flex: 1;
46
min-height: 0;
47
margin: 0 2px 2px;
48
overflow: hidden;
49
position: relative;
50
background-image: none;
51
background-size: contain;
52
background-repeat: no-repeat;
53
filter: blur(0px);
54
transition: opacity 300ms ease-out, filter 300ms ease-out;
55
outline: none !important;
56
opacity: 1.0;
57
58
&.blur {
59
opacity: 0.8;
60
filter: blur(2px);
61
}
62
}
63
64
.browser-error-container {
65
position: absolute;
66
top: 0;
67
left: 0;
68
right: 0;
69
bottom: 0;
70
flex: 1;
71
display: flex;
72
align-items: flex-start;
73
justify-content: flex-start;
74
padding: 80px 40px;
75
margin: 0 2px 2px;
76
background-color: var(--vscode-editor-background);
77
}
78
79
.browser-error-content {
80
max-width: 600px;
81
width: 100%;
82
}
83
84
.browser-error-title {
85
font-size: 18px;
86
font-weight: 600;
87
color: var(--vscode-errorForeground);
88
margin-bottom: 20px;
89
}
90
91
.browser-error-detail {
92
margin-bottom: 12px;
93
line-height: 1.6;
94
color: var(--vscode-foreground);
95
96
strong {
97
font-weight: 600;
98
}
99
100
code {
101
background-color: var(--vscode-textCodeBlock-background);
102
padding: 2px 6px;
103
border-radius: 3px;
104
font-family: var(--monaco-monospace-font);
105
font-size: 12px;
106
}
107
}
108
}
109
110