-
Notifications
You must be signed in to change notification settings - Fork 0
/
form-item.less
55 lines (47 loc) · 983 Bytes
/
form-item.less
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
49
50
51
52
53
54
55
@w-form: ~'w-form';
.@{w-form} {
&-item {
margin-bottom: 10px;
}
&-item-error {
.@{w-form}-help,
.@{w-form}-label {
color: #dc3545;
}
.w-input-inner,
.w-select,
.w-select-default,
.w-select:hover,
.w-select-default:hover,
.w-input-inner:hover,
.w-input-inner:focus.w-input-inner:hover,
.w-textarea,
.w-textarea:hover,
.w-search-tree-inner,
.w-textarea:focus.w-textarea:hover {
box-shadow: 0 0 0 1px #dc3545, 0 0 0 3px rgba(220, 53, 69, 0.17), inset 0 1px 1px rgba(16, 22, 26, 0.2);
}
.w-search-tree-inner .w-input .w-input-inner {
box-shadow: none !important;
}
}
&-label {
line-height: 32px;
min-height: 32px;
font-weight: 600;
font-size: 14px;
padding-right: 5px;
label {
display: inline-block;
}
}
&-row {
align-items: center;
display: flex;
}
&-help {
color: #c2c2c2;
font-size: 12px;
padding-top: 3px;
}
}