mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-03 20:58:09 +08:00
Update input.css to use already defined variables (#3967)
This commit is contained in:
parent
5234a58e57
commit
b4e4efd872
@ -10,7 +10,7 @@
|
||||
|
||||
@e inner {
|
||||
appearance: none;
|
||||
background-color: var(--color-white);
|
||||
background-color: var(--input-fill);
|
||||
background-image: none;
|
||||
border-radius: var(--input-border-radius);
|
||||
border: var(--input-border);
|
||||
@ -82,9 +82,9 @@
|
||||
|
||||
@when disabled {
|
||||
.el-input__inner {
|
||||
background-color: var(--disabled-fill-base);
|
||||
border-color: var(--disabled-border-base);
|
||||
color: var(--disabled-color-base);
|
||||
background-color: var(--input-disabled-fill);
|
||||
border-color: var(--input-disabled-border);
|
||||
color: var(--input-disabled-color);
|
||||
cursor: not-allowed;
|
||||
|
||||
&::placeholder {
|
||||
@ -196,7 +196,7 @@
|
||||
width: 100%;
|
||||
font-size: var(--font-size-base);
|
||||
color: var(--input-color);
|
||||
background-color: var(--color-white);
|
||||
background-color: var(--input-fill);
|
||||
background-image: none;
|
||||
border: var(--input-border);
|
||||
border-radius: var(--input-border-radius);
|
||||
@ -218,9 +218,9 @@
|
||||
|
||||
@when disabled {
|
||||
.el-textarea__inner {
|
||||
background-color: var(--disabled-fill-base);
|
||||
border-color: var(--disabled-border-base);
|
||||
color: var(--disabled-color-base);
|
||||
background-color: var(--input-disabled-fill);
|
||||
border-color: var(--input-disabled-border);
|
||||
color: var(--input-disabled-color);
|
||||
cursor: not-allowed;
|
||||
|
||||
&::placeholder {
|
||||
|
Loading…
Reference in New Issue
Block a user