添加交叉评查菜单页面,添加单点登录相关逻辑(待完善)
This commit is contained in:
@@ -207,4 +207,114 @@
|
||||
.login-footer {
|
||||
color: #6b7280;
|
||||
}
|
||||
}
|
||||
|
||||
/* 临时管理员登录样式 */
|
||||
.temp-login-section {
|
||||
margin-top: 2rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.section-divider {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
margin: 1rem 0;
|
||||
}
|
||||
|
||||
.section-divider::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 1px;
|
||||
background-color: #e5e7eb;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.section-divider span {
|
||||
background-color: white;
|
||||
color: #9ca3af;
|
||||
padding: 0 1rem;
|
||||
font-size: 0.875rem;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.temp-login-form {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.temp-admin-login-button {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.75rem;
|
||||
width: 100%;
|
||||
padding: 0.875rem 1.5rem;
|
||||
background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
font-size: 1rem;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.temp-admin-login-button:hover {
|
||||
background: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
|
||||
}
|
||||
|
||||
.temp-admin-login-button:active {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.temp-admin-login-button i {
|
||||
font-size: 1.25rem;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
.temp-login-tips {
|
||||
text-align: center;
|
||||
color: #f59e0b;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.temp-login-tips p {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.5rem;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.temp-login-tips i {
|
||||
font-size: 0.95rem;
|
||||
color: #f59e0b;
|
||||
}
|
||||
|
||||
/* 暗色主题下的临时登录样式 */
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.section-divider::before {
|
||||
background-color: #374151;
|
||||
}
|
||||
|
||||
.section-divider span {
|
||||
background-color: #1f2937;
|
||||
color: #6b7280;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user