Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vs/workbench/contrib/notebook/browser/media/notebookCellOutput.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
.monaco-workbench .notebookOverlay .output {
7
position: absolute;
8
height: 0px;
9
user-select: text;
10
-webkit-user-select: text;
11
cursor: auto;
12
box-sizing: border-box;
13
z-index: var(--z-index-notebook-output);
14
}
15
16
.monaco-workbench .notebookOverlay .output .cell-output-toolbar {
17
left: -29px;
18
width: 22px;
19
z-index: var(--z-index-notebook-cell-output-toolbar);
20
}
21
22
.monaco-workbench .notebookOverlay .output p {
23
white-space: initial;
24
overflow-x: auto;
25
margin: 0px;
26
}
27
28
.monaco-workbench .notebookOverlay .output > div.foreground {
29
width: 100%;
30
min-height: 24px;
31
box-sizing: border-box;
32
}
33
34
.monaco-workbench .notebookOverlay .output > div.foreground.output-inner-container {
35
width: 100%;
36
box-sizing: border-box;
37
}
38
39
.monaco-workbench .notebookOverlay .output > div.foreground.output-inner-container .rendered-output {
40
display: inline;
41
transform: translate3d(0px, 0px, 0px);
42
}
43
44
.monaco-workbench .notebookOverlay .output .cell-output-toolbar {
45
position: absolute;
46
top: 4px;
47
left: -32px;
48
height: 16px;
49
cursor: pointer;
50
padding: 6px 0px;
51
}
52
53
.monaco-workbench .notebookOverlay .output .cell-output-toolbar .actions-container {
54
justify-content: center;
55
}
56
57
.monaco-workbench .notebookOverlay .output pre {
58
margin: 4px 0;
59
}
60
61
.monaco-workbench .notebookOverlay .output .error_message {
62
color: red; /*TODO@rebornix theme color*/
63
}
64
65
.monaco-workbench .notebookOverlay .output .error > div {
66
white-space: normal;
67
}
68
69
.monaco-workbench .notebookOverlay .output .error pre.traceback {
70
margin: 8px 0;
71
}
72
73
.monaco-workbench .notebookOverlay .output .error .traceback > span {
74
display: block;
75
}
76
77
.monaco-workbench .notebookOverlay .output .display img {
78
max-width: 100%;
79
}
80
81
.monaco-workbench .notebookOverlay .output-show-more-container {
82
position: absolute;
83
}
84
85
.monaco-workbench .notebookOverlay .output-show-more-container p {
86
padding: 8px 8px 0 8px;
87
margin: 0px;
88
}
89
90
.output-show-more {
91
padding: 8px 0 0 0;
92
font-style: italic;
93
}
94
95
.output-show-more a {
96
cursor: pointer;
97
}
98
99
/** Cell output show more*/
100
.notebookOverlay .output-show-more-container a,
101
.notebookOverlay div.output-show-more a {
102
color: var(--vscode-textLink-foreground);
103
}
104
105
.notebookOverlay .output-show-more-container a:active,
106
.notebookOverlay .output-show-more a:active {
107
color: var(--vscode-textLink-activeForeground);
108
}
109
110
/** Notebook cell output background */
111
.notebookOverlay .output,
112
.notebookOverlay .output-element,
113
.notebookOverlay .output-show-more-container {
114
background-color: var(--vscode-notebook-outputContainerBackgroundColor);
115
}
116
117
.notebookOverlay .output-element {
118
border-top: none !important; border: 1px solid transparent; border-color: var(--vscode-notebook-outputContainerBorderColor) !important;
119
}
120
121