NextChat-U/app/components/auth.module.scss

100 lines
1.8 KiB
SCSS
Raw Normal View History

2023-06-07 03:18:24 +09:00
.auth-page {
display: flex;
2024-09-19 09:41:09 +09:00
justify-content: flex-start;
2023-06-07 03:18:24 +09:00
align-items: center;
height: 100%;
width: 100%;
flex-direction: column;
2024-09-19 17:58:51 +09:00
.top-banner {
position: relative;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
padding: 12px 64px;
box-sizing: border-box;
background: var(--second);
.top-banner-inner {
display: flex;
justify-content: center;
align-items: center;
font-size: 14px;
line-height: 150%;
span {
gap: 8px;
a {
display: inline-flex;
align-items: center;
text-decoration: none;
margin-left: 8px;
color: var(--primary);
}
}
}
.top-banner-close {
cursor: pointer;
position: absolute;
top: 50%;
right: 48px;
transform: translateY(-50%);
}
}
2023-06-07 03:18:24 +09:00
2024-09-23 16:12:45 +09:00
@media (max-width: 600px) {
.top-banner {
padding: 12px 24px 12px 12px;
.top-banner-close {
right: 10px;
}
.top-banner-inner {
.top-banner-logo {
margin-right: 8px;
}
}
}
}
2024-09-19 09:41:09 +09:00
.auth-header {
display: flex;
justify-content: space-between;
width: 100%;
padding: 10px;
box-sizing: border-box;
animation: slide-in-from-top ease 0.3s;
}
2023-06-07 03:18:24 +09:00
.auth-logo {
2024-09-19 09:41:09 +09:00
margin-top: 10vh;
2023-06-07 03:18:24 +09:00
transform: scale(1.4);
}
.auth-title {
font-size: 24px;
font-weight: bold;
line-height: 2;
2024-09-19 09:41:09 +09:00
margin-bottom: 1vh;
2023-06-07 03:18:24 +09:00
}
.auth-tips {
font-size: 14px;
}
.auth-input {
margin: 3vh 0;
}
2024-09-19 01:05:06 +09:00
.auth-input-second {
margin: 0 0 3vh 0;
}
2023-06-07 03:18:24 +09:00
.auth-actions {
display: flex;
justify-content: center;
flex-direction: column;
button:not(:last-child) {
margin-bottom: 10px;
}
}
}