UNPKG

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