File tree 1 file changed +14
-23
lines changed
1 file changed +14
-23
lines changed Original file line number Diff line number Diff line change 10
10
.@{ant-prefix} -input-affix-wrapper {
11
11
& ,
12
12
& :hover {
13
- background-color : @background-color ;
14
13
border-color : @border-color ;
15
14
}
16
15
17
- & :focus {
16
+ & :focus ,
17
+ &-focused {
18
18
.active (@border-color );
19
19
}
20
-
21
- & :not ([disabled ]):hover {
22
- border-color : @border-color ;
23
- }
24
20
}
25
21
26
- .@{ant-prefix} -calendar-picker-open .@{ant-prefix} -calendar-picker-input {
27
- .active (@border-color );
22
+ .@{ant-prefix} -input {
23
+ & :not (&-disabled ) {
24
+ background-color : @background-color ;
25
+ }
28
26
}
29
27
30
- // Input prefix
31
28
.@{ant-prefix} -input-affix-wrapper {
32
- .@{ant-prefix} -input {
33
- & ,
34
- & :hover {
35
- background-color : @background-color ;
36
- border-color : @border-color ;
37
- }
38
-
39
- & :focus {
40
- .active (@border-color );
41
- }
29
+ & :not (&-disabled ) {
30
+ background-color : @background-color ;
42
31
}
43
-
44
- & :hover .@{ant-prefix} -input :not (.@{ant-prefix} -input-disabled ) {
45
- border-color : @border-color ;
32
+ input :focus {
33
+ box-shadow : none !important ;
46
34
}
47
35
}
48
36
37
+ .@{ant-prefix} -calendar-picker-open .@{ant-prefix} -calendar-picker-input {
38
+ .active (@border-color );
39
+ }
40
+
49
41
.@{ant-prefix} -input-prefix {
50
42
color : @text-color ;
51
43
}
52
44
53
45
.@{ant-prefix} -input-group-addon {
54
46
color : @text-color ;
55
- background-color : @background-color ;
56
47
border-color : @border-color ;
57
48
}
58
49
You can’t perform that action at this time.
0 commit comments