index.css
2.31 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
.rc-input-number {
margin: 0;
padding: 0;
line-height: 26px;
font-size: 12px;
height: 26px;
display: inline-block;
vertical-align: middle;
border: 1px solid #D9D9D9;
border-radius: 4px;
transition: all 0.3s;
}
.rc-input-number-focused {
border-color: #1890ff;
box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}
.rc-input-number-handler {
text-align: center;
line-height: 12px;
height: 12px;
overflow: hidden;
display: block;
touch-action: none;
}
.rc-input-number-handler-active {
background: #ddd;
}
.rc-input-number-handler-up-inner,
.rc-input-number-handler-down-inner {
color: #666666;
user-select: none;
-webkit-user-select: none;
}
.rc-input-number:hover {
border-color: #1890ff;
}
.rc-input-number:hover .rc-input-number-handler-up,
.rc-input-number:hover .rc-input-number-handler-wrap {
border-color: #1890ff;
}
.rc-input-number-disabled:hover {
border-color: #d9d9d9;
}
.rc-input-number-disabled:hover .rc-input-number-handler-up,
.rc-input-number-disabled:hover .rc-input-number-handler-wrap {
border-color: #d9d9d9;
}
.rc-input-number-input-wrap {
overflow: hidden;
height: 100%;
}
.rc-input-number-input {
width: 100%;
text-align: center;
outline: 0;
-moz-appearance: textfield;
line-height: 26px;
height: 100%;
transition: all 0.3s ease;
color: #666666;
border: 0;
border-radius: 4px;
padding: 0;
transition: all 0.3s;
}
.rc-input-number-handler-wrap {
float: right;
border-left: 1px solid #D9D9D9;
width: 20px;
height: 100%;
transition: all 0.3s;
}
.rc-input-number-handler-up {
border-bottom: 1px solid #D9D9D9;
padding-top: 1px;
transition: all 0.3s;
}
.rc-input-number-handler-up-inner:after {
content: '+';
}
.rc-input-number-handler-down {
transition: all 0.3s;
}
.rc-input-number-handler-down-inner:after {
content: '-';
}
.rc-input-number-handler-down-disabled,
.rc-input-number-handler-up-disabled {
opacity: 0.72;
}
.rc-input-number-handler-down-disabled:hover,
.rc-input-number-handler-up-disabled:hover {
color: #999;
border-color: #d9d9d9;
}
.rc-input-number-disabled .rc-input-number-input {
opacity: 0.72;
cursor: not-allowed;
background-color: #f3f3f3;
}
.rc-input-number-disabled .rc-input-number-handler {
opacity: 0.72;
}
.rc-input-number-disabled .rc-input-number-handler:hover {
color: #999;
border-color: #d9d9d9;
}