Kavita/UI/Web/src/app/registration/_components/splash-container/splash-container.component.scss
Christopher cc8e7e159b Converted majority PX values to REM
Everything but dark.scss and values inside calc() have been converted from px to rem
2025-05-01 21:31:30 -06:00

84 lines
2 KiB
SCSS

::ng-deep body {
scrollbar-gutter: stable;
}
.login {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
height: calc(var(--vh, 1vh) * 100 - 3.5625rem);
min-height: 18.0625rem;
position: relative;
width: 100vw;
max-width: 100vw;
background: var(--login-background-color);
&::before {
content: "";
background-image: var(--login-background-url);
background-size: var(--login-background-size);
position: absolute;
top: 0;
right: 0;
bottom: 0;
opacity: var(--login-background-opacity);
width: 100%;
}
h2 {
font-family: "Spartan", sans-serif;
font-size: 1.5rem;
margin-bottom: 0;
font-weight: bold;
display: inline-block;
margin-left: 0.3125rem;
vertical-align: middle;
}
.logo-container {
width: 100%;
.logo {
width: var(--login-logo-width);
height: var(--login-logo-height);
background-image: var(--login-logo-image);
background-size: var(--login-logo-bg-size);
background-repeat: var(--login-logo-bg-repeat);
display: inline-block;
vertical-align: middle;
}
}
.login-container {
width: 100%;
}
.card {
background-color: var(--login-card-bg-color);
color: #fff;
max-width: 18.75rem;
border-width: var(--login-card-border-width);
border-style: var(--login-card-border-style);
border-color: var(--login-card-border-color);
&:focus {
border: 0.125rem solid white;
}
::ng-deep.card-title {
h2 {
font-family: 'Poppins', sans-serif;
display: inline-block;
vertical-align: middle;
width: 100%;
font-size: 1rem;
}
}
.card-text {
font-family: "EBGaramond", "Helvetica Neue", sans-serif;
}
}
}