debug.contribution.css 7.6 KB
Newer Older
E
Erich Gamma 已提交
1 2 3 4 5 6 7
/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

/* Activity Bar */
.monaco-workbench > .activitybar .monaco-action-bar .action-label.debug {
B
Benjamin Pasero 已提交
8
	background-image: url('debug.svg');
E
Erich Gamma 已提交
9 10 11 12 13 14 15 16 17 18 19
}

.monaco-editor .debug-top-stack-frame-line {
	background: rgba(255, 255, 0, 0.35);
}

.monaco-editor .debug-top-stack-frame-exception-line {
	background: rgba(242, 222, 222, 0.7);
}

.monaco-editor .debug-top-stack-frame-column {
20
	background: rgba(255, 200, 0, 0.2);
E
Erich Gamma 已提交
21 22
}

F
Francois Valdy 已提交
23
.monaco-editor .debug-focused-stack-frame-line {
E
Erich Gamma 已提交
24 25 26
	background: rgba(206, 231, 206, 0.45);
}

27
.monaco-editor .debug-breakpoint-hint-glyph {
28
	background: url('breakpoint-hint.svg') center center no-repeat;
E
Erich Gamma 已提交
29 30
}

I
isidor 已提交
31 32
.monaco-editor .debug-breakpoint-disabled-glyph,
.monaco-editor .debug-breakpoint-column.debug-breakpoint-disabled-glyph-column::before {
E
Erich Gamma 已提交
33 34 35
	background: url('breakpoint-disabled.svg') center center no-repeat;
}

I
isidor 已提交
36 37
.monaco-editor .debug-breakpoint-unverified-glyph,
.monaco-editor .debug-breakpoint-column.debug-breakpoint-unverified-glyph-column::before {
38
	background: url('breakpoint-unverified.svg') center center no-repeat;
I
isidor 已提交
39 40
}

E
Erich Gamma 已提交
41 42 43 44 45 46 47 48
.monaco-editor .debug-top-stack-frame-glyph {
	background: url('current-arrow.svg') center center no-repeat;
}

.monaco-editor .debug-focused-stack-frame-glyph {
	background: url('stackframe-arrow.svg') center center no-repeat;
}

I
isidor 已提交
49 50
.monaco-editor .debug-breakpoint-glyph,
.monaco-editor .debug-breakpoint-column.debug-breakpoint-glyph-column::before {
E
Erich Gamma 已提交
51 52 53
	background: url('breakpoint.svg') center center no-repeat;
}

I
isidor 已提交
54
.monaco-editor .debug-breakpoint-column::before {
B
Benjamin Pasero 已提交
55 56 57 58
	content: " ";
	width: 0.9em;
	height: 0.8em;
	display: inline-block;
I
isidor 已提交
59 60 61
	margin-right: 2px;
	margin-left: 2px;
	background-size: 110% !important;
I
isidor 已提交
62
	background-position: initial !important;
I
isidor 已提交
63 64 65 66
}

.monaco-editor .debug-breakpoint-conditional-glyph,
.monaco-editor .debug-breakpoint-column.debug-breakpoint-conditional-glyph-column::before {
67 68 69
	background: url('breakpoint-conditional.svg') center center no-repeat;
}

I
isidor 已提交
70 71
.monaco-editor .debug-breakpoint-unsupported-glyph,
.monaco-editor .debug-breakpoint-column.debug-breakpoint-unsupported-glyph-column::before {
72 73 74
	background: url('breakpoint-unsupported.svg') center center no-repeat;
}

I
isidor 已提交
75 76
.monaco-editor .debug-top-stack-frame-glyph.debug-breakpoint-glyph,
.monaco-editor .debug-top-stack-frame-glyph.debug-breakpoint-conditional-glyph {
E
Erich Gamma 已提交
77 78 79
	background: url('current-and-breakpoint.svg') center center no-repeat;
}

