aboutsummaryrefslogtreecommitdiff
path: root/client-web/style/chat.css
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-03-22 13:02:32 +0100
committermetamuffin <metamuffin@disroot.org>2025-03-22 13:03:31 +0100
commit2f5d47d21dfc308c1b930cf45e13b34445d3a8e5 (patch)
tree1efa38bb95a2bc55132c0f8751727647906bb5dd /client-web/style/chat.css
parentaee091c28ad99862f8d94665a1efc65288a17d52 (diff)
downloadkeks-meet-2f5d47d21dfc308c1b930cf45e13b34445d3a8e5.tar
keks-meet-2f5d47d21dfc308c1b930cf45e13b34445d3a8e5.tar.bz2
keks-meet-2f5d47d21dfc308c1b930cf45e13b34445d3a8e5.tar.zst
Convert sass to css
Diffstat (limited to 'client-web/style/chat.css')
-rw-r--r--client-web/style/chat.css47
1 files changed, 47 insertions, 0 deletions
diff --git a/client-web/style/chat.css b/client-web/style/chat.css
new file mode 100644
index 0000000..0cd8441
--- /dev/null
+++ b/client-web/style/chat.css
@@ -0,0 +1,47 @@
+/*
+ This file is part of keks-meet (https://codeberg.org/metamuffin/keks-meet)
+ which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
+ Copyright (C) 2023 metamuffin <metamuffin.org>
+*/
+
+.chat {
+ display: flex;
+ flex-direction: column;
+ height: 100%;
+}
+.chat .message {
+ margin: 0.2em;
+}
+.chat .control-message {
+ font-style: italic;
+ color: var(--ac-light);
+ filter: brightness(160%); /* TODO filter is a bad approach here. */
+}
+.chat .author {
+ font-weight: bold;
+}
+.chat .text {
+ color: white;
+}
+.chat .image {
+ width: min(20em, 30vw);
+ max-height: 50em; /* TODO squishes the image if too high */
+}
+.chat .messages {
+ flex: 1;
+ width: 100%;
+ overflow: auto;
+}
+.chat .controls {
+ flex: 0;
+}
+.chat input[type="text"] {
+ font-size: medium;
+ width: 100%;
+ border-radius: 5px;
+ padding: 0.5em;
+ box-sizing: border-box;
+}
+.chat .chat-link {
+ color: var(--ac-light);
+}