Files
aifo-portal-web/assets/css/affiliate_login.css
T
steven 4d30803b60 Initial commit: AIFO official portal web.
Add static site, shared layout, and Node dev server with standard .gitignore.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 15:29:50 +08:00

453 lines
9.2 KiB
CSS

/* ===============================
Base
================================ */
.error-message {
width: auto;
margin-top: 0.25rem;
font-size: 80%;
color: var(--aifo-dark-gary);
background: #fff;
border-radius: 4px;
padding: 2px 6px;
}
.error-message::before {
content: "";
display: inline-block;
width: 16px;
height: 16px;
margin-right: 4px;
background-image: url(../images/icon/valid_err_mark.svg);
background-repeat: no-repeat;
background-size: contain;
vertical-align: middle;
}
.aifo-bg-primary {
background-color: #000;
}
.login-page {
position: relative;
z-index: 1;
min-height: 100%;
padding: 20px 0;
height: 100vh;
background-color: #000;
background-image: url(../images/backgrounds/academy/bg_all_grid.webp);
margin-top: 0;
}
.login-page::before {
content: "";
position: absolute;
inset: 0;
pointer-events: none;
z-index: 0;
background: url(../images/backgrounds/login_bg_light.webp) no-repeat center top/cover;
}
.login-page .login-card {
max-width: 560px;
width: 100%;
margin: 0 auto;
padding: 60px 33px;
}
/* ===============================
Layout
================================ */
@media (min-width: 1200px) {
.container {
max-width: 1226px;
}
.login-page {
min-height: 100vh;
height: auto;
}
.col-xl-8 {
-webkit-box-flex: 0;
-ms-flex: 0 0 66.6666666667%;
flex: 0 0 66.6666666667%;
max-width: 580px;
padding: 0;
}
.col-xl-4 {
-webkit-box-flex: unset;
-ms-flex: unset;
flex: unset;
max-width: 450px;
width: 450px;
}
}
@media (max-width: 991px) {
.login-card {
margin-bottom: 30px;
}
}
/* ===============================
Card
================================ */
.card-base {
background: rgba(18, 18, 18, 0.88);
border: 1px solid rgba(255, 255, 255, 0.14);
border-radius: 24px;
-webkit-box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}
.login-card {
max-width: 560px;
width: 100%;
margin: 0 auto;
padding: 60px 33px;
}
@media (max-width: 767px) {
.login-card {
padding: 28px 22px;
}
}
/* ===============================
Logo & Title
================================ */
.logo-container {
text-align: center;
margin-bottom: 30px;
position: relative;
}
.login-page .login-title {
text-align: center;
font-size: 25px;
font-weight: 700;
color: var(--aifo-white);
margin-bottom: 25px;
}
/* ===============================
Form
================================ */
.login-page .form-group {
margin-bottom: 15px;
}
.login-page .form-label {
font-size: 15px;
color: var(--aifo-white);
margin-bottom: 10px;
display: block;
}
.login-page .form-control {
height: 40px;
border-radius: 10px;
background: rgba(0, 0, 0, 0.2);
border: 1px solid rgba(255, 255, 255, 0.18);
color: var(--aifo-white);
font-size: 14px;
padding: 12px 16px;
}
.login-page .form-control::-webkit-input-placeholder {
color: rgba(249, 249, 249, 0.55);
}
.login-page .form-control::-moz-placeholder {
color: rgba(249, 249, 249, 0.55);
}
.login-page .form-control:-ms-input-placeholder {
color: rgba(249, 249, 249, 0.55);
}
.login-page .form-control::-ms-input-placeholder {
color: rgba(249, 249, 249, 0.55);
}
.login-page .form-control::placeholder {
color: rgba(249, 249, 249, 0.55);
}
.login-page .form-control:focus {
background: rgba(0, 0, 0, 0.25);
border-color: var(--aifo-orange);
-webkit-box-shadow: 0 0 0 0.1rem rgba(249, 135, 21, 0.1);
box-shadow: 0 0 0 0.1rem rgba(249, 135, 21, 0.1);
outline: none;
}
/* ===============================
Password
================================ */
.login-page .password-wrapper {
position: relative;
}
.login-page .password-toggle {
position: absolute;
right: 14px;
top: 0px;
background: none;
border: none;
color: rgba(249, 249, 249, 0.55);
cursor: pointer;
padding: 8px;
width: 40px;
height: 40px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-transition: color 0.2s ease;
transition: color 0.2s ease;
}
.login-page .password-toggle:hover {
color: rgba(249, 249, 249, 0.85);
}
/* ===============================
Remember / Forgot
================================ */
.login-page .remember-forgot {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
margin: 25px 0 30px;
}
.login-page .forgot-link {
color: var(--aifo-orange);
font-size: 14px;
text-decoration: none;
}
.login-page .forgot-link:hover {
text-decoration: underline;
color: #e67f12;
}
/* ===============================
Button
================================ */
.login-page .btn-aifo-primary {
width: 100%;
height: 55px;
background: var(--aifo-orange);
color: var(--aifo-white);
border: none;
border-radius: 14px;
font-size: 20px;
font-weight: 600;
cursor: pointer;
}
.login-page .btn-aifo-primary:hover {
background: var(--aifo-orange-hover);
-webkit-box-shadow: 0 8px 24px rgba(249, 135, 21, 0.35);
box-shadow: 0 8px 24px rgba(249, 135, 21, 0.35);
}
/* ===============================
Divider
================================ */
.login-page .divider {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
gap: 12px;
margin: 30px 0;
}
.login-page .divider-line {
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
height: 1px;
background: var(--aifo-white);
}
.login-page .divider-text {
font-size: 13px;
color: var(--aifo-white);
white-space: nowrap;
}
/* ===============================
Social
================================ */
.login-page .social-buttons {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
gap: 26px;
margin-bottom: 30px;
}
.login-page .social-btn {
width: 48px;
height: 48px;
border-radius: 12px;
background: #f5f5f5;
border: none;
cursor: pointer;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
-webkit-transition: all 0.2s ease;
transition: all 0.2s ease;
}
.login-page .social-btn:hover {
-webkit-transform: translateY(-2px);
transform: translateY(-2px);
-webkit-box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
/* ===============================
Signup Prompt
================================ */
.login-page .signup-prompt {
text-align: center;
color: rgba(249, 249, 249, 0.75);
font-size: 14px;
}
.login-page .signup-link {
color: var(--aifo-orange);
margin-left: 4px;
text-decoration: none;
}
.login-page .signup-link:hover {
text-decoration: underline;
color: #e67f12;
}
/* ===============================
Steps (Right Side)
================================ */
#affliate-login .glass-card {
background: rgba(20, 20, 20, 0.92);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 20px;
-webkit-box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
padding: 50px;
}
#affliate-login .steps-title {
font-size: 25px;
font-weight: 700;
color: var(--aifo-white);
text-align: center;
margin-bottom: 30px;
}
#affliate-login .timeline-wrapper {
position: relative;
padding-left: 50px;
padding-top: 50px;
}
#affliate-login .timeline-line {
position: absolute;
left: 2px;
top: 52px;
bottom: 104px;
width: 23px;
background-image: url("../images/backgrounds/bg_line.webp");
background-size: 100% 100%;
}
#affliate-login .step-item {
position: relative;
margin-bottom: 40px;
}
#affliate-login .step-number {
position: absolute;
left: -50px;
top: 0;
width: 26px;
height: 26px;
background: var(--aifo-orange);
border-radius: 50%;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
color: #fff;
font-size: 13px;
font-weight: 700;
}
#affliate-login .step-label {
color: var(--aifo-orange);
font-size: 15px;
font-weight: 600;
margin-bottom: 10px;
text-transform: uppercase;
}
#affliate-login .step-title {
color: #F9F9F9;
font-size: 15px;
font-weight: 700;
margin-bottom: 8px;
}
#affliate-login .step-desc {
color: rgba(249, 249, 249, 0.65);
font-size: 14px;
line-height: 1.6;
}
@media (max-width: 991px) {
.login-page {
height: auto;
}
.mb-hidden {
display: none !important;
}
}
@media (max-width: 768px) {
.login-page {
height: auto;
}
.mb-hidden {
display: none !important;
}
}