Work the design critique down: chapter format, colour law, search, strip, a11y #11
@@ -524,14 +524,17 @@ button { cursor: pointer; }
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
flex-wrap: wrap;
|
||||||
gap: 12px;
|
gap: 12px;
|
||||||
padding: 14px;
|
padding: 14px;
|
||||||
background: var(--danger-wash);
|
background: var(--danger-wash);
|
||||||
}
|
}
|
||||||
.confirm-row span { font: 400 17px var(--font-display); color: var(--danger-soft); }
|
/* The remove question names the series, so it has to be able to take the row
|
||||||
.confirm-row div { display: flex; gap: 8px; }
|
to itself and push the buttons onto their own line. */
|
||||||
|
.confirm-row span { flex: 1 1 16ch; font: 400 17px/1.3 var(--font-display); color: var(--danger-soft); }
|
||||||
|
.confirm-row div { display: flex; flex: none; gap: 12px; margin-left: auto; }
|
||||||
.confirm-row button {
|
.confirm-row button {
|
||||||
height: 40px;
|
height: 46px;
|
||||||
padding: 0 14px;
|
padding: 0 14px;
|
||||||
border: 1px solid var(--field-line);
|
border: 1px solid var(--field-line);
|
||||||
background: transparent;
|
background: transparent;
|
||||||
|
|||||||
@@ -122,7 +122,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
<div class="confirm-row" id="confirm-remove-{{.Key}}" role="group" aria-live="polite" hidden>
|
<div class="confirm-row" id="confirm-remove-{{.Key}}" role="group" aria-live="polite" hidden>
|
||||||
<span>Remove this?</span>
|
<span>Remove “{{.Title}}”? Chapter progress is lost.</span>
|
||||||
<div>
|
<div>
|
||||||
<button class="danger-solid"
|
<button class="danger-solid"
|
||||||
hx-delete="/ui/bookmarks/{{.Key}}"
|
hx-delete="/ui/bookmarks/{{.Key}}"
|
||||||
|
|||||||
Reference in New Issue
Block a user