166 lines
2.9 KiB
CSS
166 lines
2.9 KiB
CSS
/* 注册页面样式,继承登录页面样式 */
|
|
.step-container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 25px;
|
|
position: relative;
|
|
}
|
|
|
|
.step-container::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 15px;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 2px;
|
|
background-color: var(--border-color);
|
|
z-index: 1;
|
|
}
|
|
|
|
.step {
|
|
width: 30px;
|
|
height: 30px;
|
|
border-radius: 50%;
|
|
background-color: var(--bg-color);
|
|
border: 2px solid var(--border-color);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
font-weight: 600;
|
|
color: var(--light-text);
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
.step.active {
|
|
background-color: var(--primary-color);
|
|
border-color: var(--primary-color);
|
|
color: white;
|
|
}
|
|
|
|
.step.completed {
|
|
background-color: var(--success-color);
|
|
border-color: var(--success-color);
|
|
color: white;
|
|
}
|
|
|
|
.step-label {
|
|
position: absolute;
|
|
top: 40px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
font-size: 12px;
|
|
color: var(--light-text);
|
|
width: 80px;
|
|
text-align: center;
|
|
}
|
|
|
|
.verification-container {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
width: 100%;
|
|
}
|
|
|
|
.verification-input {
|
|
flex: 1;
|
|
}
|
|
|
|
.send-code-btn {
|
|
white-space: nowrap;
|
|
background-color: var(--primary-color);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 6px;
|
|
padding: 10px 15px;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
height: 48px;
|
|
}
|
|
|
|
.send-code-btn:hover {
|
|
background-color: var(--primary-hover);
|
|
}
|
|
|
|
.send-code-btn:disabled {
|
|
background-color: var(--border-color);
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.countdown {
|
|
font-size: 12px;
|
|
color: var(--light-text);
|
|
}
|
|
|
|
.registration-step {
|
|
display: none;
|
|
}
|
|
|
|
.registration-step.active {
|
|
display: block;
|
|
animation: fadeIn 0.5s ease;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; transform: translateY(10px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
.form-buttons {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-top: 25px;
|
|
}
|
|
|
|
.btn-back {
|
|
background-color: var(--bg-color);
|
|
color: var(--text-color);
|
|
border: 1px solid var(--border-color);
|
|
}
|
|
|
|
.btn-next {
|
|
background-color: var(--primary-color);
|
|
color: white;
|
|
}
|
|
|
|
.strength-meter {
|
|
height: 4px;
|
|
background-color: var(--border-color);
|
|
margin-top: 10px;
|
|
border-radius: 2px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.strength-meter-fill {
|
|
height: 100%;
|
|
width: 0;
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
.strength-meter-fill.weak {
|
|
width: 25%;
|
|
background-color: #e74c3c;
|
|
}
|
|
|
|
.strength-meter-fill.medium {
|
|
width: 50%;
|
|
background-color: #f39c12;
|
|
}
|
|
|
|
.strength-meter-fill.strong {
|
|
width: 75%;
|
|
background-color: #3498db;
|
|
}
|
|
|
|
.strength-meter-fill.very-strong {
|
|
width: 100%;
|
|
background-color: #2ecc71;
|
|
}
|
|
|
|
.password-strength-text {
|
|
font-size: 12px;
|
|
color: var(--light-text);
|
|
text-align: right;
|
|
margin-top: 5px;
|
|
} |