style: refresh WorkLog with a clean light green interface
This commit is contained in:
Vendored
+166
-57
@@ -1,22 +1,22 @@
|
||||
/* WorkLog 活动记录 — 样式 */
|
||||
|
||||
:root {
|
||||
--bg: #f4f6fa;
|
||||
--bg: #f5f7f5;
|
||||
--card: #ffffff;
|
||||
--ink: #1f2430;
|
||||
--muted: #6b7280;
|
||||
--line: #e5e8ef;
|
||||
--primary: #4361ee;
|
||||
--ink: #263c35;
|
||||
--muted: #67776f;
|
||||
--line: #e1e8e3;
|
||||
--primary: #28664f;
|
||||
--primary-ink: #ffffff;
|
||||
--primary-soft: #eef1fd;
|
||||
--primary-soft: #eaf3ed;
|
||||
--ok: #12805c;
|
||||
--ok-soft: #e2f5ec;
|
||||
--warn: #b45309;
|
||||
--warn-soft: #fdf1e0;
|
||||
--bad: #b42323;
|
||||
--bad-soft: #fdeaea;
|
||||
--radius: 14px;
|
||||
--shadow: 0 1px 2px rgba(17, 24, 39, .05), 0 8px 24px -12px rgba(17, 24, 39, .12);
|
||||
--radius: 12px;
|
||||
--shadow: 0 2px 5px rgba(35, 64, 48, .025);
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
@@ -26,7 +26,7 @@ html, body {
|
||||
padding: 0;
|
||||
background: var(--bg);
|
||||
color: var(--ink);
|
||||
font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
|
||||
font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
|
||||
font-size: 15px;
|
||||
line-height: 1.55;
|
||||
}
|
||||
@@ -44,7 +44,7 @@ input, select, textarea {
|
||||
padding: 9px 12px;
|
||||
outline: none;
|
||||
}
|
||||
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(67, 97, 238, .15); }
|
||||
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 {
|
||||
@@ -54,11 +54,11 @@ textarea { width: 100%; resize: vertical; }
|
||||
border-radius: 10px;
|
||||
padding: 9px 16px;
|
||||
font-weight: 500;
|
||||
transition: .15s;
|
||||
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 { filter: brightness(1.08); color: #fff; }
|
||||
.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; }
|
||||
@@ -72,19 +72,18 @@ textarea { width: 100%; resize: vertical; }
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 50;
|
||||
background: rgba(255, 255, 255, .92);
|
||||
backdrop-filter: blur(8px);
|
||||
background: var(--card);
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
.topbar-inner {
|
||||
max-width: 1080px;
|
||||
max-width: 1160px;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 18px;
|
||||
padding: 10px 20px;
|
||||
gap: 28px;
|
||||
padding: 16px 28px;
|
||||
}
|
||||
.brand { font-weight: 700; font-size: 17px; white-space: nowrap; }
|
||||
.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);
|
||||
@@ -100,7 +99,7 @@ textarea { width: 100%; resize: vertical; }
|
||||
.menu-toggle { display: none; background: none; border: none; font-size: 20px; }
|
||||
|
||||
/* ---------- 布局 ---------- */
|
||||
.container { max-width: 1080px; margin: 0 auto; padding: 24px 20px 60px; }
|
||||
.container { max-width: 1160px; margin: 0 auto; padding: 40px 28px 72px; }
|
||||
.container.narrow { max-width: 640px; }
|
||||
.page-head {
|
||||
display: flex;
|
||||
@@ -108,24 +107,25 @@ textarea { width: 100%; resize: vertical; }
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 16px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
.page-head h2 { margin: 0 0 2px; font-size: 22px; }
|
||||
.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: 8px; flex-wrap: wrap; }
|
||||
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
|
||||
.filters input, .filters select { min-width: 130px; }
|
||||
|
||||
.stats-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
|
||||
.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 {
|
||||
background: var(--card);
|
||||
border: 1px solid var(--line);
|
||||
border-radius: var(--radius);
|
||||
padding: 10px 16px;
|
||||
flex: 1;
|
||||
min-width: 96px;
|
||||
box-shadow: var(--shadow);
|
||||
padding: 0 24px;
|
||||
border-right: 1px solid var(--line);
|
||||
}
|
||||
.stat b { display: block; font-size: 20px; }
|
||||
.stat span { color: var(--muted); font-size: 12px; }
|
||||
.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 {
|
||||
@@ -141,18 +141,19 @@ textarea { width: 100%; resize: vertical; }
|
||||
.chip.active:hover { color: #fff; }
|
||||
|
||||
/* ---------- 卡片列表 ---------- */
|
||||
.card-list { display: flex; flex-direction: column; gap: 12px; }
|
||||
.card-list { display: flex; flex-direction: column; gap: 16px; }
|
||||
.acard {
|
||||
background: var(--card);
|
||||
border: 1px solid var(--line);
|
||||
border-radius: var(--radius);
|
||||
padding: 16px 18px;
|
||||
padding: 24px 26px;
|
||||
box-shadow: var(--shadow);
|
||||
transition: .15s;
|
||||
transition: border-color .18s ease-out, background-color .18s ease-out, box-shadow .18s ease-out;
|
||||
}
|
||||
.acard:hover { border-color: #c9d4f5; }
|
||||
.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: 17px; cursor: pointer; }
|
||||
.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; }
|
||||
@@ -165,7 +166,7 @@ textarea { width: 100%; resize: vertical; }
|
||||
flex-wrap: wrap;
|
||||
margin-top: 12px;
|
||||
padding-top: 12px;
|
||||
border-top: 1px dashed var(--line);
|
||||
border-top: 1px solid var(--line);
|
||||
}
|
||||
.faces { display: flex; align-items: center; }
|
||||
.face {
|
||||
@@ -197,9 +198,9 @@ textarea { width: 100%; resize: vertical; }
|
||||
font-weight: 500;
|
||||
}
|
||||
.tag.cat { background: var(--primary-soft); color: var(--primary); }
|
||||
.tag.pub { background: #e9f0fb; color: #275bd6; }
|
||||
.tag.pub { background: #f0f4f1; color: #56705e; }
|
||||
.tag.pri { background: #f0e9fb; color: #6d3fc0; }
|
||||
.tag.joined { background: #e8f1fd; color: #1d5bbf; }
|
||||
.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); }
|
||||
@@ -217,16 +218,16 @@ textarea { width: 100%; resize: vertical; }
|
||||
padding: 16px;
|
||||
box-shadow: var(--shadow);
|
||||
cursor: pointer;
|
||||
transition: .15s;
|
||||
transition: border-color .18s ease-out, background-color .18s ease-out, box-shadow .18s ease-out;
|
||||
}
|
||||
.mcard:hover { border-color: #c9d4f5; transform: translateY(-2px); }
|
||||
.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: linear-gradient(135deg, #4361ee, #7c3aed);
|
||||
color: #fff;
|
||||
background: #e5efe8;
|
||||
color: var(--primary);
|
||||
font-weight: 600;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -258,24 +259,24 @@ textarea { width: 100%; resize: vertical; }
|
||||
.profile-header p { margin: 3px 0 0; }
|
||||
|
||||
/* ---------- 认证页 ---------- */
|
||||
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
|
||||
.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: 400px;
|
||||
max-width: 420px;
|
||||
background: var(--card);
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 18px;
|
||||
padding: 32px 28px;
|
||||
border-radius: 20px;
|
||||
padding: 36px 32px;
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
.auth-title { margin: 0; font-size: 24px; text-align: center; }
|
||||
.auth-sub { text-align: center; color: var(--muted); margin: 6px 0 18px; font-size: 13px; }
|
||||
.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: 1px solid var(--line); background: #fff; color: var(--muted); border-radius: 9px; padding: 8px; }
|
||||
.auth-mode.active { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); font-weight: 600; }
|
||||
.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; }
|
||||
@@ -287,13 +288,14 @@ form input, form select, form textarea, .form-card input, .form-card select { wi
|
||||
.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; margin-top: 0; }
|
||||
.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: 14px; }
|
||||
.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; }
|
||||
.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; }
|
||||
@@ -341,7 +343,7 @@ form input, form select, form textarea, .form-card input, .form-card select { wi
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 8px 0;
|
||||
border-top: 1px dashed var(--line);
|
||||
border-top: 1px solid var(--line);
|
||||
font-size: 14px;
|
||||
}
|
||||
.p-list li:first-child { border-top: none; }
|
||||
@@ -394,15 +396,15 @@ form input, form select, form textarea, .form-card input, .form-card select { wi
|
||||
}
|
||||
#nav.open { display: flex; }
|
||||
.menu-toggle { display: block; margin-left: auto; }
|
||||
.topbar-user { display: none; }
|
||||
#new-activity-btn { display: none; }
|
||||
.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: #f9fafb; color: #6b7280; font-weight: 600; font-size: 13px; }
|
||||
#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; }
|
||||
|
||||
@@ -429,3 +431,110 @@ form input, form select, form textarea, .form-card input, .form-card select { wi
|
||||
}
|
||||
#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)); }
|
||||
.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; }
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user