ghproxy / style.css
ixingchen's picture
🐳 15/03 - 13:22 - 内容必须是   <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>ChatGPT 批量注册 — 管理面板</title> <met
7199e09 verified
/* ===== 高端GPT管理面板样式 ===== */
:root {
/* 品牌色系 - 紫色渐变主题 */
--primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
--secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
--success-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
--warning-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
--danger-gradient: linear-gradient(135deg, #ff0844 0%, #ffb199 100%);
/* 背景色系 - 深色豪华主题 */
--bg-primary: #0f0c29;
--bg-secondary: #1a1a2e;
--bg-card: #16213e;
--bg-card-hover: #1e2a52;
--bg-input: rgba(255, 255, 255, 0.05);
--bg-glass: rgba(255, 255, 255, 0.03);
/* 文字颜色 */
--text-primary: #ffffff;
--text-secondary: #b8b8d1;
--text-muted: #8a8ab3;
--text-success: #38f9d7;
--text-warning: #fee140;
--text-danger: #ffb199;
/* 边框与阴影 */
--border-color: rgba(255, 255, 255, 0.1);
--border-hover: rgba(255, 255, 255, 0.2);
--shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
--shadow-md: 0 10px 25px rgba(0, 0, 0, 0.2);
--shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.3);
--shadow-glow: 0 0 20px rgba(102, 126, 234, 0.4);
/* 过渡动画 */
--transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
--transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
--transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
/* 边框圆角 */
--radius-sm: 8px;
--radius-md: 12px;
--radius-lg: 16px;
--radius-xl: 20px;
--radius-full: 9999px;
}
/* ===== 全局样式重置 ===== */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
background: var(--bg-primary);
color: var(--text-primary);
min-height: 100vh;
overflow-x: hidden;
position: relative;
}
body::before {
content: '';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background:
radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%),
radial-gradient(circle at 40% 80%, rgba(240, 147, 251, 0.08) 0%, transparent 50%);
z-index: -1;
pointer-events: none;
}
/* ===== 滚动条美化 ===== */
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-track {
background: var(--bg-secondary);
border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: var(--radius-full);
transition: var(--transition-fast);
}
::-webkit-scrollbar-thumb:hover {
background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}
/* ===== 基础组件样式 ===== */
h1, h2, h3, h4, h5, h6 {
font-weight: 700;
line-height: 1.2;
letter-spacing: -0.02em;
}
h1 {
font-size: 2.5rem;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 1rem;
}
h2 {
font-size: 1.75rem;
margin-bottom: 1.5rem;
color: var(--text-primary);
}
h3 {
font-size: 1.25rem;
margin-bottom: 1rem;
color: var(--text-primary);
}
p {
color: var(--text-secondary);
line-height: 1.6;
margin-bottom: 1rem;
}
/* ===== 卡片组件 ===== */
.card {
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: var(--radius-xl);
padding: 1.5rem;
box-shadow: var(--shadow-md);
transition: var(--transition-normal);
position: relative;
overflow: hidden;
}
.card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 4px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
opacity: 0;
transition: var(--transition-normal);
}
.card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-lg);
border-color: var(--border-hover);
background: var(--bg-card-hover);
}
.card:hover::before {
opacity: 1;
}
.card-head {
display: flex;
justify-content: space-between;
align-items: center;
padding-bottom: 1rem;
margin-bottom: 1rem;
border-bottom: 1px solid var(--border-color);
cursor: pointer;
transition: var(--transition-fast);
}
.card-head:hover {
color: var(--text-primary);
}
.card-head .title {
font-size: 1.125rem;
font-weight: 600;
color: var(--text-primary);
display: flex;
align-items: center;
gap: 0.5rem;
}
.card-head .chevron {
transition: var(--transition-fast);
color: var(--text-muted);
}
.card-head.collapsed .chevron {
transform: rotate(-90deg);
}
.card-body {
transition: var(--transition-normal);
}
.card-body.hidden {
display: none;
}
/* ===== 按钮样式 ===== */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
padding: 0.75rem 1.5rem;
border-radius: var(--radius-lg);
font-weight: 600;
font-size: 0.875rem;
text-decoration: none;
border: none;
cursor: pointer;
transition: var(--transition-normal);
position: relative;
overflow: hidden;
z-index: 1;
}
.btn::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
opacity: 0;
transition: var(--transition-fast);
z-index: -1;
}
.btn:hover::before {
opacity: 1;
}
.btn:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-md);
}
.btn:active {
transform: translateY(0);
}
.btn-blue {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
}
.btn-green {
background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
color: white;
}
.btn-red {
background: linear-gradient(135deg, #ff0844 0%, #ffb199 100%);
color: white;
}
.btn-gray {
background: var(--bg-input);
color: var(--text-secondary);
border: 1px solid var(--border-color);
}
.btn-gray:hover {
background: var(--bg-card-hover);
color: var(--text-primary);
border-color: var(--border-hover);
}
.btn-ghost {
background: transparent;
color: var(--text-secondary);
border: 1px solid var(--border-color);
}
.btn-ghost:hover {
background: rgba(255, 255, 255, 0.05);
color: var(--text-primary);
border-color: var(--border-hover);
}
.btn-ghost-danger {
background: transparent;
color: var(--text-danger);
border: 1px solid rgba(255, 177, 153, 0.3);
}
.btn-ghost-danger:hover {
background: rgba(255, 177, 153, 0.1);
color: var(--text-danger);
border-color: rgba(255, 177, 153, 0.5);
}
.icon-btn {
width: 2rem;
height: 2rem;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: var(--radius-md);
background: transparent;
border: none;
color: var(--text-muted);
cursor: pointer;
transition: var(--transition-fast);
}
.icon-btn:hover {
background: rgba(255, 255, 255, 0.05);
color: var(--text-primary);
}
.icon-btn.danger:hover {
background: rgba(255, 177, 153, 0.1);
color: var(--text-danger);
}
/* ===== 表单元素 ===== */
.form-row {
margin-bottom: 1rem;
}
.form-row label {
display: block;
margin-bottom: 0.5rem;
color: var(--text-secondary);
font-size: 0.875rem;
font-weight: 500;
}
.inp {
width: 100%;
padding: 0.75rem 1rem;
background: var(--bg-input);
border: 1px solid var(--border-color);
border-radius: var(--radius-md);
color: var(--text-primary);
font-family: inherit;
font-size: 0.875rem;
transition: var(--transition-fast);
}
.inp:focus {
outline: none;
border-color: #667eea;
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
background: rgba(255, 255, 255, 0.07);
}
.inp::placeholder {
color: var(--text-muted);
}
textarea.inp {
min-height: 80px;
resize: vertical;
}
select.inp {
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%238a8ab3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 1rem center;
background-size: 1rem;
padding-right: 2.5rem;
}
.chk {
width: 1.125rem;
height: 1.125rem;
border-radius: var(--radius-sm);
border: 2px solid var(--border-color);
background: var(--bg-input);
appearance: none;
cursor: pointer;
position: relative;
transition: var(--transition-fast);
}
.chk:checked {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-color: transparent;
}
.chk:checked::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 0.5rem;
height: 0.5rem;
background: white;
border-radius: 2px;
}
/* ===== 切换开关 ===== */
.toggle-wrap {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
}
.toggle {
position: relative;
display: inline-block;
width: 3rem;
height: 1.5rem;
}
.toggle input {
opacity: 0;
width: 0;
height: 0;
}
.toggle .track {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: var(--bg-input);
border: 1px solid var(--border-color);
border-radius: var(--radius-full);
transition: var(--transition-fast);
}
.toggle .track::before {
content: '';
position: absolute;
height: 1rem;
width: 1rem;
left: 0.25rem;
bottom: 0.25rem;
background: white;
border-radius: 50%;
transition: var(--transition-fast);
}
.toggle input:checked + .track {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-color: transparent;
}
.toggle input:checked + .track::before {
transform: translateX(1.5rem);
}
/* ===== 标签与徽章 ===== */
.tag {
display: inline-block;
padding: 0.25rem 0.75rem;
border-radius: var(--radius-full);
font-size: 0.75rem;
font-weight: 600;
letter-spacing: 0.02em;
}
.tag.ok {
background: linear-gradient(135deg, rgba(67, 233, 123, 0.2) 0%, rgba(56, 249, 215, 0.2) 100%);
color: var(--text-success);
border: 1px solid rgba(67, 233, 123, 0.3);
}
.tag.err {
background: linear-gradient(135deg, rgba(255, 8, 68, 0.2) 0%, rgba(255, 177, 153, 0.2) 100%);
color: var(--text-danger);
border: 1px solid rgba(255, 8, 68, 0.3);
}
/* ===== 团队卡片 ===== */
.team-card {
background: var(--bg-input);
border: 1px solid var(--border-color);
border-radius: var(--radius-lg);
padding: 1rem;
margin-bottom: 1rem;
transition: var(--transition-fast);
}
.team-card:hover {
border-color: var(--border-hover);
background: rgba(255, 255, 255, 0.03);
}
.team-card-top {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
}
.team-lbl {
font-size: 0.75rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--text-muted);
background: var(--bg-card);
padding: 0.25rem 0.75rem;
border-radius: var(--radius-full);
}
/* ===== 工具条 ===== */
.toolbar {
display: flex;
gap: 0.75rem;
align-items: center;
margin-bottom: 1rem;
flex-wrap: wrap;
}
.toolbar-spacer {
flex: 1;
}
/* ===== 表格样式 ===== */
.tbl-wrap {
overflow-x: auto;
border-radius: var(--radius-lg);
border: 1px solid var(--border-color);
background: var(--bg-card);
}
table {
width: 100%;
border-collapse: collapse;
min-width: 600px;
}
thead {
background: var(--bg-secondary);
border-bottom: 1px solid var(--border-color);
}
th {
padding: 0.75rem 1rem;
text-align: left;
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--text-muted);
white-space: nowrap;
}
td {
padding: 1rem;
font-size: 0.875rem;
border-bottom: 1px solid var(--border-color);
color: var(--text-secondary);
}
tbody tr {
transition: var(--transition-fast);
}
tbody tr:hover {
background: rgba(255, 255, 255, 0.02);
}
tbody tr:last-child td {
border-bottom: none;
}
td.empty {
text-align: center;
padding: 3rem;
color: var(--text-muted);
}
/* ===== 终端日志 ===== */
.terminal {
background: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: var(--radius-lg);
padding: 1rem;
font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
font-size: 0.8125rem;
line-height: 1.5;
max-height: 300px;
overflow-y: auto;
scroll-behavior: smooth;
}
.log {
margin-bottom: 0.5rem;
padding-left: 0.5rem;
border-left: 3px solid transparent;
white-space: pre-wrap;
word-break: break-word;
}
.log.ok {
border-left-color: #43e97b;
color: var(--text-success);
}
.log.err {
border-left-color: #ff0844;
color: var(--text-danger);
}
.log.wrn {
border-left-color: #fee140;
color: var(--text-warning);
}
.log.inf {
border-left-color: #667eea;
color: var(--text-primary);
}
.log.hi {
border-left-color: #f093fb;
color: var(--text-primary);
font-weight: 600;
}
/* ===== 页面布局 ===== */
.page {
display: grid;
grid-template-columns: 300px 1fr;
gap: 2rem;
max-width: 1400px;
margin: 0 auto;
padding: 2rem;
}
.sidebar {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.main {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
/* ===== 头部样式 ===== */
.header {
background: var(--bg-card);
border-bottom: 1px solid var(--border-color);
padding: 1rem 2rem;
display: flex;
justify-content: space-between;
align-items: center;
position: sticky;
top: 0;
z-index: 100;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
.header-brand h1 {
margin-bottom: 0;
font-size: 1.5rem;
}
.status-pill {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1rem;
background: var(--bg-input);
border: 1px solid var(--border-color);
border-radius: var(--radius-full);
font-size: 0.875rem;
font-weight: 500;
transition: var(--transition-fast);
}
.status-pill.running {
background: linear-gradient(135deg, rgba(67, 233, 123, 0.2) 0%, rgba(56, 249, 215, 0.2) 100%);
border-color: rgba(67, 233, 123, 0.3);
color: var(--text-success);
}
.status-pill .dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--text-success);
animation: pulse 2s infinite;
}
.status-pill.running .dot {
background: var(--text-success);
animation: pulse 2s infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
/* ===== 吐司通知 ===== */
.toast-wrap {
position: fixed;
bottom: 2rem;
right: 2rem;
z-index: 1000;
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.toast {
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: var(--radius-lg);
padding: 1rem 1.25rem;
display: flex;
align-items: center;
gap: 0.75rem;
box-shadow: var(--shadow-lg);
animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
max-width: 320px;
transition: var(--transition-fast);
}
.toast.out {
transform: translateX(100%);
opacity: 0;
}
.toast.ok {
border-left: 4px solid #43e97b;
}
.toast.err {
border-left: 4px solid #ff0844;
}
.toast-ico {
width: 1.25rem;
height: 1.25rem;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
}
@keyframes slideIn {
from {
transform: translateX(100%);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}
/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
.page {
grid-template-columns: 1fr;
padding: 1rem;
}
.sidebar {
order: 2;
}
.main {
order: 1;
}
}
@media (max-width: 768px) {
.header {
padding: 1rem;
flex-direction: column;
gap: 1rem;
align-items: flex-start;
}
.toolbar {
flex-direction: column;
align-items: stretch;
}
.toolbar-spacer {
display: none;
}
.toast-wrap {
left: 1rem;
right: 1rem;
bottom: 1rem;
}
.toast {
max-width: none;
}
}
/* ===== 加载动画 ===== */
@keyframes shimmer {
0% {
background-position: -1000px 0;
}
100% {
background-position: 1000px 0;
}
}
.loading {
background: linear-gradient(90deg,
var(--bg-input) 25%,
var(--bg-card) 50%,
var(--bg-input) 75%
);
background-size: 1000px 100%;
animation: shimmer 2s infinite linear;
}
/* ===== 粒子背景 ===== */
.bg {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
pointer-events: none;
}
.bg::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background:
radial-gradient(circle at 15% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
radial-gradient(circle at 85% 30%, rgba(118, 75, 162, 0.08) 0%, transparent 50%),
radial-gradient(circle at 50% 80%, rgba(240, 147, 251, 0.06) 0%, transparent 50%);
animation: float 20s ease-in-out infinite;
}
@keyframes float {
0%, 100% {
transform: translate(0, 0);
}
33% {
transform: translate(20px, -10px);
}
66% {
transform: translate(-15px, 15px);
}
}