repl: introduce .monaco-workbench selector and remove unused css
#97695
This commit is contained in:
parent
1de3cce95e
commit
ecf39a0453
1 changed files with 13 additions and 36 deletions
|
@ -5,19 +5,19 @@
|
|||
|
||||
/* Debug repl */
|
||||
|
||||
.repl {
|
||||
.monaco-workbench .repl {
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.repl .repl-tree .monaco-tl-contents {
|
||||
.monaco-workbench .repl .repl-tree .monaco-tl-contents {
|
||||
user-select: text;
|
||||
-webkit-user-select: text;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
.repl .repl-tree.word-wrap .monaco-tl-contents {
|
||||
.monaco-workbench .repl .repl-tree.word-wrap .monaco-tl-contents {
|
||||
/* Wrap words but also do not trim whitespace #6275 */
|
||||
word-wrap: break-word;
|
||||
white-space: pre-wrap;
|
||||
|
@ -30,15 +30,15 @@
|
|||
cursor: pointer;
|
||||
}
|
||||
|
||||
.repl .repl-tree .output.expression.value-and-source {
|
||||
.monaco-workbench .repl .repl-tree .output.expression.value-and-source {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.repl .repl-tree .output.expression.value-and-source .value {
|
||||
.monaco-workbench .repl .repl-tree .output.expression.value-and-source .value {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.repl .repl-tree .monaco-tl-contents .arrow {
|
||||
.monaco-workbench .repl .repl-tree .monaco-tl-contents .arrow {
|
||||
position:absolute;
|
||||
left: 2px;
|
||||
opacity: 0.25;
|
||||
|
@ -48,7 +48,7 @@
|
|||
opacity: 0.4;
|
||||
}
|
||||
|
||||
.repl .repl-tree .output.expression.value-and-source .source {
|
||||
.monaco-workbench .repl .repl-tree .output.expression.value-and-source .source {
|
||||
margin-left: 4px;
|
||||
margin-right: 8px;
|
||||
cursor: pointer;
|
||||
|
@ -59,32 +59,21 @@
|
|||
max-width: 150px;
|
||||
}
|
||||
|
||||
.repl .repl-tree .output.expression > .value,
|
||||
.repl .repl-tree .evaluation-result.expression > .value {
|
||||
.monaco-workbench .repl .repl-tree .output.expression > .value,
|
||||
.monaco-workbench .repl .repl-tree .evaluation-result.expression > .value {
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
.repl .repl-tree .output.expression > .annotation,
|
||||
.repl .repl-tree .evaluation-result.expression > .annotation {
|
||||
font-size: inherit;
|
||||
padding-left: 6px;
|
||||
}
|
||||
|
||||
.repl .repl-tree .output.expression .name:not(:empty) {
|
||||
.monaco-workbench .repl .repl-tree .output.expression .name:not(:empty) {
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
.repl .repl-input-wrapper {
|
||||
.monaco-workbench .repl .repl-input-wrapper {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/* Only show 'stale expansion' info when the element gets expanded. */
|
||||
.repl .repl-tree .evaluation-result > .annotation::before {
|
||||
content: '';
|
||||
}
|
||||
|
||||
.repl .repl-input-wrapper .repl-input-chevron {
|
||||
.monaco-workbench .repl .repl-input-wrapper .repl-input-chevron {
|
||||
padding: 0 6px 0 8px;
|
||||
width: 16px;
|
||||
height: 100%;
|
||||
|
@ -95,22 +84,10 @@
|
|||
}
|
||||
|
||||
/* Output coloring and styling */
|
||||
.repl .repl-tree .output.expression > .ignore {
|
||||
.monaco-workbench .repl .repl-tree .output.expression > .ignore {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.monaco-workbench.vs .repl .repl-tree .output.expression > .annotation {
|
||||
color: #007ACC;
|
||||
}
|
||||
|
||||
.monaco-workbench.vs-dark .repl .repl-tree .output.expression > .annotation {
|
||||
color: #1B80B2;
|
||||
}
|
||||
|
||||
.monaco-workbench.hc-black .repl .repl-tree .output.expression > .annotation {
|
||||
color: #0000FF;
|
||||
}
|
||||
|
||||
.monaco-workbench.vs .repl .repl-tree .output.expression > .warn {
|
||||
color: #cd9731;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue