1 |
|
2 |
|
3 |
|
4 |
|
5 | .u-form-control {
|
6 | position: relative;
|
7 | display: inline-block;
|
8 | padding: 0 12px;
|
9 | width: 100%;
|
10 | height: 32px;
|
11 | cursor: text;
|
12 | font-size: 14px;
|
13 | line-height: 1.5;
|
14 | color: #424242;
|
15 | background-color: #fff;
|
16 | background-image: none;
|
17 | border: 1px solid rgb(165, 173, 186);
|
18 | border-radius: 3px;
|
19 | transition: all .3s; }
|
20 | .u-form-control:focus {
|
21 | border-color: #66afe9;
|
22 | outline: 0; }
|
23 | .u-form-control::-ms-clear, .u-form-control ::-ms-reveal {
|
24 | display: none; }
|
25 |
|
26 | .u-form-control[disabled] {
|
27 | background: #F7F9FB;
|
28 | border-color: #DFE1E6;
|
29 | color: #909090;
|
30 | cursor: not-allowed; }
|
31 |
|
32 | .u-form-control.lg {
|
33 | height: 40px;
|
34 | font-size: 14px; }
|
35 |
|
36 | .u-form-control.sm {
|
37 | font-size: 12px;
|
38 | height: 26px; }
|
39 |
|
40 | .u-form-control-search-wrapper {
|
41 | position: absolute;
|
42 | top: 0;
|
43 | left: 0;
|
44 | height: 28px;
|
45 | padding: 4px;
|
46 | width: 100%; }
|
47 | .u-form-control-search-wrapper .u-form-control-search-action {
|
48 | color: #ccc;
|
49 | position: absolute;
|
50 | top: 2px;
|
51 | right: 2px;
|
52 | width: 32px;
|
53 | height: 32px;
|
54 | line-height: 32px;
|
55 | text-align: center;
|
56 | font-size: 14px;
|
57 | text-decoration: none; }
|
58 | .u-form-control-search-wrapper .u-form-control-search-action .uf {
|
59 | transition: all .3s;
|
60 | font-size: 12px;
|
61 | color: #ccc; }
|
62 | .u-form-control-search-wrapper .u-form-control-search-action .uf.uf-search:before {
|
63 | content: "\e603"; }
|
64 |
|
65 | .u-form-control-affix-wrapper {
|
66 | position: relative;
|
67 | display: inline-block;
|
68 | width: 100%; }
|
69 | .u-form-control-affix-wrapper .u-form-control-prefix, .u-form-control-affix-wrapper .u-form-control-suffix {
|
70 | position: absolute;
|
71 | top: 50%;
|
72 | -webkit-transform: translateY(-50%);
|
73 | -ms-transform: translateY(-50%);
|
74 | transform: translateY(-50%);
|
75 | z-index: 2;
|
76 | line-height: 0;
|
77 | right: 7px;
|
78 | color: rgba(0, 0, 0, 0.65); }
|
79 |
|
80 |
|
81 |
|
82 |
|
83 |
|
84 | .u-input-group-addon {
|
85 | padding: 6px 12px;
|
86 | font-size: 14px;
|
87 | font-weight: 400;
|
88 | line-height: 1;
|
89 | color: #505F79;
|
90 | text-align: center;
|
91 | border-radius: 3px;
|
92 | width: 1%;
|
93 | white-space: nowrap;
|
94 | vertical-align: middle;
|
95 | display: table-cell; }
|
96 | .u-input-group-addon:last-child {
|
97 | border-left: 0;
|
98 | border-top-left-radius: 0;
|
99 | border-bottom-left-radius: 0; }
|
100 | .u-input-group-addon:first-child {
|
101 | border-right: 0;
|
102 | border-bottom-right-radius: 0;
|
103 | border-top-right-radius: 0; }
|
104 |
|
105 |
|
106 |
|
107 | .u-input-group-btn {
|
108 | font-size: 0;
|
109 | white-space: nowrap;
|
110 | position: relative;
|
111 | width: 1%;
|
112 | vertical-align: middle;
|
113 | display: table-cell; }
|
114 | .u-input-group-btn .u-button {
|
115 | position: relative; }
|
116 |
|
117 | .u-input-group-btn:first-child > button, .u-input-group-btn:first-child > .btn-group > button, .u-input-group-btn:first-child > .dropdown-toggle, .u-input-group-btn:last-child > .btn-group:not(:last-child) > button, .u-input-group-btn:last-child > button:not(:last-child):not(.dropdown-toggle) {
|
118 | border-bottom-right-radius: 0;
|
119 | border-top-right-radius: 0; }
|
120 |
|
121 | .u-input-group-btn:first-child > .btn-group:not(:first-child) > button, .u-input-group-btn:first-child > button:not(:first-child), .u-input-group-btn:last-child > button, .u-input-group-btn:last-child > .btn-group > button, .u-input-group-btn:last-child > .dropdown-toggle {
|
122 | border-bottom-left-radius: 0;
|
123 | border-top-left-radius: 0; }
|
124 |
|
125 | .u-input-group-btn:last-child > button, .u-input-group-btn:last-child > .btn-group {
|
126 | margin-left: -1px; }
|
127 |
|
128 | .u-input-group-btn:first-child > button, .u-input-group-btn:first-child > .btn-group {
|
129 | margin-right: -1px; }
|
130 |
|
131 | .u-input-group {
|
132 | position: relative;
|
133 | display: table;
|
134 | border-collapse: separate; }
|
135 | .u-input-group .u-input-group-btn .u-button {
|
136 | border: 1px solid #ccc;
|
137 | height: 32px;
|
138 | line-height: 1.3; }
|
139 | .u-input-group .u-form-control {
|
140 | position: relative;
|
141 | float: left;
|
142 | width: 100%;
|
143 | margin-bottom: 0;
|
144 | display: table-cell; }
|
145 | .u-input-group .u-form-control:first-child {
|
146 | border-bottom-right-radius: 0;
|
147 | border-top-right-radius: 0; }
|
148 | .u-input-group .u-form-control:last-child {
|
149 | border-bottom-left-radius: 0;
|
150 | border-top-left-radius: 0; }
|
151 | .u-input-group .u-form-control:not(:first-child):not(:last-child) {
|
152 | border-radius: 0; }
|
153 | .u-input-group.simple .u-form-control {
|
154 | border-radius: 3px; }
|
155 | .u-input-group.simple .u-input-group-btn {
|
156 | position: absolute;
|
157 | top: 4px;
|
158 | bottom: 0;
|
159 | right: 6px;
|
160 | min-width: 20px; }
|
161 | .u-input-group.simple .u-form-control:not(:last-child) {
|
162 | padding-right: 23px; }
|
163 |
|
164 | .u-cascader {
|
165 | font-size: 12px; }
|
166 | .u-cascader-menus {
|
167 | font-size: 12px;
|
168 | overflow: hidden;
|
169 | background: #fff;
|
170 | position: absolute;
|
171 | border: 1px solid #d9d9d9;
|
172 | border-radius: 3px;
|
173 | box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
|
174 | white-space: nowrap;
|
175 | z-index: 10; }
|
176 | .u-cascader-menus-hidden {
|
177 | display: none; }
|
178 | .u-cascader-menus.slide-up-enter, .u-cascader-menus.slide-up-appear {
|
179 | opacity: 0;
|
180 | animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
|
181 | animation-play-state: paused; }
|
182 | .u-cascader-menus.slide-up-leave {
|
183 | opacity: 1;
|
184 | animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);
|
185 | animation-play-state: paused; }
|
186 | .u-cascader-menus.slide-up-enter.slide-up-enter-active-placement-bottomLeft {
|
187 | animation-name: SlideUpIn;
|
188 | animation-play-state: running; }
|
189 | .u-cascader-menus.slide-up-appear.slide-up-appear-active-placement-bottomLeft {
|
190 | animation-name: SlideUpIn;
|
191 | animation-play-state: running; }
|
192 | .u-cascader-menus.slide-up-enter.slide-up-enter-active-placement-topLeft {
|
193 | animation-name: SlideDownIn;
|
194 | animation-play-state: running; }
|
195 | .u-cascader-menus.slide-up-appear.slide-up-appear-active-placement-topLeft {
|
196 | animation-name: SlideDownIn;
|
197 | animation-play-state: running; }
|
198 | .u-cascader-menus.slide-up-leave.slide-up-leave-active-placement-bottomLeft {
|
199 | animation-name: SlideUpOut;
|
200 | animation-play-state: running; }
|
201 | .u-cascader-menus.slide-up-leave.slide-up-leave-active-placement-topLeft {
|
202 | animation-name: SlideDownOut;
|
203 | animation-play-state: running; }
|
204 | .u-cascader-menu {
|
205 | display: inline-block;
|
206 | width: 100px;
|
207 | height: 192px;
|
208 | list-style: none;
|
209 | margin: 0;
|
210 | padding: 0;
|
211 | border-right: 1px solid #e9e9e9;
|
212 | overflow: auto; }
|
213 | .u-cascader-menu:last-child {
|
214 | border-right: 0; }
|
215 | .u-cascader-menu-item {
|
216 | height: 32px;
|
217 | line-height: 32px;
|
218 | padding: 0 8px 0 20px;
|
219 | cursor: pointer;
|
220 | white-space: nowrap;
|
221 | overflow: hidden;
|
222 | text-overflow: ellipsis;
|
223 | transition: all 0.3s ease;
|
224 | position: relative; }
|
225 | .u-cascader-menu-item:hover {
|
226 | background-color: rgb(235, 236, 240);
|
227 | color: rgb(245, 60, 50); }
|
228 | .u-cascader-menu-item-disabled {
|
229 | cursor: not-allowed;
|
230 | color: #ccc; }
|
231 | .u-cascader-menu-item-disabled:hover {
|
232 | background: transparent; }
|
233 | .u-cascader-menu-item-loading:after {
|
234 | position: absolute;
|
235 | right: 12px;
|
236 | content: 'loading';
|
237 | color: #aaa;
|
238 | font-style: italic; }
|
239 | .u-cascader-menu-item-active {
|
240 | background-color: #f7f7f7; }
|
241 | .u-cascader-menu-item-expand {
|
242 | position: relative; }
|
243 | .u-cascader-menu-item-expand-icon {
|
244 | position: absolute;
|
245 | right: 8px;
|
246 | line-height: 32px; }
|
247 | .u-cascader-menu-item-expand-icon .uf {
|
248 | font-size: 14px;
|
249 | color: #999; }
|
250 | .u-cascader-input-group .u-form-control {
|
251 | font-size: 12px;
|
252 | color: #212121; }
|
253 | .u-cascader-input-group .u-form-control:hover {
|
254 | border-color: #66afe9; }
|
255 | .u-cascader-input-group .u-input-group-btn .uf {
|
256 | color: #505F79;
|
257 | font-size: 14px; }
|
258 | .u-cascader-input-group .u-input-group-btn .uf.uf-close-c {
|
259 | cursor: pointer;
|
260 | color: #C0C4CC; }
|
261 |
|
262 | .u-input-group.simple .u-form-control.sm + .u-input-group-btn {
|
263 | top: 2px; }
|
264 |
|
265 | .u-input-group.simple .u-form-control.lg + .u-input-group-btn {
|
266 | top: 10px; }
|
267 |
|
268 | @keyframes SlideUpIn {
|
269 | 0% {
|
270 | opacity: 0;
|
271 | transform-origin: 0% 0%;
|
272 | transform: scaleY(0.8); }
|
273 | 100% {
|
274 | opacity: 1;
|
275 | transform-origin: 0% 0%;
|
276 | transform: scaleY(1); } }
|
277 |
|
278 | @keyframes SlideUpOut {
|
279 | 0% {
|
280 | opacity: 1;
|
281 | transform-origin: 0% 0%;
|
282 | transform: scaleY(1); }
|
283 | 100% {
|
284 | opacity: 0;
|
285 | transform-origin: 0% 0%;
|
286 | transform: scaleY(0.8); } }
|
287 |
|
288 | @keyframes SlideDownIn {
|
289 | 0% {
|
290 | opacity: 0;
|
291 | transform-origin: 0% 100%;
|
292 | transform: scaleY(0.8); }
|
293 | 100% {
|
294 | opacity: 1;
|
295 | transform-origin: 0% 100%;
|
296 | transform: scaleY(1); } }
|
297 |
|
298 | @keyframes SlideDownOut {
|
299 | 0% {
|
300 | opacity: 1;
|
301 | transform-origin: 0% 100%;
|
302 | transform: scaleY(1); }
|
303 | 100% {
|
304 | opacity: 0;
|
305 | transform-origin: 0% 100%;
|
306 | transform: scaleY(0.8); } }
|