Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vs/workbench/contrib/debug/browser/media/repl.css
3296 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
/* Debug repl */
7
8
.monaco-workbench .repl {
9
height: 100%;
10
box-sizing: border-box;
11
overflow: hidden;
12
}
13
14
.monaco-workbench .repl .repl-tree .monaco-tl-contents {
15
user-select: text;
16
-webkit-user-select: text;
17
white-space: pre;
18
}
19
20
.monaco-workbench .repl .repl-tree .monaco-tl-contents .expression {
21
font-family: var(--vscode-repl-font-family);
22
font-size: var(--vscode-repl-font-size);
23
line-height: var(--vscode-repl-line-height);
24
}
25
26
.monaco-workbench .repl .repl-tree .monaco-tl-contents .expression .lazy-button {
27
cursor: pointer;
28
}
29
30
.monaco-workbench .repl .repl-tree .monaco-tl-twistie {
31
background-position-y: calc(100% - (var(--vscode-repl-font-size-for-twistie)));
32
}
33
34
.monaco-workbench .repl .repl-tree.word-wrap .monaco-tl-contents {
35
/* Wrap words but also do not trim whitespace #6275 */
36
word-wrap: break-word;
37
white-space: pre-wrap;
38
/* Break on all #7533 */
39
word-break: break-all;
40
}
41
42
.monaco-workbench .repl .repl-tree.word-wrap .monaco-tl-contents .expression.nested-variable {
43
white-space: pre; /* Preserve whitespace but don't wrap */
44
}
45
46
.monaco-workbench .repl .repl-tree .monaco-tl-twistie.collapsible + .monaco-tl-contents,
47
.monaco-workbench .repl .repl-tree .monaco-tl-twistie {
48
cursor: pointer;
49
}
50
51
.monaco-workbench .repl .repl-tree .output.expression.value-and-source {
52
display: flex;
53
}
54
55
.monaco-workbench .repl .repl-tree .output.expression.value-and-source .label {
56
margin-right: 4px;
57
}
58
59
.monaco-workbench .repl .repl-tree .output.expression.value-and-source .count-badge-wrapper {
60
margin-right: 4px;
61
}
62
63
.monaco-workbench .repl .repl-tree .output.expression.value-and-source .count-badge-wrapper .monaco-count-badge {
64
/* Allow the badge to be a bit shorter so it does not look cut off */
65
min-height: 16px;
66
word-break: keep-all;
67
}
68
69
.monaco-workbench .repl .repl-tree .monaco-tl-contents .arrow {
70
position:absolute;
71
left: 2px;
72
}
73
74
.monaco-workbench .repl .repl-tree .output.expression.value-and-source .source,
75
.monaco-workbench .repl .repl-tree .group .source {
76
margin-left: auto;
77
margin-right: 8px;
78
cursor: pointer;
79
text-decoration: underline;
80
overflow: hidden;
81
text-overflow: ellipsis;
82
white-space: nowrap;
83
text-align: right;
84
/*Use direction so the source shows elipses on the left*/
85
direction: rtl;
86
max-width: 400px;
87
}
88
89
.monaco-workbench .repl .repl-tree .output.expression > .value,
90
.monaco-workbench .repl .repl-tree .evaluation-result.expression > .value {
91
margin-left: 0px;
92
}
93
94
.monaco-workbench .repl .repl-tree .output.expression .name:not(:empty) {
95
margin-right: 6px;
96
}
97
98
.monaco-workbench .repl .repl-input-wrapper {
99
display: flex;
100
align-items: center;
101
}
102
103
/* Do not render show more in REPL suggest widget status bar */
104
.monaco-workbench .repl .repl-input-wrapper .suggest-status-bar .monaco-action-bar.right {
105
display: none;
106
}
107
108
.monaco-workbench .repl .repl-input-wrapper .repl-input-chevron {
109
padding: 0 6px 0 8px;
110
width: 16px;
111
height: 100%;
112
display: flex;
113
flex-shrink: 0;
114
justify-content: center;
115
font-weight: 600;
116
}
117
118
/* Output coloring and styling */
119
.monaco-workbench .repl .repl-tree .output.expression > .ignore {
120
font-style: italic;
121
}
122
123
/* ANSI Codes */
124
.monaco-workbench .repl .repl-tree .output.expression .code-bold { font-weight: bold; }
125
.monaco-workbench .repl .repl-tree .output.expression .code-italic { font-style: italic; }
126
.monaco-workbench .repl .repl-tree .output.expression .code-underline { text-decoration: underline; text-decoration-style:solid; }
127
.monaco-workbench .repl .repl-tree .output.expression .code-double-underline { text-decoration: underline; text-decoration-style:double; }
128
.monaco-workbench .repl .repl-tree .output.expression .code-strike-through { text-decoration:line-through; text-decoration-style:solid; }
129
.monaco-workbench .repl .repl-tree .output.expression .code-overline { text-decoration:overline; text-decoration-style:solid; }
130
/* because they can exist at same time we need all the possible underline(or double-underline),overline and strike-through combinations */
131
.monaco-workbench .repl .repl-tree .output.expression .code-overline.code-underline.code-strike-through { text-decoration: overline underline line-through; text-decoration-style:solid; }
132
.monaco-workbench .repl .repl-tree .output.expression .code-overline.code-underline { text-decoration: overline underline; text-decoration-style:solid; }
133
.monaco-workbench .repl .repl-tree .output.expression .code-overline.code-strike-through { text-decoration: overline line-through; text-decoration-style:solid; }
134
.monaco-workbench .repl .repl-tree .output.expression .code-underline.code-strike-through { text-decoration: underline line-through; text-decoration-style:solid; }
135
.monaco-workbench .repl .repl-tree .output.expression .code-overline.code-double-underline.code-strike-through { text-decoration: overline underline line-through; text-decoration-style:double; }
136
.monaco-workbench .repl .repl-tree .output.expression .code-overline.code-double-underline { text-decoration: overline underline; text-decoration-style:double; }
137
.monaco-workbench .repl .repl-tree .output.expression .code-double-underline.code-strike-through { text-decoration: underline line-through; text-decoration-style:double; }
138
.monaco-workbench .repl .repl-tree .output.expression .code-dim { opacity: 0.4; }
139
.monaco-workbench .repl .repl-tree .output.expression .code-hidden { opacity: 0; }
140
.monaco-workbench .repl .repl-tree .output.expression .code-blink { animation: code-blink-key 1s cubic-bezier(1, 0, 0, 1) infinite alternate; }
141
.monaco-workbench .repl .repl-tree .output.expression .code-rapid-blink { animation: code-blink-key 0.3s cubic-bezier(1, 0, 0, 1) infinite alternate; }
142
@keyframes code-blink-key {
143
to { opacity: 0.4; }
144
}
145
.monaco-workbench .repl .repl-tree .output.expression .code-subscript { vertical-align: sub; font-size: smaller; line-height: normal; }
146
.monaco-workbench .repl .repl-tree .output.expression .code-superscript { vertical-align: super; font-size: smaller; line-height: normal; }
147
148