|
89 | 89 | text-decoration: none; |
90 | 90 | } |
91 | 91 |
|
92 | | -.terminal.focus:not(.xterm-cursor-style-underline):not(.xterm-cursor-style-bar) .terminal-cursor { |
93 | | - background-color: #fff; |
94 | | - color: #000; |
| 92 | +.terminal .terminal-cursor { |
| 93 | + position: relative; |
95 | 94 | } |
96 | 95 |
|
97 | 96 | .terminal:not(.focus) .terminal-cursor { |
98 | 97 | outline: 1px solid #fff; |
99 | 98 | outline-offset: -1px; |
100 | | - background-color: transparent; |
101 | 99 | } |
102 | 100 |
|
103 | | -.terminal:not(.xterm-cursor-style-underline):not(.xterm-cursor-style-bar).focus.xterm-cursor-blink-on .terminal-cursor { |
104 | | - background-color: transparent; |
105 | | - color: inherit; |
| 101 | +.terminal.xterm-cursor-style-block.focus:not(.xterm-cursor-blink-on) .terminal-cursor { |
| 102 | + background-color: #fff; |
| 103 | + color: #000; |
106 | 104 | } |
107 | 105 |
|
108 | | -.terminal.xterm-cursor-style-bar .terminal-cursor, |
109 | | -.terminal.xterm-cursor-style-underline .terminal-cursor { |
110 | | - position: relative; |
111 | | -} |
112 | | -.terminal.xterm-cursor-style-bar .terminal-cursor::before, |
113 | | -.terminal.xterm-cursor-style-underline .terminal-cursor::before { |
114 | | - content: ""; |
115 | | - display: block; |
| 106 | +.terminal.focus.xterm-cursor-style-bar:not(.xterm-cursor-blink-on) .terminal-cursor::before, |
| 107 | +.terminal.focus.xterm-cursor-style-underline:not(.xterm-cursor-blink-on) .terminal-cursor::before { |
| 108 | + content: ''; |
116 | 109 | position: absolute; |
117 | 110 | background-color: #fff; |
118 | 111 | } |
119 | | -.terminal.xterm-cursor-style-bar .terminal-cursor::before { |
| 112 | + |
| 113 | +.terminal.focus.xterm-cursor-style-bar:not(.xterm-cursor-blink-on) .terminal-cursor::before { |
120 | 114 | top: 0; |
121 | | - bottom: 0; |
122 | 115 | left: 0; |
| 116 | + bottom: 0; |
123 | 117 | width: 1px; |
124 | 118 | } |
125 | | -.terminal.xterm-cursor-style-underline .terminal-cursor::before { |
| 119 | + |
| 120 | +.terminal.focus.xterm-cursor-style-underline:not(.xterm-cursor-blink-on) .terminal-cursor::before { |
126 | 121 | bottom: 0; |
127 | 122 | left: 0; |
128 | 123 | right: 0; |
129 | 124 | height: 1px; |
130 | 125 | } |
131 | | -.terminal.xterm-cursor-style-bar.focus.xterm-cursor-blink.xterm-cursor-blink-on .terminal-cursor::before, |
132 | | -.terminal.xterm-cursor-style-underline.focus.xterm-cursor-blink.xterm-cursor-blink-on .terminal-cursor::before { |
133 | | - background-color: transparent; |
134 | | -} |
135 | | -.terminal.xterm-cursor-style-bar.focus.xterm-cursor-blink .terminal-cursor::before, |
136 | | -.terminal.xterm-cursor-style-underline.focus.xterm-cursor-blink .terminal-cursor::before { |
137 | | - background-color: #fff; |
138 | | -} |
139 | 126 |
|
140 | 127 | .terminal .composition-view { |
141 | 128 | background: #000; |
|
217 | 204 | text-decoration: blink; |
218 | 205 | } |
219 | 206 |
|
| 207 | +.terminal .xterm-blink.xterm-underline { |
| 208 | + text-decoration: blink underline; |
| 209 | +} |
| 210 | + |
220 | 211 | .terminal .xterm-hidden { |
221 | 212 | visibility: hidden; |
222 | 213 | } |
|
0 commit comments