Path: blob/main/src/vs/workbench/contrib/debug/browser/media/repl.css
3296 views
/*---------------------------------------------------------------------------------------------1* Copyright (c) Microsoft Corporation. All rights reserved.2* Licensed under the MIT License. See License.txt in the project root for license information.3*--------------------------------------------------------------------------------------------*/45/* Debug repl */67.monaco-workbench .repl {8height: 100%;9box-sizing: border-box;10overflow: hidden;11}1213.monaco-workbench .repl .repl-tree .monaco-tl-contents {14user-select: text;15-webkit-user-select: text;16white-space: pre;17}1819.monaco-workbench .repl .repl-tree .monaco-tl-contents .expression {20font-family: var(--vscode-repl-font-family);21font-size: var(--vscode-repl-font-size);22line-height: var(--vscode-repl-line-height);23}2425.monaco-workbench .repl .repl-tree .monaco-tl-contents .expression .lazy-button {26cursor: pointer;27}2829.monaco-workbench .repl .repl-tree .monaco-tl-twistie {30background-position-y: calc(100% - (var(--vscode-repl-font-size-for-twistie)));31}3233.monaco-workbench .repl .repl-tree.word-wrap .monaco-tl-contents {34/* Wrap words but also do not trim whitespace #6275 */35word-wrap: break-word;36white-space: pre-wrap;37/* Break on all #7533 */38word-break: break-all;39}4041.monaco-workbench .repl .repl-tree.word-wrap .monaco-tl-contents .expression.nested-variable {42white-space: pre; /* Preserve whitespace but don't wrap */43}4445.monaco-workbench .repl .repl-tree .monaco-tl-twistie.collapsible + .monaco-tl-contents,46.monaco-workbench .repl .repl-tree .monaco-tl-twistie {47cursor: pointer;48}4950.monaco-workbench .repl .repl-tree .output.expression.value-and-source {51display: flex;52}5354.monaco-workbench .repl .repl-tree .output.expression.value-and-source .label {55margin-right: 4px;56}5758.monaco-workbench .repl .repl-tree .output.expression.value-and-source .count-badge-wrapper {59margin-right: 4px;60}6162.monaco-workbench .repl .repl-tree .output.expression.value-and-source .count-badge-wrapper .monaco-count-badge {63/* Allow the badge to be a bit shorter so it does not look cut off */64min-height: 16px;65word-break: keep-all;66}6768.monaco-workbench .repl .repl-tree .monaco-tl-contents .arrow {69position:absolute;70left: 2px;71}7273.monaco-workbench .repl .repl-tree .output.expression.value-and-source .source,74.monaco-workbench .repl .repl-tree .group .source {75margin-left: auto;76margin-right: 8px;77cursor: pointer;78text-decoration: underline;79overflow: hidden;80text-overflow: ellipsis;81white-space: nowrap;82text-align: right;83/*Use direction so the source shows elipses on the left*/84direction: rtl;85max-width: 400px;86}8788.monaco-workbench .repl .repl-tree .output.expression > .value,89.monaco-workbench .repl .repl-tree .evaluation-result.expression > .value {90margin-left: 0px;91}9293.monaco-workbench .repl .repl-tree .output.expression .name:not(:empty) {94margin-right: 6px;95}9697.monaco-workbench .repl .repl-input-wrapper {98display: flex;99align-items: center;100}101102/* Do not render show more in REPL suggest widget status bar */103.monaco-workbench .repl .repl-input-wrapper .suggest-status-bar .monaco-action-bar.right {104display: none;105}106107.monaco-workbench .repl .repl-input-wrapper .repl-input-chevron {108padding: 0 6px 0 8px;109width: 16px;110height: 100%;111display: flex;112flex-shrink: 0;113justify-content: center;114font-weight: 600;115}116117/* Output coloring and styling */118.monaco-workbench .repl .repl-tree .output.expression > .ignore {119font-style: italic;120}121122/* ANSI Codes */123.monaco-workbench .repl .repl-tree .output.expression .code-bold { font-weight: bold; }124.monaco-workbench .repl .repl-tree .output.expression .code-italic { font-style: italic; }125.monaco-workbench .repl .repl-tree .output.expression .code-underline { text-decoration: underline; text-decoration-style:solid; }126.monaco-workbench .repl .repl-tree .output.expression .code-double-underline { text-decoration: underline; text-decoration-style:double; }127.monaco-workbench .repl .repl-tree .output.expression .code-strike-through { text-decoration:line-through; text-decoration-style:solid; }128.monaco-workbench .repl .repl-tree .output.expression .code-overline { text-decoration:overline; text-decoration-style:solid; }129/* because they can exist at same time we need all the possible underline(or double-underline),overline and strike-through combinations */130.monaco-workbench .repl .repl-tree .output.expression .code-overline.code-underline.code-strike-through { text-decoration: overline underline line-through; text-decoration-style:solid; }131.monaco-workbench .repl .repl-tree .output.expression .code-overline.code-underline { text-decoration: overline underline; text-decoration-style:solid; }132.monaco-workbench .repl .repl-tree .output.expression .code-overline.code-strike-through { text-decoration: overline line-through; text-decoration-style:solid; }133.monaco-workbench .repl .repl-tree .output.expression .code-underline.code-strike-through { text-decoration: underline line-through; text-decoration-style:solid; }134.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; }135.monaco-workbench .repl .repl-tree .output.expression .code-overline.code-double-underline { text-decoration: overline underline; text-decoration-style:double; }136.monaco-workbench .repl .repl-tree .output.expression .code-double-underline.code-strike-through { text-decoration: underline line-through; text-decoration-style:double; }137.monaco-workbench .repl .repl-tree .output.expression .code-dim { opacity: 0.4; }138.monaco-workbench .repl .repl-tree .output.expression .code-hidden { opacity: 0; }139.monaco-workbench .repl .repl-tree .output.expression .code-blink { animation: code-blink-key 1s cubic-bezier(1, 0, 0, 1) infinite alternate; }140.monaco-workbench .repl .repl-tree .output.expression .code-rapid-blink { animation: code-blink-key 0.3s cubic-bezier(1, 0, 0, 1) infinite alternate; }141@keyframes code-blink-key {142to { opacity: 0.4; }143}144.monaco-workbench .repl .repl-tree .output.expression .code-subscript { vertical-align: sub; font-size: smaller; line-height: normal; }145.monaco-workbench .repl .repl-tree .output.expression .code-superscript { vertical-align: super; font-size: smaller; line-height: normal; }146147148