refac: styling

This commit is contained in:
Timothy J. Baek 2024-09-18 02:11:25 +02:00
parent d1bf18eeb0
commit 98984166f9
2 changed files with 10 additions and 4 deletions

View File

@ -160,3 +160,7 @@ input[type='number'] {
.svelte-flow { .svelte-flow {
background-color: transparent !important; background-color: transparent !important;
} }
.bg-gray-950-90 {
background-color: rgba(var(--color-gray-950, #0d0d0d), 0.9);
}

View File

@ -382,11 +382,13 @@
</div> </div>
{/if} {/if}
<div class="relative flex flex-col flex-1 overflow-y-auto"> <div
class="relative flex flex-col flex-1 overflow-y-auto {$temporaryChatEnabled
? 'opacity-20'
: ''}"
>
{#if $temporaryChatEnabled} {#if $temporaryChatEnabled}
<div <div class="absolute z-40 w-full h-full flex justify-center"></div>
class="absolute z-40 w-full h-full bg-gray-50/90 dark:bg-black/90 flex justify-center"
></div>
{/if} {/if}
<div class="px-2 mt-0.5 mb-2 flex justify-center space-x-2"> <div class="px-2 mt-0.5 mb-2 flex justify-center space-x-2">