add: forges ui

TODO: forges tickets feed, posts open/closed state
This commit is contained in:
trisua 2025-06-09 16:45:36 -04:00
parent 5b1db42c51
commit a6140f7c8c
40 changed files with 1664 additions and 1270 deletions

View file

@ -0,0 +1,344 @@
@import url("utility.css");
:root {
color-scheme: light dark;
--hue: 16;
--sat: 6%;
--lit: 0%;
--color-surface: hsl(var(--hue), var(--sat), calc(97% - var(--lit)));
--color-lowered: hsl(var(--hue), var(--sat), calc(94% - var(--lit)));
--color-raised: hsl(var(--hue), var(--sat), calc(99% - var(--lit)));
--color-super-lowered: hsl(var(--hue), var(--sat), calc(85% - var(--lit)));
--color-super-raised: hsl(var(--hue), var(--sat), calc(100% - var(--lit)));
--color-text: hsl(0, 0%, 0%);
--color-text-raised: var(--color-text);
--color-text-lowered: var(--color-text);
--color-primary: hsl(330, 18%, 26%);
--color-primary-lowered: hsl(330, 18%, 21%);
--color-text-primary: hsl(0, 0%, 100%);
--color-secondary: hsl(6, 18%, 66%);
--color-secondary-lowered: hsl(6, 18%, 61%);
--color-text-secondary: hsl(0, 0%, 0%);
--color-link: #2949b2;
--color-shadow: rgba(0, 0, 0, 0.08);
--color-red: hsl(0, 84%, 40%);
--color-green: hsl(100, 84%, 20%);
--color-yellow: hsl(41, 63%, 75%);
--radius: 6px;
--circle: 360px;
--shadow-x-offset: 0;
--shadow-y-offset: 0.125rem;
--shadow-size: var(--pad-1);
--pad-1: 0.25rem;
--pad-2: 0.5rem;
--pad-3: 0.75rem;
--pad-4: 1rem;
}
.dark,
.dark * {
--hue: 266;
--sat: 14%;
--lit: 12%;
--color-surface: hsl(var(--hue), var(--sat), calc(0% + var(--lit)));
--color-lowered: hsl(var(--hue), var(--sat), calc(6% + var(--lit)));
--color-raised: hsl(var(--hue), var(--sat), calc(2% + var(--lit)));
--color-super-lowered: hsl(var(--hue), var(--sat), calc(12% + var(--lit)));
--color-super-raised: hsl(var(--hue), var(--sat), calc(4% + var(--lit)));
--color-text: hsl(0, 0%, 95%);
--color-primary: hsl(331, 18%, 74%);
--color-primary-lowered: hsl(331, 18%, 69%);
--color-text-primary: hsl(0, 0%, 0%);
--color-secondary: hsl(6, 18%, 34%);
--color-secondary-lowered: hsl(6, 18%, 29%);
--color-text-secondary: hsl(0, 0%, 100%);
--color-link: #93c5fd;
--color-red: hsl(0, 94%, 82%);
--color-green: hsl(100, 94%, 82%);
--color-yellow: hsl(41, 63%, 65%);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html,
body {
line-height: 1.5;
letter-spacing: 0.15px;
font-family:
"Inter", "Poppins", "Roboto", ui-sans-serif, system-ui, sans-serif,
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
"Noto Color Emoji";
color: var(--color-text);
background: var(--color-surface);
overflow: auto auto;
height: 100dvh;
scroll-behavior: smooth;
overflow-x: hidden;
}
main {
width: 80ch;
margin: 0 auto;
padding: var(--pad-3) var(--pad-4);
}
article {
margin: var(--pad-4) 0;
}
@media screen and (max-width: 900px) {
main,
article,
nav,
header,
footer {
width: 100%;
}
article {
margin-top: 0;
}
main {
padding: 0;
}
body .card:not(.card *):not(#stream *):not(.user_plate),
body .pillmenu:not(.card *) > a,
body .card-nest:not(.card *) > .card,
body .banner {
border-radius: 0 !important;
}
}
.content_container {
margin: 0 auto;
width: 100%;
}
@media screen and (min-width: 500px) {
.content_container {
max-width: 540px;
}
}
@media (min-width: 768px) {
.content_container {
max-width: 720px;
}
}
@media (min-width: 900px) {
.content_container {
max-width: 960px;
}
@media (min-width: 1200px) {
article {
padding: 0;
}
.content_container {
max-width: 1100px;
}
}
}
video {
max-width: 100%;
border-radius: var(--radius);
}
/* typo */
p {
margin-bottom: var(--pad-4);
}
.no_p_margin p:last-child {
margin-bottom: 0;
}
.post_content pre,
.post_content h1,
.post_content h2,
.post_content h3 {
max-width: calc(100% - 39px - var(--pad-2));
}
.post_right:not(.repost) {
max-width: calc(100% - 52px);
}
.rhs {
width: 100% !important;
}
.name {
max-width: 250px;
overflow: hidden;
/* overflow-wrap: break-word; */
overflow-wrap: anywhere;
text-overflow: ellipsis;
}
@media screen and (min-width: 901px) {
.name.shorter {
max-width: 200px;
}
.name.lg\:long {
max-width: unset;
}
.rhs {
width: calc(100% - 23rem) !important;
}
}
ul,
ol {
margin-left: var(--pad-4);
}
pre,
code {
font-family: "Jetbrains Mono", "Fire Code", monospace;
width: 100%;
max-width: 100%;
overflow: auto;
background: var(--color-lowered);
border-radius: var(--radius);
padding: var(--pad-1);
font-size: 0.8rem;
}
pre {
padding: var(--pad-4);
}
svg.icon {
stroke: currentColor;
width: 18px;
width: 1em;
height: 1em;
}
svg.icon.filled {
fill: currentColor;
}
button svg {
pointer-events: none;
}
hr {
border-top: solid 1px var(--color-super-lowered) !important;
border-left: 0;
border-bottom: 0;
border-right: 0;
}
hr.margin {
margin: var(--pad-4) 0;
}
p,
li,
span,
code {
max-width: 100%;
overflow-wrap: normal;
text-wrap: pretty;
word-wrap: break-word;
overflow-wrap: anywhere;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0;
font-weight: 700;
width: -moz-max-content;
width: max-content;
position: relative;
max-width: 100%;
}
h1 {
font-size: 2rem;
}
h2 {
font-size: 1.75rem;
}
h3 {
font-size: 1.5rem;
}
h4 {
font-size: 1.25rem;
}
h5 {
font-size: var(--pad-4);
}
h6 {
font-size: var(--pad-3);
}
a {
text-decoration: none;
color: var(--color-link);
}
a.flush {
color: inherit;
}
a:hover {
text-decoration: underline;
}
.text-small {
font-size: 14px;
}
img {
display: inline;
max-width: 100%;
vertical-align: middle;
}
img.cover {
object-fit: cover;
}
img.fill {
object-fit: fill;
}
img.contain {
object-fit: contain;
}
img.emoji {
width: 1em;
height: 1em;
aspect-ratio: 1 / 1;
}

View file

@ -1,340 +1,4 @@
:root {
color-scheme: light dark;
--hue: 16;
--sat: 6%;
--lit: 0%;
--color-surface: hsl(var(--hue), var(--sat), calc(97% - var(--lit)));
--color-lowered: hsl(var(--hue), var(--sat), calc(94% - var(--lit)));
--color-raised: hsl(var(--hue), var(--sat), calc(99% - var(--lit)));
--color-super-lowered: hsl(var(--hue), var(--sat), calc(85% - var(--lit)));
--color-super-raised: hsl(var(--hue), var(--sat), calc(100% - var(--lit)));
--color-text: hsl(0, 0%, 0%);
--color-text-raised: var(--color-text);
--color-text-lowered: var(--color-text);
--color-primary: hsl(330, 18%, 26%);
--color-primary-lowered: hsl(330, 18%, 21%);
--color-text-primary: hsl(0, 0%, 100%);
--color-secondary: hsl(6, 18%, 66%);
--color-secondary-lowered: hsl(6, 18%, 61%);
--color-text-secondary: hsl(0, 0%, 0%);
--color-link: #2949b2;
--color-shadow: rgba(0, 0, 0, 0.08);
--color-red: hsl(0, 84%, 40%);
--color-green: hsl(100, 84%, 20%);
--color-yellow: hsl(41, 63%, 75%);
--radius: 6px;
--circle: 360px;
--shadow-x-offset: 0;
--shadow-y-offset: 0.125rem;
--shadow-size: 0.25rem;
}
.dark,
.dark * {
--hue: 266;
--sat: 14%;
--lit: 12%;
--color-surface: hsl(var(--hue), var(--sat), calc(0% + var(--lit)));
--color-lowered: hsl(var(--hue), var(--sat), calc(6% + var(--lit)));
--color-raised: hsl(var(--hue), var(--sat), calc(2% + var(--lit)));
--color-super-lowered: hsl(var(--hue), var(--sat), calc(12% + var(--lit)));
--color-super-raised: hsl(var(--hue), var(--sat), calc(4% + var(--lit)));
--color-text: hsl(0, 0%, 95%);
--color-primary: hsl(331, 18%, 74%);
--color-primary-lowered: hsl(331, 18%, 69%);
--color-text-primary: hsl(0, 0%, 0%);
--color-secondary: hsl(6, 18%, 34%);
--color-secondary-lowered: hsl(6, 18%, 29%);
--color-text-secondary: hsl(0, 0%, 100%);
--color-link: #93c5fd;
--color-red: hsl(0, 94%, 82%);
--color-green: hsl(100, 94%, 82%);
--color-yellow: hsl(41, 63%, 65%);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html,
body {
line-height: 1.5;
letter-spacing: 0.15px;
font-family:
"Inter", "Poppins", "Roboto", ui-sans-serif, system-ui, sans-serif,
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
"Noto Color Emoji";
color: var(--color-text);
background: var(--color-surface);
overflow: auto auto;
height: 100dvh;
scroll-behavior: smooth;
overflow-x: hidden;
}
main {
width: 80ch;
margin: 0 auto;
padding: 0.75rem 1rem;
}
article {
margin: 1rem 0;
}
@media screen and (max-width: 900px) {
main,
article,
nav,
header,
footer {
width: 100%;
}
article {
margin-top: 0;
}
main {
padding: 0;
}
body .card:not(.card *):not(#stream *):not(.user_plate),
body .pillmenu:not(.card *) > a,
body .card-nest:not(.card *) > .card,
body .banner {
border-radius: 0 !important;
}
}
.content_container {
margin: 0 auto;
width: 100%;
}
@media screen and (min-width: 500px) {
.content_container {
max-width: 540px;
}
}
@media (min-width: 768px) {
.content_container {
max-width: 720px;
}
}
@media (min-width: 900px) {
.content_container {
max-width: 960px;
}
@media (min-width: 1200px) {
article {
padding: 0;
}
.content_container {
max-width: 1100px;
}
}
}
video {
max-width: 100%;
border-radius: var(--radius);
}
/* typo */
p {
margin-bottom: 1rem;
}
.no_p_margin p:last-child {
margin-bottom: 0;
}
.post_content pre,
.post_content h1,
.post_content h2,
.post_content h3 {
max-width: calc(100% - 39px - 0.5rem);
}
.post_right:not(.repost) {
max-width: calc(100% - 52px);
}
.rhs {
width: 100% !important;
}
.name {
max-width: 250px;
overflow: hidden;
/* overflow-wrap: break-word; */
overflow-wrap: anywhere;
text-overflow: ellipsis;
}
@media screen and (min-width: 901px) {
.name.shorter {
max-width: 200px;
}
.name.lg\:long {
max-width: unset;
}
.rhs {
width: calc(100% - 23rem) !important;
}
}
ul,
ol {
margin-left: 1rem;
}
pre,
code {
font-family: "Jetbrains Mono", "Fire Code", monospace;
width: 100%;
max-width: 100%;
overflow: auto;
background: var(--color-lowered);
border-radius: var(--radius);
padding: 0.25rem;
font-size: 0.8rem;
}
pre {
padding: 1rem;
}
svg.icon {
stroke: currentColor;
width: 18px;
width: 1em;
height: 1em;
}
svg.icon.filled {
fill: currentColor;
}
button svg {
pointer-events: none;
}
hr {
border-top: solid 1px var(--color-super-lowered) !important;
border-left: 0;
border-bottom: 0;
border-right: 0;
}
hr.margin {
margin: 1rem 0;
}
p,
li,
span,
code {
max-width: 100%;
overflow-wrap: normal;
text-wrap: pretty;
word-wrap: break-word;
overflow-wrap: anywhere;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0;
font-weight: 700;
width: -moz-max-content;
width: max-content;
position: relative;
max-width: 100%;
}
h1 {
font-size: 2rem;
}
h2 {
font-size: 1.75rem;
}
h3 {
font-size: 1.5rem;
}
h4 {
font-size: 1.25rem;
}
h5 {
font-size: 1rem;
}
h6 {
font-size: 0.75rem;
}
a {
text-decoration: none;
color: var(--color-link);
}
a.flush {
color: inherit;
}
a:hover {
text-decoration: underline;
}
.text-small {
font-size: 14px;
}
img {
display: inline;
max-width: 100%;
vertical-align: middle;
}
img.cover {
object-fit: cover;
}
img.fill {
object-fit: fill;
}
img.contain {
object-fit: contain;
}
img.emoji {
width: 1em;
height: 1em;
aspect-ratio: 1 / 1;
}
@import url("root.css");
.media_gallery {
display: grid;
@ -380,8 +44,8 @@ img.emoji {
}
.lightbox_exit {
top: 1rem;
right: 1rem;
top: var(--pad-4);
right: var(--pad-4);
position: absolute;
}
@ -504,7 +168,7 @@ table ol {
/* card */
.card {
padding: 1rem;
padding: var(--pad-4);
background: var(--color-raised);
color: var(--color-text-raised);
box-shadow: var(--shadow-x-offset) var(--shadow-y-offset) var(--shadow-size)
@ -513,11 +177,11 @@ table ol {
}
.card.small {
padding: 0.5rem 1rem;
padding: var(--pad-2) var(--pad-4);
}
.card.tiny {
padding: 0.5rem;
padding: var(--pad-2);
}
.card.secondary {
@ -591,13 +255,13 @@ button,
transition: background 0.15s;
width: max-content;
height: 32px;
padding: 0.25rem 1rem;
padding: var(--pad-1) var(--pad-4);
border-radius: var(--radius);
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
gap: 0.25rem;
gap: var(--pad-1);
font-size: 0.9rem;
text-decoration: none !important;
user-select: none;
@ -610,7 +274,7 @@ button,
button.small,
.button.small {
/* min-height: max-content; */
padding: 0.25rem 0.5rem;
padding: var(--pad-1) var(--pad-2);
height: 24px;
font-size: 16px;
}
@ -704,7 +368,7 @@ button.camo:hover,
input,
textarea,
select {
padding: 0.35rem 0.75rem;
padding: 0.35rem var(--pad-3);
border-radius: var(--radius);
border: solid 1px var(--color-super-lowered);
outline: none;
@ -752,7 +416,7 @@ select:focus {
.pillmenu a {
text-decoration: none;
padding: 0.5rem 1rem;
padding: var(--pad-2) var(--pad-4);
width: 100%;
color: var(--color-text-raised);
background: var(--color-super-raised);
@ -760,7 +424,7 @@ select:focus {
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
gap: var(--pad-2);
flex-wrap: wrap;
position: relative;
}
@ -887,7 +551,7 @@ select:focus {
color: var(--color-text-primary);
font-weight: 600;
border-radius: var(--circle);
padding: 0.05rem 0.75rem;
padding: 0.05rem var(--pad-3);
}
/* nav */
@ -902,7 +566,7 @@ nav {
position: sticky;
top: 0;
z-index: 6374;
padding: 0.25rem 0.5rem;
padding: var(--pad-1) var(--pad-2);
transition: opacity 0.15s;
font-size: 16px;
}
@ -922,7 +586,7 @@ nav button:not(.inner *),
nav .button:not(.inner *) {
border-radius: var(--radius);
color: inherit;
padding: 0.75rem 0.75rem;
padding: var(--pad-3) var(--pad-3);
background: transparent;
text-decoration: none;
position: relative;
@ -953,7 +617,7 @@ nav .button:not(.title):not(.active):hover {
@media screen and (max-width: 900px) {
nav {
padding: 0.5rem 0.25rem;
padding: var(--pad-2) var(--pad-1);
margin-bottom: 0;
backdrop-filter: none;
bottom: 0;
@ -1024,7 +688,7 @@ dialog {
}
dialog .inner {
padding: 1rem;
padding: var(--pad-4);
width: 25rem;
max-width: 100%;
}
@ -1067,7 +731,7 @@ dialog::backdrop {
max-width: 100dvw;
max-height: 80dvh;
overflow: auto;
padding: 0.5rem 0;
padding: var(--pad-2) 0;
box-shadow: 0 0 8px 2px var(--color-shadow);
}
@ -1087,7 +751,7 @@ dialog::backdrop {
}
.dropdown .inner .title {
padding: 0.25rem var(--horizontal-padding);
padding: var(--pad-1) var(--horizontal-padding);
font-size: 13px;
opacity: 50%;
color: var(--color-text-raised);
@ -1099,19 +763,19 @@ dialog::backdrop {
}
.dropdown .inner .title:not(:first-of-type) {
padding-top: 0.5rem;
padding-top: var(--pad-2);
}
.dropdown .inner a,
.dropdown .inner button {
width: 100%;
padding: 0.25rem var(--horizontal-padding);
padding: var(--pad-1) var(--horizontal-padding);
transition: none !important;
text-decoration: none;
display: flex;
align-items: center;
justify-content: flex-start;
gap: 0.5rem;
gap: var(--pad-2);
color: var(--color-text-raised);
box-shadow: none !important;
background: transparent;
@ -1163,25 +827,25 @@ dialog::backdrop {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 0.25rem;
gap: var(--pad-1);
position: fixed;
bottom: 0.5rem;
right: 0.5rem;
bottom: var(--pad-2);
right: var(--pad-2);
z-index: 6880;
width: calc(100% - 1rem);
width: calc(100% - var(--pad-4));
pointer-events: none;
}
.toast {
box-shadow: 0 0 8px var(--color-shadow);
width: max-content;
max-width: calc(100dvw - 1rem);
max-width: calc(100dvw - var(--pad-4));
border-radius: var(--radius);
padding: 0.75rem 1rem;
padding: var(--pad-3) var(--pad-4);
animation: popin ease-in-out 1 0.15s running;
display: flex;
justify-content: space-between;
gap: 1rem;
gap: var(--pad-4);
}
.toast.success {
@ -1275,7 +939,7 @@ dialog::backdrop {
position: absolute;
content: "Show full content";
border-radius: var(--radius);
padding: 0.25rem 0.75rem;
padding: var(--pad-1) var(--pad-3);
background: var(--color-primary);
font-weight: 600;
bottom: 20px;
@ -1306,20 +970,15 @@ dialog::backdrop {
}
}
/* turbo */
.turbo-progress-bar {
background: var(--color-primary);
}
/* details */
details summary {
display: flex;
align-items: center;
gap: 0.25rem;
gap: var(--pad-1);
transition: background 0.15s;
cursor: pointer;
width: max-content;
padding: 0.25rem 0.75rem;
padding: var(--pad-1) var(--pad-3);
border-radius: var(--radius);
background: var(--color-lowered);
}
@ -1336,7 +995,7 @@ details[open] summary {
position: relative;
color: var(--color-primary);
background: var(--color-super-lowered);
margin-bottom: 0.25rem;
margin-bottom: var(--pad-1);
}
details[open] summary::after {
@ -1365,7 +1024,7 @@ details.accordion summary {
background: var(--background);
border: solid 1px var(--color-super-lowered);
border-radius: var(--radius);
padding: 0.75rem 1rem;
padding: var(--pad-3) var(--pad-4);
margin: 0;
width: 100%;
user-select: none;
@ -1386,219 +1045,10 @@ details.accordion[open] summary {
details.accordion .inner {
background: var(--background);
padding: 0.75rem 1rem;
padding: var(--pad-3) var(--pad-4);
border-radius: var(--radius);
border-top-left-radius: 0;
border-top-right-radius: 0;
border: solid 1px var(--color-super-lowered);
border-top: none;
}
/* utility */
.flex {
display: flex;
}
.flex-col {
flex-direction: column;
}
.flex-rev-col {
flex-direction: column-reverse;
}
.flex-row {
flex-direction: row !important;
}
.flex-rev-row {
flex-direction: row-reverse;
}
.flex-wrap {
flex-wrap: wrap;
}
.justify-center {
justify-content: center;
}
.justify-between {
justify-content: space-between;
}
.justify-right {
justify-content: right;
}
.justify-start {
justify-content: flex-start;
}
.items-center {
align-items: center;
}
.gap-1 {
gap: 0.25rem;
}
.gap-2 {
gap: 0.5rem;
}
.gap-4 {
gap: 1rem;
}
.gap-8 {
gap: 1.25rem;
}
.mobile {
display: none !important;
}
@media screen and (max-width: 650px) {
.desktop {
display: none !important;
}
.mobile {
display: flex !important;
}
}
@media screen and (max-width: 900px) {
.flex-collapse {
flex-direction: column !important;
}
.sm\:static {
position: static !important;
}
.mobile.flex {
display: flex !important;
}
.sm\:w-full {
width: 100% !important;
min-width: 100% !important;
}
.sm\:mt-2 {
margin-top: 2rem !important;
}
.sm\:items-start {
align-items: flex-start !important;
}
.sm\:contents {
display: contents !important;
}
}
.shadow {
box-shadow: 0 0 8px var(--color-shadow);
}
.shadow-md {
box-shadow: 0 8px 16px var(--color-shadow);
}
.round-sm {
border-radius: calc(var(--radius) / 2) !important;
}
.round {
border-radius: var(--radius) !important;
}
.round-md {
border-radius: calc(var(--radius) * 2) !important;
}
.round-lg {
border-radius: calc(var(--radius) * 4) !important;
}
.w-full {
width: 100% !important;
}
.w-content {
width: max-content !important;
}
.bold {
font-weight: 600;
}
[disabled="fully"] {
opacity: 75%;
pointer-events: visible;
cursor: not-allowed;
user-select: none;
}
.fade,
.CodeMirror-placeholder {
opacity: 75%;
transition: opacity 0.15s;
}
.ff-inherit {
font-family: inherit;
}
.fs-md {
font-size: 12px;
}
[align="center"],
.text-center {
text-align: center;
}
[align="right"],
.text-right {
text-align: right;
}
.red {
color: var(--color-red) !important;
}
.green {
color: var(--color-green) !important;
}
.hidden {
display: none;
}
align {
width: 100%;
display: block;
}
align.center {
text-align: center;
}
align.right {
text-align: right;
}
/* lhs, rhs */
.rhs {
width: calc(100% - 23rem) !important;
}
@media screen and (max-width: 900px) {
.rhs {
width: 100% !important;
}
}

View file

@ -0,0 +1,213 @@
/* utility */
.flex {
display: flex;
}
.flex-col {
flex-direction: column;
}
.flex-rev-col {
flex-direction: column-reverse;
}
.flex-row {
flex-direction: row !important;
}
.flex-rev-row {
flex-direction: row-reverse;
}
.flex-wrap {
flex-wrap: wrap;
}
.justify-center {
justify-content: center;
}
.justify-between {
justify-content: space-between;
}
.justify-right {
justify-content: right;
}
.justify-start {
justify-content: flex-start;
}
.items-center {
align-items: center;
}
.gap-1 {
gap: var(--pad-1);
}
.gap-2 {
gap: var(--pad-2);
}
.gap-4 {
gap: var(--pad-4);
}
.gap-8 {
gap: 1.25rem;
}
.mobile {
display: none !important;
}
@media screen and (max-width: 650px) {
.desktop {
display: none !important;
}
.mobile {
display: flex !important;
}
}
@media screen and (max-width: 900px) {
.flex-collapse {
flex-direction: column !important;
}
.sm\:static {
position: static !important;
}
.mobile.flex {
display: flex !important;
}
.sm\:w-full {
width: 100% !important;
min-width: 100% !important;
}
.sm\:mt-2 {
margin-top: 2rem !important;
}
.sm\:items-start {
align-items: flex-start !important;
}
.sm\:contents {
display: contents !important;
}
}
.shadow {
box-shadow: 0 0 8px var(--color-shadow);
}
.shadow-md {
box-shadow: 0 8px 16px var(--color-shadow);
}
.round-sm {
border-radius: calc(var(--radius) / 2) !important;
}
.round {
border-radius: var(--radius) !important;
}
.round-md {
border-radius: calc(var(--radius) * 2) !important;
}
.round-lg {
border-radius: calc(var(--radius) * 4) !important;
}
.w-full {
width: 100% !important;
}
.w-content {
width: max-content !important;
}
.bold {
font-weight: 600;
}
[disabled="fully"] {
opacity: 75%;
pointer-events: visible;
cursor: not-allowed;
user-select: none;
}
.fade,
.CodeMirror-placeholder {
opacity: 75%;
transition: opacity 0.15s;
}
.ff-inherit {
font-family: inherit;
}
.fs-md {
font-size: 12px;
}
[align="center"],
.text-center {
text-align: center;
}
[align="right"],
.text-right {
text-align: right;
}
.red {
color: var(--color-red) !important;
}
.green {
color: var(--color-green) !important;
}
.hidden {
display: none !important;
}
align {
width: 100%;
display: block;
}
align.center {
text-align: center;
}
align.right {
text-align: right;
}
/* lhs, rhs */
.rhs {
width: calc(100% - 23rem) !important;
}
@media screen and (max-width: 900px) {
.rhs {
width: 100% !important;
}
}
/* turbo */
.turbo-progress-bar {
background: var(--color-primary);
}