Change input and alert style
This commit is contained in:
parent
5cf3f82e06
commit
4f4dcee87d
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue