summaryrefslogtreecommitdiff
path: root/ui/styles/textarea.css
diff options
context:
space:
mode:
authorKit La Touche <kit@transneptune.net>2025-01-01 18:09:46 -0500
committerKit La Touche <kit@transneptune.net>2025-01-01 18:09:46 -0500
commitc9b3394e9fc2cf6eb505ab03a6479eae996ed6e9 (patch)
treec536430d2fb2e4093fb3b09cbda04369b68a6911 /ui/styles/textarea.css
parent628337f3afcd5125299cbf620832779ab209022b (diff)
Just oh so many styles
Diffstat (limited to 'ui/styles/textarea.css')
-rw-r--r--ui/styles/textarea.css38
1 files changed, 38 insertions, 0 deletions
diff --git a/ui/styles/textarea.css b/ui/styles/textarea.css
new file mode 100644
index 0000000..72d727f
--- /dev/null
+++ b/ui/styles/textarea.css
@@ -0,0 +1,38 @@
+/* Message input */
+.create-message form {
+ display: flex;
+ flex-direction: row;
+ justify-content: flex-start;
+ align-items: stretch;
+}
+
+.create-message textarea {
+ padding: 0.5rem;
+ border-radius: 0.5rem 0 0 0.5rem;
+ border: 1px solid var(--colour-border);
+ z-index: 1; /* Just to make the focus-active border go over the following button. */
+ flex-grow: 1;
+ background-color: var(--colour-text);
+ color: var(--colour-background);
+}
+
+.create-message button {
+ border-radius: 0 0.5rem 0.5rem 0;
+ border: 1px solid var(--colour-border);
+ background-color: var(--colour-text);
+ color: var(--colour-background);
+}
+
+.active-channel {
+ overflow: auto;
+ flex-grow: 1;
+ /* TODO: make this all-app background */
+ background-color: var(--colour-background);
+}
+
+main {
+ display: flex;
+ flex-direction: column;
+ justify-content: flex-start;
+ align-items: stretch;
+}