aboutsummaryrefslogtreecommitdiff
path: root/client-web/style/logger.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/logger.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/logger.css')
-rw-r--r--client-web/style/logger.css63
1 files changed, 63 insertions, 0 deletions
diff --git a/client-web/style/logger.css b/client-web/style/logger.css
new file mode 100644
index 0000000..7f3d1fd
--- /dev/null
+++ b/client-web/style/logger.css
@@ -0,0 +1,63 @@
+/*
+ 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>
+*/
+
+.logger-container {
+ z-index: 9999;
+ position: absolute;
+ top: 0px;
+ right: 0px;
+ transition: width 1s;
+ background-color: rgba(0, 0, 0, 0.376);
+ border-radius: 0.2em;
+ border: 0px solid transparent;
+ padding: 0.2em;
+}
+
+.logger-error {
+ font-size: 1.5em !important;
+ color: red;
+}
+
+.logger-warn {
+ font-size: 1.5em !important;
+ color: yellow;
+}
+
+.logger-line {
+ font-size: 1em;
+ height: 1.2em;
+ font-family: monospace;
+ animation-name: appear;
+ animation-timing-function: linear;
+ animation-duration: 0.3s;
+ animation-fill-mode: forwards;
+}
+
+.logger-line-disappear {
+ animation-name: disappear;
+ animation-timing-function: linear;
+ animation-duration: 1s;
+ animation-fill-mode: forwards;
+}
+
+@keyframes appear {
+ from {
+ margin-top: -1.2em;
+ opacity: 0;
+ }
+ to {
+ opacity: 1;
+ }
+}
+@keyframes disappear {
+ from {
+ opacity: 1;
+ }
+ to {
+ margin-top: -1.2em;
+ opacity: 0;
+ }
+}