Skip to content

Commit 1575ac2

Browse files
authored
Merge pull request microsoft#183951 from microsoft/tyriar/181242_css
Update xterm.css
2 parents 070168f + 26378c2 commit 1575ac2

File tree

1 file changed

+32
-2
lines changed
  • src/vs/workbench/contrib/terminal/browser/media

1 file changed

+32
-2
lines changed

src/vs/workbench/contrib/terminal/browser/media/xterm.css

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,9 @@
165165
}
166166

167167
.xterm-dim {
168-
opacity: 0.5;
168+
/* Dim should not apply to background, so the opacity of the foreground color is applied
169+
* explicitly in the generated class and reset to 1 here */
170+
opacity: 1 !important;
169171
}
170172

171173
.xterm-underline-1 {
@@ -188,6 +190,30 @@
188190
text-decoration: dashed underline;
189191
}
190192

193+
.xterm-overline {
194+
text-decoration: overline;
195+
}
196+
197+
.xterm-overline.xterm-underline-1 {
198+
text-decoration: overline underline;
199+
}
200+
201+
.xterm-overline.xterm-underline-2 {
202+
text-decoration: overline double underline;
203+
}
204+
205+
.xterm-overline.xterm-underline-3 {
206+
text-decoration: overline wavy underline;
207+
}
208+
209+
.xterm-overline.xterm-underline-4 {
210+
text-decoration: overline dotted underline;
211+
}
212+
213+
.xterm-overline.xterm-underline-5 {
214+
text-decoration: overline dashed underline;
215+
}
216+
191217
.xterm-strikethrough {
192218
text-decoration: line-through;
193219
}
@@ -197,8 +223,12 @@
197223
position: absolute;
198224
}
199225

200-
.xterm-decoration-overview-ruler {
226+
.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer {
201227
z-index: 7;
228+
}
229+
230+
.xterm-decoration-overview-ruler {
231+
z-index: 8;
202232
position: absolute;
203233
top: 0;
204234
right: 0;

0 commit comments

Comments
 (0)