/* 会员服务器 · 统一样式(四页共用:会员管理/项目云管理/库备份管理/设置) */ * { box-sizing: border-box; } body { font-family: "Microsoft YaHei UI", "Microsoft YaHei", sans-serif; font-size: 14px; margin: 0; padding: 24px; background: #f5f6f8; color: #1f2329; } .wrap { max-width: 960px; margin: 0 auto; } /* ---- 顶部:标题 + 徽章 + 页面导航 ---- */ header { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; } header h2 { margin: 0; font-size: 20px; } .badge { background: #e8efff; color: #2563eb; border-radius: 10px; padding: 2px 10px; font-size: 12px; white-space: nowrap; } .nav { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; } .nav a { padding: 6px 14px; border-radius: 8px; color: #4b5563; text-decoration: none; font-size: 13px; white-space: nowrap; } .nav a:hover { background: #eceff3; color: #1f2329; } .nav a.cur { background: #2563eb; color: #fff; } .sub { color: #7c8590; font-size: 12px; margin: 0 0 14px; line-height: 1.7; } /* ---- 卡片 ---- */ .card { background: #fff; border: 1px solid #e3e6eb; border-radius: 10px; padding: 18px 20px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.04); } .card--table { padding: 0; overflow: hidden; } .card h3 { margin: 0 0 4px; font-size: 15px; } .card .sub { margin: 0 0 12px; } /* ---- 工具条 ---- */ .bar { padding: 14px 16px; border-bottom: 1px solid #eef0f3; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } /* ---- 表格 ---- */ table { border-collapse: collapse; width: 100%; background: #fff; } th, td { border: 1px solid #e8ebef; padding: 7px 10px; text-align: left; } th { background: #f7f8fa; font-weight: 600; white-space: nowrap; } tbody tr:hover td { background: #f7faff; } .card--table th, .card--table td { border-left: none; border-right: none; } .card--table th { border-top: none; } .card--table tr:last-child td { border-bottom: none; } .op button { margin-right: 4px; padding: 3px 10px; font-size: 12px; } .del { color: #c53030; } /* ---- 按钮与输入 ---- */ button { padding: 7px 16px; border-radius: 7px; border: 1px solid #cfd5dd; background: #fff; color: #1f2329; cursor: pointer; font-size: 13px; } button:hover { border-color: #9db8f0; background: #fafbff; } button.primary { background: #2563eb; border-color: #2563eb; color: #fff; } button.primary:hover { background: #1d54d7; } input, select { padding: 6px 9px; border: 1px solid #cfd5dd; border-radius: 6px; font-size: 13px; background: #fff; color: #1f2329; } input:focus, select:focus { outline: none; border-color: #2563eb; } #tip { font-size: 13px; color: #1a8a55; } #tip.err { color: #c53030; } /* ---- 信息展示 ---- */ .rows { display: grid; grid-template-columns: 110px 1fr; row-gap: 9px; align-items: baseline; } .rows .k { color: #7c8590; } .rows .v { word-break: break-all; } code { background: #f2f4f7; border: 1px solid #e8ebef; border-radius: 5px; padding: 2px 7px; font-size: 13px; font-family: Consolas, Menlo, monospace; } .tag { font-size: 12px; border-radius: 9px; padding: 1px 9px; white-space: nowrap; } .tag.cur { background: #e6f6ee; color: #1a8a55; } .tag.def { background: #e8efff; color: #2563eb; } .hint { color: #98a0aa; font-size: 12px; margin: 16px 0 0; line-height: 1.8; } .warn { display: none; background: #fff7e8; border: 1px solid #f5deb3; color: #9a6700; border-radius: 8px; padding: 8px 12px; font-size: 12px; margin: 10px 0 0; line-height: 1.7; word-break: break-all; } /* ---- 设置页:数据目录选项块 ---- */ .opts { display: flex; flex-direction: column; gap: 8px; margin: 4px 0; } .opt { display: flex; align-items: center; gap: 10px; border: 1px solid #dfe3e9; border-radius: 8px; padding: 10px 12px; cursor: pointer; transition: border-color .15s, background .15s; } .opt:hover { border-color: #9db8f0; background: #fafbff; } .opt.sel { border-color: #2563eb; background: #f3f7ff; } .opt input[type=radio] { width: 15px; height: 15px; margin: 0; flex: none; accent-color: #2563eb; } .opt .body { flex: 1; min-width: 0; } .opt .title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .opt .title .name { font-weight: 600; } .opt code { display: inline-block; margin-top: 3px; overflow-wrap: anywhere; } .opt input[type=text] { width: 100%; padding: 6px 9px; margin-top: 6px; } .actions { display: flex; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; } /* ---- 弹窗(会员管理·新增会员) ---- */ dialog { border: none; border-radius: 12px; padding: 20px 22px; box-shadow: 0 12px 40px rgba(0,0,0,.18); min-width: 340px; } dialog::backdrop { background: rgba(15,23,42,.4); } dialog h3 { margin: 0 0 14px; font-size: 16px; } dialog > div { margin-bottom: 10px; } dialog label { display: inline-block; width: 80px; color: #5c6672; } dialog input, dialog select { width: 220px; } .dlg-actions { text-align: right; margin-top: 14px; margin-bottom: 0; }