tweak colors

votekiss
easrng 2022-02-16 08:48:25 -05:00
parent a5e04340dd
commit c7efd725b3
1 changed files with 6 additions and 10 deletions

View File

@ -10,15 +10,11 @@
--bg: rgb(var(--bg-rgb)); --bg: rgb(var(--bg-rgb));
--default-user-color: rgb(126, 208, 255); --default-user-color: rgb(126, 208, 255);
--accent: rgb(var(--accent-rgb)); --accent: rgb(var(--accent-rgb));
--fg-transparent: rgba(var(--fg-rgb), 0.033); --fg-transparent: rgba(var(--fg-rgb), 0.25);
--bg-transparent: rgba(var(--bg-rgb), 0.125); --bg-transparent: rgba(var(--bg-rgb), 0.25);
--chat-bg: linear-gradient(var(--fg-transparent), var(--fg-transparent)),
linear-gradient(var(--bg), var(--bg));
--autocomplete-bg: linear-gradient( --autocomplete-bg: linear-gradient(
var(--fg-transparent), var(--fg-transparent), var(--fg-transparent)
var(--fg-transparent)
), ),
linear-gradient(var(--fg-transparent), var(--fg-transparent)),
linear-gradient(var(--bg), var(--bg)); linear-gradient(var(--bg), var(--bg));
} }
@ -227,14 +223,14 @@ button.small-button {
padding: 0.5em 1em; padding: 0.5em 1em;
/* TODO: turn this into max-height instead of fixed height without breaking the chatbox height */ /* TODO: turn this into max-height instead of fixed height without breaking the chatbox height */
overflow-y: scroll; overflow-y: scroll;
border-bottom: var(--fg); border-bottom: var(--fg-transparent);
border-bottom-style: solid; border-bottom-style: solid;
max-height: 4rem; max-height: 4rem;
flex-shrink: 0; flex-shrink: 0;
} }
#chatbox-container { #chatbox-container {
background-image: var(--chat-bg); background-color: var(--bg);
flex-direction: column; flex-direction: column;
flex-grow: 0; flex-grow: 0;
flex-shrink: 1; flex-shrink: 1;
@ -258,7 +254,7 @@ button.small-button {
bottom: 3.25rem; bottom: 3.25rem;
background-image: var(--autocomplete-bg); background-image: var(--autocomplete-bg);
border-radius: 6px; border-radius: 6px;
width: calc(100% - 4.5rem); width: calc(100% - 2rem);
max-height: 8.5rem; max-height: 8.5rem;
overflow-y: auto; overflow-y: auto;
clip-path: inset(0 0 0 0 round 8px); clip-path: inset(0 0 0 0 round 8px);