From 113502527c8e607efabf2a485efc2a0223254105 Mon Sep 17 00:00:00 2001 From: marlon-erler Date: Tue, 23 Jul 2024 15:28:29 +0200 Subject: [PATCH] cleanup --- dist/index.css | 2 +- src/View/chatPage.css | 2 +- src/aero.css | 86 ------------------------------------------- 3 files changed, 2 insertions(+), 88 deletions(-) delete mode 100644 src/aero.css diff --git a/dist/index.css b/dist/index.css index 5eaa0f4f..6b3dc083 100644 --- a/dist/index.css +++ b/dist/index.css @@ -314,7 +314,7 @@ body[showing-chat] #chat-page-wrapper { } #chat-page > div > #ribbon > span, #chat-page > div > #main > div > .pane-wrapper > .pane > .toolbar > span.ribbon { - gap: var(--gap-between-tiles); + gap: calc(var(--gap-between-tiles) * 2); padding: var(--gap-between-tiles); } #chat-page > div > #main > div > .pane-wrapper > .pane > .toolbar { diff --git a/src/View/chatPage.css b/src/View/chatPage.css index be598d54..a522a890 100644 --- a/src/View/chatPage.css +++ b/src/View/chatPage.css @@ -110,7 +110,7 @@ body[showing-chat] #chat-page-wrapper { > .pane > .toolbar > span.ribbon { - gap: var(--gap-between-tiles); + gap: calc(var(--gap-between-tiles) * 2); padding: var(--gap-between-tiles); } diff --git a/src/aero.css b/src/aero.css deleted file mode 100644 index 4ab1ba37..00000000 --- a/src/aero.css +++ /dev/null @@ -1,86 +0,0 @@ -/* -AERO -*/ -:root { - --primary: hsl(220, 100%, 90%); - --primary-hover: hsl(220, 100%, 88%); - --primary-active: hsl(220, 100%, 85%); - --text-on-color: black; - - --surface: hsla(220, 30%, 90%, 50%); - --surface-hover: hsla(220, 30%, 85%, 50%); - --surface-active: hsla(220, 30%, 80%, 50%); - - --control-height: 2rem; - --outline-width: 2px; - } - - .gap { - gap: 0px !important; - } - - .flex-row :is(button, input, .tile):not(:last-child) { - margin-right: var(--gap-between-tiles); - } - - .flex-column :is(button, input, .tile):not(:last-child) { - margin-bottom: var(--gap-between-tiles); - } - - button, - input, - select, - textarea, - .tile { - border-radius: 5px; - } - - button, - input, - select, - textarea { - font-size: 0.9rem; - } - - button .icon { - font-size: 1.1rem; - } - - .modal > div { - border-radius: 7px; - } - - :is(input, select):not(.tile *), - button, - .tile { - position: relative; - border: 1px solid var(--border); - } - - :is(input, select):not(.tile *)::before, - button::before, - .tile::before { - content: ""; - - position: absolute; - top: 0px; - left: 0px; - right: 0px; - bottom: 0px; - - opacity: 0.25; - - pointer-events: none; - } - - :is(input, select):not(.tile *)::before, - button::before, - .tile:has(select)::before { - background: linear-gradient(#b7b7b7, #fff 45%, #bdbdbd 70%, #eee); - } - - :is(input):not(.tile *)::before, - .tile:has(input)::before { - background: linear-gradient(#d8d8d8, #bdbdbd 35%, #eee); - } - \ No newline at end of file