I
isidor 已提交
80 81
.monaco-editor .debug-focused-stack-frame-glyph.debug-breakpoint-glyph,
.monaco-editor .debug-focused-stack-frame-glyph.debug-breakpoint-conditional-glyph {
E
Erich Gamma 已提交
82 83 84 85 86 87 88 89
	background: url('stackframe-and-breakpoint.svg') center center no-repeat;
}

/* Status */
.monaco-workbench.debugging > .part.statusbar {
	background: #CC6633 !important;
}

90 91 92 93 94 95 96 97 98 99
/* Error editor */
.debug-error-editor:focus {
	outline: none !important;
}

.debug-error-editor {
	padding: 5px 0 0 10px;
	box-sizing: border-box;
}

E
Erich Gamma 已提交
100 101 102 103 104 105 106 107
/* Expressions */

.monaco-workbench .monaco-tree-row .expression {
	overflow: hidden;
	text-overflow: ellipsis;
	font-family: Monaco, Menlo, Consolas, "Droid Sans Mono", "Inconsolata", "Courier New", monospace, "Droid Sans Fallback";
}

108
.monaco-workbench.mac .monaco-tree-row .expression {
E
Erich Gamma 已提交
109 110 111
	font-size: 11px;
}

112 113
.monaco-workbench.windows .monaco-tree-row .expression,
.monaco-workbench.linux .monaco-tree-row .expression {
E
Erich Gamma 已提交
114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
	font-size: 13px;
}

.monaco-workbench .monaco-tree-row .expression .value {
	margin-left: 6px;
}

.monaco-workbench .monaco-tree-row:not(.selected) .expression .name {
	color: #9B46B0;
}

.monaco-workbench > .monaco-tree-row:not(.selected) .expression .value {
	color: rgba(108, 108, 108, 0.8);
}

129
.monaco-workbench .monaco-tree-row .expression .unavailable {
E
Erich Gamma 已提交
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148
	font-style: italic;
}

.monaco-workbench .monaco-tree-row:not(.selected) .expression .error {
	color: #E51400;
}

.monaco-workbench .monaco-tree-row:not(.selected) .expression .value.number {
	color: #09885A;
}

.monaco-workbench .monaco-tree-row:not(.selected) .expression .value.boolean {
	color: #0000FF;
}

.monaco-workbench .monaco-tree-row:not(.selected) .expression .value.string {
	color: #A31515;
}

149
.vs-dark .monaco-workbench  > .monaco-tree-row:not(.selected) .expression .value {
E
Erich Gamma 已提交
150 151 152
	color: rgba(204, 204, 204, 0.6);
}

153
.vs-dark .monaco-workbench  .monaco-tree-row:not(.selected) .expression .error {
E
Erich Gamma 已提交
154 155 156
	color: #F48771;
}

157
.vs-dark .monaco-workbench  .monaco-tree-row:not(.selected) .expression .value.number {
E
Erich Gamma 已提交
158 159 160
	color: #B5CEA8;
}

161
.vs-dark .monaco-workbench  .monaco-tree-row:not(.selected) .expression .value.boolean {
E
Erich Gamma 已提交
162 163 164
	color: #4E94CE;
}

165
.vs-dark .monaco-workbench  .monaco-tree-row:not(.selected) .expression .value.string {
E
Erich Gamma 已提交
166 167 168
	color: #CE9178;
}

169
.hc-black .monaco-workbench .monaco-tree-row:not(.selected) .expression .error {
E
Erich Gamma 已提交
170 171 172 173 174
	color: #F48771;
}

/* Dark theme */

175
.vs-dark .monaco-workbench .monaco-tree-row:not(.selected) .expression .name {
E
Erich Gamma 已提交
176 177 178
	color: #C586C0;
}

F
Francois Valdy 已提交
179
.monaco-editor.vs-dark .debug-focused-stack-frame-line {
E
Erich Gamma 已提交
180 181 182 183 184 185 186 187 188 189 190 191 192 193 194
	background: rgba(122, 189, 122, 0.3);
}

