141 lines
2.7 KiB
CSS
141 lines
2.7 KiB
CSS
body {
|
|
position: relative;
|
|
min-height: 100vh;
|
|
background-color: #050505;
|
|
overflow-x: hidden;
|
|
isolation: isolate;
|
|
}
|
|
|
|
body::before {
|
|
content: "";
|
|
position: fixed;
|
|
inset: 0;
|
|
background-image: linear-gradient(rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.68)), url("/static/img/LoginPage.png");
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
filter: blur(12px) brightness(0.7) saturate(0.85);
|
|
transform: scale(1.08);
|
|
z-index: 0;
|
|
pointer-events: none;
|
|
}
|
|
#main {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 100vh;
|
|
z-index: 1;
|
|
}
|
|
|
|
.login-container {
|
|
width: 100%;
|
|
padding: 24px 16px;
|
|
}
|
|
|
|
.login-panel {
|
|
width: min(100%, 420px);
|
|
background-color: var(--auth-card-bg);
|
|
box-shadow: 0 0 15px var(--auth-card-shadow);
|
|
border-radius: 2px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.login-container p {
|
|
text-align: center;
|
|
padding: 0;
|
|
margin-bottom: 15px;
|
|
font-size: small;
|
|
}
|
|
|
|
.login-container button {
|
|
width: 100%;
|
|
font-weight: 600;
|
|
font-size: larger;
|
|
padding: 3px;
|
|
margin-bottom: 0 !important;
|
|
}
|
|
|
|
.login-container a {
|
|
font-size: small;
|
|
font-weight: 400 !important;
|
|
}
|
|
|
|
.col {
|
|
padding: 0 !important;
|
|
}
|
|
|
|
#password {
|
|
margin-top: 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.login-logo {
|
|
display: block;
|
|
margin: 0 auto 8px;
|
|
max-width: 320px;
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
.login-subtitle {
|
|
text-align: center;
|
|
margin-bottom: 12px;
|
|
color: rgba(230, 238, 248, 0.9);
|
|
font-size: small;
|
|
}
|
|
|
|
.login-container button {
|
|
color: #fff;
|
|
}
|
|
|
|
.login-container .alert {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.form-text {
|
|
/* wrap the text*/
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
#main a {
|
|
text-decoration: none !important;
|
|
color: rgb(32, 147, 255) !important;
|
|
font-weight: 500 !important;
|
|
transition: 0.2s;
|
|
}
|
|
|
|
#main a:hover {
|
|
text-decoration: none !important;
|
|
color: rgb(3, 133, 255) !important;
|
|
transition: 0.2s;
|
|
}
|
|
|
|
/* =========================
|
|
Login logo and responsive tweaks
|
|
========================= */
|
|
.login-logo {
|
|
display: block;
|
|
margin: 0 auto 8px;
|
|
max-width: 260px;
|
|
height: auto;
|
|
}
|
|
.login-subtitle {
|
|
text-align: center;
|
|
margin-bottom: 12px;
|
|
color: rgba(230,238,248,0.9);
|
|
font-size: small;
|
|
}
|
|
@media (max-width: 480px) {
|
|
.login-logo { max-width: 240px; }
|
|
}
|
|
.navbar .navbar-brand .brand-logo {
|
|
display: block;
|
|
max-height: 44px;
|
|
width: auto;
|
|
transform: translateY(6px);
|
|
}
|
|
@media (max-width: 576px) {
|
|
.navbar .navbar-brand .brand-logo { max-height: 40px; }
|
|
}
|