575 lines
24 KiB
CSS
575 lines
24 KiB
CSS
/* WorkLog 活动记录 — 样式 */
|
|
|
|
:root {
|
|
--bg: #f5f7f5;
|
|
--card: #ffffff;
|
|
--ink: #263c35;
|
|
--muted: #67776f;
|
|
--line: #e1e8e3;
|
|
--primary: #28664f;
|
|
--primary-ink: #ffffff;
|
|
--primary-soft: #eaf3ed;
|
|
--ok: #12805c;
|
|
--ok-soft: #e2f5ec;
|
|
--warn: #b45309;
|
|
--warn-soft: #fdf1e0;
|
|
--bad: #b42323;
|
|
--bad-soft: #fdeaea;
|
|
--radius: 12px;
|
|
--shadow: 0 2px 5px rgba(35, 64, 48, .025);
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
|
|
html, body {
|
|
margin: 0;
|
|
padding: 0;
|
|
background: var(--bg);
|
|
color: var(--ink);
|
|
font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
|
|
font-size: 15px;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.hidden { display: none !important; }
|
|
.muted { color: var(--muted); font-size: 13px; }
|
|
|
|
button { font: inherit; cursor: pointer; }
|
|
input, select, textarea {
|
|
font: inherit;
|
|
color: var(--ink);
|
|
background: #fff;
|
|
border: 1px solid var(--line);
|
|
border-radius: 10px;
|
|
padding: 9px 12px;
|
|
outline: none;
|
|
}
|
|
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(40, 102, 79, .14); }
|
|
textarea { width: 100%; resize: vertical; }
|
|
|
|
.btn {
|
|
border: 1px solid var(--line);
|
|
background: #fff;
|
|
color: var(--ink);
|
|
border-radius: 10px;
|
|
padding: 9px 16px;
|
|
font-weight: 500;
|
|
transition: border-color .18s ease-out, background-color .18s ease-out, box-shadow .18s ease-out;
|
|
}
|
|
.btn:hover { border-color: var(--primary); color: var(--primary); }
|
|
.btn.primary { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
|
|
.btn.primary:hover { background: #205640; border-color: #205640; color: #fff; }
|
|
.btn.danger { color: var(--bad); border-color: #f2c4c4; }
|
|
.btn.danger:hover { background: var(--bad-soft); }
|
|
.btn.ghost { border-color: transparent; background: transparent; }
|
|
.btn.ghost:hover { background: var(--primary-soft); }
|
|
.btn.sm { padding: 5px 10px; font-size: 13px; border-radius: 8px; }
|
|
.btn.block { width: 100%; }
|
|
.btn:disabled { opacity: .55; cursor: not-allowed; }
|
|
|
|
/* ---------- 顶栏 ---------- */
|
|
#topbar {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 50;
|
|
background: var(--card);
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
.topbar-inner {
|
|
max-width: 1160px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 28px;
|
|
padding: 16px 28px;
|
|
}
|
|
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -.6px; white-space: nowrap; }
|
|
#nav { display: flex; gap: 4px; flex: 1; }
|
|
#nav a {
|
|
color: var(--muted);
|
|
text-decoration: none;
|
|
padding: 7px 12px;
|
|
border-radius: 9px;
|
|
font-weight: 500;
|
|
}
|
|
#nav a:hover { color: var(--ink); background: var(--primary-soft); }
|
|
#nav a.active { color: var(--primary); background: var(--primary-soft); }
|
|
.topbar-user { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
|
|
#topbar-name { font-weight: 600; font-size: 14px; }
|
|
.menu-toggle { display: none; background: none; border: none; font-size: 20px; }
|
|
|
|
/* ---------- 布局 ---------- */
|
|
.container { max-width: 1160px; margin: 0 auto; padding: 40px 28px 72px; }
|
|
.container.narrow { max-width: 640px; }
|
|
.page-head {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 24px;
|
|
}
|
|
.page-head h2 { margin: 0 0 8px; font-size: 28px; font-weight: 650; letter-spacing: -.8px; }
|
|
.page-head p { margin: 0; }
|
|
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
|
|
.filters input, .filters select { min-width: 130px; }
|
|
|
|
.stats-row { display: flex; flex-wrap: wrap; margin-bottom: 28px; padding: 20px 0; border-block: 1px solid var(--line); }
|
|
.stats-row:empty { display: none; }
|
|
.stat {
|
|
flex: 1;
|
|
min-width: 96px;
|
|
padding: 0 24px;
|
|
border-right: 1px solid var(--line);
|
|
}
|
|
.stat:first-child { padding-left: 4px; }
|
|
.stat:last-child { border-right: 0; }
|
|
.stat b { display: block; font-size: 28px; font-weight: 600; line-height: 1.25; font-variant-numeric: tabular-nums; letter-spacing: -.8px; margin-bottom: 5px; }
|
|
.stat span { color: var(--muted); font-size: 13px; }
|
|
|
|
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
|
|
.chip {
|
|
border: 1px solid var(--line);
|
|
background: #fff;
|
|
border-radius: 999px;
|
|
padding: 4px 12px;
|
|
font-size: 13px;
|
|
color: var(--muted);
|
|
}
|
|
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
|
|
.chip:hover { border-color: var(--primary); color: var(--primary); }
|
|
.chip.active:hover { color: #fff; }
|
|
|
|
/* ---------- 卡片列表 ---------- */
|
|
.card-list { display: flex; flex-direction: column; gap: 16px; }
|
|
.acard {
|
|
background: var(--card);
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
padding: 24px 26px;
|
|
box-shadow: var(--shadow);
|
|
transition: border-color .18s ease-out, background-color .18s ease-out, box-shadow .18s ease-out;
|
|
}
|
|
.acard:hover { border-color: #adc6b8; box-shadow: 0 4px 16px rgba(35, 64, 48, .045); }
|
|
.acard-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
|
|
.acard h3 { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.5; }
|
|
.activity-title { border: 0; padding: 0; background: none; color: inherit; font: inherit; text-align: left; overflow-wrap: anywhere; }
|
|
.acard h3:hover { color: var(--primary); }
|
|
.acard-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; align-items: center; }
|
|
.meta-item { color: var(--muted); font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }
|
|
.acard-desc { margin: 10px 0 0; color: #3d4351; font-size: 14px; white-space: pre-wrap; }
|
|
.acard-foot {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
margin-top: 12px;
|
|
padding-top: 12px;
|
|
border-top: 1px solid var(--line);
|
|
}
|
|
.faces { display: flex; align-items: center; }
|
|
.face {
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 50%;
|
|
background: var(--primary);
|
|
color: #fff;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 2px solid #fff;
|
|
margin-left: -8px;
|
|
cursor: pointer;
|
|
}
|
|
.face:first-child { margin-left: 0; }
|
|
.face.more { background: #e7eaf3; color: var(--muted); }
|
|
.face:hover { transform: translateY(-2px); }
|
|
.faces-label { margin-left: 8px; font-size: 13px; color: var(--muted); }
|
|
.acard-actions { display: flex; gap: 8px; flex-wrap: wrap; }
|
|
|
|
.tag {
|
|
display: inline-block;
|
|
padding: 2px 10px;
|
|
border-radius: 999px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
}
|
|
.tag.cat { background: var(--primary-soft); color: var(--primary); }
|
|
.tag.pub { background: #f0f4f1; color: #56705e; }
|
|
.tag.pri { background: #f0e9fb; color: #6d3fc0; }
|
|
.tag.joined { background: #edf2f9; color: #416594; }
|
|
.tag.attended { background: var(--ok-soft); color: var(--ok); }
|
|
.tag.absent { background: var(--bad-soft); color: var(--bad); }
|
|
.tag.full { background: #f1f2f6; color: var(--muted); }
|
|
|
|
/* ---------- 成员 ---------- */
|
|
.member-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
.mcard {
|
|
background: var(--card);
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
padding: 16px;
|
|
box-shadow: var(--shadow);
|
|
cursor: pointer;
|
|
transition: border-color .18s ease-out, background-color .18s ease-out, box-shadow .18s ease-out;
|
|
}
|
|
.mcard:hover { border-color: #adc6b8; background: #fcfdfc; }
|
|
.mcard-top { display: flex; align-items: center; gap: 12px; }
|
|
.avatar {
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 50%;
|
|
background: #e5efe8;
|
|
color: var(--primary);
|
|
font-weight: 600;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 17px;
|
|
flex: none;
|
|
}
|
|
.mcard b { display: block; }
|
|
.mcard .muted { margin-top: 2px; }
|
|
.mcard-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
|
|
.mcard-stats div b { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
|
|
.mcard-stats small { margin-left: 4px; font-size: 11px; color: var(--muted); font-weight: 400; }
|
|
.mcard-stats div span { display: block; font-size: 12px; color: var(--muted); }
|
|
.stats-help { margin: 0 0 22px; color: var(--muted); font-size: 13px; }
|
|
.stats-help summary { width: fit-content; cursor: pointer; padding: 6px 0; border-radius: 4px; }
|
|
.stats-help summary:hover { color: var(--primary); }
|
|
.stats-help summary:focus-visible { outline: 3px solid #28664f80; outline-offset: 4px; }
|
|
.stats-help dl { margin: 10px 0; display: grid; gap: 10px; }
|
|
.stats-help dl > div { display: flex; align-items: baseline; gap: 16px; }
|
|
.stats-help dt { min-width: 4em; color: var(--ink); font-weight: 600; }
|
|
.stats-help dd { margin: 0; line-height: 1.7; }
|
|
.stats-help p { margin: 10px 0 0; line-height: 1.7; }
|
|
.mcard-bio { margin-top: 10px; font-size: 13px; color: #3d4351; }
|
|
|
|
/* ---------- 个人主页 ---------- */
|
|
.profile-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
background: var(--card);
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
padding: 20px;
|
|
box-shadow: var(--shadow);
|
|
margin-bottom: 14px;
|
|
}
|
|
.profile-header .avatar { width: 60px; height: 60px; font-size: 24px; }
|
|
.profile-header h2 { margin: 0; font-size: 20px; }
|
|
.profile-header p { margin: 3px 0 0; }
|
|
|
|
/* ---------- 认证页 ---------- */
|
|
.auth-wrap { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: 1fr 420px; align-items: center; gap: clamp(48px, 8vw, 120px); max-width: 1100px; margin: auto; padding: 56px 32px; }
|
|
.auth-card {
|
|
width: 100%;
|
|
max-width: 420px;
|
|
background: var(--card);
|
|
border: 1px solid var(--line);
|
|
border-radius: 20px;
|
|
padding: 36px 32px;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
.auth-title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 24px; letter-spacing: -.8px; }
|
|
.auth-sub { color: var(--muted); margin: 10px 0 28px; font-size: 13px; }
|
|
.tabs { display: flex; background: var(--bg); border-radius: 10px; padding: 4px; margin-bottom: 18px; }
|
|
.tab { flex: 1; border: none; background: transparent; padding: 8px; border-radius: 8px; font-weight: 500; color: var(--muted); }
|
|
.tab.active { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
|
|
.auth-modes { display: flex; gap: 8px; margin-top: 14px; }
|
|
.auth-mode { flex: 1; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); padding: 8px; }
|
|
.auth-mode.active { border-color: var(--primary); color: var(--primary); font-weight: 600; }
|
|
.auth-links { display: flex; justify-content: flex-end; margin-top: 5px; }
|
|
.text-link { border: 0; padding: 3px 0; background: transparent; color: var(--primary); font: inherit; font-size: 13px; cursor: pointer; }
|
|
.text-link:hover { text-decoration: underline; }
|
|
|
|
/* ---------- 表单 ---------- */
|
|
form label, .form-card label { display: block; margin-top: 14px; font-size: 13px; color: #3d4351; font-weight: 500; }
|
|
form input, form select, form textarea, .form-card input, .form-card select { width: 100%; margin-top: 5px; }
|
|
.hint-inline { color: var(--muted); font-weight: 400; }
|
|
.form-error { color: var(--bad); font-size: 13px; min-height: 18px; margin-top: 8px; }
|
|
.form-hint { font-size: 12px; margin-top: -6px; }
|
|
.code-row { display: flex; gap: 8px; margin-top: 5px; }
|
|
.code-row input { flex: 1; min-width: 0; margin-top: 0; }
|
|
.code-row button { flex: none; white-space: nowrap; }
|
|
.code-row button:disabled { opacity: .55; cursor: not-allowed; }
|
|
.form-card { margin-bottom: 20px; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
|
|
.form-card > .btn { margin-top: 24px; }
|
|
.form-card h3 { margin: 0 0 4px; font-size: 16px; }
|
|
.form-row { display: flex; gap: 10px; }
|
|
.form-row > * { flex: 1; min-width: 0; }
|
|
.form-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
|
|
.checkline { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; }
|
|
.checkline input { width: auto; margin: 0; }
|
|
|
|
/* ---------- 弹层 ---------- */
|
|
.modal-mask {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(15, 23, 42, .45);
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: center;
|
|
padding: 40px 16px;
|
|
z-index: 100;
|
|
overflow-y: auto;
|
|
}
|
|
.modal {
|
|
background: var(--card);
|
|
border-radius: 18px;
|
|
width: 100%;
|
|
max-width: 560px;
|
|
padding: 24px;
|
|
box-shadow: 0 24px 60px -12px rgba(15, 23, 42, .35);
|
|
animation: pop .18s ease-out;
|
|
}
|
|
@keyframes pop { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
|
|
.modal h3 { margin: 0 0 4px; font-size: 18px; }
|
|
.modal .modal-sub { margin: 0 0 10px; }
|
|
|
|
/* 详情 */
|
|
.detail-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
|
|
.detail-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 14px 0; font-size: 14px; }
|
|
.detail-meta span.lbl { color: var(--muted); font-size: 12px; display: block; }
|
|
.detail-desc {
|
|
background: var(--bg);
|
|
border-radius: 10px;
|
|
padding: 12px 14px;
|
|
font-size: 14px;
|
|
white-space: pre-wrap;
|
|
margin: 12px 0;
|
|
}
|
|
.p-list { margin: 8px 0 0; padding: 0; list-style: none; }
|
|
.p-list li {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 8px 0;
|
|
border-top: 1px solid var(--line);
|
|
font-size: 14px;
|
|
}
|
|
.p-list li:first-child { border-top: none; }
|
|
.p-list .grow { flex: 1; }
|
|
.p-list .who { cursor: pointer; }
|
|
.p-list .who:hover { color: var(--primary); }
|
|
.p-list select { padding: 4px 8px; font-size: 13px; width: auto; }
|
|
.p-list .note { color: var(--muted); font-size: 12px; }
|
|
.add-member-row { display: flex; gap: 8px; margin-top: 12px; }
|
|
.add-member-row input { flex: 1; }
|
|
|
|
/* ---------- 空态 / 加载 ---------- */
|
|
.empty {
|
|
text-align: center;
|
|
color: var(--muted);
|
|
padding: 60px 20px;
|
|
border: 1px dashed var(--line);
|
|
border-radius: var(--radius);
|
|
background: rgba(255, 255, 255, .6);
|
|
}
|
|
|
|
/* ---------- Toast ---------- */
|
|
.toast {
|
|
position: fixed;
|
|
left: 50%;
|
|
bottom: 36px;
|
|
transform: translateX(-50%);
|
|
background: #1f2430;
|
|
color: #fff;
|
|
padding: 10px 18px;
|
|
border-radius: 999px;
|
|
font-size: 14px;
|
|
z-index: 200;
|
|
box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .4);
|
|
}
|
|
.toast.err { background: var(--bad); }
|
|
|
|
/* ---------- 响应式 ---------- */
|
|
@media (max-width: 760px) {
|
|
#nav {
|
|
display: none;
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
right: 0;
|
|
background: #fff;
|
|
border-bottom: 1px solid var(--line);
|
|
flex-direction: column;
|
|
padding: 8px;
|
|
}
|
|
#nav.open { display: flex; }
|
|
.menu-toggle { display: block; margin-left: auto; }
|
|
.topbar-user { margin-left: auto; }
|
|
#topbar-name { display: none; }
|
|
.detail-meta { grid-template-columns: 1fr; }
|
|
}
|
|
|
|
/* 成员简表 */
|
|
#members-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border, #e5e7eb); border-radius: 10px; overflow: hidden; }
|
|
#members-table th, #members-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border, #e5e7eb); font-size: 14px; }
|
|
#members-table th { background: #edf2ee; color: var(--muted); font-weight: 600; font-size: 13px; }
|
|
#members-table tbody tr:last-child td { border-bottom: none; }
|
|
#members-table tbody tr:hover { background: #f9fafb; }
|
|
|
|
/* 审核 */
|
|
.badge { display: inline-block; min-width: 16px; padding: 0 5px; margin-left: 4px; border-radius: 8px; background: #ef4444; color: #fff; font-size: 11px; line-height: 16px; text-align: center; }
|
|
.review-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
|
|
.review-row:last-child { border-bottom: none; }
|
|
.review-row .grow { flex: 1; }
|
|
.tag.pending { background: #fef3c7; color: #92400e; }
|
|
.review-add { display: flex; align-items: center; gap: 8px; margin: 12px 0; }
|
|
.review-add input { flex: 1; margin-top: 0; }
|
|
|
|
/* 强制设置密码层 */
|
|
#force-password-overlay {
|
|
position: fixed; inset: 0; z-index: 90;
|
|
background: rgba(15, 23, 42, .55);
|
|
display: flex; align-items: center; justify-content: center;
|
|
}
|
|
#force-password-overlay.hidden { display: none; }
|
|
#force-password-form {
|
|
width: min(400px, calc(100vw - 32px));
|
|
background: #fff; border-radius: 14px; padding: 26px 24px;
|
|
box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
|
|
}
|
|
#force-password-form h3 { margin: 0 0 6px; }
|
|
#force-password-form p { margin: 0 0 14px; }
|
|
|
|
/* 品牌:一本打开的记录册,用 CSS 绘制以避免依赖外部资源。 */
|
|
.brand-mark {
|
|
display: inline-block;
|
|
width: 30px;
|
|
height: 32px;
|
|
flex: none;
|
|
position: relative;
|
|
background: var(--primary);
|
|
border-radius: 5px 9px 9px 5px;
|
|
}
|
|
.brand-mark::before { content: ""; position: absolute; left: 7px; top: 0; bottom: 0; border-left: 1px solid #ffffff50; }
|
|
.brand-mark::after { content: ""; position: absolute; left: 12px; right: 6px; top: 11px; height: 5px; border-block: 1.5px solid #ffffffd9; }
|
|
.brand-caption { font-size: 12px; font-weight: 400; letter-spacing: 1px; color: var(--muted); margin-left: 8px; padding-left: 18px; border-left: 1px solid var(--line); }
|
|
.auth-intro h2 { font-size: clamp(32px, 3.3vw, 44px); font-weight: 600; line-height: 1.55; letter-spacing: -1.5px; margin: 56px 0 18px; }
|
|
.auth-intro > p { font-size: 16px; line-height: 1.9; color: var(--muted); margin: 0; }
|
|
.auth-intro-foot { display: block; color: var(--muted); font-size: 12px; letter-spacing: 3px; margin-top: 36px; }
|
|
.auth-note { position: relative; width: 290px; max-width: 100%; margin-top: 40px; padding: 24px 28px; background: #edf2ed; border: 1px solid #dce6dd; border-left: 4px solid #9db8a4; border-radius: 3px 14px 14px 3px; }
|
|
.note-label { font-size: 12px; color: #5b7463; letter-spacing: 1px; }
|
|
.note-line { height: 1px; background: #d3dfd5; margin-top: 17px; }
|
|
.note-line.short { width: 65%; }
|
|
.note-check { position: absolute; right: 20px; bottom: 15px; color: var(--primary); font-size: 22px; }
|
|
.btn, input, select { min-height: 42px; }
|
|
input, select, textarea { transition: border-color .18s ease-out, box-shadow .18s ease-out; }
|
|
input::placeholder, textarea::placeholder { color: #87928b; opacity: 1; }
|
|
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid #28664f80; outline-offset: 4px; }
|
|
.btn:active:not(:disabled) { transform: translateY(1px); }
|
|
.btn.btn-ghost { background: transparent; }
|
|
.btn.sm { min-height: 32px; }
|
|
.acard-top > div, .mcard-top > div, .profile-header > div { min-width: 0; }
|
|
.acard-desc, .meta-item, .mcard b, .profile-header h2, .p-list .grow { overflow-wrap: anywhere; }
|
|
.acard-desc { line-height: 1.8; }
|
|
.acard-foot { margin-top: 18px; padding-top: 16px; }
|
|
.face:nth-child(3n + 2) { background: #678374; }
|
|
.face:nth-child(3n) { background: #84745c; }
|
|
.face.more { background: #e7eee8; color: var(--muted); }
|
|
.auth-card .btn.block { margin-top: 8px; min-height: 46px; }
|
|
.auth-card .form-error:empty, .auth-card .form-hint:empty { display: none; }
|
|
.auth-card .form-hint { margin-top: 10px; line-height: 1.7; }
|
|
.auth-card .auth-links { margin-bottom: 16px; }
|
|
.empty { border-style: solid; padding: 64px 24px; line-height: 1.9; }
|
|
.toast { max-width: calc(100vw - 32px); width: max-content; text-align: center; }
|
|
#force-password-overlay { padding-block: 24px; overflow-y: auto; }
|
|
#force-password-form { margin-block: auto; }
|
|
|
|
@media (min-width: 761px) {
|
|
.page-head { align-items: center; }
|
|
#feed-view .page-head { display: grid; grid-template-columns: 1fr; gap: 24px; }
|
|
#feed-view .filters { padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
|
|
#feed-q { flex: 1; }
|
|
}
|
|
@media (max-width: 960px) {
|
|
.auth-wrap { grid-template-columns: 1fr 400px; gap: 36px; }
|
|
.brand-caption { display: none; }
|
|
.topbar-inner { gap: 16px; }
|
|
#nav a { padding-inline: 10px; }
|
|
}
|
|
@media (max-width: 760px) {
|
|
.auth-wrap { display: flex; justify-content: center; padding: 32px 20px; }
|
|
.auth-intro { display: none; }
|
|
.auth-card { padding: 28px 24px; }
|
|
.topbar-inner { gap: 10px; padding: 12px 16px; }
|
|
.brand { font-size: 18px; gap: 8px; }
|
|
.brand-mark { width: 26px; height: 28px; }
|
|
.topbar-user { margin-left: auto; }
|
|
.menu-toggle { display: grid; place-items: center; width: 42px; height: 42px; margin-left: 0; color: var(--ink); border-radius: 8px; }
|
|
#nav { padding: 12px 16px; box-shadow: 0 8px 12px #263c3508; }
|
|
#nav a { padding: 12px; }
|
|
#logout-btn { min-height: 42px; }
|
|
#new-activity-btn { font-size: 13px; padding: 9px 10px; }
|
|
.container { padding: 28px 16px 56px; }
|
|
.page-head { align-items: stretch; gap: 20px; }
|
|
.page-head > div:first-child { width: 100%; }
|
|
.page-head h2 { font-size: 25px; }
|
|
.filters { width: 100%; gap: 8px; }
|
|
.filters input { width: 100%; flex-basis: 100%; }
|
|
.filters select { flex: 1; min-width: 0; }
|
|
.stats-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 0; padding: 20px 0; }
|
|
.stat { min-width: 0; padding: 0 20px; }
|
|
.stat:nth-child(odd) { padding-left: 4px; }
|
|
.stat:nth-child(even), .stat:last-child { border-right: 0; }
|
|
.stat b { font-size: 25px; }
|
|
.acard { padding: 20px; }
|
|
.acard-meta { gap: 8px 10px; margin-top: 12px; }
|
|
.meta-item { max-width: 100%; }
|
|
.acard-actions .btn { min-height: 42px; }
|
|
.member-grid { grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); }
|
|
#members-table { table-layout: fixed; }
|
|
#members-table th, #members-table td { padding: 12px 8px; font-size: 13px; overflow-wrap: anywhere; }
|
|
.stats-help summary { min-height: 44px; display: list-item; align-content: center; }
|
|
.form-row { flex-direction: column; gap: 0; }
|
|
.form-card { padding: 22px; }
|
|
.modal-mask { padding: 16px 10px; }
|
|
.modal { padding: 22px 18px; }
|
|
.p-list li { flex-wrap: wrap; }
|
|
.add-member-row input { min-width: 0; }
|
|
}
|
|
@media (max-width: 380px) {
|
|
.topbar-inner { gap: 5px; padding-inline: 10px; }
|
|
.brand { gap: 5px; font-size: 16px; }
|
|
.brand .brand-mark { width: 22px; height: 26px; }
|
|
#new-activity-btn { padding-inline: 8px; }
|
|
.auth-wrap { padding: 20px 12px; }
|
|
.auth-card { padding: 28px 20px; }
|
|
.code-row { gap: 6px; }
|
|
.code-row .btn { padding-inline: 10px; }
|
|
}
|
|
.duty-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 24px; margin-bottom: 24px; background: var(--primary-soft); border: 1px solid #d5e5da; border-radius: var(--radius); }
|
|
.duty-info { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-width: 0; }
|
|
.duty-label { display: inline-flex; align-items: center; gap: 7px; color: var(--primary); font-size: 13px; }
|
|
.on-duty .duty-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
|
|
#duty-names { font-weight: 600; font-size: 17px; overflow-wrap: anywhere; }
|
|
.duty-time { width: 100%; color: var(--muted); font-size: 12px; }
|
|
.duty-clock { text-align: right; flex: none; border-left: 1px solid #cbded1; padding-left: 24px; }
|
|
.duty-clock > span { display: block; color: var(--muted); font-size: 12px; }
|
|
.duty-clock strong { display: block; font-size: 25px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .5px; }
|
|
@media (max-width: 520px) {
|
|
.duty-banner { align-items: stretch; padding: 18px; gap: 16px; flex-direction: column; }
|
|
.duty-clock { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; text-align: left; padding: 12px 0 0; border-left: 0; border-top: 1px solid #cbded1; }
|
|
.duty-clock strong { font-size: 26px; }
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
|
|
}
|
|
|
|
.duty-reminders { flex-basis: 100%; min-width: 0; }
|
|
.duty-reminders:empty { display: none; }
|
|
.duty-reminder-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; margin-top: 4px; border-top: 1px solid #cbded1; }
|
|
.duty-reminder-row > div { min-width: 0; overflow-wrap: anywhere; }
|
|
.duty-reminder-row .muted { display: block; margin-top: 5px; }
|
|
.duty-reminder-row .btn { flex: none; min-height: 40px; }
|