From 16449d05c6b9272e617fbf36e39d14a0d339533c Mon Sep 17 00:00:00 2001 From: Laura Date: Tue, 4 Nov 2025 21:10:17 +0100 Subject: [PATCH] cleanup css files --- static/css/chat.css | 10 ++++------ static/css/dropdown.css | 20 +++++++++++--------- static/css/markdown.css | 38 ++++++++++++++++++++------------------ static/css/preview.css | 2 +- 4 files changed, 36 insertions(+), 34 deletions(-) diff --git a/static/css/chat.css b/static/css/chat.css index fec0096..9cd2739 100644 --- a/static/css/chat.css +++ b/static/css/chat.css @@ -493,7 +493,7 @@ body:not(.loading) #loading { height: 32px; } -.message.collapsed .body>* { +.message.collapsed .body > * { opacity: 0; } @@ -999,7 +999,7 @@ select { .message .options .attach::after, .message .options .collapse::after, -#chat .option+.option::before { +#chat .option + .option::before { content: ""; display: block; width: 2px; @@ -1174,7 +1174,7 @@ label[for="reasoning-tokens"] { transform: rotate(180deg); } -#top:not(.hidden)+#bottom { +#top:not(.hidden) + #bottom { right: 40px; } @@ -1397,7 +1397,6 @@ label[for="reasoning-tokens"] { } @keyframes swivel { - 0%, 100% { left: 0px; @@ -1410,7 +1409,6 @@ label[for="reasoning-tokens"] { } @keyframes bounce { - 0%, 75%, 100% { @@ -1460,4 +1458,4 @@ label[for="reasoning-tokens"] { #floaters { display: none; } -} \ No newline at end of file +} diff --git a/static/css/dropdown.css b/static/css/dropdown.css index 9930f06..4980871 100644 --- a/static/css/dropdown.css +++ b/static/css/dropdown.css @@ -35,7 +35,9 @@ flex-direction: column; background: #363a4f; max-height: 250px; - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1); + box-shadow: + 0 1px 2px rgba(0, 0, 0, 0.05), + 0 1px 3px rgba(0, 0, 0, 0.1); border: 1px solid #494d64; } @@ -63,7 +65,7 @@ background: #363a4f; } -.dropdown .opt:nth-child(2n+1) { +.dropdown .opt:nth-child(2n + 1) { background: #32354a; } @@ -96,27 +98,27 @@ } .tags .tag.reasoning { - background-image: url(icons/tags/reasoning.svg) + background-image: url(icons/tags/reasoning.svg); } .tags .tag.tools { - background-image: url(icons/tags/tools.svg) + background-image: url(icons/tags/tools.svg); } .tags .tag.vision { - background-image: url(icons/tags/vision.svg) + background-image: url(icons/tags/vision.svg); } .tags .tag.json { - background-image: url(icons/tags/json.svg) + background-image: url(icons/tags/json.svg); } .tags .tag.image { - background-image: url(icons/tags/image.svg) + background-image: url(icons/tags/image.svg); } .tags .tag.all { - background-image: url(icons/tags/all.svg) + background-image: url(icons/tags/all.svg); } .dropdown .search { @@ -124,4 +126,4 @@ border-top: 2px solid #494d64; font-size: 15px; padding: 4px 6px; -} \ No newline at end of file +} diff --git a/static/css/markdown.css b/static/css/markdown.css index 6d56a07..251c74b 100644 --- a/static/css/markdown.css +++ b/static/css/markdown.css @@ -1,7 +1,7 @@ .markdown { font-size: 15px; line-height: 23px; - color: #CAD3F5; + color: #cad3f5; overflow: hidden; word-wrap: break-word; } @@ -59,15 +59,17 @@ } .markdown a { - color: #8AADF4; + color: #8aadf4; text-decoration: none; font-weight: 500; - transition: color 150ms ease, text-decoration-color 150ms ease; + transition: + color 150ms ease, + text-decoration-color 150ms ease; } .markdown a:hover, .markdown a:focus { - color: #B7BDF8; + color: #b7bdf8; text-decoration: underline; text-decoration-color: rgba(183, 189, 248, 0.6); } @@ -84,9 +86,9 @@ .markdown blockquote { padding: 10px 16px; - border-left: 4px solid #8AADF4; + border-left: 4px solid #8aadf4; background: rgba(138, 173, 244, 0.05); - color: #CAD3F5; + color: #cad3f5; font-style: italic; border-radius: 4px; } @@ -124,7 +126,7 @@ .markdown th { background: rgba(165, 173, 203, 0.07); font-weight: 600; - color: #CAD3F5; + color: #cad3f5; } .markdown tr:nth-child(even) td { @@ -189,7 +191,7 @@ } .markdown hr { - color: #5F6386; + color: #5f6386; margin: 25px 0; } @@ -198,22 +200,22 @@ padding-left: 28px; } -.markdown> :first-child { +.markdown > :first-child { margin-top: 0; } -.markdown blockquote>*, -.markdown td>*, -.markdown th>*, -.markdown>* { +.markdown blockquote > *, +.markdown td > *, +.markdown th > *, +.markdown > * { margin: 0; margin-bottom: 14px; } -.markdown blockquote>*:last-child, -.markdown td>*:last-child, -.markdown th>*:last-child, -.markdown>*:last-child { +.markdown blockquote > *:last-child, +.markdown td > *:last-child, +.markdown th > *:last-child, +.markdown > *:last-child { margin-bottom: 0; } @@ -272,4 +274,4 @@ opacity: 0.5; bottom: -1px; left: 0; -} \ No newline at end of file +} diff --git a/static/css/preview.css b/static/css/preview.css index db5793a..6b9c7ac 100644 --- a/static/css/preview.css +++ b/static/css/preview.css @@ -54,4 +54,4 @@ pre { tab-size: 4; margin: 0; padding: 10px 14px; -} \ No newline at end of file +}