UI: Extremely compact AuthGuard for map carousel
This commit is contained in:
@ -103,72 +103,72 @@ function goToLogin() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.auth-card {
|
.auth-card {
|
||||||
max-width: 320px;
|
max-width: 290px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 1.5rem 1.25rem;
|
padding: 1rem;
|
||||||
border-radius: 1.5rem;
|
border-radius: 1.25rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||||
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
|
box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.5);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 1rem;
|
gap: 0.5rem;
|
||||||
animation: float 6s ease-in-out infinite;
|
animation: float 6s ease-in-out infinite;
|
||||||
}
|
}
|
||||||
|
|
||||||
.auth-icon-circle {
|
.auth-icon-circle {
|
||||||
width: 48px;
|
width: 32px;
|
||||||
height: 48px;
|
height: 32px;
|
||||||
background: var(--active-color);
|
background: var(--active-color);
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
margin-bottom: 0.25rem;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.auth-icon-circle .material-icons {
|
.auth-icon-circle .material-icons {
|
||||||
font-size: 1.5rem;
|
font-size: 1.1rem;
|
||||||
color: #101820;
|
color: #101820;
|
||||||
}
|
}
|
||||||
|
|
||||||
.auth-title {
|
.auth-title {
|
||||||
font-size: 1.1rem;
|
font-size: 0.95rem;
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
color: var(--text-primary);
|
color: var(--text-primary);
|
||||||
margin: 0;
|
margin: 0;
|
||||||
line-height: 1.2;
|
line-height: 1.1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.auth-message {
|
.auth-message {
|
||||||
font-size: 0.85rem;
|
font-size: 0.75rem;
|
||||||
color: var(--text-secondary);
|
color: var(--text-secondary);
|
||||||
line-height: 1.4;
|
line-height: 1.3;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ── ACTIONS ── */
|
/* ── ACTIONS ── */
|
||||||
.auth-actions {
|
.auth-actions {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1.2fr 1fr;
|
grid-template-columns: 1fr 1fr;
|
||||||
gap: 0.5rem;
|
gap: 0.4rem;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-top: 1rem;
|
margin-top: 0.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.primary-btn {
|
.primary-btn {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
gap: 0.4rem;
|
gap: 0.3rem;
|
||||||
padding: 0.75rem 0.5rem;
|
padding: 0.6rem 0.4rem;
|
||||||
background: var(--active-color);
|
background: var(--active-color);
|
||||||
color: #101820;
|
color: #101820;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 0.75rem;
|
border-radius: 0.6rem;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
font-size: 0.85rem;
|
font-size: 0.75rem;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
||||||
@ -180,13 +180,13 @@ function goToLogin() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.secondary-btn {
|
.secondary-btn {
|
||||||
padding: 0.75rem 0.5rem;
|
padding: 0.6rem 0.4rem;
|
||||||
background: rgba(255,255,255,0.05);
|
background: rgba(255,255,255,0.05);
|
||||||
color: var(--text-primary);
|
color: var(--text-primary);
|
||||||
border: 1px solid rgba(255,255,255,0.2);
|
border: 1px solid rgba(255,255,255,0.2);
|
||||||
border-radius: 0.75rem;
|
border-radius: 0.6rem;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-size: 0.8rem;
|
font-size: 0.75rem;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
transition: all 0.2s;
|
transition: all 0.2s;
|
||||||
|
|||||||
Reference in New Issue
Block a user