.monaco-editor.vs-dark .debug-top-stack-frame-line {
	background: rgba(255, 255, 0, 0.20);
}

.monaco-editor.vs-dark .debug-top-stack-frame-exception-line {
	background-color: rgba(90, 29, 29, 0.6);
}

.monaco-editor.vs-dark .debug-top-stack-frame-column {
	background: rgba(255, 255, 0, 0.15);
}

I
isidor 已提交
195
.monaco-editor.vs-dark .debug-breakpoint-glyph,
I
isidor 已提交
196
.monaco-editor.vs-dark .debug-breakpoint-column.debug-breakpoint-glyph-column::before {
I
isidor 已提交
197 198 199
	background: url('breakpoint-dark.svg') center center no-repeat;
}

I
isidor 已提交
200
.monaco-editor.vs-dark .debug-breakpoint-conditional-glyph,
I
isidor 已提交
201
.monaco-editor.vs-dark .debug-breakpoint-column.debug-breakpoint-conditional-glyph-column::before {
202 203 204
	background: url('breakpoint-conditional-dark.svg') center center no-repeat;
}

I
isidor 已提交
205
.monaco-editor.vs-dark .debug-breakpoint-unsupported-glyph,
I
isidor 已提交
206
.monaco-editor.vs-dark .debug-breakpoint-column.debug-breakpoint-unsupported-glyph-column::before {
207 208 209
	background: url('breakpoint-unsupported-dark.svg') center center no-repeat;
}

I
isidor 已提交
210
.monaco-editor.vs-dark .debug-breakpoint-disabled-glyph,
I
isidor 已提交
211
.monaco-editor.vs-dark .debug-breakpoint-column.debug-breakpoint-disabled-glyph-column::before {
E
Erich Gamma 已提交
212 213 214
	background: url('breakpoint-disabled-dark.svg') center center no-repeat;
}

I
isidor 已提交
215
.monaco-editor.vs-dark .debug-breakpoint-unverified-glyph,
I
isidor 已提交
216
.monaco-editor.vs-dark .debug-breakpoint-column.debug-breakpoint-unverified-glyph-column::before {
217 218 219
	background: url('breakpoint-unverified-dark.svg') center center no-repeat;
}

E
Erich Gamma 已提交
220 221 222 223 224 225 226 227
.monaco-editor.vs-dark .debug-top-stack-frame-glyph {
	background: url('current-arrow-dark.svg') center center no-repeat;
}

.monaco-editor.vs-dark .debug-focused-stack-frame-glyph {
	background: url('stackframe-arrow-dark.svg') center center no-repeat;
}

I
isidor 已提交
228 229
.monaco-editor.vs-dark .debug-top-stack-frame-glyph.debug-breakpoint-glyph,
.monaco-editor.vs-dark .debug-top-stack-frame-glyph.debug-breakpoint-conditional-glyph {
E
Erich Gamma 已提交
230 231 232
	background: url('current-and-breakpoint-dark.svg') center center no-repeat;
}

I
isidor 已提交
233 234
.monaco-editor.vs-dark .debug-focused-stack-frame-glyph.debug-breakpoint-glyph,
.monaco-editor.vs-dark .debug-focused-stack-frame-glyph.debug-breakpoint-conditional-glyph {
E
Erich Gamma 已提交
235 236 237 238 239
	background: url('stackframe-and-breakpoint-dark.svg') center center no-repeat;
}

/* High Contrast Theming */

240
.hc-black .monaco-workbench .monaco-tree-row:not(.selected) .expression .name {
E
Erich Gamma 已提交
241 242
	color: inherit;
}
I
isidor 已提交
243 244

.hc-black .monaco-editor .debug-top-stack-frame-line {
245 246
	background: rgba(255, 246, 0, .87);
	mix-blend-mode: lighten; /* Preserves text selection's contrast */
I
isidor 已提交
247
}