Complete TASK-016 dark theme and persistent testtask candidate
This commit is contained in:
+154
-68
@@ -1,87 +1,120 @@
|
||||
/* TASK-016: one document theme, independent of OS preference. */
|
||||
:root, [data-bs-theme="dark"] {
|
||||
--surface-page: #101914;
|
||||
--surface-panel: #18251e;
|
||||
--surface-card: #1d2d24;
|
||||
--surface-input: #111c16;
|
||||
--surface-selected: #294332;
|
||||
--surface-hover: #304b39;
|
||||
--surface-success: #253e2a;
|
||||
--surface-warning: #40351b;
|
||||
--text-primary: #e8f1e9;
|
||||
--text-secondary: #b5c8b9;
|
||||
--text-error: #ffb4a9;
|
||||
--text-warning: #f5d68d;
|
||||
--accent: #b9df88;
|
||||
--on-accent: #173020;
|
||||
--border-subtle: #3d5446;
|
||||
--border-control: #708a78;
|
||||
--focus: #d3ed8c;
|
||||
--numeric-width: 5.25rem;
|
||||
--bs-body-bg: var(--surface-page);
|
||||
--bs-body-color: var(--text-primary);
|
||||
--bs-secondary-color: var(--text-secondary);
|
||||
--bs-emphasis-color: var(--text-primary);
|
||||
--bs-secondary-bg: var(--surface-panel);
|
||||
--bs-tertiary-bg: var(--surface-card);
|
||||
--bs-border-color: var(--border-control);
|
||||
--bs-link-color: var(--accent);
|
||||
--bs-link-hover-color: var(--focus);
|
||||
--bs-focus-ring-color: var(--focus);
|
||||
}
|
||||
|
||||
:root {
|
||||
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
||||
color: #202923;
|
||||
background: #f4f1ea;
|
||||
color: var(--text-primary);
|
||||
color-scheme: dark;
|
||||
background: var(--surface-page);
|
||||
}
|
||||
body { min-width: 320px; margin: 0; }
|
||||
body { min-width: 320px; margin: 0; background: var(--surface-page); color: var(--text-primary); }
|
||||
button { font: inherit; }
|
||||
.app-shell { min-height: 100vh; background: #f4f1ea; }
|
||||
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 10; padding: .6rem 1rem; background: #fff; color: #173d32; }
|
||||
.app-shell { min-height: 100vh; background: var(--surface-page); }
|
||||
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 30; padding: .6rem 1rem; background: var(--surface-panel); color: var(--accent); }
|
||||
.skip-link:focus { top: .5rem; }
|
||||
.site-header { position: sticky; top: 0; z-index: 20; min-height: 92px; background: #173d32; color: #fff; }
|
||||
.site-header { position: sticky; top: 0; z-index: 20; min-height: 92px; background: var(--surface-selected); color: var(--text-primary); }
|
||||
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
|
||||
.brand, .brand:hover, .brand:focus { display: inline-flex; align-items: center; gap: .75rem; color: #fff; font-size: 1.1rem; font-weight: 700; letter-spacing: -.02em; text-decoration: none; }
|
||||
.brand-mark { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; background: #d6ec77; color: #173d32; font-weight: 800; }
|
||||
.header-note { color: #d0e3db; font-size: .875rem; }
|
||||
.brand, .brand:hover, .brand:focus { display: inline-flex; align-items: center; gap: .75rem; color: var(--text-primary); font-size: 1.1rem; font-weight: 700; letter-spacing: -.02em; text-decoration: none; }
|
||||
.brand-mark { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; background: var(--accent); color: var(--on-accent); font-weight: 800; }
|
||||
.header-note { color: var(--text-secondary); font-size: .875rem; }
|
||||
.header-trailing { display: flex; align-items: center; gap: 1.5rem; }
|
||||
.wall-clock { display: flex; flex-direction: column; align-items: flex-end; color: #e1eae4; font-size: .8rem; white-space: nowrap; }
|
||||
.wall-clock time { color: #fff; font-size: clamp(1.65rem, 2.4vw, 2.2rem); font-variant-numeric: tabular-nums; font-weight: 800; letter-spacing: .02em; line-height: 1.15; }
|
||||
.wall-clock { display: flex; flex-direction: column; align-items: flex-end; color: var(--text-secondary); font-size: .8rem; white-space: nowrap; }
|
||||
.wall-clock time { color: var(--text-primary); font-size: clamp(1.65rem, 2.4vw, 2.2rem); font-variant-numeric: tabular-nums; font-weight: 800; letter-spacing: .02em; line-height: 1.15; }
|
||||
.page-content { padding-top: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: 3rem; }
|
||||
.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; }
|
||||
.eyebrow, .panel-kicker { color: #476656; font-size: .73rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
|
||||
.eyebrow, .panel-kicker { color: var(--text-secondary); font-size: .73rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
|
||||
h1 { margin: .25rem 0 .55rem; font-size: clamp(2.2rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -.045em; }
|
||||
.intro { margin: 0; color: #5b685f; font-size: 1.03rem; }
|
||||
.local-badge { flex: 0 0 auto; margin-bottom: .25rem; padding: .45rem .75rem; border: 1px solid #bbccc0; border-radius: 999px; color: #315847; font-size: .8rem; font-weight: 600; }
|
||||
.section-nav { display: flex; flex-wrap: wrap; gap: .2rem; margin: 1.7rem 0 1.25rem; padding-bottom: .55rem; border-bottom: 1px solid #d4dcd4; }
|
||||
.section-link.btn { min-height: 44px; padding: .55rem 1rem; border-radius: 8px; color: #445e50; font-weight: 650; text-decoration: none; }
|
||||
.section-link.btn:hover { background: #e6ebe2; color: #173d32; }
|
||||
.section-link.btn[aria-current="page"] { background: #173d32; color: #fff; }
|
||||
.section-link.btn:focus-visible, .brand:focus-visible, .period-switch .btn:focus-visible, .week-controls .btn:focus-visible, .day-button.btn:focus-visible, .strength-entry button:focus-visible, .strength-entry input:focus-visible { outline: 3px solid #9fc45c; outline-offset: 3px; }
|
||||
.content-panel { display: flex; align-items: flex-start; gap: 1.5rem; min-height: 280px; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid #e0e5dd; border-radius: 20px; background: #fff; box-shadow: 0 14px 36px rgba(22, 54, 43, .045); }
|
||||
.panel-icon { display: grid; flex: 0 0 56px; width: 56px; height: 56px; place-items: center; border-radius: 16px; background: #e8efd9; color: #315847; font-size: 2rem; line-height: 1; }
|
||||
.intro { margin: 0; color: var(--text-secondary); font-size: 1.03rem; }
|
||||
.local-badge { flex: 0 0 auto; margin-bottom: .25rem; padding: .45rem .75rem; border: 1px solid var(--border-control); border-radius: 999px; color: var(--accent); font-size: .8rem; font-weight: 600; }
|
||||
.section-nav { display: flex; flex-wrap: wrap; gap: .2rem; margin: 1.7rem 0 1.25rem; padding-bottom: .55rem; border-bottom: 1px solid var(--border-subtle); }
|
||||
.section-link.btn { min-height: 44px; padding: .55rem 1rem; border-radius: 8px; color: var(--text-secondary); font-weight: 650; text-decoration: none; }
|
||||
.section-link.btn:hover { background: var(--surface-hover); color: var(--text-primary); }
|
||||
.section-link.btn[aria-current="page"] { background: var(--surface-selected); color: var(--text-primary); }
|
||||
.section-link.btn:focus-visible, .brand:focus-visible, .period-switch .btn:focus-visible, .week-controls .btn:focus-visible, .day-button.btn:focus-visible, .strength-entry button:focus-visible, .strength-entry input:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
|
||||
.content-panel { display: flex; align-items: flex-start; gap: 1.5rem; min-height: 280px; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--border-subtle); border-radius: 20px; background: var(--surface-panel); box-shadow: 0 14px 36px rgba(22, 54, 43, .045); }
|
||||
.panel-icon { display: grid; flex: 0 0 56px; width: 56px; height: 56px; place-items: center; border-radius: 16px; background: var(--surface-selected); color: var(--accent); font-size: 2rem; line-height: 1; }
|
||||
.content-panel h2 { margin: .4rem 0 .7rem; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.03em; }
|
||||
.content-panel p:last-child { max-width: 48ch; color: #5b685f; line-height: 1.6; }
|
||||
.shell-note { margin: 1rem 0; color: #627067; font-size: .875rem; }
|
||||
.content-panel p:last-child { max-width: 48ch; color: var(--text-secondary); line-height: 1.6; }
|
||||
.shell-note { margin: 1rem 0; color: var(--text-secondary); font-size: .875rem; }
|
||||
|
||||
.routine-view { max-width: 1100px; }
|
||||
.period-switch { display: inline-flex; padding: 4px; border: 1px solid #c8d4c9; border-radius: 12px; background: #e9ede6; }
|
||||
.period-switch .btn { min-width: 118px; min-height: 44px; border-radius: 8px; color: #365548; font-weight: 700; text-decoration: none; }
|
||||
.period-switch .btn[aria-pressed="true"] { background: #173d32; color: #fff; }
|
||||
.period-switch .btn:hover:not([aria-pressed="true"]) { background: #dce5da; }
|
||||
.period-switch { display: inline-flex; padding: 4px; border: 1px solid var(--border-control); border-radius: 12px; background: var(--surface-panel); }
|
||||
.period-switch .btn { min-width: 118px; min-height: 44px; border-radius: 8px; color: var(--text-secondary); font-weight: 700; text-decoration: none; }
|
||||
.period-switch .btn[aria-pressed="true"] { background: var(--surface-selected); color: var(--text-primary); }
|
||||
.period-switch .btn:hover:not([aria-pressed="true"]) { background: var(--surface-hover); }
|
||||
.week-controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .5rem; margin: 1.25rem 0 .55rem; }
|
||||
.week-controls .btn { min-height: 44px; padding: .35rem .5rem; color: #315847; font-weight: 700; text-decoration: none; }
|
||||
.week-controls .btn { min-height: 44px; padding: .35rem .5rem; color: var(--accent); font-weight: 700; text-decoration: none; }
|
||||
.week-controls .btn:first-child { justify-self: start; }
|
||||
.week-controls .btn:last-child { justify-self: end; }
|
||||
.week-range { color: #52665a; font-size: .9rem; font-weight: 650; text-align: center; }
|
||||
.week-range { color: var(--text-secondary); font-size: .9rem; font-weight: 650; text-align: center; }
|
||||
.day-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .5rem; margin-bottom: 1.25rem; }
|
||||
.day-button.btn { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 68px; padding: .4rem .2rem; border: 1px solid #d6dfd4; border-radius: 12px; background: #fff; color: #3d5e4d; text-decoration: none; }
|
||||
.day-button.btn { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 68px; padding: .4rem .2rem; border: 1px solid var(--border-control); border-radius: 12px; background: var(--surface-panel); color: var(--text-secondary); text-decoration: none; }
|
||||
.day-button span { font-size: .78rem; font-weight: 650; }
|
||||
.day-button strong { font-size: 1.15rem; }
|
||||
.day-button.btn:hover { border-color: #819e86; background: #ecf1e8; }
|
||||
.day-button.btn[aria-pressed="true"] { border-color: #173d32; background: #173d32; color: #fff; }
|
||||
.routine-panel { padding: clamp(1.15rem, 2.8vw, 2rem); border: 1px solid #e0e5dd; border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(22, 54, 43, .04); }
|
||||
.day-button.btn:hover { border-color: var(--accent); background: var(--surface-hover); }
|
||||
.day-button.btn[aria-pressed="true"] { border-color: var(--accent); background: var(--surface-selected); color: var(--text-primary); }
|
||||
.routine-panel { padding: clamp(1.15rem, 2.8vw, 2rem); border: 1px solid var(--border-subtle); border-radius: 18px; background: var(--surface-panel); box-shadow: 0 10px 30px rgba(22, 54, 43, .04); }
|
||||
.routine-heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
|
||||
.routine-heading .panel-kicker { margin: 0 0 .35rem; }
|
||||
.routine-heading h2 { margin: 0; font-size: clamp(1.5rem, 2.8vw, 2rem); letter-spacing: -.03em; }
|
||||
.session-count { flex: 0 0 auto; padding: .35rem .65rem; border-radius: 999px; background: #eaf0e3; color: #315847; font-size: .8rem; font-weight: 700; }
|
||||
.session-guidance { margin: .8rem 0 0; color: #53675a; line-height: 1.5; }
|
||||
.session-count { flex: 0 0 auto; padding: .35rem .65rem; border-radius: 999px; background: var(--surface-selected); color: var(--accent); font-size: .8rem; font-weight: 700; }
|
||||
.session-guidance { margin: .8rem 0 0; color: var(--text-secondary); line-height: 1.5; }
|
||||
.exercise-list { display: grid; gap: .65rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
|
||||
.exercise-card { display: flex; align-items: flex-start; gap: .9rem; padding: .9rem 1rem; border: 1px solid #e2e8e0; border-radius: 12px; background: #fbfcf9; }
|
||||
.exercise-number { display: grid; flex: 0 0 30px; height: 30px; place-items: center; border-radius: 50%; background: #e8efd9; color: #315847; font-size: .8rem; font-weight: 800; }
|
||||
.exercise-card { display: flex; align-items: flex-start; gap: .9rem; padding: .9rem 1rem; border: 1px solid var(--border-subtle); border-radius: 12px; background: var(--surface-card); }
|
||||
.exercise-number { display: grid; flex: 0 0 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--surface-selected); color: var(--accent); font-size: .8rem; font-weight: 800; }
|
||||
.exercise-copy { min-width: 0; flex: 1; }
|
||||
.exercise-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
|
||||
.exercise-title-row h3 { margin: 0; font-size: 1.05rem; line-height: 1.35; }
|
||||
.optional-tag { padding: .12rem .4rem; border-radius: 999px; background: #f4eecf; color: #66521e; font-size: .72rem; font-weight: 700; }
|
||||
.prescription { margin: .3rem 0 0; color: #315847; font-weight: 700; }
|
||||
.exercise-meta { margin: .25rem 0 0; color: #5f6c62; font-size: .86rem; line-height: 1.4; }
|
||||
.strength-entry { display: grid; justify-items: start; gap: .55rem; margin-top: .8rem; padding-top: .8rem; border-top: 1px solid #e2e8e0; }
|
||||
.strength-entry > strong { color: #315847; font-size: .88rem; }
|
||||
.optional-tag { padding: .12rem .4rem; border-radius: 999px; background: var(--surface-warning); color: var(--text-warning); font-size: .72rem; font-weight: 700; }
|
||||
.prescription { margin: .3rem 0 0; color: var(--accent); font-weight: 700; }
|
||||
.exercise-meta { margin: .25rem 0 0; color: var(--text-secondary); font-size: .86rem; line-height: 1.4; }
|
||||
.strength-entry { display: grid; justify-items: start; gap: .55rem; margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--border-subtle); }
|
||||
.strength-entry > strong { color: var(--accent); font-size: .88rem; }
|
||||
.strength-fields, .strength-set { display: flex; flex-wrap: wrap; align-items: end; gap: .55rem; }
|
||||
.strength-set > span { align-self: center; min-width: 3rem; color: #52665a; font-size: .84rem; font-weight: 700; }
|
||||
.strength-entry label { display: grid; gap: .2rem; color: #52665a; font-size: .8rem; font-weight: 650; }
|
||||
.strength-entry input { width: 7rem; min-height: 38px; padding: .3rem .45rem; border: 1px solid #b6c7b8; border-radius: 6px; color: #254838; }
|
||||
.strength-set > span { align-self: center; min-width: 3rem; color: var(--text-secondary); font-size: .84rem; font-weight: 700; }
|
||||
.strength-entry label { display: grid; gap: .2rem; color: var(--text-secondary); font-size: .8rem; font-weight: 650; }
|
||||
.strength-entry input { width: var(--numeric-width); max-width: 100%; min-height: 38px; padding: .3rem .45rem; border: 1px solid var(--border-control); border-radius: 6px; color: var(--text-primary); }
|
||||
.strength-entry button { min-height: 38px; }
|
||||
.strength-actions { display: flex; align-items: center; gap: .7rem; }
|
||||
.strength-actions span { color: #315847; font-size: .84rem; font-weight: 700; }
|
||||
.strength-entry small { color: #657468; }
|
||||
.strength-error { margin: 0; color: #9b3126; font-size: .84rem; }
|
||||
.strength-actions span { color: var(--accent); font-size: .84rem; font-weight: 700; }
|
||||
.strength-entry small { color: var(--text-secondary); }
|
||||
.strength-error { margin: 0; color: var(--text-error); font-size: .84rem; }
|
||||
.hang-goal-editor { margin-top: .65rem; }
|
||||
.hang-goal-editor form { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
|
||||
.hang-goal-editor label { color: #53675a; font-size: .82rem; font-weight: 650; }
|
||||
.hang-goal-editor input { width: 5.5rem; min-height: 38px; padding: .3rem .45rem; border: 1px solid #b6c7b8; border-radius: 6px; color: #254838; }
|
||||
.hang-goal-editor label { color: var(--text-secondary); font-size: .82rem; font-weight: 650; }
|
||||
.hang-goal-editor input { width: var(--numeric-width); max-width: 100%; min-height: 38px; padding: .3rem .45rem; border: 1px solid var(--border-control); border-radius: 6px; color: var(--text-primary); }
|
||||
.hang-goal-editor .btn { min-height: 38px; }
|
||||
.hang-goal-editor p { margin: .35rem 0 0; font-size: .82rem; }
|
||||
.hang-goal-editor .goal-error { color: #9b3126; }
|
||||
.hang-goal-editor .goal-error { color: var(--text-error); }
|
||||
|
||||
@media (max-width: 575px) {
|
||||
.site-header { min-height: 80px; }
|
||||
@@ -108,29 +141,29 @@ h1 { margin: .25rem 0 .55rem; font-size: clamp(2.2rem, 4vw, 3.25rem); line-heigh
|
||||
}
|
||||
|
||||
/* TASK-015: scoped logging layout; existing visual language retained. */
|
||||
.performance-entry { margin-top: .8rem; padding-top: .65rem; border-top: 1px solid #e2e8e0; }
|
||||
.performance-entry { margin-top: .8rem; padding-top: .65rem; border-top: 1px solid var(--border-subtle); }
|
||||
.performance-toolbar, .performance-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
|
||||
.performance-toolbar { margin-bottom: .5rem; }
|
||||
.performance-toolbar strong { color: #315847; font-size: .88rem; }
|
||||
.performance-toolbar strong { color: var(--accent); font-size: .88rem; }
|
||||
.performance-rows { display: grid; gap: .45rem; }
|
||||
.performance-row, .performance-head { display: grid; grid-template-columns: 4.8rem repeat(var(--fields), minmax(0, 1fr)); align-items: end; gap: .5rem; }
|
||||
.performance-head { color: #52665a; font-size: .76rem; font-weight: 650; margin-bottom: .25rem; }
|
||||
.performance-row { padding: .45rem; border: 1px solid #e2e8e0; border-radius: 8px; }
|
||||
.performance-row.is-complete { border-color: #6c946c; background: #f0f5ec; }
|
||||
.performance-row label { min-width: 0; font-size: .8rem; color: #52665a; }
|
||||
.performance-row input[type=number] { width: 100%; min-width: 0; min-height: 40px; padding: .3rem .4rem; border: 1px solid #b6c7b8; border-radius: 6px; color: #254838; }
|
||||
.performance-row, .performance-head { display: grid; grid-template-columns: 4.8rem repeat(var(--fields), minmax(0, var(--numeric-width))); align-items: end; gap: .5rem; }
|
||||
.performance-head { padding-inline: .45rem; border-inline: 1px solid transparent; color: var(--text-secondary); font-size: .76rem; font-weight: 650; margin-bottom: .25rem; }
|
||||
.performance-row { padding: .45rem; border: 1px solid var(--border-subtle); border-radius: 8px; }
|
||||
.performance-row.is-complete { border-color: var(--border-control); background: var(--surface-success); }
|
||||
.performance-row label { min-width: 0; font-size: .8rem; color: var(--text-secondary); }
|
||||
.performance-row input[type=number] { width: var(--numeric-width); max-width: 100%; min-width: 0; min-height: 40px; padding: .3rem .4rem; border: 1px solid var(--border-control); border-radius: 6px; color: var(--text-primary); }
|
||||
.performance-row .field-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
|
||||
.row-number { align-self: center; font-size: .8rem; color: #52665a; }
|
||||
.row-number { align-self: center; font-size: .8rem; color: var(--text-secondary); }
|
||||
.performance-row .remove-row { grid-column: 1 / -1; justify-self: end; padding-block: .15rem; }
|
||||
.performance-actions { margin-top: .6rem; }
|
||||
.performance-status, .performance-summary { margin: .4rem 0 0; color: #52665a; font-size: .82rem; }
|
||||
.performance-status, .performance-summary { margin: .4rem 0 0; color: var(--text-secondary); font-size: .82rem; }
|
||||
.exercise-details, .legacy-entry { margin-top: .6rem; font-size: .85rem; overflow-wrap: anywhere; }
|
||||
.exercise-details p, .legacy-entry p { margin: .5rem 0; }
|
||||
.exercise-details summary, .legacy-entry summary { cursor: pointer; color: #315847; padding-block: .4rem; }
|
||||
.performance-entry button:focus-visible, .performance-entry input:focus-visible, .exercise-details summary:focus-visible, .legacy-entry summary:focus-visible { outline: 3px solid #9fc45c; outline-offset: 2px; }
|
||||
.exercise-details summary, .legacy-entry summary { cursor: pointer; color: var(--accent); padding-block: .4rem; }
|
||||
.performance-entry button:focus-visible, .performance-entry input:focus-visible, .exercise-details summary:focus-visible, .legacy-entry summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
|
||||
@media (max-width: 991px) {
|
||||
.performance-head { display: none; }
|
||||
.performance-row { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }
|
||||
.performance-row { grid-template-columns: repeat(2, minmax(0, var(--numeric-width))); align-items: end; }
|
||||
.performance-row .field-label { position: static; width: auto; height: auto; clip-path: none; display: block; }
|
||||
.row-number { grid-column: 1 / -1; }
|
||||
}
|
||||
@@ -142,9 +175,62 @@ h1 { margin: .25rem 0 .55rem; font-size: clamp(2.2rem, 4vw, 3.25rem); line-heigh
|
||||
.performance-actions { align-items: stretch; }
|
||||
}
|
||||
|
||||
.emom-total-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
|
||||
.emom-total-fields label { min-width: 0; font-size: .8rem; color: #52665a; }
|
||||
.emom-total-fields input { display: block; width: 100%; min-width: 0; min-height: 40px; padding: .3rem .4rem; border: 1px solid #b6c7b8; border-radius: 6px; color: #254838; }
|
||||
.emom-total-fields { display: grid; grid-template-columns: repeat(2, minmax(0, var(--numeric-width))); gap: .6rem; }
|
||||
.emom-total-fields label { min-width: 0; font-size: .8rem; color: var(--text-secondary); }
|
||||
.emom-total-fields input { display: block; width: var(--numeric-width); max-width: 100%; min-width: 0; min-height: 40px; padding: .3rem .4rem; border: 1px solid var(--border-control); border-radius: 6px; color: var(--text-primary); }
|
||||
@media (max-width: 360px) { .emom-total-fields { grid-template-columns: minmax(0, 1fr); } }
|
||||
|
||||
.recorded-sides { grid-column: 1 / -1; margin: .2rem 0; font-size: .8rem; color: #52665a; }
|
||||
.recorded-sides { grid-column: 1 / -1; margin: .2rem 0; font-size: .8rem; color: var(--text-secondary); }
|
||||
|
||||
/* Native controls and Bootstrap actions share the document palette. */
|
||||
.strength-entry input, .hang-goal-editor input,
|
||||
.performance-row input[type=number], .emom-total-fields input {
|
||||
background: var(--surface-input);
|
||||
color-scheme: dark;
|
||||
}
|
||||
.btn-primary {
|
||||
--bs-btn-color: var(--on-accent);
|
||||
--bs-btn-bg: var(--accent);
|
||||
--bs-btn-border-color: var(--accent);
|
||||
--bs-btn-hover-color: var(--on-accent);
|
||||
--bs-btn-hover-bg: var(--focus);
|
||||
--bs-btn-hover-border-color: var(--focus);
|
||||
--bs-btn-active-color: var(--on-accent);
|
||||
--bs-btn-active-bg: var(--focus);
|
||||
--bs-btn-active-border-color: var(--focus);
|
||||
}
|
||||
.btn-outline-secondary, .btn-outline-success {
|
||||
--bs-btn-color: var(--accent);
|
||||
--bs-btn-border-color: var(--border-control);
|
||||
--bs-btn-hover-color: var(--text-primary);
|
||||
--bs-btn-hover-bg: var(--surface-hover);
|
||||
--bs-btn-hover-border-color: var(--accent);
|
||||
--bs-btn-active-color: var(--text-primary);
|
||||
--bs-btn-active-bg: var(--surface-selected);
|
||||
--bs-btn-active-border-color: var(--accent);
|
||||
}
|
||||
.btn-link {
|
||||
--bs-btn-color: var(--accent);
|
||||
--bs-btn-hover-color: var(--focus);
|
||||
--bs-btn-active-color: var(--focus);
|
||||
}
|
||||
.btn:disabled, .strength-entry input:disabled, .hang-goal-editor input:disabled,
|
||||
.performance-row input[type=number]:disabled, .emom-total-fields input:disabled {
|
||||
opacity: 1;
|
||||
color: var(--text-secondary);
|
||||
background: var(--surface-panel);
|
||||
border-color: var(--border-control);
|
||||
cursor: not-allowed;
|
||||
}
|
||||
:where(a, button, input, summary):focus-visible {
|
||||
outline: 3px solid var(--focus);
|
||||
outline-offset: 3px;
|
||||
box-shadow: none;
|
||||
}
|
||||
.section-link.btn[aria-current="page"],
|
||||
.period-switch .btn[aria-pressed="true"],
|
||||
.day-button.btn[aria-pressed="true"] {
|
||||
box-shadow: inset 0 -3px 0 var(--accent);
|
||||
}
|
||||
.strength-actions, .strength-fields, .strength-set { flex-wrap: wrap; }
|
||||
.performance-head span, .performance-row label, .emom-total-fields label { overflow-wrap: anywhere; }
|
||||
|
||||
Reference in New Issue
Block a user