Files
aifo-portal-web/assets/scss/password.scss
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

533 lines
9.0 KiB
SCSS

#forgot-password.auth-page,#reset-password.auth-page{
min-height: 100%;
width: 100%;
position: relative;
background-image: url('../images/backgrounds/academy/bg_grid_pwd.webp');
// overflow: auto;
// height: 100vh;
.logo-container{
margin-bottom:40px;
}
.auth-container {
position: relative;
z-index: 3;
display: flex;
align-items: center;
justify-content: center;
min-height: 100%;
padding: 40px 16px;
}
.logo-container img{
width: 66px;
height:57px;
}
.auth-card {
width: 100%;
max-width: 520px;
border: 1px solid rgba(255,255,255,0.12);
border-radius: 20px;
padding: 60px 33px 160px 33px;
box-shadow:
0 18px 50px rgba(0,0,0,0.55),
inset 0 1px 0 rgba(255,255,255,0.04);
text-align: center;
background-color: var(--aifo-dark-gary);
background-image: url('../images/backgrounds/bg_bottom.webp');
background-size: 100% 100%;
background-repeat: no-repeat;
}
.logo-icon {
width: 50px;
height: 36px;
margin: 0 auto 20px;
}
.auth-title {
color: #F9F9F9;
font-size: 28px !important;
font-weight: 700;
line-height: 1.25;
margin-bottom: 12px;
}
.auth-description {
color: rgba(249,249,249,0.72);
font-size: 15px;
line-height: 1.5;
margin-bottom: 35px;
}
.form-label {
display: block;
color: rgba(249,249,249,0.85);
font-size: 15px;
font-weight: 500;
margin-bottom: 10px;
text-align: left;
}
.form-control {
height: 50px;
background: rgba(0,0,0,0.55);
border: 1px solid rgba(255,255,255,0.18);
border-radius: 11px;
color: #F9F9F9;
font-size: 15px;
padding: 0 16px;
transition: all 0.3s ease;
}
.form-control::placeholder {
color: rgba(249,249,249,0.35);
}
.form-control:focus {
background: rgba(0,0,0,0.65);
border-color: #F98715;
box-shadow: 0 0 0 0.2rem rgba(249,135,21,0.25);
color: #F9F9F9;
outline: none;
}
.invalid-feedback {
display: none;
color: var(--aifo-orange);
font-size: 13px;
text-align: left;
margin-top: 8px;
}
.invalid-feedback.show {
display: block;
}
.btn-primary {
width: 100%;
height: 50px;
background: var(--aifo-orange);
border: none;
border-radius: 11px;
color: var(--aifo-white);
font-size: 16px;
font-weight: 600;
margin-top: 30px;
transition: all 0.3s ease;
cursor: pointer;
}
.btn-primary:hover:not(:disabled) {
background: #e97d10;
box-shadow: 0 10px 24px rgba(249,135,21,0.18);
transform: translateY(-1px);
}
.btn-primary:disabled {
opacity: 0.65;
cursor: not-allowed;
}
.btn-primary:focus {
box-shadow: 0 0 0 0.2rem rgba(249,135,21,0.25);
outline: none;
}
.spinner-border-sm {
width: 18px;
height: 18px;
border-width: 2px;
margin-right: 8px;
}
.signup-prompt {
color: rgba(249,249,249,0.6);
font-size: 14px;
margin-top: 30px;
}
.signup-link {
color: #F98715;
text-decoration: none;
font-weight: 500;
transition: all 0.2s ease;
}
.signup-link:hover {
color: #ff9a2e;
text-decoration: underline;
}
.back-link {
display: inline-flex;
align-items: center;
gap: 10px;
color: rgba(249,249,249,0.7);
font-size: 14px;
text-decoration: none;
margin-top: 24px;
transition: all 0.2s ease;
}
.back-link:hover {
color: rgba(249,249,249,0.95);
text-decoration: none;
}
.back-icon {
width: 20px;
height: 20px;
background: #F98715;
border-radius: 5px;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease;
}
.back-link:hover .back-icon {
box-shadow: 0 0 12px rgba(249,135,21,0.4);
}
@media (max-width: 991px) {
.auth-card {
padding: 36px;
}
}
@media (max-width: 767px) {
.auth-card {
max-width: calc(100% - 32px);
padding: 28px 22px;
}
.auth-title {
font-size: 24px;
}
.auth-description {
font-size: 14px;
}
}
}
.auth-page::before,#reset-password.auth-page::before,#ch_pwd_message.auth-page{
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
pointer-events: none;
z-index: 0;
background-image: url(../images/backgrounds/login_bg_light.svg);
height: 500px;
width: 72%;
background-repeat: no-repeat;
background-size: contain;
z-index: 1;
}
#ch_pwd_message.auth-page{
padding: 40px 0;
height: 100%;
}
#reset-password.auth-page{
.form-group {
margin-bottom: 16px;
}
.form-label {
color: rgba(249,249,249,0.85);
font-size: 13.5px;
font-weight: 500;
margin-bottom: 8px;
display: block;
}
.input-wrapper {
position: relative;
}
.form-control {
height: 50px;
border-radius: 11px;
background: #0f0f0f;
border: 1px solid rgba(255,255,255,0.18);
color: #F9F9F9;
font-size: 15px;
padding-right: 45px;
transition: all 0.2s ease;
}
.form-control::placeholder {
color: rgba(249,249,249,0.35);
}
.form-control:focus {
background: #0f0f0f;
border-color: #F98715;
box-shadow: 0 0 0 0.2rem rgba(249,135,21,0.25);
color: #F9F9F9;
outline: none;
}
.form-control.is-invalid {
border-color: var(--aifo-orange);
}
.form-control.is-invalid:focus {
border-color: var(--aifo-orange);
box-shadow: 0 0 0 0.2rem rgba(220,53,69,0.25);
}
.toggle-password {
position: absolute;
right: 14px;
top: 50%;
transform: translateY(-50%);
background: none;
border: none;
color: rgba(249,249,249,0.55);
cursor: pointer;
padding: 8px;
transition: color 0.2s ease;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
}
.toggle-password:hover {
color: rgba(249,249,249,0.85);
}
.toggle-password:focus {
outline: none;
}
.password-hint {
color: rgba(249,249,249,0.45);
font-size: 11.5px;
margin-top: 8px;
margin-bottom: 0;
text-align: left;
}
.btn-primary {
width: 100%;
height: 50px;
border-radius: 11px;
background: #F98715;
border: none;
color: #fff;
font-weight: 600;
font-size: 17px;
margin-top: 24px;
transition: all 0.2s ease;
}
.btn-primary:hover {
background: #e97d10;
box-shadow: 0 10px 24px rgba(249,135,21,0.18);
transform: translateY(-1px);
}
.btn-primary:active {
transform: translateY(1px);
}
.btn-primary:focus {
background: #e97d10;
box-shadow: 0 10px 24px rgba(249,135,21,0.18);
outline: none;
}
.btn-primary:disabled {
background: rgba(249,135,21,0.5);
cursor: not-allowed;
transform: none;
}
.security-note {
color: rgba(249,249,249,0.45);
font-size: 11.5px;
line-height: 1.45;
margin-top: 15px;
margin-bottom: 0;
text-align: left;
}
.invalid-feedback {
color: #dc3545;
font-size: 12px;
margin-top: 6px;
}
@media (max-width: 767px) {
.auth-card {
width: calc(100% - 32px);
padding: 28px 22px;
}
.auth-title {
font-size: 23px;
}
.auth-description {
font-size: 14px;
}
}
@media (min-width: 768px) and (max-width: 991px) {
.auth-card {
padding: 36px;
}
.auth-title {
font-size: 25px;
}
}
}
#ch_pwd_message.auth-page{
min-height: 100%;
width: 100%;
position: relative;
background-image: url('../images/backgrounds/academy/bg_grid_pwd.webp');
// overflow: auto;
// height: 100vh;
.success-page{
min-width: 450px;
min-height: 650px;
background-color: var(--aifo-dark-gary);
background-image: url(../images/backgrounds/bg_bottom.webp);
background-size: 100% 100%;
background-repeat: no-repeat;
border: 1px solid rgba(255, 255, 255, 0.06);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
border-radius: 14px;
}
.success-card {
max-width: 450px;
width: 100%;
min-height: 650px;
padding: 80px 33px 150px;
transform: translateY(6px);
}
/* @keyframes cardFadeIn {
to {
opacity: 1;
transform: translateY(0);
}
} */
.success-icon {
width: 72px;
height: 72px;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 40px;
/* box-shadow: 0 10px 22px rgba(249,135,21,0.25); */
img{
width: 100%;
height: 100%;
}
}
.success-icon i {
color: white;
font-size: 20px;
}
.success-title {
color: var(--aifo-white);
font-size: 25px;
font-weight: 600;
line-height: 1.3;
text-align: center;
margin-bottom: 20px;
}
.success-countdown {
color: var(--aifo-white);
font-size: 52px;
font-weight: 700;
line-height: 1;
text-align: center;
margin: 70px 0 70px;
transition: transform 100ms ease-out;
}
.success-countdown.pulse {
animation: countdownPulse 100ms ease-out;
}
@keyframes countdownPulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(0.98); }
}
.success-back-link {
color: var(--aifo-orange);
font-size: 15px;
font-weight: 300;
text-align: center;
text-decoration: none;
display: block;
transition: all 200ms ease;
}
.success-back-link:hover {
color: var(--aifo-orange);
text-decoration: underline;
opacity: 0.9;
}
@media (max-width: 576px) {
.success-card {
width: 100%;
padding: 40px 33px 100px;
min-height: 460px;
}
.success-page {
min-width: unset;
min-height: unset;
}
.success-title {
font-size: 16px;
}
.success-countdown {
font-size: 46px;
}
.success-back-link {
font-size: 12px;
}
.success-countdown {
margin: 35px 0 35px;
}
.success-icon {
margin: 0 auto 20px;
}
}
}