/***************************************************************************** # # # KVMD - The main PiKVM daemon. # # # # Copyright (C) 2018-2024 Maxim Devaev # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # # the Free Software Foundation, either version 3 of the License, or # # (at your option) any later version. # # # # This program is distributed in the hope that it will be useful, # # but WITHOUT ANY WARRANTY; without even the implied warranty of # # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # # GNU General Public License for more details. # # # # You should have received a copy of the GNU General Public License # # along with this program. If not, see . # # # *****************************************************************************/ div#login-box { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; min-height: 100vh; } div#login { text-align: left; outline: none; word-wrap: break-word; max-width: 400px; border: var(--border-window-default-thin); border-radius: 8px; box-sizing: border-box; box-shadow: var(--shadow-big); background-color: var(--cs-window-default-bg); padding: 15px; } div#login table { border-collapse: collapse; border-spacing: 0; width: 100%; } div#login table td { padding: 3px 5px; vertical-align: middle; } div#login table td:first-child { width: 120px; text-align: left; padding-right: 10px; } div#login table td:last-child { width: auto; } div#login hr { margin: 5px 0; } img#login-logo { height: 30px; } button#login-button { width: 100%; } input[type="text"]#user-input, input[type="password"]#passwd-input, input[type="text"]#code-input { text-align: center; border: 1px solid var(--cs-control-default-border); border-radius: 3px; padding: 6px 8px; width: 100%; box-sizing: border-box; } select#selectLanguage { border: 1px solid var(--cs-control-default-border); border-radius: 3px; padding: 6px 8px; width: 100%; box-sizing: border-box; } div#login .radio-box { width: 100%; justify-content: flex-start; } div#login .radio-box label { flex: 1; justify-content: center; }