1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
.app-input-box{
position: relative;
width: 100%;
height: 100%;
.unit-text{
position: absolute;
top: 0;
right: 24px;
}
.ivu-input-number{
width: 100%;
.ivu-input-number-input{
text-align: left;
}
}
.ivu-input-wrapper{
height: inherit;
textarea{
height: inherit;
}
}
.is-disabled{
textarea:disabled, textarea[disabled]{
background-color: #f1f1f1;
color: rgb(44, 44, 44);
opacity: 0.7;
}
}
}
.ivu-form-item-error .app-input-box {
.ivu-input-number {
&:hover {
border-color: red;
}
&.ivu-input-number-focused{
border-color: red;
box-shadow: 0 0 0 2px mix(white, red, 85%)
}
}
.ivu-input-wrapper {
.ivu-input:hover {
border-color: red;
}
}
}