[OCaml] High Intensity Training Online
feat use brass for secondary buttons
Recolour the secondary submit control from oxblood/rule-strong to brass, so the lower-emphasis action reads as brass beside the oxblood primary submit.
Changed files
ENHANCEMENTS.org
@@ -19,7 +19,7 @@
19
19
Add animations to the routine accordions.
20
20
** DONE Style workout accordions with CSS
21
21
Style the workout accordions with CSS.
22
Removed:
** TODO Use brass for secondary buttons
22
Added:
** DONE Use brass for secondary buttons
23
23
Use a secondary brass color for secondary buttons.
24
24
** TODO Replace history with a logbook endpoint
25
25
Replace the history endpoint with a logbook endpoint that shows all recorded evidence for the user.
lib/web/assets/hito.css
@@ -258,16 +258,16 @@
258
258
}
259
259
260
260
/* A secondary submit: a lower-emphasis action next to the primary one. It reads
261
Removed:
as a receding, outlined control so the primary submit stays the obvious
261
Added:
as a receding, brass-outlined control so the primary submit stays the obvious
262
262
choice. Used for "Cancel logging" beside "Finish workout". */
263
263
input[type="submit"].secondary {
264
Removed:
color: var(--oxblood-dark);
264
Added:
color: var(--brass);
265
265
background: transparent;
266
Removed:
border-color: var(--rule-strong);
266
Added:
border-color: var(--brass);
267
267
}
268
268
input[type="submit"].secondary:hover {
269
269
color: var(--paper-raised);
270
Removed:
background: var(--rule-strong);
270
Added:
background: var(--brass);
271
271
}
272
272
273
273
/* Keeps the finish and cancel controls together as equal-width actions. */