UNPKG

35.5 kBSCSSView Raw
1
2$font-family-A:"Helvetica Neue",Tahoma,"PingFang SC","Hiragino Sans GB",SimSun,STHeitiSC,sans-serif;
3$font-family-H: 'Helvetica Neue', Tahoma, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', STHeitiSC, sans-serif;
4
5$M1:#0A1319;
6$M2:#66757F;
7$M3:#BCC8D1;
8$M4:#E4EBF0;
9$M5:#F5F8FA;
10$M6:#ffffff;
11//错误色
12 $E1:#cc2929;
13
14//主色
15 $C1:#004170;
16 $C2:#005999;
17 $C3:#1687d9;
18 $C3Hover:#1E7BC0;
19 $C4:#8CCCF8;
20 $C5:#084E82;
21.autoTree_Search {
22 position:absolute!important;
23 z-index:1000;
24 background-color:$M6;
25 width:340px!important;
26 border-radius: 5px;
27 .auto-tree__search-panel{
28 .base-tree-component{
29 max-height: 325px !important;
30 overflow: auto;
31 margin-top: -15px;
32 }
33 .error_page{
34 height: 295px;
35 display: block;
36 width: 100%;
37 background-image: url('empty-img.png');
38 background-repeat: no-repeat;
39 background-position: 50%;
40 }
41 .base-search-component{
42 padding: 15px 16px 20px 14px;
43 margin:0;
44 input{
45 text-indent:8px;
46 width:calc(100% - 2px);
47 padding:2px 0;
48 font-size: 12px;
49 }
50 .base-search-input-default{
51 display: none;
52 }
53 .base-search-input {
54 .icon-close {
55 top: 8px;
56 }
57 }
58 }
59 .selectedComponent{
60 bottom: inherit;
61 left: inherit;
62 .base-button-component{
63 vertical-align: middle;
64 margin-bottom: 7px;
65 }
66 }
67 .auto-result-container-search{
68 margin-top: -15px;
69 }
70 .auto-result-container-search,
71 .auto-result{
72 max-height: 315px;
73 }
74 }
75 .writeInput {
76 .selectIcon {
77 top: 16px;
78 }
79 }
80 .writeInputonBlur, .writeInputonClick {
81 top: 9px;
82 height: 31px;
83 }
84 .auto-tree__panel-bottom{
85 border-top:1px solid #e4ebf0;
86 .selectedComponent{
87 width: 340px;
88 height: 50px;
89 .inputText{
90 margin-left: 15px;
91 }
92 }
93 }
94}
95.auto-tree {
96 width: 100%;
97 position: relative;
98 .innerAutoTree {
99 position: relative;
100 margin: 5px 0 10px 0;
101 }
102 .form-item_is-hidden-tips {
103 position: absolute;
104 width: calc(100% - 40px);
105 line-height: 28px;
106 height: 28px;
107 margin-left: 5px;
108 white-space: nowrap;
109 overflow: hidden;
110 text-overflow: ellipsis;
111 color: transparent;
112 cursor: text;
113 font-size: 12px;
114 font-family: $font-family-A;
115 }
116 .selectedComponent {
117 .submitBtn {
118 position: absolute;
119 bottom: 0;
120 left: 275px;
121 }
122 }
123 .auto-input-edit {
124 height: 30px;
125 box-sizing: border-box;
126 }
127 .auto-input-edit_muit {
128 box-sizing: border-box;
129 }
130 .closeBtn-search {
131 margin-right: 68px;
132 }
133 .closeBtn-edit-showDropDown {
134 margin-right: calc(50% + 30px);
135 }
136 .closeBtn-edit-notShowDropDown {
137 margin-right: 16px;
138 }
139 .drop-down-list-component .oneLine-input .drop-list-label {
140 width: 0;
141 margin-right: 0;
142 }
143 .pop {
144 display: block;
145 width: 80%;
146 background-color: $M6;
147 z-index: 9999;
148 margin: 0 auto;
149 position: absolute;
150 top: 0;
151 box-shadow: 0px 5px 20px rgba(0, 0, 0, .3);
152 .closeBtn {
153 position: absolute;
154 right: 15px;
155 bottom: -12px;
156 }
157 }
158 &:after {
159 content: '';
160 overflow: hidden;
161 display: block;
162 height: 0;
163 clear: both;
164 }
165 .field-left{
166 height: 28px;
167 text-indent: 5px;
168 line-height: 28px;
169 font-family: $font-family-H;
170 font-size: 12px;
171 color: #3d5566;
172 overflow: hidden;
173 white-space: nowrap;
174 text-overflow: ellipsis;
175 .helpMsg_Style {
176 font-size: 12px;
177 opacity: 0.5;
178 color: $C2;
179 }
180 }
181 .auto-rightinput {
182 .dropDownList {
183 float: left;
184 box-sizing: border-box;
185 margin-left: 30px;
186 margin-top: -20px;
187 width: calc(50% - 15px);
188 .form-item {
189 min-width: 120px;
190 margin-top: 0;
191 }
192 }
193 .dropdownMin {
194 float: left;
195 box-sizing: border-box;
196 margin-left: 0px;
197 width: 100%;
198 }
199 .date-time-close{
200 margin-top: 10px\9;
201 position: absolute;
202 right: 20px;
203 margin-right: 0;
204 top: 8px;
205 top: -4px\9;
206 width: 14px;
207 height: 14px;
208 cursor: pointer !important;
209 font-size: 14px;
210 color: $M3;
211 line-height: 0;
212 > svg {
213 pointer-events: none;
214 }
215 &:hover{
216 color:#cc2929;
217 };
218 }
219 .date-time-close-search {
220 margin-top: 10px\9;
221 position: absolute;
222 right: 0px;
223 top: 15px;
224 top: 5px\9;
225 width: 14px;
226 height: 14px;
227 cursor: pointer !important;
228 font-size: 14px;
229 color: $M3;
230 line-height: 0;
231 &:hover{
232 color:#cc2929;
233 };
234 }
235 }
236 .auto-form-input {
237 position: relative;
238 display: flex;
239 flex-wrap: wrap;
240 display: -ms-flexbox;
241 -ms-flex-wrap: wrap;
242 height: 100%;
243 .autoTreeIcon-notShowDropDown {
244 width: 11px;
245 height: 6px;
246 position: absolute;
247 top: 12px;
248 right: 6px;
249 cursor: pointer;
250 }
251 .autoTreeIcon-showDropDown {
252 width: 11px;
253 height: 6px;
254 position: absolute;
255 top: 12px;
256 right: 5px;
257 cursor: pointer;
258 }
259 .leftInput-showDropDown {
260 position: relative;
261 float: left;
262 position: relative;
263 box-sizing: border-box;
264 }
265 .isMinWidth {
266 width: 100%;
267 }
268 .notMin {
269 width: calc(50% - 15px);
270 }
271 .leftInput-notShowDropDown {
272 width: 100%;
273 }
274 .drop-down-button{
275 position: absolute;
276 right: 14px;
277 top: 0;
278 .drop-down-btn-list{
279 margin: 14px 0 10px 0;
280 }
281 }
282 .disabled-icon{
283 height: 13px;
284 width: 11px;
285 position: absolute;
286 right: 5px;
287 bottom: 9px;
288 }
289 .autoTreeLeftInput {
290 padding: 0px;
291 line-height: 20px;
292 text-indent: 5px;
293 box-sizing: border-box;
294 overflow: hidden;
295 white-space: nowrap;
296 text-overflow: ellipsis;
297 margin-top: 0;
298 width: 100%;
299 color: $M1;
300 font-size: 12px;
301 outline: 0;
302 font-family: $font-family-H;
303 border-radius:5px;;
304 &.autoTree-search-input{
305 line-height: 40px;
306 height: 40px;
307 width:310px;
308 border-bottom: 1px solid $M4;
309 margin:0 15px 0 15px;
310 padding-right:72px;
311 }
312 &:hover{
313 border-color: #96d0fa;
314 }
315 }
316 .autoTreeLeftInput:-moz-placeholder {
317 font-size: 14px;
318 }
319 .autoTreeLeftInput::-moz-placeholder {
320 font-size: 14px;
321 }
322 input::input-placeholder {
323 text-align: left;
324 font-size: 14px;
325 font-family: $font-family-H;
326 color: $M3;
327 }
328 input::-moz-placeholder {
329 text-align: left;
330 font-size: 14px;
331 font-family: $font-family-H;
332 color: $M3;
333 }
334 input:-ms-input-placeholder {
335 text-align: left;
336 font-size: 14px;
337 font-family: $font-family-H;
338 color: $M3;
339 }
340 input::-webkit-input-placeholder {
341 text-align: left;
342 font-size: 14px;
343 font-family: $font-family-H;
344 color: $M3;
345 }
346 }
347 .auto-input-edit {
348 &.auto-tree__input_not-dropdown:after{
349 left:50%;
350 }
351 .autoTreeLeftInput-single {
352 height: 30px;
353 border: 1px solid $M4;
354 }
355 }
356 .auto-input-search {
357 .findAll {
358 cursor: pointer;
359 position: absolute;
360 top: 10px;
361 right: 14px;
362 font-family: $font-family-H;
363 font-size: 12px;
364 font-weight: normal;
365 font-style: normal;
366 font-stretch: normal;
367 color: $C2;
368 label {
369 cursor: pointer;
370 }
371 }
372 &:after {
373 display: block;
374 position: absolute;
375 content: "";
376 left: 50%;
377 width: 0;
378 height: 2px;
379 background-color: #1b85d6;
380 transition: left ease-in-out .15s, width ease-in-out .15s;
381 }
382 }
383 .auto-form-input-active-notShowDropDown {
384 .autoTreeLeftInput {
385 border:1px solid #1687d9;
386 box-shadow:0 0 2px 1px #96d0fa;
387 border-radius:5px;
388 &:hover {
389 border-color: #1687d9;
390 }
391 }
392 input::-ms-clear {
393 display: none;
394 }
395 }
396 .auto-form-input-active-showDropDown {
397 .autoTreeLeftInput {
398 border:1px solid #1687d9;
399 box-shadow:0 0 2px 1px #96d0fa;
400 border-radius:5px;
401 &:hover {
402 border-color: #1687d9;
403 }
404 }
405 input::-ms-clear {
406 display: none;
407 }
408 }
409 .auto-form-input-active-showDropDownisMin {
410 &:after {
411 width: 100%;
412 left: 0;
413 top: 24px;
414 transition-property:width,left;
415 transition-duration:0.35s,0.35s;
416 transition-timing-function:cubic-bezier(0.66,1.65,0.23,0.87),cubic-bezier(0.66,1.65,0.23,0.87);
417 }
418 input::-ms-clear {
419 display: none;
420 }
421 }
422 .auto-form-input-active-seach {
423 &:after {
424 width: 310px;
425 left: 15px;
426 transition-property:width,left;
427 transition-duration:0.35s,0.35s;
428 transition-timing-function:cubic-bezier(0.66,1.65,0.23,0.87),cubic-bezier(0.66,1.65,0.23,0.87);
429 }
430 input::-ms-clear {
431 display: none;
432 }
433 }
434 .auto-form-input-active-seach-drop {
435 &:after {
436 width: 310px;
437 left: 15px;
438 transition-property:width,left;
439 transition-duration:0.35s,0.35s;
440 transition-timing-function:cubic-bezier(0.66,1.65,0.23,0.87),cubic-bezier(0.66,1.65,0.23,0.87);
441 }
442 }
443 .pop-auto-result {
444 width: 70%;
445 max-height: 85%;
446 padding-top: 10px;
447 border-radius: 5px;
448 overflow: auto;
449 margin-top: 2px;
450 #li-hold-on {
451 background-color: $M5;
452 }
453 .auto-tree__item {
454 padding: 0 15px;
455 color: $M1;
456 line-height: 24px;
457 list-style: none;
458 height: 24px;
459 font-size: 12px;
460 background-color: $M6;
461 cursor:pointer;
462 &:hover {
463 background-color: $M5;
464 }
465 em{
466 color:$M1;
467 width: 12px;
468 height: 20px;
469 border-radius: 2px;
470 background: rgba(228, 166, 0,.2);
471 font-family: $font-family-H;
472 font-style: normal;
473 }
474 }
475 .auto-tree__item_notShow {
476 overflow: hidden;
477 text-overflow:ellipsis;
478 white-space: nowrap;
479 padding: 0 15px;
480 color: $M1;
481 list-style: none;
482 height: 30px;
483 font-size: 12px;
484 background-color: $M6;
485 cursor:pointer;
486 &:hover {
487 background-color: $M5;
488 }
489 em{
490 color:$M1;
491 width: 12px;
492 height: 20px;
493 border-radius: 2px;
494 background: rgba(228, 166, 0,.2);
495 font-family: $font-family-H;
496 font-style: normal;
497 }
498 }
499 }
500 .auto-result-container {
501 background-color: $M6;
502 width: 100%;
503 padding-left: 0;
504 border-radius: 5px;
505 margin-top: 2px;
506 z-index: 99999;
507 box-shadow: 0px 3px 5px rgba(0, 0, 0, .3);
508 display: flex;
509 position: absolute;
510 .findAll {
511 font-family: $font-family-H;
512 font-size: 12px;
513 font-weight: normal;
514 font-style: normal;
515 font-stretch: normal;
516 color: $C2;
517 cursor: pointer;
518 label {
519 cursor: pointer;
520 }
521 }
522 .searchContainer {
523 width: 100%;
524 height: 100%;
525 padding-bottom: 50px;
526 border-radius: 2px;
527 background-color: $M6;
528 box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.3);
529 .base-search-component{
530 width: calc(70% - 30px);
531 margin: 0 15px 8px 15px;
532 }
533 }
534 .closeBtn {
535 position: absolute;
536 right: 15px;
537 bottom: 0px;
538 }
539 .auto-result {
540 width: 100%;
541 padding-top: 10px;
542 overflow: auto;
543 #li-hold-on {
544 background-color: $M5;
545 }
546 .auto-tree__item {
547 padding: 0 15px;
548 color: $M1;
549 list-style: none;
550 height: 30px;
551 font-size: 12px;
552 background-color: $M6;
553 cursor:pointer;
554 &:hover {
555 background-color: $M5;
556 }
557 em{
558 color:$M1;
559 width: 12px;
560 height: 20px;
561 border-radius: 2px;
562 background: rgba(228, 166, 0,.2);
563 font-family: $font-family-H;
564 font-style: normal;
565 }
566 }
567 .auto-tree__item_notShow {
568 overflow: hidden;
569 text-overflow:ellipsis;
570 white-space: nowrap;
571 padding: 0 15px;
572 color: $M1;
573 list-style: none;
574 height: 30px;
575 font-size: 12px;
576 background-color: $M6;
577 cursor:pointer;
578 &:hover {
579 background-color: $M5;
580 }
581 em{
582 color:$M1;
583 width: 12px;
584 height: 20px;
585 border-radius: 2px;
586 background: rgba(228, 166, 0,.2);
587 font-family: $font-family-H;
588 font-style: normal;
589 }
590 }
591 .findNothing {
592 width: 112px;
593 height: 141px;
594 margin: 0 auto;
595 margin-top: 39px;
596 }
597 .findAll {
598 color: $C2;
599 font-size: 12px;
600 text-align: right;
601 padding: 10px 15px 0px 0;
602 cursor: pointer;
603 label{
604 cursor:pointer;
605 }
606 }
607 .findAll-null {
608 color: $C2;
609 font-size: 14px;
610 text-align: center;
611 padding-top: 5px;
612 margin-bottom: 50px;
613 cursor: pointer;
614 label{
615 cursor:pointer;
616 }
617 }
618 }
619 }
620 .auto-result-container-search {
621 background-color: $M6;
622 width: 100%;
623 padding-left: 0;
624 display: flex;
625 .searchContainer {
626 width: 100%;
627 height: 100%;
628 padding-bottom: 50px;
629 border-radius: 2px;
630 background-color: $M6;
631 box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.3);
632 .base-search-component{
633 width: calc(70% - 30px);
634 margin: 0 15px 8px 15px;
635 }
636 }
637 .closeBtn {
638 position: absolute;
639 right: 15px;
640 bottom: 0px;
641 }
642 .auto-result {
643 max-height: 315px;
644 width: 100%;
645 overflow: auto;
646 .autoTree_ItemName {
647 overflow: hidden;
648 text-overflow: ellipsis;
649 white-space: nowrap;
650 height: 24px;
651 font-family: $font-family-H;
652 font-size: 12px;
653 font-weight: normal;
654 font-style: normal;
655 font-stretch: normal;
656 line-height: 1.71;
657 color: #03101a;
658 .auto-tree__item-pname{
659 color: #acb7bf;
660 padding-left: 5px;
661 }
662 }
663 .autoTree_ParentName {
664 overflow: hidden;
665 text-overflow: ellipsis;
666 white-space: nowrap;
667 height: 20px;
668 font-family: $font-family-H;
669 font-size: 12px;
670 font-weight: normal;
671 font-style: normal;
672 font-stretch: normal;
673 line-height: 1.67;
674 color: #3d5566;
675 }
676 #li-hold-on {
677 background-color: $M5;
678 }
679 .auto-tree__item {
680 overflow: hidden;
681 text-overflow:ellipsis;
682 white-space: nowrap;
683 padding: 5px 15px 5px 20px;
684 color: $M1;
685 list-style: none;
686 font-size: 14px;
687 background-color: $M6;
688 cursor:pointer;
689 &:hover {
690 background-color: $M5;
691 }
692 em{
693 color:$M1;
694 width: 12px;
695 height: 20px;
696 border-radius: 2px;
697 background: rgba(228, 166, 0,.2);
698 font-family: $font-family-H;
699 font-style: normal;
700 }
701 }
702 .auto-tree__item_notShow {
703 overflow: hidden;
704 text-overflow:ellipsis;
705 white-space: nowrap;
706 padding: 5px 15px;
707 color: $M1;
708 list-style: none;
709 font-size: 14px;
710 background-color: $M6;
711 cursor:pointer;
712 &:hover {
713 background-color: $M5;
714 }
715 em{
716 color:$M1;
717 width: 12px;
718 height: 20px;
719 border-radius: 2px;
720 background: rgba(228, 166, 0,.2);
721 font-family: $font-family-H;
722 font-style: normal;
723 }
724 }
725 .findNothing {
726 width: 112px;
727 height: 141px;
728 margin: 0 auto;
729 margin-top: 39px;
730 }
731 .findAll {
732 color: $C2;
733 font-size: 12px;
734 text-align: right;
735 padding: 10px 15px 0px 0;
736 cursor: pointer;
737 label{
738 cursor:pointer;
739 }
740 }
741 .findAll-null {
742 color: $C2;
743 font-size: 14px;
744 text-align: center;
745 padding-top: 5px;
746 margin-bottom: 50px;
747 cursor: pointer;
748 label{
749 cursor:pointer;
750 }
751 }
752 }
753 }
754 .base-input-error-label{
755 .field-right{
756 input{
757 background:rgba(204,41,41,0.05);
758 border:1px solid #cc2929;
759 border-radius:5px;
760 }
761 .autoTreeLeftInput {
762 &:hover{
763 border-color: #cc2929;
764 }
765 }
766 }
767 }
768 //p标签blur--transform-origin:center;
769 .input-pBlur{
770 transform:scale(1.5,1.5);
771 -moz-transform:scale(1.5,1.5);
772 -webkit-transform:scale(1.5,1.5);
773 -o-transform:scale(1.5,1.5);
774 transform-origin:50% 0%;
775 -webkit-transform-origin:50% 0%;
776 -moz-transform-origin:50% 0%;
777 -o-transform-origin:50% 0%;
778 -ms-transform-origin:50% 0%;
779 opacity:0;
780 font-size:16px;
781 transition: opacity .35s ease,font-size .35s ease,transform .35s ease;
782 }
783 //p标签foucus--transform-origin:center;
784 .input-pFoucus{
785 -moz-transform:none;
786 -webkit-transform:none;
787 -o-transform:none;
788 transform:none;
789 transform-origin:50% 0%;
790 -webkit-transform-origin:50% 0%;
791 -moz-transform-origin:50% 0%;
792 -o-transform-origin:50% 0%;
793 -ms-transform-origin:50% 0%;
794 opacity:1;
795 font-size:12px;
796 transition: opacity .35s ease,font-size .35s ease,transform .35s ease;
797 }
798 //非正常
799 .base-input-normal-input{
800 box-sizing: border-box;
801 border-bottom:2px solid $E1;
802 }
803 //p验证正确
804 .input-pRight{
805 color:$C3;
806 }
807 //p验证错误
808 .input-pError{
809 color:#cc2929 !important;
810 }
811 //文字错误样式
812 .base-input-show{
813 padding-left: 5px;
814 line-height: initial;
815 z-index: -1;
816 }
817 .base-input-show-text{
818 line-height:20px;
819 font-size: 12px;
820 font-family: $font-family-H;
821 }
822}
823
824#AutoTree_ul{
825 .auto-tree__panel-bottom{
826 &.border-top-1px{
827 border-top: 1px solid #e4ebf0;
828 }
829 .selectedComponent{
830 width: 340px;
831 height: 50px;
832 .inputText{
833 margin-left: 15px;
834 }
835 }
836 .submitBtn {
837 position: absolute;
838 bottom: 0;
839 right: 15px;
840 }
841 .writeInput {
842 .selectIcon {
843 top: 16px;
844 }
845 }
846 .writeInputonBlur, .writeInputonClick {
847 top: 9px;
848 height: 31px;
849 }
850 .base-button-component{
851 margin-bottom: 7px;
852 }
853 }
854 .empty-con{
855 height: 310px ;
856 }
857 .base-tree-component .base-tree-view .us-no-data
858 ,.autotree__tree-panel .error_page{
859 height: 295px;
860 display: block;
861 width: 100%;
862 background-image: url('empty-img.png');
863 background-repeat: no-repeat;
864 background-position: 50%;
865 }
866 .autotree__tree-panel{
867 background:#ffffff;
868 box-shadow: 0 3px 10px 0 rgba(0,0,0,0.15);
869 border-radius:5px;
870 min-width: 340px;
871 }
872 .base-tree-component{
873 max-height: 325px !important;
874 overflow: auto;
875 }
876 .auto-result-container {
877 background-color: $M6;
878 width: 100%;
879 padding-left: 0;
880 border-radius: 5px;
881 margin-top: 2px;
882 z-index: 99999;
883 box-shadow: 0px 3px 5px rgba(0, 0, 0, .3);
884 display: flex;
885 position: absolute;
886 .findAll {
887 font-family: $font-family-H;
888 font-size: 12px;
889 font-weight: normal;
890 font-style: normal;
891 font-stretch: normal;
892 color: $C2;
893 cursor: pointer;
894 label {
895 cursor: pointer;
896 }
897 }
898 .searchContainer {
899 width: 100%;
900 height: 100%;
901 padding-bottom: 50px;
902 border-radius: 2px;
903 background-color: $M6;
904 box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.3);
905 .base-search-component{
906 width: calc(70% - 30px);
907 margin: 0 15px 8px 15px;
908 }
909 }
910 .closeBtn {
911 position: absolute;
912 right: 15px;
913 bottom: -43px;
914 }
915 .findAll-null {
916 color: $C2;
917 font-size: 14px;
918 position: absolute;
919 left: calc(50% - 34px);
920 bottom: 50px;
921 padding-top: 5px;
922 cursor: pointer;
923 label{
924 cursor:pointer;
925 }
926 }
927 .auto-result {
928 width: 100%;
929 padding-top: 10px;
930 overflow: auto;
931 .autoTree_ItemName {
932 overflow: hidden;
933 text-overflow: ellipsis;
934 white-space: nowrap;
935 height: 24px;
936 font-family: $font-family-H;
937 font-size: 12px;
938 font-weight: normal;
939 font-style: normal;
940 font-stretch: normal;
941 line-height: 1.71;
942 padding-top: 5px;
943 color: #03101a;
944 }
945 .autoTree_ParentName {
946 overflow: hidden;
947 text-overflow: ellipsis;
948 white-space: nowrap;
949 height: 20px;
950 font-family: $font-family-H;
951 font-size: 12px;
952 font-weight: normal;
953 font-style: normal;
954 font-stretch: normal;
955 line-height: 1.67;
956 color: #3d5566;
957 }
958 #li-hold-on {
959 background-color: $M5;
960 }
961 .auto-tree__item {
962 overflow: hidden;
963 text-overflow:ellipsis;
964 white-space: nowrap;
965 padding: 0 15px;
966 color: $M1;
967 list-style: none;
968 height: 54px;
969 font-size: 12px;
970 background-color: $M6;
971 cursor:pointer;
972 &:hover {
973 background-color: $M5;
974 }
975 em{
976 color:$M1;
977 width: 12px;
978 height: 20px;
979 border-radius: 2px;
980 background: rgba(228, 166, 0,.2);
981 font-family: $font-family-H;
982 font-style: normal;
983 }
984 }
985 .auto-tree__item_notShow {
986 overflow: hidden;
987 text-overflow:ellipsis;
988 white-space: nowrap;
989 padding: 0 15px;
990 color: $M1;
991 list-style: none;
992 height: 30px;
993 font-size: 12px;
994 background-color: $M6;
995 cursor:pointer;
996 &:hover {
997 background-color: $M5;
998 }
999 em{
1000 color:$M1;
1001 width: 12px;
1002 height: 20px;
1003 border-radius: 2px;
1004 background: rgba(228, 166, 0,.2);
1005 font-family: $font-family-H;
1006 font-style: normal;
1007 }
1008 }
1009 .findNothing {
1010 margin: 0 auto;
1011 height: 295px;
1012 display: block;
1013 width: 100%;
1014 background-image: url('empty-img.png');
1015 background-repeat: no-repeat;
1016 background-position: 50% 30%;
1017 }
1018 .findAll {
1019 color: $C2;
1020 font-size: 12px;
1021 text-align: right;
1022 padding: 10px 15px 0px 0;
1023 cursor: pointer;
1024 label{
1025 cursor:pointer;
1026 }
1027 }
1028 }
1029 }
1030 .auto-result-container-search {
1031 background-color: $M6;
1032 width: 100%;
1033 padding-left: 0;
1034 min-height: 310px;
1035 display: flex;
1036 .searchContainer {
1037 width: 100%;
1038 height: 100%;
1039 padding-bottom: 50px;
1040 border-radius: 2px;
1041 background-color: $M6;
1042 box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.3);
1043 .base-search-component{
1044 width: calc(70% - 30px);
1045 margin: 0 15px 8px 15px;
1046 }
1047 }
1048 .closeBtn {
1049 position: absolute;
1050 right: 15px;
1051 bottom: 0px;
1052 }
1053 .auto-result {
1054 max-height: 310px;
1055 width: 100%;
1056 overflow: auto;
1057 .autoTree_ItemName {
1058 overflow: hidden;
1059 text-overflow: ellipsis;
1060 white-space: nowrap;
1061 height: 24px;
1062 font-family: $font-family-H;
1063 font-size: 12px;
1064 font-weight: normal;
1065 font-style: normal;
1066 font-stretch: normal;
1067 line-height: 1.71;
1068 color: #03101a;
1069 .auto-tree__item-pname{
1070 color: #acb7bf;
1071 padding-left: 5px;
1072 }
1073 }
1074 .autoTree_ParentName {
1075 overflow: hidden;
1076 text-overflow: ellipsis;
1077 white-space: nowrap;
1078 height: 20px;
1079 font-family: $font-family-H;
1080 font-size: 12px;
1081 font-weight: normal;
1082 font-style: normal;
1083 font-stretch: normal;
1084 line-height: 1.67;
1085 color: #3d5566;
1086 }
1087 #li-hold-on {
1088 background-color: $M5;
1089 }
1090 .auto-tree__item {
1091 overflow: hidden;
1092 text-overflow:ellipsis;
1093 white-space: nowrap;
1094 padding: 5px 15px 5px 20px;
1095 color: $M1;
1096 list-style: none;
1097 font-size: 14px;
1098 background-color: $M6;
1099 cursor:pointer;
1100 &:hover {
1101 background-color: $M5;
1102 }
1103 em{
1104 color:$M1;
1105 width: 12px;
1106 height: 20px;
1107 border-radius: 2px;
1108 background: rgba(228, 166, 0,.2);
1109 font-family: $font-family-H;
1110 font-style: normal;
1111 }
1112 }
1113 .auto-tree__item_notShow {
1114 overflow: hidden;
1115 text-overflow:ellipsis;
1116 white-space: nowrap;
1117 padding: 5px 15px;
1118 color: $M1;
1119 list-style: none;
1120 font-size: 14px;
1121 background-color: $M6;
1122 cursor:pointer;
1123 &:hover {
1124 background-color: $M5;
1125 }
1126 em{
1127 color:$M1;
1128 width: 12px;
1129 height: 20px;
1130 border-radius: 2px;
1131 background: rgba(228, 166, 0,.2);
1132 font-family: $font-family-H;
1133 font-style: normal;
1134 }
1135 }
1136 .findNothing {
1137 width: 112px;
1138 height: 141px;
1139 margin: 0 auto;
1140 margin-top: 39px;
1141 }
1142 .findAll {
1143 color: $C2;
1144 font-size: 12px;
1145 text-align: right;
1146 padding: 10px 15px 0px 0;
1147 cursor: pointer;
1148 label{
1149 cursor:pointer;
1150 }
1151 }
1152 .findAll-null {
1153 color: $C2;
1154 font-size: 14px;
1155 text-align: center;
1156 padding-top: 5px;
1157 margin-bottom: 50px;
1158 cursor: pointer;
1159 label{
1160 cursor:pointer;
1161 }
1162 }
1163 }
1164 }
1165 .pop-auto-result {
1166 width: 70%;
1167 max-height: 85%;
1168 padding-top: 10px;
1169 border-radius: 5px;
1170 overflow: auto;
1171 margin-top: 2px;
1172 .autoTree_ItemName {
1173 overflow: hidden;
1174 text-overflow: ellipsis;
1175 white-space: nowrap;
1176 height: 24px;
1177 font-family: $font-family-H;
1178 font-size: 12px;
1179 font-weight: normal;
1180 font-style: normal;
1181 font-stretch: normal;
1182 line-height: 1.71;
1183 padding-top: 5px;
1184 color: #03101a;
1185 }
1186 .autoTree_ParentName {
1187 overflow: hidden;
1188 text-overflow: ellipsis;
1189 white-space: nowrap;
1190 height: 20px;
1191 font-family: $font-family-H;
1192 font-size: 12px;
1193 font-weight: normal;
1194 font-style: normal;
1195 font-stretch: normal;
1196 line-height: 1.67;
1197 color: #3d5566;
1198 }
1199 #li-hold-on {
1200 background-color: $M5;
1201 }
1202 .auto-tree__item {
1203 padding: 0 15px;
1204 color: $M1;
1205 list-style: none;
1206 height: 54px;
1207 font-size: 12px;
1208 background-color: $M6;
1209 cursor:pointer;
1210 &:hover {
1211 background-color: $M5;
1212 }
1213 em{
1214 color:$M1;
1215 width: 12px;
1216 height: 20px;
1217 border-radius: 2px;
1218 background: rgba(228, 166, 0,.2);
1219 font-family: $font-family-H;
1220 font-style: normal;
1221 }
1222 }
1223 .auto-tree__item_notShow {
1224 overflow: hidden;
1225 text-overflow:ellipsis;
1226 white-space: nowrap;
1227 padding: 0 15px;
1228 color: $M1;
1229 list-style: none;
1230 height: 30px;
1231 font-size: 12px;
1232 background-color: $M6;
1233 cursor:pointer;
1234 &:hover {
1235 background-color: $M5;
1236 }
1237 em{
1238 color:$M1;
1239 width: 12px;
1240 height: 20px;
1241 border-radius: 2px;
1242 background: rgba(228, 166, 0,.2);
1243 font-family: $font-family-H;
1244 font-style: normal;
1245 }
1246 }
1247 }
1248}
1249
1250.AutoTree-mask{
1251 background: $M1;
1252 top: 0;
1253 left: 0;
1254 opacity: 0.5;
1255 width: 100%;
1256 height: 2000px;
1257 position: fixed;
1258 z-index: 9999;
1259}
1260
1261#AutoTree_Mask {
1262 .searchContainer {
1263 width: 55%;
1264 height: 80%;
1265 min-width: 800px;
1266 max-width: 1000px;
1267 padding-bottom: 64px;
1268 border-radius: 2px;
1269 background-color: $M6;
1270 box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.3);
1271 position: fixed;
1272 z-index: 99999;
1273 .muti_select {
1274 width: 70%;
1275 height: 100%;
1276 }
1277 .single_select {
1278 width: 100%;
1279 height: 100%;
1280 }
1281 .autoTree__text {
1282 font-size: 12px;
1283 line-height: 20px;
1284 font-family: $font-family-H;
1285 }
1286 .findAll_footer {
1287 height: 64px;
1288 width: 100%;
1289 position: absolute;
1290 bottom: 0;
1291 left: 0;
1292 }
1293 .base-search-component{
1294 width: calc(100% - 30px);
1295 margin: 10px 15px 10px 15px;
1296 }
1297 .Selected_List {
1298 width: 30%;
1299 height: calc(100% - 84px);
1300 border-left: 1px solid $M4;
1301 padding: 0 20px 0 20px;
1302 box-sizing: border-box;
1303 position: absolute;
1304 right: 0;
1305 top: 20px;
1306 .autoTree__results-tip {
1307 display: inline-block;
1308 margin: 10px 0px;
1309 width: 100%;
1310 .autoTree__text {
1311 color: $M1;
1312 &:first-child {
1313 margin-right: 5px;
1314 }
1315 &:last-child {
1316 float: right;
1317 margin-top: 3px;
1318 }
1319 }
1320 .autoTree__text_is-disabled {
1321 color: $M3;
1322 cursor: not-allowed;
1323 }
1324 .autoTree__text_is-active {
1325 color: $C2;
1326 }
1327 }
1328 .autoTree-results-content {
1329 margin-top: 10px;
1330 height: calc(100% - 44px);
1331 overflow-y: auto;
1332 .autoTree__item {
1333 float: left;
1334 margin-right: 20px;
1335 margin-bottom: 10px;
1336 font-size: 12px;
1337 line-height: 20px;
1338 font-family: $font-family-H;
1339 font-size: 0;
1340 cursor: pointer;
1341 .autoTree__text {
1342 vertical-align: middle;
1343 }
1344 .parent_text {
1345 color: $M2;
1346 }
1347 .icon-close {
1348 margin-left: 5px;
1349 font-size: 14px;
1350 vertical-align: middle;
1351 }
1352 }
1353 }
1354 .autoTree-results-content_null {
1355 color: $M4;
1356 font-size: 20px;
1357 line-height: calc(100% - 44px);
1358 height: calc(100% - 44px);
1359 .autoTree-results_nullText {
1360 width: 160px;
1361 position: absolute;
1362 top: calc(50% - 10px);
1363 left: calc(50% - 80px);
1364 }
1365 }
1366 }
1367 .pop-auto-result {
1368 width: 100%;
1369 max-height: 85%;
1370 padding-top: 10px;
1371 border-radius: 5px;
1372 overflow: auto;
1373 margin-top: 2px;
1374 .autoTree_ItemName {
1375 overflow: hidden;
1376 text-overflow: ellipsis;
1377 white-space: nowrap;
1378 height: 24px;
1379 font-family: $font-family-H;
1380 font-size: 12px;
1381 font-weight: normal;
1382 font-style: normal;
1383 font-stretch: normal;
1384 line-height: 1.71;
1385 padding-top: 5px;
1386 color: #03101a;
1387 }
1388 .autoTree_ParentName {
1389 overflow: hidden;
1390 text-overflow: ellipsis;
1391 white-space: nowrap;
1392 height: 20px;
1393 font-family: $font-family-H;
1394 font-size: 12px;
1395 font-weight: normal;
1396 font-style: normal;
1397 font-stretch: normal;
1398 line-height: 1.67;
1399 color: #3d5566;
1400 }
1401 #li-hold-on {
1402 background-color: $M5;
1403 }
1404 .auto-tree__item {
1405 padding: 0 15px;
1406 color: $M1;
1407 list-style: none;
1408 height: 54px;
1409 font-size: 12px;
1410 background-color: $M6;
1411 cursor:pointer;
1412 &:hover {
1413 background-color: $M5;
1414 }
1415 em{
1416 color:$M1;
1417 width: 12px;
1418 height: 20px;
1419 border-radius: 2px;
1420 background: rgba(228, 166, 0,.2);
1421 font-family: $font-family-H;
1422 font-style: normal;
1423 }
1424 }
1425 .auto-tree__item_notShow {
1426 overflow: hidden;
1427 text-overflow:ellipsis;
1428 white-space: nowrap;
1429 padding: 0 15px;
1430 color: $M1;
1431 list-style: none;
1432 height: 30px;
1433 font-size: 12px;
1434 background-color: $M6;
1435 cursor:pointer;
1436 &:hover {
1437 background-color: $M5;
1438 }
1439 em{
1440 color:$M1;
1441 width: 12px;
1442 height: 20px;
1443 border-radius: 2px;
1444 background: rgba(228, 166, 0,.2);
1445 font-family: $font-family-H;
1446 font-style: normal;
1447 }
1448 }
1449 }
1450 .closeBtn {
1451 position: absolute;
1452 right: 101px;
1453 bottom: 4px;
1454 }
1455 .closeBtn_single {
1456 position: absolute;
1457 right: 20px;
1458 bottom: 4px;
1459 }
1460 .submitBtn {
1461 position: absolute;
1462 right: 20px;
1463 bottom: 4px;
1464 }
1465 }
1466}
1467
1468.auto-tree_pop-open {
1469 -webkit-animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
1470 animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
1471 -webkit-animation-duration: .2s;
1472 animation-duration: .2s;
1473 -webkit-animation-fill-mode: both;
1474 animation-fill-mode: both;
1475 -webkit-animation-play-state: paused;
1476 animation-play-state: paused;
1477 -webkit-animation-name: antSlideUpIn;
1478 animation-name: antSlideUpIn;
1479 -webkit-animation-play-state: running;
1480 animation-play-state: running;
1481}
1482
1483@-webkit-keyframes antSlideUpIn {
1484 0% {
1485 opacity: 0;
1486 -webkit-transform-origin: 0% 0%;
1487 transform-origin: 0% 0%;
1488 -webkit-transform: scaleY(0.8);
1489 transform: scaleY(0.8); }
1490 100% {
1491 opacity: 1;
1492 -webkit-transform-origin: 0% 0%;
1493 transform-origin: 0% 0%;
1494 -webkit-transform: scaleY(1);
1495 transform: scaleY(1);
1496 }
1497}
1498
1499@keyframes antSlideUpIn {
1500 0% {
1501 opacity: 0;
1502 -webkit-transform-origin: 0% 0%;
1503 transform-origin: 0% 0%;
1504 -webkit-transform: scaleY(0.8);
1505 transform: scaleY(0.8); }
1506 100% {
1507 opacity: 1;
1508 -webkit-transform-origin: 0% 0%;
1509 transform-origin: 0% 0%;
1510 -webkit-transform: scaleY(1);
1511 transform: scaleY(1);
1512 }
1513}