Add visual bell styling for underline and bar cursor types
This commit is contained in:
+7
-1
@@ -91,6 +91,7 @@
|
|||||||
|
|
||||||
.terminal .terminal-cursor {
|
.terminal .terminal-cursor {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
transition: background-color 150ms ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.terminal:not(.focus) .terminal-cursor {
|
.terminal:not(.focus) .terminal-cursor {
|
||||||
@@ -108,6 +109,7 @@
|
|||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
transition: background-color 150ms ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.terminal.focus.xterm-cursor-style-bar:not(.xterm-cursor-blink-on) .terminal-cursor::before {
|
.terminal.focus.xterm-cursor-style-bar:not(.xterm-cursor-blink-on) .terminal-cursor::before {
|
||||||
@@ -124,9 +126,13 @@
|
|||||||
height: 1px;
|
height: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.visual-bell-active .terminal-cursor {
|
.terminal.focus.xterm-cursor-style-block.visual-bell-active .terminal-cursor {
|
||||||
background-color: #ccc !important;
|
background-color: #ccc !important;
|
||||||
}
|
}
|
||||||
|
.terminal.focus.xterm-cursor-style-bar.visual-bell-active .terminal-cursor::before,
|
||||||
|
.terminal.focus.xterm-cursor-style-underline.visual-bell-active .terminal-cursor::before {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
.terminal .composition-view {
|
.terminal .composition-view {
|
||||||
background: #000;
|
background: #000;
|
||||||
|
|||||||
Reference in New Issue
Block a user