大量修改UI
This commit is contained in:
+366
-111
@@ -1,121 +1,376 @@
|
||||
/* 团队页 · 从 public/exact/team.html 内联 <style> 忠实移植(仅页面结构 9-127,
|
||||
modal 段沿用共享 TeamModal,默认隐藏不入 diff),整段 scope 进 .team-page 防冲突。
|
||||
依赖 design-restraint.css 的全局 .stat(padding 24/28 + border-right)——与镜像 restraint.css 一致。 */
|
||||
/* 团队中心 · 对照影擎 team-center。仅 scope 在 .team-page,不改共享 .btn/.pill/.input */
|
||||
.team-page {
|
||||
/* ─── 团队信息卡(深色 banner · 上标题行 + 下统计行)─── */
|
||||
.team-top { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; margin-bottom: 24px; align-items: stretch; }
|
||||
--klein: #002fa7;
|
||||
--st-muted: #6f747c;
|
||||
--st-text: #17181a;
|
||||
--st-black: #101012;
|
||||
--st-line: rgba(34, 42, 54, 0.10);
|
||||
--st-wash: rgba(34, 42, 54, 0.045);
|
||||
--st-shadow: 0 8px 20px rgba(20, 27, 38, 0.09);
|
||||
max-width: 1140px;
|
||||
padding-bottom: 44px;
|
||||
|
||||
.team-banner {
|
||||
background: var(--accent-black);
|
||||
color: var(--accent-white);
|
||||
padding: 22px 28px 24px;
|
||||
.page-head { margin-bottom: 22px; }
|
||||
.page-head h1 { font-size: 28px; }
|
||||
.page-head .sub { margin-top: 6px; font-size: 15px; color: var(--st-muted); }
|
||||
|
||||
.tc-ghost,
|
||||
.tc-primary,
|
||||
.tc-compact {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 9px;
|
||||
border-radius: 11px;
|
||||
cursor: pointer;
|
||||
font: inherit;
|
||||
font-size: 14px;
|
||||
}
|
||||
.tc-ghost {
|
||||
min-width: 132px;
|
||||
height: 46px;
|
||||
padding: 0 18px;
|
||||
color: var(--st-text);
|
||||
border: 1px solid rgba(28, 34, 43, 0.12);
|
||||
background: rgba(34, 42, 54, 0.05);
|
||||
}
|
||||
.tc-ghost:hover { background: rgba(34, 42, 54, 0.10); }
|
||||
.tc-ghost svg, .tc-primary svg, .tc-compact svg {
|
||||
display: block;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
.tc-primary {
|
||||
min-width: 132px;
|
||||
height: 50px;
|
||||
padding: 0 22px;
|
||||
color: #fff;
|
||||
border: 0;
|
||||
background: var(--klein);
|
||||
box-shadow: 0 9px 18px rgba(0, 47, 167, 0.18);
|
||||
}
|
||||
.tc-primary:hover { background: #002680; }
|
||||
.tc-compact {
|
||||
height: 38px;
|
||||
padding: 0 15px;
|
||||
color: #fff;
|
||||
border: 0;
|
||||
background: var(--st-black);
|
||||
}
|
||||
.tc-compact-klein {
|
||||
color: var(--klein);
|
||||
border: 1px solid rgba(0, 47, 167, 0.18);
|
||||
background: rgba(0, 47, 167, 0.07);
|
||||
}
|
||||
.tc-compact-klein:hover { color: #fff; background: var(--klein); }
|
||||
|
||||
.tc-hero {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(260px, 0.9fr) repeat(4, minmax(150px, 0.7fr));
|
||||
gap: 0;
|
||||
overflow: hidden;
|
||||
border-radius: 14px;
|
||||
color: #fff;
|
||||
background: #202124;
|
||||
box-shadow: 0 14px 30px rgba(16, 16, 18, 0.18);
|
||||
}
|
||||
.tc-identity,
|
||||
.tc-metric { min-height: 158px; padding: 26px; }
|
||||
.tc-identity { display: flex; flex-direction: column; justify-content: space-between; }
|
||||
.tc-identity h2 { margin: 0 0 8px; font-size: 23px; font-weight: 600; color: #fff; }
|
||||
.tc-identity p,
|
||||
.tc-metric span,
|
||||
.tc-metric small { color: rgba(255, 255, 255, 0.58); }
|
||||
.tc-identity p { margin: 0; font-size: 12px; }
|
||||
.tc-team-tag {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
height: 22px;
|
||||
padding: 0 8px;
|
||||
margin-bottom: 10px;
|
||||
border-radius: 7px;
|
||||
color: #fff;
|
||||
background: rgba(255,255,255,.1);
|
||||
font-size: 11px;
|
||||
letter-spacing: .04em;
|
||||
}
|
||||
.tc-metric {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
border-left: 1px solid rgba(255, 255, 255, 0.13);
|
||||
}
|
||||
.tc-metric strong {
|
||||
margin: 9px 0 6px;
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
color: #fff;
|
||||
letter-spacing: -.02em;
|
||||
}
|
||||
.tc-metric small { font-size: 11px; }
|
||||
|
||||
.tc-section { margin-top: 28px; }
|
||||
.tc-section-title {
|
||||
display: flex;
|
||||
align-items: end;
|
||||
justify-content: space-between;
|
||||
gap: 20px;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
.tc-section-title h2 { margin: 0; font-size: 20px; font-weight: 600; color: var(--st-text); }
|
||||
.tc-section-title p { margin: 5px 0 0; color: var(--st-muted); font-size: 12px; }
|
||||
|
||||
.tc-grid {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
|
||||
gap: 20px;
|
||||
align-items: stretch;
|
||||
}
|
||||
.tc-panel {
|
||||
min-width: 0;
|
||||
border: 1px solid var(--st-line);
|
||||
border-radius: 14px;
|
||||
background: var(--st-wash);
|
||||
box-shadow: var(--st-shadow);
|
||||
overflow: hidden;
|
||||
}
|
||||
.tc-panel-head {
|
||||
min-height: 64px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 18px;
|
||||
padding: 0 20px;
|
||||
border-bottom: 1px solid rgba(34, 42, 54, 0.08);
|
||||
}
|
||||
.tc-panel-head h2 { margin: 0; font-size: 18px; font-weight: 600; color: var(--st-text); }
|
||||
|
||||
.tc-search {
|
||||
width: 220px;
|
||||
height: 40px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 0 13px;
|
||||
border: 1px solid rgba(34, 42, 54, 0.10);
|
||||
border-radius: 10px;
|
||||
background: #fff;
|
||||
color: var(--st-muted);
|
||||
}
|
||||
.tc-search input {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
border: 0;
|
||||
outline: 0;
|
||||
background: transparent;
|
||||
font: inherit;
|
||||
font-size: 13px;
|
||||
color: var(--st-text);
|
||||
}
|
||||
|
||||
.tc-row {
|
||||
min-height: 72px;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(160px, 1.4fr) 64px minmax(90px, 0.7fr) minmax(80px, 0.65fr) minmax(90px, 0.7fr) minmax(90px, 0.75fr) 92px;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding: 0 20px;
|
||||
border-bottom: 1px solid rgba(34, 42, 54, 0.07);
|
||||
font-size: 13px;
|
||||
color: var(--st-text);
|
||||
}
|
||||
.tc-row:last-of-type { border-bottom: 0; }
|
||||
.tc-row-head {
|
||||
min-height: 46px;
|
||||
color: var(--st-muted);
|
||||
font-size: 12px;
|
||||
}
|
||||
.tc-person { display: flex; align-items: center; gap: 12px; min-width: 0; }
|
||||
.tc-person strong,
|
||||
.tc-person span { display: block; }
|
||||
.tc-person strong { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.tc-person span { margin-top: 3px; color: var(--st-muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.tc-avatar {
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
flex: 0 0 42px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
border-radius: 50%;
|
||||
color: #fff;
|
||||
background: var(--st-black);
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
}
|
||||
.tc-tag {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
width: max-content;
|
||||
height: 25px;
|
||||
padding: 0 9px;
|
||||
border-radius: 7px;
|
||||
color: #4c5360;
|
||||
background: rgba(34, 42, 54, 0.08);
|
||||
font-size: 11px;
|
||||
}
|
||||
.tc-tag-super { color: var(--klein); background: rgba(0, 47, 167, 0.09); }
|
||||
.tc-tag-admin { color: #138d3f; background: rgba(22, 184, 78, 0.10); }
|
||||
.tc-quota { font-size: 12px; color: var(--st-muted); }
|
||||
.tc-used strong { display: block; font-size: 13px; font-weight: 600; }
|
||||
.used-bar { width: 80px; height: 4px; background: rgba(34, 42, 54, 0.08); border-radius: 2px; overflow: hidden; margin-top: 6px; }
|
||||
.used-bar > span { display: block; height: 100%; background: var(--klein); }
|
||||
.used-bar > span.ok { background: #42c366; }
|
||||
.used-bar > span.warn { background: #c73737; }
|
||||
.tc-acts { display: flex; gap: 4px; justify-content: flex-end; }
|
||||
.tc-icon {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
line-height: 0;
|
||||
border: 1px solid var(--st-line);
|
||||
border-radius: 8px;
|
||||
background: #fff;
|
||||
cursor: pointer;
|
||||
color: var(--st-muted);
|
||||
padding: 0;
|
||||
}
|
||||
.tc-icon svg { display: block; width: 14px; height: 14px; }
|
||||
.tc-icon:hover { color: var(--st-text); background: rgba(34, 42, 54, 0.06); }
|
||||
.tc-icon.danger:hover { color: #c73737; border-color: rgba(199, 55, 55, .3); }
|
||||
.tc-muted { font-size: 12px; color: var(--st-muted); }
|
||||
|
||||
.tc-activity {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
padding: 16px 20px 20px;
|
||||
}
|
||||
.tc-activity-item {
|
||||
min-height: 74px;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 12px;
|
||||
padding: 14px;
|
||||
border: 1px solid rgba(34, 42, 54, 0.07);
|
||||
border-radius: 12px;
|
||||
background: rgba(255, 255, 255, 0.62);
|
||||
}
|
||||
.tc-dot {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
flex: 0 0 auto;
|
||||
margin-top: 7px;
|
||||
border-radius: 50%;
|
||||
background: var(--klein);
|
||||
}
|
||||
.tc-activity-item p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--st-text); }
|
||||
.tc-activity-item span { display: block; margin-top: 4px; color: var(--st-muted); font-size: 12px; }
|
||||
|
||||
.tc-summary {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 10px;
|
||||
padding: 18px 20px 2px;
|
||||
}
|
||||
.tc-summary div {
|
||||
padding: 14px;
|
||||
border-radius: 11px;
|
||||
background: rgba(0, 47, 167, 0.055);
|
||||
}
|
||||
.tc-summary span,
|
||||
.tc-summary strong { display: block; }
|
||||
.tc-summary span { color: var(--st-muted); font-size: 11px; }
|
||||
.tc-summary strong { margin-top: 7px; font-size: 16px; font-weight: 600; color: var(--st-text); }
|
||||
|
||||
.tc-segmented { display: flex; align-items: center; gap: 8px; }
|
||||
.tc-seg {
|
||||
height: 38px;
|
||||
padding: 0 16px;
|
||||
border: 0;
|
||||
border-radius: 9px;
|
||||
color: #50555d;
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
font: inherit;
|
||||
font-size: 14px;
|
||||
}
|
||||
.tc-seg.active { color: #fff; background: var(--st-black); }
|
||||
|
||||
.tc-chart {
|
||||
position: relative;
|
||||
border: 1px solid var(--accent-black);
|
||||
border-radius: var(--r-md);
|
||||
height: 220px;
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
gap: 12px;
|
||||
padding: 30px 28px 22px;
|
||||
}
|
||||
|
||||
/* ─── 团队动态卡(贴 banner 右边)─── */
|
||||
.team-feed { background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-md); padding: 16px 18px; display: flex; flex-direction: column; min-width: 0; }
|
||||
.team-feed .h { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
|
||||
.team-feed .h h3 { font-size: 14px; font-weight: 600; margin: 0; }
|
||||
.team-feed .h .ct { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); }
|
||||
.team-feed .h .more { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--heat); text-decoration: none; cursor: pointer; }
|
||||
.team-feed .feed-list { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; max-height: 240px; padding-right: 4px; scrollbar-width: thin; }
|
||||
.team-feed .feed-list::-webkit-scrollbar { width: 4px; }
|
||||
.team-feed .feed-list::-webkit-scrollbar-thumb { background: var(--border-faint); border-radius: 2px; }
|
||||
.team-feed .feed-item { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; }
|
||||
.team-feed .feed-item .av { width: 24px; height: 24px; border-radius: 50%; background: var(--background-lighter); border: 1px solid var(--border-faint); display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--accent-black); }
|
||||
.team-feed .feed-item .txt { font-size: 13px; line-height: 1.45; color: var(--accent-black); min-width: 0; }
|
||||
.team-feed .feed-item .txt .who { font-weight: 600; }
|
||||
.team-feed .feed-item .txt .act { color: var(--black-alpha-56); margin: 0 3px; }
|
||||
.team-feed .feed-item .txt .obj { color: var(--heat); }
|
||||
.team-feed .feed-item .txt .obj-money { color: var(--accent-forest); font-variant-numeric: tabular-nums; font-family: var(--font-mono); }
|
||||
.team-feed .feed-item .ts { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); margin-top: 2px; letter-spacing: .02em; }
|
||||
/* 4 个装订线小十字(2 个 pseudo + 2 个 span)*/
|
||||
.team-banner::before, .team-banner::after,
|
||||
.team-banner > .corner-tr, .team-banner > .corner-bl {
|
||||
content: ''; position: absolute; width: 14px; height: 14px;
|
||||
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 21' fill='%23e8e8e8'%3E%3Cpath d='M10.5 4C10.5 7.31371 7.81371 10 4.5 10H0.5V11H4.5C7.81371 11 10.5 13.6863 10.5 17V21H11.5V17C11.5 13.6863 14.1863 11 17.5 11H21.5V10H17.5C14.1863 10 11.5 7.31371 11.5 4V0H10.5V4Z'/%3E%3C/svg%3E") no-repeat center;
|
||||
background-size: contain; pointer-events: none;
|
||||
.tc-chart::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
right: 28px;
|
||||
bottom: 42px;
|
||||
left: 28px;
|
||||
height: 1px;
|
||||
background: rgba(34, 42, 54, 0.12);
|
||||
}
|
||||
.team-banner::before { top: -7px; left: -7px; }
|
||||
.team-banner::after { bottom: -7px; right: -7px; }
|
||||
.team-banner > .corner-tr { top: -7px; right: -7px; }
|
||||
.team-banner > .corner-bl { bottom: -7px; left: -7px; }
|
||||
.tc-chart-empty {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
color: var(--st-muted);
|
||||
font-size: 13px;
|
||||
}
|
||||
.tc-bar-group {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
height: 100%;
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
gap: 9px;
|
||||
color: var(--st-muted);
|
||||
font-size: 11px;
|
||||
min-width: 0;
|
||||
}
|
||||
.tc-bar {
|
||||
width: min(30px, 70%);
|
||||
min-height: 10px;
|
||||
border-radius: 7px 7px 3px 3px;
|
||||
background: var(--klein);
|
||||
opacity: 0.78;
|
||||
}
|
||||
.tc-bar-value {
|
||||
color: #343a45;
|
||||
font-size: 10px;
|
||||
font-weight: 600;
|
||||
line-height: 1;
|
||||
}
|
||||
.tc-bar-group span { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
|
||||
|
||||
/* 第 1 行:标题 + 主操作 */
|
||||
.banner-head { display: flex; align-items: flex-start; gap: 20px; }
|
||||
.banner-id { flex: 1; min-width: 0; }
|
||||
.banner-id .lbl { font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,.55); letter-spacing: .06em; text-transform: uppercase; }
|
||||
.banner-id .nm { font-size: 22px; font-weight: 700; letter-spacing: -.012em; margin-top: 4px; display: flex; align-items: baseline; gap: 10px; }
|
||||
.banner-id .nm .tag { font-size: 12px; font-family: var(--font-mono); padding: 2px 8px; background: rgba(255,255,255,.12); border-radius: var(--r-pill); letter-spacing: .04em; font-weight: 500; }
|
||||
.banner-id .meta { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 6px; font-family: var(--font-mono); letter-spacing: .02em; }
|
||||
.banner-actions { display: flex; gap: 8px; flex-shrink: 0; }
|
||||
.banner-actions .btn { background: var(--accent-white); color: var(--accent-black); border-color: var(--accent-white); }
|
||||
.banner-actions .btn:hover { background: var(--background-base); }
|
||||
.banner-actions .btn-ghost { background: transparent; color: var(--accent-white); border: 1px solid rgba(255,255,255,.25); }
|
||||
.banner-actions .btn-ghost:hover { background: rgba(255,255,255,.08); color: var(--accent-white); }
|
||||
|
||||
/* 分隔线 */
|
||||
.banner-divider { height: 1px; background: rgba(255,255,255,.1); margin: 20px 0 18px; }
|
||||
|
||||
/* 第 2 行:4 列统计 */
|
||||
.banner-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
|
||||
.banner-stats .stat { min-width: 0; }
|
||||
.banner-stats .stat .lbl { font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,.55); letter-spacing: .06em; text-transform: uppercase; }
|
||||
.banner-stats .stat .v { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.012em; margin-top: 6px; }
|
||||
/* color 必须显式写,否则会被 restraint.css 全局 .stat .v 的 color: var(--accent-black) 覆盖成黑字 */
|
||||
.banner-stats .stat .v { color: var(--accent-white); }
|
||||
.banner-stats .stat .v.warn { color: #FFB870; }
|
||||
.banner-stats .stat .sub { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 4px; font-family: var(--font-mono); letter-spacing: .02em; }
|
||||
|
||||
/* ─── 主体两栏 ─── */
|
||||
.team-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
|
||||
|
||||
.pane { background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-md); padding: 20px; margin-bottom: 16px; }
|
||||
.pane h3 { font-size: 14px; font-weight: 600; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
|
||||
.pane h3 .ct { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); font-weight: 400; }
|
||||
.pane h3 .spacer { margin-left: auto; }
|
||||
|
||||
/* ─── 成员表 ─── */
|
||||
.members-table th { white-space: nowrap; }
|
||||
.members-table .av { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: var(--background-lighter); display: inline-grid; place-items: center; font-weight: 600; font-size: 13px; color: var(--accent-black); border: 1px solid var(--border-faint); }
|
||||
.members-table .who { display: flex; align-items: center; gap: 10px; }
|
||||
.members-table .member-cell { display: flex; align-items: center; gap: 10px; min-width: 0; }
|
||||
.members-table .member-cell .member-meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
|
||||
.members-table .nm { font-weight: 500; font-size: 14px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
|
||||
.members-table .em { font-size: 12px; color: var(--black-alpha-48); font-family: var(--font-mono); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
|
||||
.members-table .role-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 500; }
|
||||
.members-table .role-pill .dot { width: 6px; height: 6px; border-radius: 50%; }
|
||||
.members-table .role-super { background: var(--heat-12); color: var(--heat); }
|
||||
.members-table .role-super .dot { background: var(--heat); }
|
||||
.members-table .role-admin { background: rgba(30,64,175,.1); color: #1E40AF; }
|
||||
.members-table .role-admin .dot { background: #1E40AF; }
|
||||
.members-table .role-member { background: var(--background-lighter); color: var(--black-alpha-56); }
|
||||
.members-table .role-member .dot { background: var(--black-alpha-56); }
|
||||
.members-table .quota-cell { font-variant-numeric: tabular-nums; font-family: var(--font-mono); font-size: 12px; }
|
||||
.members-table .quota-cell .lbl { color: var(--black-alpha-48); }
|
||||
.members-table .quota-cell .v { color: var(--accent-black); font-weight: 600; }
|
||||
.members-table .used-bar { width: 80px; height: 4px; background: var(--background-lighter); border-radius: 2px; overflow: hidden; margin-top: 4px; }
|
||||
.members-table .used-bar > span { display: block; height: 100%; background: var(--heat); }
|
||||
.members-table .used-bar > span.ok { background: var(--accent-forest); }
|
||||
.members-table .used-bar > span.warn { background: #B45309; }
|
||||
.members-table .acts { display: flex; gap: 4px; justify-content: flex-end; }
|
||||
.members-table .icon-btn-sm { width: 28px; height: 28px; display: inline-grid; place-items: center; border: 1px solid var(--border-faint); border-radius: var(--r-sm); background: var(--surface); cursor: pointer; color: var(--black-alpha-56); transition: all var(--t-base); }
|
||||
.members-table .icon-btn-sm:hover { color: var(--heat); border-color: var(--heat-20); }
|
||||
.members-table .icon-btn-sm svg { width: 14px; height: 14px; }
|
||||
.members-table .icon-btn-sm.danger:hover { color: var(--accent-crimson); border-color: var(--accent-crimson); }
|
||||
.members-table tr.pending td { opacity: .65; }
|
||||
.members-table tr.pending .nm::after { content: '· 待激活'; font-size: 12px; color: var(--black-alpha-48); margin-left: 6px; font-weight: 400; font-family: var(--font-mono); }
|
||||
|
||||
/* ─── 角色权限矩阵 ─── */
|
||||
.perm-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--border-muted); border-radius: var(--r-md); overflow: hidden; font-size: 13px; }
|
||||
.perm-table th, .perm-table td { padding: 8px 10px; border-bottom: 0; }
|
||||
.perm-table th { border-bottom: 1px solid var(--border-muted); background: var(--background-lighter); font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--black-alpha-48); letter-spacing: .04em; text-transform: uppercase; text-align: left; }
|
||||
.tc-perm-panel { padding: 8px 0 4px; }
|
||||
.perm-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
|
||||
.perm-table th, .perm-table td { padding: 10px 20px; }
|
||||
.perm-table th { border-bottom: 1px solid rgba(34, 42, 54, 0.08); color: var(--st-muted); font-size: 12px; font-weight: 500; text-align: left; }
|
||||
.perm-table th:not(:first-child), .perm-table td:not(:first-child) { text-align: center; }
|
||||
.perm-table tbody td:first-child { color: var(--accent-black); }
|
||||
.perm-table .yes { color: var(--accent-forest); font-weight: 600; }
|
||||
.perm-table tbody td:first-child { color: var(--st-text); }
|
||||
.perm-table tbody tr { border-bottom: 1px solid rgba(34, 42, 54, 0.07); }
|
||||
.perm-table .yes { color: #138d3f; font-weight: 600; }
|
||||
.perm-table .no { color: var(--black-alpha-32); }
|
||||
.list-pager { padding: 12px 20px 16px; border-top: 1px solid rgba(34, 42, 54, 0.07); }
|
||||
|
||||
@media (max-width: 1100px) {
|
||||
.tc-hero { grid-template-columns: minmax(230px, 1fr) repeat(2, minmax(125px, 0.7fr)); }
|
||||
.tc-grid { grid-template-columns: 1fr; }
|
||||
.tc-row { grid-template-columns: minmax(140px, 1.2fr) 64px minmax(80px, 0.7fr) minmax(80px, 0.7fr) 92px; }
|
||||
.tc-row > :nth-child(3),
|
||||
.tc-row > :nth-child(5) { display: none; }
|
||||
.tc-activity { grid-template-columns: 1fr; }
|
||||
}
|
||||
}
|
||||
|
||||
/* ═══════════════════════════════════════════════════════════════════
|
||||
@@ -164,7 +419,7 @@
|
||||
.share-acct-modal .cred-copy:hover { border-color: var(--heat-20); color: var(--heat); }
|
||||
.share-acct-modal .cred-rules { margin-top: 14px; font-family: var(--font-mono); font-size: 11px; color: var(--black-alpha-56); letter-spacing: .02em; line-height: 1.7; }
|
||||
.share-acct-modal .cred-rules .li { display: flex; gap: 8px; }
|
||||
.share-acct-modal .cred-rules .li::before { content: '//'; color: var(--black-alpha-32); flex: 0 0 auto; }
|
||||
.share-acct-modal .cred-rules .li::before { content: none; }
|
||||
.share-acct-modal .cred-copy-all { margin-top: 14px; }
|
||||
.share-acct-modal .cred-copy-all .btn-sm { width: 100%; justify-content: center; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user