fix: tetratto utility class names

This commit is contained in:
trisua 2025-08-03 23:25:39 -04:00
parent 15b417c6d6
commit e5ff863e94
7 changed files with 21 additions and 21 deletions

View file

@ -125,7 +125,7 @@ nav {
padding: 0; padding: 0;
} }
.flex-collapse-rev { .flex_collapse_rev {
flex-direction: column-reverse !important; flex-direction: column-reverse !important;
} }
} }
@ -180,7 +180,7 @@ video {
color: var(--color-text); color: var(--color-text);
} }
.card-nest .card:nth-child(1) { .card_nest .card:nth-child(1) {
background: var(--color-super-raised); background: var(--color-super-raised);
padding: var(--pad-2) var(--pad-4); padding: var(--pad-2) var(--pad-4);
} }

View file

@ -4,7 +4,7 @@
(link ("rel" "icon") ("href" "/public/favicon.svg")) (link ("rel" "icon") ("href" "/public/favicon.svg"))
(text "{% endblock %} {% block body %}") (text "{% endblock %} {% block body %}")
(div (div
("class" "flex items-center bar") ("class" "flex items_center bar")
(button (button
("class" "button tab_button") ("class" "button tab_button")
("id" "editor_tab_button") ("id" "editor_tab_button")
@ -39,11 +39,11 @@
("id" "metadata_tab") ("id" "metadata_tab")
("class" "tab fadein hidden"))) ("class" "tab fadein hidden")))
(form (form
("class" "w-full flex flex-col gap-2") ("class" "w-full flex flex-col gap_2")
("style" "margin-top: var(--pad-2)") ("style" "margin-top: var(--pad-2)")
("onsubmit" "edit_entry(event)") ("onsubmit" "edit_entry(event)")
(div (div
("class" "w-full flex gap-2") ("class" "w-full flex gap_2")
(input (input
("class" "w-full") ("class" "w-full")
("type" "text") ("type" "text")
@ -54,7 +54,7 @@
(input ("class" "w-full") ("style" "visibility: hidden") ("aria-hidden" "true") ("disabled" "true")) (input ("class" "w-full") ("style" "visibility: hidden") ("aria-hidden" "true") ("disabled" "true"))
(input ("class" "w-full") ("style" "visibility: hidden") ("aria-hidden" "true") ("disabled" "true"))) (input ("class" "w-full") ("style" "visibility: hidden") ("aria-hidden" "true") ("disabled" "true")))
(div (div
("class" "flex gap-2") ("class" "flex gap_2")
(input (input
("class" "w-full") ("class" "w-full")
("type" "text") ("type" "text")
@ -75,9 +75,9 @@
("oninput" "check_exists_input(event)") ("oninput" "check_exists_input(event)")
("placeholder" "New url"))) ("placeholder" "New url")))
(div (div
("class" "w-full flex justify-between gap-2") ("class" "w-full flex justify_between gap_2")
(div (div
("class" "flex gap-2") ("class" "flex gap_2")
(button (button
("class" "button green") ("class" "button green")
(text "Save")) (text "Save"))

View file

@ -7,7 +7,7 @@
(link ("rel" "icon") ("href" "/public/favicon.svg")) (link ("rel" "icon") ("href" "/public/favicon.svg"))
(text "{% endblock %} {% block body %}") (text "{% endblock %} {% block body %}")
(div (div
("class" "flex items-center bar") ("class" "flex items_center bar")
(button (button
("class" "button tab_button") ("class" "button tab_button")
("id" "editor_tab_button") ("id" "editor_tab_button")
@ -42,14 +42,14 @@
("id" "metadata_tab") ("id" "metadata_tab")
("class" "tab fadein hidden"))) ("class" "tab fadein hidden")))
(form (form
("class" "w-full flex justify-between gap-2 flex-collapse-rev") ("class" "w-full flex justify_between gap_2 flex_collapse_rev")
("style" "margin-top: var(--pad-2)") ("style" "margin-top: var(--pad-2)")
("onsubmit" "create_entry(event)") ("onsubmit" "create_entry(event)")
(button (button
("class" "button") ("class" "button")
(text "Go")) (text "Go"))
(div (div
("class" "flex gap-2") ("class" "flex gap_2")
(input (input
("class" "w-full") ("class" "w-full")
("type" "text") ("type" "text")

View file

@ -4,16 +4,16 @@
(link ("rel" "icon") ("href" "/public/favicon.svg")) (link ("rel" "icon") ("href" "/public/favicon.svg"))
(text "{% endblock %} {% block body %}") (text "{% endblock %} {% block body %}")
(main (main
("class" "card-nest") ("class" "card_nest")
(div (div
("class" "card flex items-center gap-2 no_fill") ("class" "card flex items_center gap_2 no_fill")
(text "{{ icon \"lock\" }}") (text "{{ icon \"lock\" }}")
(b (text "Password required"))) (b (text "Password required")))
(form (form
("class" "card flex flex-col gap-2") ("class" "card flex flex-col gap_2")
("onsubmit" "use_password(event)") ("onsubmit" "use_password(event)")
(div (div
("class" "flex flex-collapse gap-2") ("class" "flex flex-collapse gap_2")
(input (input
("class" "surface") ("class" "surface")
("required" "") ("required" "")

View file

@ -22,7 +22,7 @@
(body (body
; nav ; nav
(nav (nav
("class" "flex w-full justify-between gap-2") ("class" "flex w-full justify_between gap_2")
(div (div
("class" "flex side") ("class" "flex side")
(div (div

View file

@ -15,14 +15,14 @@
(text "{% endblock %} {% block body %}") (text "{% endblock %} {% block body %}")
(div (div
("class" "flex flex-col gap-2") ("class" "flex flex-col gap_2")
(div (div
("class" "card container") ("class" "card container")
("id" "content_rect") ("id" "content_rect")
("style" "min-height: 15rem") ("style" "min-height: 15rem")
(text "{{ entry.content|markdown|safe }}")) (text "{{ entry.content|markdown|safe }}"))
(div (div
("class" "w-full flex justify-between gap-2") ("class" "w-full flex justify_between gap_2")
(a (a
("class" "button") ("class" "button")
("href" "/{{ entry.slug }}/edit{% if password -%} ?key={{ password }} {%- endif %}") ("href" "/{{ entry.slug }}/edit{% if password -%} ?key={{ password }} {%- endif %}")

View file

@ -21,9 +21,9 @@
(div (text "{{ metadata.safety_content_warning|markdown|safe }}")) (div (text "{{ metadata.safety_content_warning|markdown|safe }}"))
(hr) (hr)
(div (div
("class" "flex flex-col gap-4") ("class" "flex flex-col gap_4")
(label (label
("class" "flex flex-row gap-2 items-center") ("class" "flex flex-row gap_2 items_center")
("for" "open_in_high_contrast") ("for" "open_in_high_contrast")
(input (input
("type" "checkbox") ("type" "checkbox")
@ -31,7 +31,7 @@
("name" "open_in_high_contrast")) ("name" "open_in_high_contrast"))
(span (text "Open in high contrast"))) (span (text "Open in high contrast")))
(div (div
("class" "flex gap-2") ("class" "flex gap_2")
(button (button
("class" "button surface green") ("class" "button surface green")
("onclick" "accept()") ("onclick" "accept()")