add: ability to convert existing communities into forums

This commit is contained in:
trisua 2025-08-05 22:36:25 -04:00
parent 3958d5eaef
commit 2407e6b213
8 changed files with 125 additions and 24 deletions

View file

@ -370,7 +370,17 @@ button.secondary,
.button.secondary {
background: var(--color-secondary);
color: var(--color-text-secondary);
font-weight: 500;
}
button.accent:hover,
.button.accent:hover {
background: var(--color-accent-lowered);
}
button.accent,
.button.accent {
background: var(--color-accent);
color: var(--color-text-accent);
}
button.secondary:hover,
@ -861,18 +871,19 @@ dialog {
display: none;
background: var(--color-surface);
border: solid 1px var(--color-super-lowered) !important;
border-radius: var(--radius);
max-width: 100%;
border-radius: calc(var(--radius) * 2);
max-width: 95%;
border-style: none;
margin: auto;
color: var(--color-text);
animation: popin ease-in-out 1 0.1s forwards running;
animation: popin ease-in-out 1 0.15s forwards running;
}
dialog .inner {
padding: var(--pad-4);
width: 25rem;
max-width: 100%;
font-weight: 500;
}
dialog .inner hr:not(.flipped):last-of-type {
@ -891,6 +902,11 @@ dialog[open] {
dialog::backdrop {
background: hsla(0, 0%, 0%, 50%);
backdrop-filter: blur(5px);
animation: fadein ease-in-out 1 0.1s forwards running;
}
dialog:is(.dark *)::backdrop {
background: hsla(0, 0%, 100%, 15%);
}
/* dropdown */
@ -905,7 +921,7 @@ dialog::backdrop {
background: var(--color-raised);
/* border: solid 1px var(--color-super-lowered); */
z-index: 2;
border-radius: var(--radius);
border-radius: calc(var(--radius) * 2);
top: calc(100% + 5px);
right: 0;
width: max-content;