2026-06-27 00:51:53 +08:00
|
|
|
|
/* ============================================
|
2026-06-27 20:32:18 +08:00
|
|
|
|
OpenAuth.Net 认证中心 - 设计系统
|
2026-06-27 00:51:53 +08:00
|
|
|
|
============================================ */
|
|
|
|
|
|
|
|
|
|
|
|
/* --- 设计令牌 (Design Tokens) --- */
|
|
|
|
|
|
:root {
|
2026-06-27 20:32:18 +08:00
|
|
|
|
/* 主色调 - 标准蓝 */
|
|
|
|
|
|
--color-primary: #1677ff;
|
|
|
|
|
|
--color-primary-hover: #4096ff;
|
|
|
|
|
|
--color-primary-active: #0958d9;
|
|
|
|
|
|
--color-primary-light: #e6f4ff;
|
|
|
|
|
|
--color-primary-border: #91caff;
|
|
|
|
|
|
|
|
|
|
|
|
/* 页面背景 */
|
|
|
|
|
|
--bg-page: #f0f2f5;
|
|
|
|
|
|
|
2026-06-27 00:51:53 +08:00
|
|
|
|
/* 中性色 */
|
2026-06-27 20:32:18 +08:00
|
|
|
|
--color-text: rgba(0, 0, 0, 0.85);
|
|
|
|
|
|
--color-text-secondary: rgba(0, 0, 0, 0.65);
|
|
|
|
|
|
--color-text-muted: rgba(0, 0, 0, 0.45);
|
|
|
|
|
|
--color-border: #d9d9d9;
|
|
|
|
|
|
--color-border-split: #f0f0f0;
|
2026-06-27 00:51:53 +08:00
|
|
|
|
--color-bg-white: #ffffff;
|
2026-06-27 20:32:18 +08:00
|
|
|
|
--color-bg-gray: #fafafa;
|
|
|
|
|
|
--color-bg-hover: #f5f5f5;
|
|
|
|
|
|
|
2026-06-27 00:51:53 +08:00
|
|
|
|
/* 状态色 */
|
2026-06-27 20:32:18 +08:00
|
|
|
|
--color-success: #52c41a;
|
|
|
|
|
|
--color-warning: #faad14;
|
|
|
|
|
|
--color-error: #ff4d4f;
|
|
|
|
|
|
--color-error-bg: #fff2f0;
|
|
|
|
|
|
--color-error-border: #ffccc7;
|
|
|
|
|
|
--color-info: #1677ff;
|
|
|
|
|
|
|
2026-06-27 00:51:53 +08:00
|
|
|
|
/* 圆角 */
|
2026-06-27 20:32:18 +08:00
|
|
|
|
--radius-sm: 2px;
|
|
|
|
|
|
--radius-md: 4px;
|
|
|
|
|
|
--radius-lg: 6px;
|
|
|
|
|
|
--radius-xl: 8px;
|
2026-06-27 00:51:53 +08:00
|
|
|
|
--radius-full: 9999px;
|
2026-06-27 20:32:18 +08:00
|
|
|
|
|
2026-06-27 00:51:53 +08:00
|
|
|
|
/* 阴影 */
|
2026-06-27 20:32:18 +08:00
|
|
|
|
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
|
|
|
|
|
|
--shadow-md: 0 2px 8px rgba(0, 0, 0, 0.06);
|
|
|
|
|
|
--shadow-lg: 0 2px 8px rgba(0, 0, 0, 0.08);
|
|
|
|
|
|
--shadow-xl: 0 4px 12px rgba(0, 0, 0, 0.08);
|
|
|
|
|
|
--shadow-card: 0 2px 8px rgba(0, 0, 0, 0.08);
|
|
|
|
|
|
|
2026-06-27 00:51:53 +08:00
|
|
|
|
/* 间距 */
|
|
|
|
|
|
--space-xs: 4px;
|
|
|
|
|
|
--space-sm: 8px;
|
|
|
|
|
|
--space-md: 16px;
|
|
|
|
|
|
--space-lg: 24px;
|
|
|
|
|
|
--space-xl: 32px;
|
2026-06-27 20:32:18 +08:00
|
|
|
|
--space-2xl: 40px;
|
|
|
|
|
|
|
2026-06-27 00:51:53 +08:00
|
|
|
|
/* 字体 */
|
|
|
|
|
|
--font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
|
|
|
|
|
|
--font-size-xs: 12px;
|
|
|
|
|
|
--font-size-sm: 14px;
|
2026-06-27 20:32:18 +08:00
|
|
|
|
--font-size-base: 14px;
|
|
|
|
|
|
--font-size-lg: 16px;
|
|
|
|
|
|
--font-size-xl: 18px;
|
|
|
|
|
|
--font-size-2xl: 22px;
|
|
|
|
|
|
--font-size-3xl: 28px;
|
|
|
|
|
|
|
2026-06-27 00:51:53 +08:00
|
|
|
|
/* 动画 */
|
2026-06-27 20:32:18 +08:00
|
|
|
|
--transition-fast: 150ms ease;
|
|
|
|
|
|
--transition-base: 200ms ease;
|
|
|
|
|
|
--transition-slow: 300ms ease;
|
2026-06-27 00:51:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* --- 全局重置 --- */
|
|
|
|
|
|
*, *::before, *::after {
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
margin: 0;
|
|
|
|
|
|
padding: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
html, body {
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
margin: 0;
|
|
|
|
|
|
padding: 0;
|
|
|
|
|
|
font-family: var(--font-family);
|
|
|
|
|
|
font-size: var(--font-size-base);
|
2026-06-27 20:32:18 +08:00
|
|
|
|
line-height: 1.5715;
|
2026-06-27 00:51:53 +08:00
|
|
|
|
color: var(--color-text);
|
|
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
body {
|
2026-06-27 20:32:18 +08:00
|
|
|
|
background: var(--bg-page);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
a {
|
|
|
|
|
|
color: var(--color-primary);
|
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
transition: color var(--transition-fast);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
|
|
color: var(--color-primary-hover);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* --- 布局容器 --- */
|
|
|
|
|
|
.auth-wrapper {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
2026-06-27 20:32:18 +08:00
|
|
|
|
min-height: 100vh;
|
2026-06-27 00:51:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.auth-header {
|
|
|
|
|
|
flex: 0 0 auto;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: space-between;
|
2026-06-27 20:32:18 +08:00
|
|
|
|
padding: 0 var(--space-xl);
|
|
|
|
|
|
height: 56px;
|
|
|
|
|
|
background: var(--color-bg-white);
|
|
|
|
|
|
border-bottom: 1px solid var(--color-border-split);
|
|
|
|
|
|
box-shadow: 0 1px 4px rgba(0, 21, 41, 0.04);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.auth-header .brand {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: var(--space-sm);
|
2026-06-27 20:32:18 +08:00
|
|
|
|
color: var(--color-text);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
font-size: var(--font-size-lg);
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.auth-header .brand img {
|
2026-06-27 20:32:18 +08:00
|
|
|
|
width: 28px;
|
|
|
|
|
|
height: 28px;
|
2026-06-27 00:51:53 +08:00
|
|
|
|
border-radius: var(--radius-sm);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.auth-header .user-menu {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
2026-06-27 20:32:18 +08:00
|
|
|
|
gap: var(--space-md);
|
|
|
|
|
|
color: var(--color-text-secondary);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
font-size: var(--font-size-sm);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.auth-header .user-menu a {
|
2026-06-27 20:32:18 +08:00
|
|
|
|
color: var(--color-text-secondary);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
padding: var(--space-xs) var(--space-md);
|
2026-06-27 20:32:18 +08:00
|
|
|
|
border-radius: var(--radius-md);
|
|
|
|
|
|
border: 1px solid var(--color-border);
|
|
|
|
|
|
background: var(--color-bg-white);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
transition: all var(--transition-fast);
|
|
|
|
|
|
font-size: var(--font-size-sm);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.auth-header .user-menu a:hover {
|
2026-06-27 20:32:18 +08:00
|
|
|
|
color: var(--color-primary);
|
|
|
|
|
|
border-color: var(--color-primary);
|
|
|
|
|
|
background: var(--color-primary-light);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.auth-main {
|
|
|
|
|
|
flex: 1 1 auto;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
2026-06-27 20:32:18 +08:00
|
|
|
|
padding: var(--space-xl) var(--space-xl);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
overflow-y: auto;
|
|
|
|
|
|
scrollbar-width: none; /* Firefox */
|
|
|
|
|
|
-ms-overflow-style: none; /* IE/Edge */
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.auth-main::-webkit-scrollbar {
|
|
|
|
|
|
display: none; /* Chrome/Safari */
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.auth-footer {
|
|
|
|
|
|
flex: 0 0 auto;
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
padding: var(--space-md);
|
2026-06-27 20:32:18 +08:00
|
|
|
|
color: var(--color-text-muted);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
font-size: var(--font-size-xs);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* --- 认证卡片 --- */
|
|
|
|
|
|
.auth-card {
|
|
|
|
|
|
width: 100%;
|
2026-06-27 20:32:18 +08:00
|
|
|
|
max-width: 400px;
|
2026-06-27 00:51:53 +08:00
|
|
|
|
background: var(--color-bg-white);
|
2026-06-27 20:32:18 +08:00
|
|
|
|
border-radius: var(--radius-lg);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
box-shadow: var(--shadow-card);
|
2026-06-27 20:32:18 +08:00
|
|
|
|
padding: var(--space-xl);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.auth-card.auth-card--wide {
|
2026-06-27 20:32:18 +08:00
|
|
|
|
max-width: 480px;
|
2026-06-27 00:51:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.auth-card-header {
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
margin-bottom: var(--space-xl);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.auth-card-header .auth-icon {
|
2026-06-27 20:32:18 +08:00
|
|
|
|
width: 48px;
|
|
|
|
|
|
height: 48px;
|
|
|
|
|
|
border-radius: var(--radius-md);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
margin: 0 auto var(--space-md);
|
2026-06-27 20:32:18 +08:00
|
|
|
|
font-size: 24px;
|
2026-06-27 00:51:53 +08:00
|
|
|
|
background: var(--color-primary-light);
|
2026-06-27 20:32:18 +08:00
|
|
|
|
color: var(--color-primary);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.auth-card-header h1 {
|
|
|
|
|
|
font-size: var(--font-size-2xl);
|
2026-06-27 20:32:18 +08:00
|
|
|
|
font-weight: 600;
|
2026-06-27 00:51:53 +08:00
|
|
|
|
color: var(--color-text);
|
|
|
|
|
|
margin-bottom: var(--space-xs);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.auth-card-header p {
|
|
|
|
|
|
color: var(--color-text-secondary);
|
|
|
|
|
|
font-size: var(--font-size-sm);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* --- 表单元素 --- */
|
|
|
|
|
|
.form-group {
|
|
|
|
|
|
margin-bottom: var(--space-md);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.form-group label {
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
font-size: var(--font-size-sm);
|
2026-06-27 20:32:18 +08:00
|
|
|
|
font-weight: 400;
|
2026-06-27 00:51:53 +08:00
|
|
|
|
color: var(--color-text);
|
|
|
|
|
|
margin-bottom: var(--space-xs);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.form-control {
|
|
|
|
|
|
width: 100%;
|
2026-06-27 20:32:18 +08:00
|
|
|
|
padding: 8px 12px;
|
|
|
|
|
|
font-size: var(--font-size-sm);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
font-family: var(--font-family);
|
|
|
|
|
|
color: var(--color-text);
|
2026-06-27 20:32:18 +08:00
|
|
|
|
background: var(--color-bg-white);
|
|
|
|
|
|
border: 1px solid var(--color-border);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
border-radius: var(--radius-md);
|
|
|
|
|
|
outline: none;
|
|
|
|
|
|
transition: all var(--transition-fast);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-06-27 20:32:18 +08:00
|
|
|
|
.form-control:hover {
|
|
|
|
|
|
border-color: var(--color-primary-hover);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-06-27 00:51:53 +08:00
|
|
|
|
.form-control:focus {
|
|
|
|
|
|
border-color: var(--color-primary);
|
2026-06-27 20:32:18 +08:00
|
|
|
|
box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.1);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.form-control::placeholder {
|
|
|
|
|
|
color: var(--color-text-muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* --- 按钮 --- */
|
|
|
|
|
|
.btn {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
2026-06-27 20:32:18 +08:00
|
|
|
|
padding: 8px 16px;
|
|
|
|
|
|
font-size: var(--font-size-sm);
|
|
|
|
|
|
font-weight: 400;
|
2026-06-27 00:51:53 +08:00
|
|
|
|
font-family: var(--font-family);
|
|
|
|
|
|
border-radius: var(--radius-md);
|
2026-06-27 20:32:18 +08:00
|
|
|
|
border: 1px solid var(--color-border);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
transition: all var(--transition-fast);
|
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
line-height: 1;
|
|
|
|
|
|
gap: var(--space-sm);
|
2026-06-27 20:32:18 +08:00
|
|
|
|
background: var(--color-bg-white);
|
|
|
|
|
|
color: var(--color-text);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn:active {
|
2026-06-27 20:32:18 +08:00
|
|
|
|
/* no transform */
|
2026-06-27 00:51:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn-primary {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
background: var(--color-primary);
|
|
|
|
|
|
color: #fff;
|
2026-06-27 20:32:18 +08:00
|
|
|
|
border-color: var(--color-primary);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn-primary:hover {
|
|
|
|
|
|
background: var(--color-primary-hover);
|
2026-06-27 20:32:18 +08:00
|
|
|
|
border-color: var(--color-primary-hover);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
color: #fff;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-06-27 20:32:18 +08:00
|
|
|
|
.btn-primary:active {
|
|
|
|
|
|
background: var(--color-primary-active);
|
|
|
|
|
|
border-color: var(--color-primary-active);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-06-27 00:51:53 +08:00
|
|
|
|
.btn-secondary {
|
2026-06-27 20:32:18 +08:00
|
|
|
|
background: var(--color-bg-white);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
color: var(--color-text);
|
2026-06-27 20:32:18 +08:00
|
|
|
|
border: 1px solid var(--color-border);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn-secondary:hover {
|
2026-06-27 20:32:18 +08:00
|
|
|
|
border-color: var(--color-primary-hover);
|
|
|
|
|
|
color: var(--color-primary-hover);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
background: var(--color-bg-white);
|
2026-06-27 20:32:18 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn-secondary:active {
|
|
|
|
|
|
border-color: var(--color-primary-active);
|
|
|
|
|
|
color: var(--color-primary-active);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn-outline {
|
|
|
|
|
|
background: transparent;
|
|
|
|
|
|
color: var(--color-primary);
|
2026-06-27 20:32:18 +08:00
|
|
|
|
border: 1px solid var(--color-primary);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn-outline:hover {
|
|
|
|
|
|
background: var(--color-primary);
|
|
|
|
|
|
color: #fff;
|
2026-06-27 20:32:18 +08:00
|
|
|
|
border-color: var(--color-primary);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn-danger {
|
|
|
|
|
|
background: var(--color-error);
|
|
|
|
|
|
color: #fff;
|
2026-06-27 20:32:18 +08:00
|
|
|
|
border-color: var(--color-error);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn-danger:hover {
|
2026-06-27 20:32:18 +08:00
|
|
|
|
background: #ff7875;
|
|
|
|
|
|
border-color: #ff7875;
|
2026-06-27 00:51:53 +08:00
|
|
|
|
color: #fff;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-06-27 20:32:18 +08:00
|
|
|
|
.btn-danger:active {
|
|
|
|
|
|
background: #d9363e;
|
|
|
|
|
|
border-color: #d9363e;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-06-27 00:51:53 +08:00
|
|
|
|
.btn-group {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
gap: var(--space-sm);
|
|
|
|
|
|
margin-top: var(--space-lg);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn-group .btn {
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* --- 复选框 --- */
|
|
|
|
|
|
.checkbox-group {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: var(--space-sm);
|
|
|
|
|
|
margin: var(--space-md) 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.checkbox-group input[type="checkbox"] {
|
2026-06-27 20:32:18 +08:00
|
|
|
|
width: 16px;
|
|
|
|
|
|
height: 16px;
|
2026-06-27 00:51:53 +08:00
|
|
|
|
accent-color: var(--color-primary);
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.checkbox-group label {
|
|
|
|
|
|
font-size: var(--font-size-sm);
|
|
|
|
|
|
color: var(--color-text-secondary);
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
margin: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* --- 提示信息 --- */
|
|
|
|
|
|
.alert {
|
2026-06-27 20:32:18 +08:00
|
|
|
|
padding: var(--space-sm) var(--space-md);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
border-radius: var(--radius-md);
|
|
|
|
|
|
font-size: var(--font-size-sm);
|
|
|
|
|
|
margin-bottom: var(--space-md);
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
|
gap: var(--space-sm);
|
2026-06-27 20:32:18 +08:00
|
|
|
|
line-height: 1.5715;
|
2026-06-27 00:51:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.alert-error {
|
|
|
|
|
|
background: var(--color-error-bg);
|
|
|
|
|
|
border: 1px solid var(--color-error-border);
|
2026-06-27 20:32:18 +08:00
|
|
|
|
color: rgba(0, 0, 0, 0.85);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.alert-warning {
|
2026-06-27 20:32:18 +08:00
|
|
|
|
background: #fffbe6;
|
|
|
|
|
|
border: 1px solid #ffe58f;
|
|
|
|
|
|
color: rgba(0, 0, 0, 0.85);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.alert-info {
|
2026-06-27 20:32:18 +08:00
|
|
|
|
background: #e6f4ff;
|
|
|
|
|
|
border: 1px solid var(--color-primary-border);
|
|
|
|
|
|
color: rgba(0, 0, 0, 0.85);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.alert-success {
|
2026-06-27 20:32:18 +08:00
|
|
|
|
background: #f6ffed;
|
|
|
|
|
|
border: 1px solid #b7eb8f;
|
|
|
|
|
|
color: rgba(0, 0, 0, 0.85);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* --- 分割线 --- */
|
|
|
|
|
|
.divider {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
margin: var(--space-lg) 0;
|
|
|
|
|
|
color: var(--color-text-muted);
|
|
|
|
|
|
font-size: var(--font-size-sm);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.divider::before,
|
|
|
|
|
|
.divider::after {
|
|
|
|
|
|
content: '';
|
|
|
|
|
|
flex: 1;
|
2026-06-27 20:32:18 +08:00
|
|
|
|
border-top: 1px solid var(--color-border-split);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.divider span {
|
|
|
|
|
|
padding: 0 var(--space-md);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* --- 外部登录 --- */
|
|
|
|
|
|
.external-providers {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
gap: var(--space-sm);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.external-providers .btn {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* --- 提示文字 --- */
|
|
|
|
|
|
.hint-text {
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
margin-top: var(--space-md);
|
|
|
|
|
|
font-size: var(--font-size-xs);
|
|
|
|
|
|
color: var(--color-text-muted);
|
|
|
|
|
|
padding: var(--space-sm) var(--space-md);
|
|
|
|
|
|
background: var(--color-bg-gray);
|
2026-06-27 20:32:18 +08:00
|
|
|
|
border-radius: var(--radius-md);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* --- 状态页面 --- */
|
|
|
|
|
|
.status-icon {
|
2026-06-27 20:32:18 +08:00
|
|
|
|
width: 64px;
|
|
|
|
|
|
height: 64px;
|
2026-06-27 00:51:53 +08:00
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
margin: 0 auto var(--space-lg);
|
2026-06-27 20:32:18 +08:00
|
|
|
|
font-size: 32px;
|
2026-06-27 00:51:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.status-icon--success {
|
2026-06-27 20:32:18 +08:00
|
|
|
|
background: #f6ffed;
|
2026-06-27 00:51:53 +08:00
|
|
|
|
color: var(--color-success);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.status-icon--error {
|
|
|
|
|
|
background: var(--color-error-bg);
|
|
|
|
|
|
color: var(--color-error);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.status-icon--warning {
|
2026-06-27 20:32:18 +08:00
|
|
|
|
background: #fffbe6;
|
2026-06-27 00:51:53 +08:00
|
|
|
|
color: var(--color-warning);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.status-icon--info {
|
2026-06-27 20:32:18 +08:00
|
|
|
|
background: #e6f4ff;
|
2026-06-27 00:51:53 +08:00
|
|
|
|
color: var(--color-info);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.status-text {
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
color: var(--color-text-secondary);
|
|
|
|
|
|
font-size: var(--font-size-sm);
|
|
|
|
|
|
margin-top: var(--space-sm);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.status-link {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: var(--space-xs);
|
|
|
|
|
|
margin-top: var(--space-lg);
|
2026-06-27 20:32:18 +08:00
|
|
|
|
padding: 8px 16px;
|
|
|
|
|
|
background: var(--color-bg-white);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
color: var(--color-primary);
|
2026-06-27 20:32:18 +08:00
|
|
|
|
border: 1px solid var(--color-primary);
|
|
|
|
|
|
border-radius: var(--radius-md);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
font-size: var(--font-size-sm);
|
2026-06-27 20:32:18 +08:00
|
|
|
|
font-weight: 400;
|
2026-06-27 00:51:53 +08:00
|
|
|
|
transition: all var(--transition-fast);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.status-link:hover {
|
|
|
|
|
|
background: var(--color-primary);
|
|
|
|
|
|
color: #fff;
|
2026-06-27 20:32:18 +08:00
|
|
|
|
border-color: var(--color-primary);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* --- 首页欢迎 --- */
|
|
|
|
|
|
.welcome-content {
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.welcome-content .discovery-link {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: var(--space-xs);
|
|
|
|
|
|
margin-top: var(--space-md);
|
2026-06-27 20:32:18 +08:00
|
|
|
|
padding: 8px 16px;
|
|
|
|
|
|
background: var(--color-bg-white);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
color: var(--color-primary);
|
2026-06-27 20:32:18 +08:00
|
|
|
|
border: 1px solid var(--color-primary);
|
|
|
|
|
|
border-radius: var(--radius-md);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
font-size: var(--font-size-sm);
|
2026-06-27 20:32:18 +08:00
|
|
|
|
font-weight: 400;
|
2026-06-27 00:51:53 +08:00
|
|
|
|
transition: all var(--transition-fast);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.welcome-content .discovery-link:hover {
|
|
|
|
|
|
background: var(--color-primary);
|
|
|
|
|
|
color: #fff;
|
2026-06-27 20:32:18 +08:00
|
|
|
|
border-color: var(--color-primary);
|
2026-06-27 00:51:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* --- 动画 --- */
|
|
|
|
|
|
@keyframes fadeIn {
|
|
|
|
|
|
from { opacity: 0; }
|
|
|
|
|
|
to { opacity: 1; }
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-06-27 20:32:18 +08:00
|
|
|
|
.auth-card {
|
|
|
|
|
|
animation: fadeIn 0.2s ease;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-06-27 00:51:53 +08:00
|
|
|
|
@keyframes pulse {
|
|
|
|
|
|
0%, 100% { opacity: 1; }
|
|
|
|
|
|
50% { opacity: 0.6; }
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.loading-dots::after {
|
|
|
|
|
|
content: '...';
|
|
|
|
|
|
animation: pulse 1.5s infinite;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* --- 隐藏iframe --- */
|
|
|
|
|
|
.signout-iframe {
|
|
|
|
|
|
display: none;
|
|
|
|
|
|
width: 0;
|
|
|
|
|
|
height: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* --- 响应式 --- */
|
|
|
|
|
|
@media (max-width: 480px) {
|
|
|
|
|
|
.auth-card {
|
|
|
|
|
|
padding: var(--space-lg);
|
|
|
|
|
|
margin: var(--space-md);
|
|
|
|
|
|
}
|
2026-06-27 20:32:18 +08:00
|
|
|
|
|
2026-06-27 00:51:53 +08:00
|
|
|
|
.auth-header {
|
2026-06-27 20:32:18 +08:00
|
|
|
|
padding: 0 var(--space-md);
|
|
|
|
|
|
height: 48px;
|
2026-06-27 00:51:53 +08:00
|
|
|
|
}
|
2026-06-27 20:32:18 +08:00
|
|
|
|
|
2026-06-27 00:51:53 +08:00
|
|
|
|
.auth-main {
|
|
|
|
|
|
padding: var(--space-md);
|
|
|
|
|
|
}
|
2026-06-27 20:32:18 +08:00
|
|
|
|
|
2026-06-27 00:51:53 +08:00
|
|
|
|
.btn-group {
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@media (max-width: 360px) {
|
|
|
|
|
|
.auth-card {
|
|
|
|
|
|
padding: var(--space-md);
|
|
|
|
|
|
}
|
2026-06-27 20:32:18 +08:00
|
|
|
|
|
2026-06-27 00:51:53 +08:00
|
|
|
|
.auth-card-header h1 {
|
|
|
|
|
|
font-size: var(--font-size-xl);
|
|
|
|
|
|
}
|
2020-10-22 14:59:36 +08:00
|
|
|
|
}
|
|
|
|
|
|
.navbar-header {
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
top: -4px;
|
|
|
|
|
|
}
|
|
|
|
|
|
.navbar-brand > .icon-banner {
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
top: -2px;
|
|
|
|
|
|
display: inline;
|
|
|
|
|
|
}
|
|
|
|
|
|
.icon {
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
top: -10px;
|
|
|
|
|
|
}
|
|
|
|
|
|
.logged-out iframe {
|
|
|
|
|
|
display: none;
|
|
|
|
|
|
width: 0;
|
|
|
|
|
|
height: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
.page-consent .client-logo {
|
|
|
|
|
|
float: left;
|
|
|
|
|
|
}
|
|
|
|
|
|
.page-consent .client-logo img {
|
|
|
|
|
|
width: 80px;
|
|
|
|
|
|
height: 80px;
|
|
|
|
|
|
}
|
|
|
|
|
|
.page-consent .consent-buttons {
|
|
|
|
|
|
margin-top: 25px;
|
|
|
|
|
|
}
|
|
|
|
|
|
.page-consent .consent-form .consent-scopecheck {
|
|
|
|
|
|
display: inline-block;
|
|
|
|
|
|
margin-right: 5px;
|
|
|
|
|
|
}
|
|
|
|
|
|
.page-consent .consent-form .consent-description {
|
|
|
|
|
|
margin-left: 25px;
|
|
|
|
|
|
}
|
|
|
|
|
|
.page-consent .consent-form .consent-description label {
|
|
|
|
|
|
font-weight: normal;
|
|
|
|
|
|
}
|
|
|
|
|
|
.page-consent .consent-form .consent-remember {
|
|
|
|
|
|
padding-left: 16px;
|
|
|
|
|
|
}
|
|
|
|
|
|
.grants .page-header {
|
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
}
|
|
|
|
|
|
.grants .grant {
|
|
|
|
|
|
margin-top: 20px;
|
|
|
|
|
|
padding-bottom: 20px;
|
|
|
|
|
|
border-bottom: 1px solid lightgray;
|
|
|
|
|
|
}
|
|
|
|
|
|
.grants .grant img {
|
|
|
|
|
|
width: 100px;
|
|
|
|
|
|
height: 100px;
|
|
|
|
|
|
}
|
|
|
|
|
|
.grants .grant .clientname {
|
|
|
|
|
|
font-size: 140%;
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
}
|
|
|
|
|
|
.grants .grant .granttype {
|
|
|
|
|
|
font-size: 120%;
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
}
|
|
|
|
|
|
.grants .grant .created {
|
|
|
|
|
|
font-size: 120%;
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
}
|
|
|
|
|
|
.grants .grant .expires {
|
|
|
|
|
|
font-size: 120%;
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
}
|
|
|
|
|
|
.grants .grant li {
|
|
|
|
|
|
list-style-type: none;
|
|
|
|
|
|
display: inline;
|
|
|
|
|
|
}
|
|
|
|
|
|
.grants .grant li:after {
|
|
|
|
|
|
content: ', ';
|
|
|
|
|
|
}
|
|
|
|
|
|
.grants .grant li:last-child:after {
|
|
|
|
|
|
content: '';
|
2026-06-27 20:32:18 +08:00
|
|
|
|
}
|