2021-11-08 00:06:08 +08:00
|
|
|
#V-Login, #V-AdminLogin {
|
2021-04-30 22:39:27 +08:00
|
|
|
position: fixed;
|
|
|
|
left: 50%;
|
|
|
|
top: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
width: 100%;
|
|
|
|
min-width: 250px;
|
|
|
|
max-width: 600px;
|
2021-11-16 19:35:11 +08:00
|
|
|
transition: all 0.3s ease-out;
|
2021-04-30 22:39:27 +08:00
|
|
|
z-index: 5;
|
2020-11-26 17:41:53 +08:00
|
|
|
}
|
2013-12-30 05:13:35 +08:00
|
|
|
|
2021-11-08 00:06:08 +08:00
|
|
|
.LoginView {
|
2013-12-30 05:13:35 +08:00
|
|
|
|
2021-04-22 19:37:43 +08:00
|
|
|
.descWrapper {
|
|
|
|
color: var(--loading-color, #000);
|
2023-12-11 20:34:23 +08:00
|
|
|
font-size: 214%;
|
2021-04-22 19:37:43 +08:00
|
|
|
margin-bottom: 10px;
|
|
|
|
text-align: center;
|
|
|
|
text-shadow: var(--loading-text-shadow);
|
|
|
|
}
|
2013-12-30 05:13:35 +08:00
|
|
|
|
2021-04-30 22:39:27 +08:00
|
|
|
form {
|
2021-04-22 19:37:43 +08:00
|
|
|
background-color: var(--login-bg-color, rgba(0, 0, 0, .5));
|
|
|
|
border: var(--login-border, 1px solid rgba(255, 255, 255, .2));
|
|
|
|
border-radius: var(--login-border-radius, 7px);
|
|
|
|
box-shadow: var(--login-box-shadow);
|
2023-02-25 01:31:03 +08:00
|
|
|
color: var(--login-color, rgba(255, 255, 255, .8));
|
2021-04-22 19:37:43 +08:00
|
|
|
margin: 0;
|
2021-04-30 22:39:27 +08:00
|
|
|
padding: 40px 40px 20px 40px;
|
|
|
|
position: relative;
|
2021-02-05 17:42:20 +08:00
|
|
|
|
2021-04-22 19:37:43 +08:00
|
|
|
* {
|
2023-02-25 01:31:03 +08:00
|
|
|
color: var(--login-color, rgba(255, 255, 255, .8));
|
2013-12-30 05:13:35 +08:00
|
|
|
}
|
|
|
|
|
2021-11-16 19:35:11 +08:00
|
|
|
.controls.error * {
|
2023-02-25 01:31:03 +08:00
|
|
|
color: #f76260;
|
|
|
|
border-color: #f76260;
|
2021-04-22 19:37:43 +08:00
|
|
|
}
|
2021-02-16 21:40:11 +08:00
|
|
|
|
2021-04-30 22:39:27 +08:00
|
|
|
&.submitting > * {
|
|
|
|
opacity: 0.3;
|
|
|
|
}
|
2021-02-06 03:48:36 +08:00
|
|
|
|
2021-04-30 22:39:27 +08:00
|
|
|
&.submitting::after{
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
width: 60px;
|
|
|
|
height: 60px;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
margin-top: -30px;
|
|
|
|
margin-left: -30px;
|
|
|
|
|
|
|
|
border: 8px solid transparent;
|
|
|
|
border-top-color: var(--spinner-color, #fff);
|
|
|
|
animation: loginRotation 1s infinite ease-in-out;
|
|
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
z-index: 1052;
|
|
|
|
}
|
2021-04-22 19:37:43 +08:00
|
|
|
}
|
2021-02-06 03:48:36 +08:00
|
|
|
|
2021-11-16 19:35:11 +08:00
|
|
|
.controls, .control-group {
|
|
|
|
margin-bottom: 25px;
|
|
|
|
position: relative;
|
|
|
|
}
|
2021-04-22 19:37:43 +08:00
|
|
|
|
2021-11-16 19:35:11 +08:00
|
|
|
input {
|
2023-12-11 20:34:23 +08:00
|
|
|
font-size: 128%;
|
2021-11-16 19:35:11 +08:00
|
|
|
height: 40px;
|
|
|
|
padding-right: 30px;
|
|
|
|
|
|
|
|
&:placeholder {
|
2023-02-25 01:31:03 +08:00
|
|
|
color: #fff;
|
2021-04-22 19:37:43 +08:00
|
|
|
}
|
2021-02-06 03:48:36 +08:00
|
|
|
|
2021-11-16 19:35:11 +08:00
|
|
|
&:focus, &:hover {
|
2023-02-25 01:31:03 +08:00
|
|
|
border-color: #fff;
|
2013-12-30 05:13:35 +08:00
|
|
|
}
|
2021-11-16 19:35:11 +08:00
|
|
|
}
|
2013-12-30 05:13:35 +08:00
|
|
|
|
2021-11-16 19:35:11 +08:00
|
|
|
input, .btn {
|
2022-08-31 22:19:16 +08:00
|
|
|
background: none;
|
2023-02-25 01:31:03 +08:00
|
|
|
border: 1px solid rgba(255, 255, 255, .8);
|
2021-04-22 19:37:43 +08:00
|
|
|
}
|
2013-12-30 05:13:35 +08:00
|
|
|
|
2021-11-16 19:35:11 +08:00
|
|
|
.fontastic + input {
|
2023-04-18 17:43:28 +08:00
|
|
|
padding: 0 30px;
|
2021-04-22 19:37:43 +08:00
|
|
|
}
|
|
|
|
|
2021-11-16 19:35:11 +08:00
|
|
|
.controls > .fontastic:first-child {
|
2021-04-22 19:37:43 +08:00
|
|
|
position: absolute;
|
2023-12-11 20:34:23 +08:00
|
|
|
font-size: 121%;
|
2021-11-16 19:35:11 +08:00
|
|
|
line-height: 38px;
|
|
|
|
left: 6px;
|
2021-04-22 19:37:43 +08:00
|
|
|
}
|
|
|
|
|
2021-11-16 19:35:11 +08:00
|
|
|
.btn {
|
|
|
|
|
|
|
|
text-transform: uppercase;
|
2023-12-11 20:34:23 +08:00
|
|
|
font-size: 90%;
|
2021-11-16 19:35:11 +08:00
|
|
|
|
|
|
|
&:hover, &:active {
|
2023-02-25 01:31:03 +08:00
|
|
|
border-color: #fff;
|
2021-11-16 19:35:11 +08:00
|
|
|
}
|
2013-12-30 05:13:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.buttonLogin {
|
2022-11-21 19:50:00 +08:00
|
|
|
width: 100%;
|
2013-12-30 05:13:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.alert {
|
2020-11-26 17:41:53 +08:00
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
z-index: 1;
|
2021-02-19 04:06:19 +08:00
|
|
|
display: block;
|
|
|
|
opacity: 1;
|
|
|
|
transition: opacity 0.5s linear;
|
2022-04-29 05:10:21 +08:00
|
|
|
|
|
|
|
p {
|
|
|
|
font-family: var(--fontMono);
|
|
|
|
font-size: 90%;
|
|
|
|
}
|
2021-02-19 04:06:19 +08:00
|
|
|
}
|
|
|
|
.alert[hidden] {
|
|
|
|
opacity: 0;
|
2013-12-30 05:13:35 +08:00
|
|
|
}
|
|
|
|
|
2020-11-26 17:41:53 +08:00
|
|
|
.language-buttons {
|
2021-11-09 05:03:31 +08:00
|
|
|
flex-grow: 1;
|
2023-04-18 17:35:31 +08:00
|
|
|
text-align: var(--right, right);
|
2014-10-30 21:59:25 +08:00
|
|
|
}
|
|
|
|
|
2020-09-25 23:42:40 +08:00
|
|
|
.language-button {
|
2014-10-30 21:59:25 +08:00
|
|
|
padding: 5px;
|
2021-02-15 22:20:22 +08:00
|
|
|
text-decoration: none;
|
2014-10-30 21:59:25 +08:00
|
|
|
}
|
2021-11-16 19:35:11 +08:00
|
|
|
|
|
|
|
.errorAnimated {
|
|
|
|
animation: login-form-shake 400ms ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
.errorAnimated .buttonLogin {
|
|
|
|
color: #b94a48;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2013-12-30 05:13:35 +08:00
|
|
|
}
|
2016-06-23 06:26:54 +08:00
|
|
|
|
2020-11-26 17:41:53 +08:00
|
|
|
@media screen and (max-width: 480px) {
|
2021-11-08 00:06:08 +08:00
|
|
|
.LoginView {
|
2021-04-30 22:39:27 +08:00
|
|
|
form {
|
2020-11-26 17:41:53 +08:00
|
|
|
padding: 30px 4vw 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-23 06:26:54 +08:00
|
|
|
@keyframes loginRotation {
|
|
|
|
to {transform: rotate(1turn);}
|
|
|
|
}
|
|
|
|
|
2021-11-16 19:35:11 +08:00
|
|
|
@keyframes login-form-shake {
|
|
|
|
0% {transform: translateX(0);}
|
|
|
|
12.5% {transform: translateX(-6px)}
|
|
|
|
37.5% {transform: translateX(5px)}
|
|
|
|
62.5% {transform: translateX(-3px)}
|
|
|
|
87.5% {transform: translateX(2px)}
|
|
|
|
100% {transform: translateX(0)}
|
|
|
|
}
|
|
|
|
|
|
|
|
html.rl-started-trigger .LoginView {
|
|
|
|
opacity: 0.5;
|
2020-07-22 14:17:02 +08:00
|
|
|
}
|