修复赋能中心一楼入口与手机端显示
This commit is contained in:
Vendored
+26
-6
@@ -19,7 +19,8 @@
|
||||
--shadow: 0 2px 5px rgba(35, 64, 48, .025);
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
* { box-sizing: border-box; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
|
||||
.btn, button { font: inherit; }
|
||||
|
||||
html, body {
|
||||
margin: 0;
|
||||
@@ -98,6 +99,7 @@ textarea { width: 100%; resize: vertical; }
|
||||
.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; }
|
||||
.new-activity-short { display: none; }
|
||||
|
||||
/* ---------- 布局 ---------- */
|
||||
.container { max-width: 1160px; margin: 0 auto; padding: 40px 28px 72px; }
|
||||
@@ -396,6 +398,8 @@ form input, form select, form textarea, .form-card input, .form-card select { wi
|
||||
|
||||
/* ---------- 响应式 ---------- */
|
||||
@media (max-width: 760px) {
|
||||
:root { font-size: 14px; }
|
||||
body { font-size: 14px; }
|
||||
#nav {
|
||||
display: none;
|
||||
position: absolute;
|
||||
@@ -513,10 +517,12 @@ button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px s
|
||||
.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; }
|
||||
#nav { padding: 4px 10px 8px; z-index: 1; }
|
||||
#nav a { padding: 10px; font-size: 14px; }
|
||||
#nav a:last-child { border-top: 1px solid var(--line); margin-top: 4px; }
|
||||
#new-activity-btn { flex: none; font-size: 13px; padding: 9px 12px; white-space: nowrap; }
|
||||
.new-activity-label { display: none; }
|
||||
.new-activity-short { display: inline; }
|
||||
.container { padding: 28px 16px 56px; }
|
||||
.page-head { align-items: stretch; gap: 20px; }
|
||||
.page-head > div:first-child { width: 100%; }
|
||||
@@ -530,9 +536,18 @@ button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px s
|
||||
.stat:nth-child(even), .stat:last-child { border-right: 0; }
|
||||
.stat b { font-size: 25px; }
|
||||
.acard { padding: 20px; }
|
||||
.acard-actions .btn { min-height: 40px; }
|
||||
.photo-preview-summary { min-height: 40px; padding: 6px 10px; }
|
||||
.photo-preview-summary [data-photo-preview] { min-height: 34px; padding-block: 2px; }
|
||||
.acard-meta { gap: 8px 10px; margin-top: 12px; }
|
||||
.acard-meta .tag.cat { display: none; }
|
||||
.meta-item { max-width: 100%; }
|
||||
.acard h3 { font-size: 17px; line-height: 1.4; }
|
||||
.acard-desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.6; }
|
||||
.acard-actions .btn:not(.primary) { padding-inline: 10px; }
|
||||
.acard-actions .btn { min-height: 42px; }
|
||||
.acard-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
|
||||
.acard-actions .btn { justify-content: center; padding-inline: 6px; white-space: nowrap; }
|
||||
.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; }
|
||||
@@ -541,6 +556,8 @@ button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px s
|
||||
.form-card { padding: 22px; }
|
||||
.modal-mask { padding: 16px 10px; }
|
||||
.modal { padding: 22px 18px; }
|
||||
.center-tabs { gap: 4px; }
|
||||
.center-tabs .tab { flex: 0 0 auto; padding-inline: 10px; font-size: 13px; white-space: nowrap; }
|
||||
.p-list li { flex-wrap: wrap; }
|
||||
.add-member-row input { min-width: 0; }
|
||||
}
|
||||
@@ -611,7 +628,7 @@ button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px s
|
||||
.center-shortcuts p { margin:5px 0 0; color:var(--muted); font-size:13px; }
|
||||
.center-shortcut-actions { display:flex; flex-wrap:wrap; gap:10px; }
|
||||
.center-shortcut-actions a { text-decoration:none; display:inline-flex; align-items:center; }
|
||||
.center-tabs { max-width:500px; margin-bottom:24px; }
|
||||
.center-tabs { max-width:none; margin-bottom:24px; }
|
||||
.center-check-status { padding:18px 20px; background:var(--primary-soft); border:1px solid #d5e5da; border-radius:12px; margin-bottom:20px; }
|
||||
.center-subhead { margin-top:32px; }
|
||||
.center-duty-head { display:flex; align-items:flex-end; justify-content:space-between; flex-wrap:wrap; gap:18px; margin-bottom:18px; }
|
||||
@@ -718,4 +735,7 @@ button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px s
|
||||
.center-history { margin-top:28px; }
|
||||
.center-history summary { cursor:pointer; padding:12px 0; }
|
||||
.center-history .acard { margin-top:12px; }
|
||||
.tutorial-video { display:block; width:100%; max-height:70vh; margin-top:18px; background:#151b17; border-radius:10px; }
|
||||
.tutorial-actions { display:flex; align-items:center; gap:10px; margin-top:14px; }
|
||||
.tutorial-upload-status { min-height:24px; }
|
||||
@media (min-width:761px) and (max-width:1000px) { .topbar-inner { flex-wrap:wrap; } #nav { order:3; flex-basis:100%; } }
|
||||
|
||||
Reference in New Issue
Block a user