52 lines
939 B
Plaintext
52 lines
939 B
Plaintext
@import "syntax-variables";
|
|
@import "ui-variables";
|
|
|
|
.block-cursor(@visibility: visible) {
|
|
border: 0;
|
|
background-color: @syntax-cursor-color;
|
|
visibility: @visibility;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.vim-mode.command-mode, .vim-mode.operator-pending-mode, .vim-mode.visual-mode {
|
|
.cursor, .cursor.blink-off {
|
|
.block-cursor(hidden);
|
|
}
|
|
|
|
&.editor.is-focused {
|
|
.cursor, .cursor.blink-off {
|
|
.block-cursor;
|
|
}
|
|
}
|
|
}
|
|
|
|
.vim-mode.visual-mode {
|
|
.cursor.hidden-cursor {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.command-mode-input .editor.mini {
|
|
background-color: inherit;
|
|
border: none;
|
|
width: 100%;
|
|
font-weight: normal;
|
|
color: @text-color;
|
|
// see also the commandModeInputViewFontSize setting.
|
|
line-height: 1.28;
|
|
cursor: default;
|
|
white-space: nowrap;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.command-mode-input .hidden-input {
|
|
padding: 0;
|
|
border: 0;
|
|
position: absolute;
|
|
z-index: -1;
|
|
top: 0;
|
|
left: 0;
|
|
opacity: 0;
|
|
width: 1px;
|
|
}
|