152 lines
3.2 KiB
CSS
152 lines
3.2 KiB
CSS
/* Import Google Font */
|
|
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');
|
|
|
|
/* ---- Page background ---- */
|
|
ion-content.bg {
|
|
--background: transparent;
|
|
--overflow: hidden;
|
|
|
|
&::before {
|
|
content: '';
|
|
position: fixed;
|
|
inset: 0;
|
|
background: linear-gradient(
|
|
160deg,
|
|
#f9e8e8 0%,
|
|
#f2c4c4 35%,
|
|
#e89898 70%,
|
|
#d97070 100%
|
|
);
|
|
z-index: -1;
|
|
}
|
|
}
|
|
|
|
/* ---- Centered container ---- */
|
|
.container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 100%;
|
|
padding: 40px 24px;
|
|
font-family: 'Nunito', sans-serif;
|
|
gap: 10px;
|
|
}
|
|
|
|
/* ---- Logo box ---- */
|
|
.logo-box {
|
|
width: 80px;
|
|
height: 80px;
|
|
background: #ffffff;
|
|
border-radius: 22px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-shadow: 0 4px 18px rgba(180, 80, 80, 0.18);
|
|
overflow: hidden;
|
|
margin-bottom: 4px;
|
|
|
|
img {
|
|
width: 52px;
|
|
height: 52px;
|
|
object-fit: contain;
|
|
}
|
|
}
|
|
|
|
/* ---- App title ---- */
|
|
h1 {
|
|
font-family: 'Nunito', sans-serif;
|
|
font-size: 28px;
|
|
font-weight: 800;
|
|
color: #b05050;
|
|
margin: 0 0 10px;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
/* ---- White card ---- */
|
|
.card {
|
|
width: 100%;
|
|
max-width: 340px;
|
|
background: rgba(255, 255, 255, 0.88);
|
|
border-radius: 24px;
|
|
padding: 28px 24px 32px;
|
|
box-shadow: 0 8px 32px rgba(180, 80, 80, 0.12);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
|
|
h3 {
|
|
font-family: 'Nunito', sans-serif;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
color: #b05050;
|
|
text-align: center;
|
|
margin: 0 0 4px;
|
|
}
|
|
}
|
|
|
|
/* ---- Inputs ---- */
|
|
.input {
|
|
--background: rgba(255, 255, 255, 0.95);
|
|
--border-radius: 50px;
|
|
--padding-start: 18px;
|
|
--padding-end: 18px;
|
|
--inner-padding-end: 0;
|
|
--highlight-color-focused: #d97070;
|
|
border-radius: 50px;
|
|
box-shadow: 0 2px 8px rgba(180, 80, 80, 0.10);
|
|
overflow: hidden;
|
|
|
|
ion-input {
|
|
--placeholder-color: #c9a0a0;
|
|
--placeholder-opacity: 1;
|
|
--color: #6b3030;
|
|
font-family: 'Nunito', sans-serif;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
caret-color: #d97070;
|
|
}
|
|
}
|
|
|
|
/* ---- Login button ---- */
|
|
.btn {
|
|
--background: #b05050;
|
|
--background-activated: #903838;
|
|
--border-radius: 50px;
|
|
--box-shadow: 0 4px 16px rgba(176, 80, 80, 0.35);
|
|
--color: #ffffff;
|
|
font-family: 'Nunito', sans-serif;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.3px;
|
|
margin-top: 6px;
|
|
height: 48px;
|
|
transition: transform 0.15s ease, box-shadow 0.15s ease;
|
|
|
|
&:active {
|
|
transform: scale(0.97);
|
|
--box-shadow: 0 2px 8px rgba(176, 80, 80, 0.25);
|
|
}
|
|
}
|
|
|
|
/* ---- Sign-up link ---- */
|
|
.signup {
|
|
text-align: center;
|
|
font-family: 'Nunito', sans-serif;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: #b05050;
|
|
line-height: 1.7;
|
|
margin-top: 6px;
|
|
|
|
a {
|
|
color: #b05050;
|
|
font-weight: 800;
|
|
text-decoration: underline;
|
|
text-underline-offset: 2px;
|
|
|
|
&:hover {
|
|
color: #903838;
|
|
}
|
|
}
|
|
} |