mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-29 00:46:00 +01:00
785 lines
28 KiB
CSS
785 lines
28 KiB
CSS
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
.monaco-workbench .notebookOverlay.notebook-editor {
|
|
box-sizing: border-box;
|
|
line-height: 22px;
|
|
user-select: initial;
|
|
-webkit-user-select: initial;
|
|
position: relative;
|
|
}
|
|
|
|
.monaco-workbench .cell.markdown {
|
|
user-select: text;
|
|
-webkit-user-select: text;
|
|
white-space: initial;
|
|
}
|
|
|
|
.monaco-workbench .cell.markdown p.emptyMarkdownPlaceholder {
|
|
font-style: italic;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .simple-fr-find-part-wrapper.visible {
|
|
z-index: 100;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell-list-container .overflowingContentWidgets > div {
|
|
z-index: 600 !important;
|
|
/* @rebornix: larger than the editor title bar */
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell-list-container .monaco-list-rows {
|
|
min-height: 100%;
|
|
overflow: visible !important;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell-list-container {
|
|
position: relative;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay.global-drag-active .webview {
|
|
pointer-events: none;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell-list-container .webview-cover {
|
|
position: absolute;
|
|
top: 0;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row {
|
|
cursor: default;
|
|
overflow: visible !important;
|
|
width: 100%;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row.cell-drag-image {
|
|
position: absolute;
|
|
top: -500px;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row.cell-drag-image .cell-editor-container > div {
|
|
padding: 12px 16px;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row.cell-drag-image .cell-drag-handle {
|
|
display: none;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row.cell-drag-image.code-cell-row .cell-focus-indicator-side {
|
|
height: 44px !important;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row.cell-drag-image.code-cell-row .cell-focus-indicator-bottom {
|
|
top: 50px !important;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row.cell-drag-image.markdown-cell-row .cell-focus-indicator {
|
|
bottom: 8px;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row.cell-drag-image.code-cell-row {
|
|
padding: 6px 0px;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row.cell-drag-image .output {
|
|
display: none !important;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row.cell-drag-image .cell-title-toolbar {
|
|
display: none;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row.cell-drag-image .cell-statusbar-container {
|
|
display: none;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row.cell-drag-image .cell-editor-part {
|
|
width: 100%;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row.cell-drag-image .cell-editor-container > div > div {
|
|
/* Rendered code content - show a single unwrapped line */
|
|
height: 20px;
|
|
overflow: hidden;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row.cell-drag-image.markdown-cell-row .cell.markdown {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell {
|
|
display: flex;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row:not(.selected) .monaco-editor .lines-content .selected-text,
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row:not(.selected) .monaco-editor .lines-content .selectionHighlight {
|
|
opacity: 0.33;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .notebook-content-widgets {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .output {
|
|
position: absolute;
|
|
height: 0px;
|
|
user-select: text;
|
|
transform: translate3d(0px, 0px, 0px);
|
|
cursor: auto;
|
|
box-sizing: border-box;
|
|
z-index: 27; /* Over drag handle */
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .output p {
|
|
white-space: initial;
|
|
overflow-x: auto;
|
|
margin: 0px;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .output > div.foreground {
|
|
width: 100%;
|
|
min-height: 24px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .output > div.foreground > .output-inner-container {
|
|
width: 100%;
|
|
padding: 4px 8px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .output > div.foreground .output-stream,
|
|
.monaco-workbench .notebookOverlay .output > div.foreground .output-plaintext {
|
|
font-family: var(--monaco-monospace-font);
|
|
white-space: pre-wrap;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell-drag-image .output .multi-mimetype-output {
|
|
display: none;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .output .multi-mimetype-output {
|
|
position: absolute;
|
|
top: 4px;
|
|
left: -26px;
|
|
width: 16px;
|
|
height: 16px;
|
|
cursor: pointer;
|
|
padding: 4px;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .output .error_message {
|
|
color: red;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .output .error > div {
|
|
white-space: normal;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .output .error pre.traceback {
|
|
margin: 8px 0;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .output .error .traceback > span {
|
|
display: block;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .output .display img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .menu {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 28px;
|
|
visibility: hidden;
|
|
width: 16px;
|
|
margin: auto;
|
|
padding-left: 4px;
|
|
}
|
|
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .menu.mouseover,
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row:hover .menu,
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell-output-hover .menu {
|
|
visibility: visible;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row,
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row:hover,
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell-output-hover {
|
|
outline: none !important;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row.focused {
|
|
outline: none !important;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell-collapsed-part {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell-collapsed-part .codicon {
|
|
margin-top: 4px;
|
|
position: relative;
|
|
left: -23px;
|
|
cursor: pointer;
|
|
z-index: 27; /* Over drag handle */
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row.collapsed .notebook-folding-indicator,
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row.collapsed .cell-title-toolbar {
|
|
display: none;
|
|
}
|
|
|
|
/* top and bottom borders on cells */
|
|
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.focused .cell-focus-indicator-top:before,
|
|
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.focused .cell-focus-indicator-bottom:before,
|
|
.monaco-workbench .notebookOverlay .monaco-list .markdown-cell-row.focused:before,
|
|
.monaco-workbench .notebookOverlay .monaco-list .markdown-cell-row.focused:after {
|
|
content: "";
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 1px;
|
|
}
|
|
|
|
/* top border */
|
|
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.focused .cell-focus-indicator-top:before,
|
|
.monaco-workbench .notebookOverlay .monaco-list .markdown-cell-row.focused:before {
|
|
border-top: 1px solid transparent;
|
|
}
|
|
|
|
.monaco-workbench.hc-black .notebookOverlay .monaco-list .monaco-list-row.focused.cell-editor-focus .cell-focus-indicator-top:before,
|
|
.monaco-workbench.hc-black .notebookOverlay .monaco-list .markdown-cell-row.focused.cell-editor-focus:before {
|
|
border-top-style: dashed;
|
|
}
|
|
|
|
/* bottom border */
|
|
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.focused .cell-focus-indicator-bottom:before,
|
|
.monaco-workbench .notebookOverlay .monaco-list .markdown-cell-row.focused:after {
|
|
border-bottom: 1px solid transparent;
|
|
}
|
|
|
|
.monaco-workbench.hc-black .notebookOverlay .monaco-list .monaco-list-row.focused.cell-editor-focus .cell-focus-indicator-bottom:before,
|
|
.monaco-workbench.hc-black .notebookOverlay .monaco-list .markdown-cell-row.focused.cell-editor-focus:after {
|
|
border-bottom-style: dashed;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.focused .cell-focus-indicator-top:before,
|
|
.monaco-workbench .notebookOverlay .monaco-list .markdown-cell-row.focused:before {
|
|
top: 0;
|
|
}
|
|
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.focused .cell-focus-indicator-bottom:before,
|
|
.monaco-workbench .notebookOverlay .monaco-list .markdown-cell-row.focused:after {
|
|
bottom: 0px;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .menu.mouseover,
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .menu:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell-title-toolbar {
|
|
visibility: hidden;
|
|
display: inline-flex;
|
|
position: absolute;
|
|
height: 26px;
|
|
right: 44px;
|
|
top: -12px;
|
|
/* this lines up the bottom toolbar border with the current line when on line 01 */
|
|
z-index: 30;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell-title-toolbar .action-item {
|
|
width: 24px;
|
|
height: 24px;
|
|
display: flex;
|
|
align-items: center;
|
|
margin: 1px 2px;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell-title-toolbar .action-item .action-label {
|
|
display: flex;
|
|
align-items: center;
|
|
margin: auto;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell-title-toolbar .action-item .monaco-dropdown {
|
|
width: 100%;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell-title-toolbar .action-item .monaco-dropdown .dropdown-label {
|
|
display: flex;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell-statusbar-container {
|
|
height: 21px;
|
|
font-size: 12px;
|
|
display: flex;
|
|
position: relative;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell-statusbar-container .cell-status-left {
|
|
display: flex;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell-statusbar-container .cell-status-right {
|
|
padding-right: 12px;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell-statusbar-container .cell-language-picker {
|
|
padding: 0px 6px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell-statusbar-container .cell-run-duration {
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell-statusbar-container .cell-run-duration,
|
|
.monaco-workbench .notebookOverlay .cell-statusbar-container .cell-status-message {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell-statusbar-container .cell-run-status {
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
margin-left: 18px;
|
|
width: 18px;
|
|
margin-right: 2px;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell-statusbar-container .codicon {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell-status-placeholder {
|
|
position: absolute;
|
|
left: 18px;
|
|
display: flex;
|
|
align-items: center;
|
|
bottom: 0px;
|
|
top: 0px;
|
|
}
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell .run-button-container {
|
|
position: relative;
|
|
height: 16px;
|
|
flex-shrink: 0;
|
|
top: 9px;
|
|
z-index: 27; /* Above the drag handle */
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell .run-button-container .monaco-toolbar {
|
|
visibility: hidden;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell .run-button-container .monaco-toolbar .codicon {
|
|
margin: 0;
|
|
padding-right: 4px;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell .run-button-container .monaco-toolbar .actions-container {
|
|
justify-content: center;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row:hover .cell.runnable .run-button-container .monaco-toolbar,
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row.focused .cell.runnable .run-button-container .monaco-toolbar,
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row.cell-output-hover .cell.runnable .run-button-container .monaco-toolbar {
|
|
visibility: visible;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell .run-button-container .execution-count-label {
|
|
position: absolute;
|
|
top: -2px;
|
|
font-size: 10px;
|
|
font-family: var(--monaco-monospace-font);
|
|
visibility: visible;
|
|
white-space: pre;
|
|
width: 100%;
|
|
text-align: center;
|
|
padding-right: 8px;
|
|
box-sizing: border-box;
|
|
opacity: .6;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row:hover .cell .run-button-container .execution-count-label,
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row.cell-output-hover .cell .run-button-container .execution-count-label,
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row.focused .cell .run-button-container .execution-count-label {
|
|
visibility: hidden;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell .cell-editor-part {
|
|
position: relative;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell .monaco-progress-container {
|
|
top: -5px;
|
|
|
|
position: absolute;
|
|
left: 0;
|
|
z-index: 5;
|
|
height: 2px;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell .monaco-progress-container .progress-bit {
|
|
height: 2px;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row.focused .cell-has-toolbar-actions .cell-title-toolbar,
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell-has-toolbar-actions.cell-output-hover .cell-title-toolbar,
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell-has-toolbar-actions:hover .cell-title-toolbar {
|
|
visibility: visible;
|
|
}
|
|
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list:not(.element-focused):focus:before {
|
|
outline: none !important;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row .cell-focus-indicator {
|
|
position: absolute;
|
|
top: 0px;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row .cell-focus-indicator-side {
|
|
/** Overidden for code cells */
|
|
top: 0px;
|
|
bottom: 0px;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row .cell-focus-indicator-top,
|
|
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row .cell-focus-indicator-bottom {
|
|
width: 100%;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row .cell-focus-indicator-right {
|
|
right: 0px;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row .cell-drag-handle {
|
|
position: absolute;
|
|
top: 0px;
|
|
z-index: 26; /* Above the bottom toolbar */
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row .cell-drag-handle:hover,
|
|
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.markdown-cell-row .cell-inner-container:hover {
|
|
cursor: grab;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row .cell-focus-indicator .codicon:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .monaco-list-row .cell-editor-part:before {
|
|
z-index: 20;
|
|
content: "";
|
|
right: 0px;
|
|
left: 0px;
|
|
top: 0px;
|
|
bottom: 0px;
|
|
outline-offset: -1px;
|
|
display: block;
|
|
position: absolute;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row .cell-insertion-indicator-top {
|
|
top: -15px;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .cell-list-insertion-indicator {
|
|
position: absolute;
|
|
height: 2px;
|
|
left: 0px;
|
|
right: 0px;
|
|
opacity: 0;
|
|
z-index: 10;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list .monaco-list-row .cell-dragging {
|
|
opacity: 0.5 !important;
|
|
}
|
|
|
|
|
|
.monaco-workbench .notebookOverlay .cell-list-top-cell-toolbar-container.emptyNotebook {
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell-list-top-cell-toolbar-container,
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell-bottom-toolbar-container {
|
|
position: absolute;
|
|
display: flex;
|
|
justify-content: center;
|
|
z-index: 25; /* over the focus outline on the editor, below the title toolbar */
|
|
width: 100%;
|
|
opacity: 0;
|
|
transition: opacity 0.2s ease-in-out;
|
|
padding: 0;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row.cell-drag-image .cell-bottom-toolbar-container {
|
|
display: none;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell-list-top-cell-toolbar-container:focus-within,
|
|
.monaco-workbench .notebookOverlay .cell-list-top-cell-toolbar-container:hover,
|
|
.monaco-workbench .notebookOverlay.notebook-editor-editable > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell-bottom-toolbar-container:focus-within,
|
|
.monaco-workbench .notebookOverlay.notebook-editor-editable > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell-bottom-toolbar-container:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell-list-top-cell-toolbar-container .monaco-toolbar,
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell-bottom-toolbar-container .monaco-toolbar {
|
|
margin: 0px 8px;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell-list-top-cell-toolbar-container .monaco-toolbar .action-item,
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell-bottom-toolbar-container .monaco-toolbar .action-item {
|
|
display: flex;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell-list-top-cell-toolbar-container .monaco-toolbar .action-item.active,
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell-bottom-toolbar-container .monaco-toolbar .action-item.active {
|
|
transform: none;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell-list-top-cell-toolbar-container .monaco-toolbar .action-label,
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell-bottom-toolbar-container .monaco-toolbar .action-label {
|
|
font-size: 12px;
|
|
margin: 0px;
|
|
display: inline-flex;
|
|
padding: 0px 4px;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell-list-top-cell-toolbar-container .monaco-toolbar .action-label .codicon,
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell-bottom-toolbar-container .monaco-toolbar .action-label .codicon {
|
|
margin-right: 3px;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell-list-top-cell-toolbar-container .monaco-action-bar,
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell-bottom-toolbar-container .monaco-action-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell-list-top-cell-toolbar-container .action-item:first-child,
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell-bottom-toolbar-container .action-item:first-child {
|
|
margin-right: 16px;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell-list-top-cell-toolbar-container span.codicon,
|
|
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell-bottom-toolbar-container span.codicon {
|
|
text-align: center;
|
|
font-size: 14px;
|
|
color: inherit;
|
|
}
|
|
|
|
/* markdown */
|
|
|
|
|
|
.monaco-workbench .notebookOverlay .cell.markdown img {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell.markdown a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell.markdown a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell.markdown a:focus,
|
|
.monaco-workbench .notebookOverlay .cell.markdown input:focus,
|
|
.monaco-workbench .notebookOverlay .cell.markdown select:focus,
|
|
.monaco-workbench .notebookOverlay .cell.markdown textarea:focus {
|
|
outline: 1px solid -webkit-focus-ring-color;
|
|
outline-offset: -1px;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell.markdown hr {
|
|
border: 0;
|
|
height: 2px;
|
|
border-bottom: 2px solid;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell.markdown h1 {
|
|
padding-bottom: 0.3em;
|
|
line-height: 1.2;
|
|
border-bottom-width: 1px;
|
|
border-bottom-style: solid;
|
|
border-color: rgba(255, 255, 255, 0.18);
|
|
}
|
|
|
|
.monaco-workbench.vs .monaco-workbench .notebookOverlay .cell.markdown h1 {
|
|
border-color: rgba(0, 0, 0, 0.18);
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell.markdown h1,
|
|
.monaco-workbench .notebookOverlay .cell.markdown h2,
|
|
.monaco-workbench .notebookOverlay .cell.markdown h3 {
|
|
font-weight: normal;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell.markdown div {
|
|
width: 100%;
|
|
}
|
|
|
|
/* Adjust margin of first item in markdown cell */
|
|
.monaco-workbench .notebookOverlay .cell.markdown div *:first-child {
|
|
margin-top: 0px;
|
|
}
|
|
|
|
/* h1 tags don't need top margin */
|
|
.monaco-workbench .notebookOverlay .cell.markdown div h1:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
/* Removes bottom margin when only one item exists in markdown cell */
|
|
.monaco-workbench .notebookOverlay .cell.markdown div *:only-child,
|
|
.monaco-workbench .notebookOverlay .cell.markdown div *:last-child {
|
|
margin-bottom: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
/* makes all markdown cells consistent */
|
|
.monaco-workbench .notebookOverlay .cell.markdown div {
|
|
min-height: 24px;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell.markdown table {
|
|
border-collapse: collapse;
|
|
border-spacing: 0;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell.markdown table th,
|
|
.monaco-workbench .notebookOverlay .cell.markdown table td {
|
|
border: 1px solid;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell.markdown table > thead > tr > th {
|
|
text-align: left;
|
|
border-bottom: 1px solid;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell.markdown table > thead > tr > th,
|
|
.monaco-workbench .notebookOverlay .cell.markdown table > thead > tr > td,
|
|
.monaco-workbench .notebookOverlay .cell.markdown table > tbody > tr > th,
|
|
.monaco-workbench .notebookOverlay .cell.markdown table > tbody > tr > td {
|
|
padding: 5px 10px;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell.markdown table > tbody > tr + tr > td {
|
|
border-top: 1px solid;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell.markdown blockquote {
|
|
margin: 0 7px 0 5px;
|
|
padding: 0 16px 0 10px;
|
|
border-left-width: 5px;
|
|
border-left-style: solid;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell.markdown code,
|
|
.monaco-workbench .notebookOverlay .cell.markdown .code {
|
|
font-family: var(--monaco-monospace-font);
|
|
font-size: 1em;
|
|
line-height: 1.357em;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell.markdown .code {
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell.markdown .latex-block {
|
|
display: block;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell.markdown .latex {
|
|
vertical-align: middle;
|
|
display: inline-block;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell.markdown .latex img,
|
|
.monaco-workbench .notebookOverlay .cell.markdown .latex-block img {
|
|
filter: brightness(0) invert(0)
|
|
}
|
|
|
|
.monaco-workbench.vs-dark .notebookOverlay .cell.markdown .latex img,
|
|
.monaco-workbench.vs-dark .notebookOverlay .cell.markdown .latex-block img {
|
|
filter: brightness(0) invert(1)
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container .notebook-folding-indicator {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 100%;
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay > .cell-list-container .notebook-folding-indicator .codicon {
|
|
visibility: visible;
|
|
padding: 8px 0 0 10px;
|
|
}
|
|
|
|
/** Theming */
|
|
|
|
/* .monaco-workbench .notebookOverlay .cell.markdown pre {
|
|
background-color: rgba(220, 220, 220, 0.4);
|
|
}
|
|
|
|
.monaco-workbench.vs-dark .monaco-workbench .notebookOverlay .cell.markdown pre {
|
|
background-color: rgba(10, 10, 10, 0.4);
|
|
}
|
|
|
|
.monaco-workbench.hc-black .monaco-workbench .notebookOverlay .cell.markdown pre {
|
|
background-color: rgb(0, 0, 0);
|
|
}
|
|
|
|
.monaco-workbench.hc-black .monaco-workbench .notebookOverlay .cell.markdown h1 {
|
|
border-color: rgb(0, 0, 0);
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell.markdown table > thead > tr > th {
|
|
border-color: rgba(0, 0, 0, 0.18);
|
|
}
|
|
|
|
.monaco-workbench.vs-dark .monaco-workbench .notebookOverlay .cell.markdown table > thead > tr > th {
|
|
border-color: rgba(255, 255, 255, 0.18);
|
|
}
|
|
|
|
.monaco-workbench .notebookOverlay .cell.markdown h1,
|
|
.monaco-workbench .notebookOverlay .cell.markdown hr,
|
|
.monaco-workbench .notebookOverlay .cell.markdown table > tbody > tr > td {
|
|
border-color: rgba(0, 0, 0, 0.18);
|
|
}
|
|
|
|
.monaco-workbench.vs-dark .monaco-workbench .notebookOverlay .cell.markdown h1,
|
|
.monaco-workbench.vs-dark .monaco-workbench .notebookOverlay .cell.markdown hr,
|
|
.monaco-workbench.vs-dark .monaco-workbench .notebookOverlay .cell.markdown table > tbody > tr > td {
|
|
border-color: rgba(255, 255, 255, 0.18);
|
|
} */
|
|
|
|
.monaco-action-bar .action-item.verticalSeparator {
|
|
width: 1px !important;
|
|
height: 16px !important;
|
|
margin: 5px 4px !important;
|
|
cursor: none;
|
|
}
|