убрал лишний пробел в вводе логина и пароля

This commit is contained in:
2026-04-21 18:05:57 +03:00
parent 30fffb179a
commit f2a49d9385
2 changed files with 6 additions and 12 deletions

View File

@@ -109,12 +109,11 @@
display: flex; display: flex;
align-items: center; align-items: center;
flex-wrap: wrap; flex-wrap: wrap;
gap: 12px; gap: 6px;
} }
.prompt { .prompt {
color: var(--green); color: var(--green);
margin-right: 10px;
} }
.input-wrap { .input-wrap {
@@ -136,11 +135,8 @@
} }
.caret { .caret {
display: inline-block; display: inline;
width: 12px; margin-left: -1px; /* чуть прижать к тексту */
margin-left: 2px;
color: var(--green);
animation: blink 1s steps(1, end) infinite;
} }
.hidden { .hidden {
@@ -191,7 +187,7 @@
.terminal-body { .terminal-body {
font-size: 20px; font-size: 20px;
line-height: 1.9; line-height: 1;
} }
.sys-message { .sys-message {
@@ -217,15 +213,13 @@
<div class="term-line hidden" id="loginLine"> <div class="term-line hidden" id="loginLine">
<span id="loginPrompt" class="prompt"></span> <span id="loginPrompt" class="prompt"></span>
<span id="usernameText" class="typed-value"></span> <span id="usernameText" class="typed-value"></span><span id="usernameCaret" class="caret"></span>
<span id="usernameCaret" class="caret"></span>
<input id="usernameInput" class="fake-input" type="text" autocomplete="username" spellcheck="false"> <input id="usernameInput" class="fake-input" type="text" autocomplete="username" spellcheck="false">
</div> </div>
<div class="term-line hidden" id="passwordLine"> <div class="term-line hidden" id="passwordLine">
<span id="passwordPrompt" class="prompt"></span> <span id="passwordPrompt" class="prompt"></span>
<span id="passwordText" class="typed-value"></span> <span id="passwordText" class="typed-value"></span><span id="passwordCaret" class="caret hidden"></span>
<span id="passwordCaret" class="caret hidden"></span>
<input id="passwordInput" class="fake-input" type="password" autocomplete="current-password" spellcheck="false"> <input id="passwordInput" class="fake-input" type="password" autocomplete="current-password" spellcheck="false">
</div> </div>

BIN
vmix.zip

Binary file not shown.