Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vs/workbench/contrib/notebook/browser/media/notebookFolding.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 > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .notebook-folding-indicator.mouseover .codicon.codicon-notebook-expanded {
7
opacity: 0;
8
}
9
10
.monaco-workbench:not(.reduce-motion) .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .notebook-folding-indicator.mouseover .codicon.codicon-notebook-expanded {
11
transition: opacity 0.1 s;
12
}
13
14
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .markdown-cell-hover .notebook-folding-indicator.mouseover .codicon.codicon-notebook-expanded {
15
opacity: 1;
16
}
17
18
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row.focused .notebook-folding-indicator.mouseover .codicon.codicon-notebook-expanded,
19
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row:hover .notebook-folding-indicator.mouseover .codicon.codicon-notebook-expanded {
20
opacity: 1;
21
}
22
23
.monaco-workbench .notebookOverlay > .cell-list-container .notebook-folding-indicator {
24
height: 20px;
25
width: 20px;
26
27
position: absolute;
28
top: 10px;
29
left: 6px;
30
display: flex;
31
justify-content: center;
32
align-items: center;
33
z-index: var(--z-index-notebook-folding-indicator);
34
}
35
36
.monaco-workbench .notebookOverlay > .cell-list-container .webview-backed-markdown-cell .notebook-folding-indicator {
37
top: 8px;
38
}
39
40
.monaco-workbench .notebookOverlay > .cell-list-container .notebook-folding-indicator .codicon {
41
visibility: visible;
42
height: 16px;
43
padding: 4px 4px 4px 4px;
44
}
45
46
.monaco-workbench .notebookOverlay > .cell-list-container .notebook-folded-hint {
47
position: absolute;
48
user-select: none;
49
display: flex;
50
align-items: center;
51
}
52
53
.monaco-workbench .notebookOverlay > .cell-list-container .notebook-folded-hint-label {
54
font-size: var(--notebook-cell-output-font-size);
55
font-family: var(--monaco-monospace-font);
56
font-style: italic;
57
opacity: 0.7;
58
}
59
60
.monaco-workbench .notebookOverlay > .cell-list-container .folded-cell-run-section-button {
61
position: relative;
62
left: 0px;
63
padding: 2px;
64
border-radius: 5px;
65
margin-right: 4px;
66
height: 16px;
67
width: 16px;
68
z-index: var(--z-index-notebook-cell-expand-part-button);
69
}
70
71
.monaco-workbench .notebookOverlay > .cell-list-container .folded-cell-run-section-button:hover {
72
background-color: var(--vscode-editorStickyScrollHover-background);
73
cursor: pointer;
74
}
75
76
.monaco-workbench .notebookOverlay .cell-editor-container .monaco-editor .margin-view-overlays .codicon-folding-expanded,
77
.monaco-workbench .notebookOverlay .cell-editor-container .monaco-editor .margin-view-overlays .codicon-folding-collapsed {
78
margin-left: 0;
79
}
80
81