refactor: zones => topics

This commit is contained in:
Andy Burke 2025-09-10 12:51:27 -07:00
parent 20a5d1bc88
commit fac8f409f4
26 changed files with 470 additions and 469 deletions

View file

@ -3,12 +3,12 @@
grid-template-columns: auto 1fr;
}
.zone-list {
.topic-list {
margin: 1rem 0;
list-style-type: none;
}
.zone-list > li.zone a:before {
.topic-list > li.topic a:before {
position: absolute;
left: -1.75rem;
top: 0;
@ -18,7 +18,7 @@
color: var(--text);
}
.zone-list > li.zone a {
.topic-list > li.topic a {
position: relative;
display: block;
width: 100%;
@ -30,7 +30,7 @@
text-decoration: none;
}
.zone-list > li.zone.active a {
.topic-list > li.topic.active a {
color: var(--accent);
}
@ -56,11 +56,11 @@
line-height: 2rem;
}
#chat #zone-chat-container {
#chat #topic-chat-container {
position: relative;
}
#chat #zone-chat-content {
#chat #topic-chat-content {
overflow-y: scroll;
position: absolute;
top: 0;
@ -70,7 +70,7 @@
padding: 0.5rem;
}
#chat #zone-chat-entry-container {
#chat #topic-chat-entry-container {
position: absolute;
bottom: 0;
left: 0;
@ -79,7 +79,7 @@
padding: 1rem;
}
#chat #zone-chat-entry-container form {
#chat #topic-chat-entry-container form {
position: absolute;
top: 0;
left: 0;
@ -90,13 +90,13 @@
padding: 0.75rem;
}
#chat #zone-chat-entry-container form input[type="file"] {
#chat #topic-chat-entry-container form input[type="file"] {
opacity: 0;
display: none;
}
#chat #zone-chat-entry-container form button,
#chat #zone-chat-entry-container form label {
#chat #topic-chat-entry-container form button,
#chat #topic-chat-entry-container form label {
position: relative;
top: inherit;
font-size: inherit;
@ -110,7 +110,7 @@
border: 1px solid var(--text);
}
#chat #zone-chat-entry-container form textarea {
#chat #topic-chat-entry-container form textarea {
width: 100%;
flex-grow: 1;
background: inherit;
@ -373,7 +373,7 @@
rotate: 180deg;
}
#chat #zone-chat-container {
#chat #topic-chat-container {
position: absolute;
top: 0;
left: 0;
@ -381,13 +381,13 @@
bottom: 0;
}
#chat #zone-chat-container #zone-chat-entry-container,
#chat #zone-chat-container #zone-chat-entry-container form {
#chat #topic-chat-container #topic-chat-entry-container,
#chat #topic-chat-container #topic-chat-entry-container form {
padding: 0.25rem;
}
#chat #zone-chat-container #zone-chat-entry-container form button,
#chat #zone-chat-container #zone-chat-entry-container form label {
#chat #topic-chat-container #topic-chat-entry-container form button,
#chat #topic-chat-container #topic-chat-entry-container form label {
margin: 0 0.5rem;
}