308 lines
6.2 KiB
CSS
308 lines
6.2 KiB
CSS
html,
|
|
body {
|
|
min-height: 100%;
|
|
}
|
|
|
|
body {
|
|
overflow: hidden;
|
|
background:
|
|
radial-gradient(circle at top, rgba(255, 221, 177, 0.30), transparent 26%),
|
|
radial-gradient(circle at 80% 18%, rgba(132, 216, 166, 0.18), transparent 20%),
|
|
linear-gradient(145deg, #101827 0%, #18253d 52%, #0f172a 100%) !important;
|
|
color: #f8fafc;
|
|
}
|
|
|
|
#kc-header-wrapper,
|
|
#kc-header,
|
|
.login-pf-header,
|
|
#kc-page-title {
|
|
display: none !important;
|
|
}
|
|
|
|
#kc-content,
|
|
#kc-content-wrapper,
|
|
#kc-locale {
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
#kc-content-wrapper {
|
|
padding-top: 48px;
|
|
}
|
|
|
|
#kc-form-login .pf-v5-c-form__label-text,
|
|
#kc-form-login label,
|
|
#kc-form-options,
|
|
#kc-form-options a,
|
|
#kc-registration,
|
|
#kc-registration a,
|
|
#kc-social-providers h2,
|
|
#kc-social-providers a {
|
|
color: #e2e8f0 !important;
|
|
}
|
|
|
|
.kb-login-shell {
|
|
position: relative;
|
|
isolation: isolate;
|
|
display: grid;
|
|
place-items: center;
|
|
min-height: calc(100vh - 80px);
|
|
padding: 24px;
|
|
}
|
|
|
|
.kb-login-curtains {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.kb-login-curtain {
|
|
position: absolute;
|
|
left: 50%;
|
|
width: 180vmax;
|
|
height: 180vmax;
|
|
opacity: 0.72;
|
|
border-radius: 999px;
|
|
transform-origin: 0 50%;
|
|
animation-duration: 1.1s;
|
|
animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
|
|
animation-fill-mode: both;
|
|
}
|
|
|
|
.kb-login-curtain-top,
|
|
.kb-login-curtain-bottom {
|
|
top: 50%;
|
|
margin-top: -90vmax;
|
|
}
|
|
|
|
.kb-login-curtain-top-a {
|
|
background: linear-gradient(135deg, rgba(236, 101, 105, 0.84), rgba(238, 175, 129, 0.76));
|
|
animation-name: kbLoginCurtainTopA;
|
|
}
|
|
|
|
.kb-login-curtain-top-b {
|
|
background: linear-gradient(135deg, rgba(255, 196, 104, 0.66), rgba(255, 138, 76, 0.6));
|
|
animation-name: kbLoginCurtainTopB;
|
|
animation-delay: 0.08s;
|
|
}
|
|
|
|
.kb-login-curtain-bottom-a {
|
|
background: linear-gradient(135deg, rgba(96, 184, 212, 0.7), rgba(55, 69, 181, 0.82));
|
|
animation-name: kbLoginCurtainBottomA;
|
|
animation-delay: 0.12s;
|
|
}
|
|
|
|
.kb-login-curtain-bottom-b {
|
|
background: linear-gradient(135deg, rgba(72, 125, 255, 0.5), rgba(36, 74, 179, 0.76));
|
|
animation-name: kbLoginCurtainBottomB;
|
|
animation-delay: 0.18s;
|
|
}
|
|
|
|
.kb-login-ambient {
|
|
position: absolute;
|
|
inset: 0;
|
|
background:
|
|
radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.12), transparent 30%),
|
|
url("../img/desktop-glow.svg") center/cover no-repeat;
|
|
opacity: 0.9;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.kb-login-panel {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: grid;
|
|
gap: 22px;
|
|
width: min(540px, 100%);
|
|
padding: 28px;
|
|
border-radius: 28px;
|
|
background: rgba(15, 23, 42, 0.62);
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
box-shadow: 0 24px 80px rgba(2, 6, 23, 0.42);
|
|
backdrop-filter: blur(24px);
|
|
opacity: 0;
|
|
transform: translateY(28px) scale(0.98);
|
|
animation: kbLoginPanelReveal 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
|
|
transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
|
|
}
|
|
|
|
.kb-login-panel:hover,
|
|
.kb-login-panel:focus-within {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 30px 90px rgba(2, 6, 23, 0.5);
|
|
border-color: rgba(255, 255, 255, 0.18);
|
|
}
|
|
|
|
.kb-login-copy {
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
.kb-login-kicker {
|
|
margin: 0;
|
|
font-size: 12px;
|
|
letter-spacing: 0.18em;
|
|
text-transform: uppercase;
|
|
color: #cbd5e1;
|
|
}
|
|
|
|
.kb-login-title {
|
|
margin: 0;
|
|
font-size: clamp(30px, 4vw, 40px);
|
|
line-height: 1.04;
|
|
color: #f8fafc;
|
|
}
|
|
|
|
.kb-login-subtitle {
|
|
margin: 0;
|
|
color: #dbe5f1;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.kb-login-form-shell {
|
|
margin: 0;
|
|
}
|
|
|
|
#kc-form-wrapper {
|
|
padding: 0 !important;
|
|
}
|
|
|
|
#kc-form-login input[type="text"],
|
|
#kc-form-login input[type="password"] {
|
|
min-height: 48px;
|
|
border-radius: 14px !important;
|
|
border: 1px solid rgba(255, 255, 255, 0.12) !important;
|
|
background: rgba(255, 255, 255, 0.08) !important;
|
|
color: #f8fafc !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
#kc-form-login input::placeholder {
|
|
color: rgba(226, 232, 240, 0.72);
|
|
}
|
|
|
|
#kc-form-login .pf-v5-c-button,
|
|
#kc-login {
|
|
min-height: 50px;
|
|
border: 0 !important;
|
|
border-radius: 14px !important;
|
|
background: linear-gradient(180deg, #a7f3d0, #6ee7b7) !important;
|
|
color: #082032 !important;
|
|
font-weight: 700;
|
|
box-shadow: none !important;
|
|
transition: transform 160ms ease, filter 160ms ease, background-color 160ms ease, border-color 160ms ease;
|
|
}
|
|
|
|
#kc-form-login .pf-v5-c-button:hover,
|
|
#kc-login:hover {
|
|
transform: translateY(-1px);
|
|
filter: brightness(1.03);
|
|
}
|
|
|
|
#kc-form-options {
|
|
padding-top: 4px;
|
|
}
|
|
|
|
#kc-form-options .checkbox label {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
#kc-social-providers {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
#kc-social-providers hr {
|
|
border-color: rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
#kc-registration {
|
|
margin-top: 18px;
|
|
}
|
|
|
|
.pf-v5-c-alert {
|
|
border-radius: 14px !important;
|
|
}
|
|
|
|
@keyframes kbLoginPanelReveal {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(28px) scale(0.98);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0) scale(1);
|
|
}
|
|
}
|
|
|
|
@keyframes kbLoginCurtainTopA {
|
|
from {
|
|
transform: rotate(46deg) translateX(0);
|
|
}
|
|
|
|
to {
|
|
transform: rotate(46deg) translateX(22vmax);
|
|
}
|
|
}
|
|
|
|
@keyframes kbLoginCurtainTopB {
|
|
from {
|
|
transform: rotate(136deg) translateX(0);
|
|
}
|
|
|
|
to {
|
|
transform: rotate(136deg) translateX(18vmax);
|
|
}
|
|
}
|
|
|
|
@keyframes kbLoginCurtainBottomA {
|
|
from {
|
|
transform: rotate(-44deg) translateX(0);
|
|
}
|
|
|
|
to {
|
|
transform: rotate(-44deg) translateX(22vmax);
|
|
}
|
|
}
|
|
|
|
@keyframes kbLoginCurtainBottomB {
|
|
from {
|
|
transform: rotate(-134deg) translateX(0);
|
|
}
|
|
|
|
to {
|
|
transform: rotate(-134deg) translateX(18vmax);
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.kb-login-curtain,
|
|
.kb-login-panel {
|
|
animation: none;
|
|
}
|
|
|
|
.kb-login-panel {
|
|
opacity: 1;
|
|
transform: none;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
#kc-content-wrapper {
|
|
padding-top: 20px;
|
|
}
|
|
|
|
.kb-login-shell {
|
|
min-height: auto;
|
|
padding: 16px;
|
|
}
|
|
|
|
.kb-login-panel {
|
|
padding: 22px 18px;
|
|
border-radius: 22px;
|
|
}
|
|
}
|