Change input and alert style

This commit is contained in:
Arnaud 2024-11-04 15:39:29 +01:00
parent 5cf3f82e06
commit 4f4dcee87d
No known key found for this signature in database
GPG Key ID: 69D6CE281FCAE663
3 changed files with 7 additions and 11 deletions

View File

@ -1,5 +1,5 @@
.alert { .alert {
border-top: 2px solid rgb(var(--codex-alert-color)); border-bottom: 2px solid rgb(var(--codex-alert-color));
background-color: rgba(var(--codex-alert-color), 0.1); background-color: rgba(var(--codex-alert-color), 0.1);
color: 1px solid var(--codex-alert-color); color: 1px solid var(--codex-alert-color);
border-radius: var(--codex-border-radius); border-radius: var(--codex-border-radius);
@ -17,17 +17,14 @@
} }
span { span {
background: rgba(var(--codex-alert-color), 0.2); height: 20px;
border-radius: 75px; min-width: 20px;
height: 1.75rem;
min-width: 1.75rem;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
span { span {
display: flex; display: flex;
width: 1rem;
color: rgb(var(--codex-alert-color)); color: rgb(var(--codex-alert-color));
} }
} }
@ -38,5 +35,7 @@
&.alert--warning { &.alert--warning {
--codex-alert-color: var(--codex-color-warning); --codex-alert-color: var(--codex-color-warning);
background-color: #fbc64b33;
border-color: #ffc800;
} }
} }

View File

@ -8,7 +8,7 @@
} }
input { input {
background-color: var(--codex-input-background); background-color: #14141499;
color: white; color: white;
border-radius: var(--codex-border-radius); border-radius: var(--codex-border-radius);
border: 1px solid var(--codex-input-border-color); border: 1px solid var(--codex-input-border-color);

View File

@ -1,9 +1,6 @@
.upload { .upload {
border: 1px dashed var(--codex-border-color); border: 1px dashed var(--codex-border-color);
background-color: var( background-color: #14141499;
--codex-upload-background,
var(--codex-background-secondary)
);
min-height: 150px; min-height: 150px;
border-radius: var(--codex-border-radius); border-radius: var(--codex-border-radius);
justify-content: space-between; justify-content: space-between;