UNPKG

22.1 kBSCSSView Raw
1@import "../node_modules/tinper-bee-core/scss/minxin-variables";
2@import "../node_modules/tinper-bee-core/scss/minxin-mixins";
3@import "../node_modules/bee-loading/src/Loading";
4
5$text-color: $font-color-base;
6$font-size-base: 12px;
7$line-height: 1.33;
8// 主题定制border:
9$table-border-color: unquote("rgb(#{$table-border-color-base})");
10// $table-head-background-color: #f7f7f7;
11// $table-head-text-color: #666;
12$vertical-padding: 12px;
13$horizontal-padding: 8px;
14$first-horizontal-padding: 12px;
15// $table-border-color: #e9e9e9;
16
17$table-hover-color: #E7F2FC;
18$table-move-in-color: $bg-color-base;
19$checkbox-height:14px;
20$table-th-bottom-border:#C1C7D0;
21
22$filter-form-control-height:26px;
23$table-head-font-weight: bold;
24$icon-color:#505F79;
25.u-table {
26 font-size: $font-size-base;
27 color: $text-color;
28 // transition: opacity 0.3s ease;
29 position: relative;
30 line-height: $line-height;
31 overflow: hidden;
32 &.copy .u-table-thead th {
33 user-select: unset
34 }
35 &-body{
36 // overflow: hidden!important;
37 position: relative;
38 .u-table-row-expand-columns-in-body .expand-icon-con {
39 display: none;
40 pointer-events: none;
41 }
42 }
43 &-hiden-drag{
44 position: relative;
45 &-li{
46 position: absolute;
47 top: 0px;
48 left: 0px;
49 // height: 10px;//这个高度先注释掉了,加上后,在火狐浏览器上会站位置。滚动条拉到最右边有错行
50 }
51 }
52 table {
53 width: 100%;
54 border-collapse: collapse;
55 text-align: left;
56 }
57
58 th {
59 // background: $table-head-background-color;
60 font-weight: $table-head-font-weight;
61 text-align: left;
62 // transition: background 0.3s ease;
63 line-height: 16px;
64 &[colspan] {
65 text-align: center;
66 }
67 ::last-child{
68 overflow: hidden;
69 }
70 }
71
72 td {
73 border-bottom: 1px solid $table-border-color;
74 line-height: $line-height;
75 a{
76 color: #2196F3;
77 &:hover{
78 color: #1565c0;
79 }
80 &:active{
81 color: #1565c0;
82 }
83 }
84 .u-switch-span{
85 display: inline-block
86 }
87 }
88 thead{
89 tr:last-child{
90 border-bottom: 1px solid $table-th-bottom-border;
91 }
92 tr>th:last-child{
93 // border-right: none;
94 }
95 }
96 tr {
97 // transition: all 0.3s ease;
98 &:hover {
99 // background: $hover-bg-color-base;
100 td {
101 .uf-eye{
102 visibility: visible !important;
103 }
104 }
105 }
106 tr a{
107 color: #2196F3;
108 &:hover{
109 color: #1565c0;
110 }
111 &:active{
112 color: #1565c0;
113 }
114 }
115 td.u-table-multiSelect-column.u-table-row-has-expandIcon:not(.u-table-row-fixed-columns-in-body){
116 display: flex;
117 flex-direction: row-reverse;
118 &:nth-last-child(1):last-child {
119 border-right: none;
120 }
121 .expand-icon-con {
122 height: 14px;
123 .uf{
124 padding: 0;
125 }
126 .u-table-row-expand-icon {
127 width: 2px;
128 }
129 }
130 .u-checkbox {
131 margin: 0;
132 }
133 }
134 td.u-table-inline-icon{
135 position: relative;
136 padding-right: 24px;
137 span.u-table-inline-op-icon{
138 position: absolute;
139 right: 0;
140 .uf{
141 display: block;
142 vertical-align: top;
143 }
144 }
145 span.u-table-inline-op-icon-hover{
146 visibility: hidden;
147 }
148 }
149 }
150 tr.u-table-row-hover{
151 td.u-table-inline-icon{
152 span.u-table-inline-op-icon-hover{
153 visibility: visible;
154 }
155 }
156 }
157 .u-table-inline-op-icon-hidden{
158 visibility: hidden;
159 }
160 tr.tr-row-hover {
161 background: $hover-bg-color-base;
162 }
163
164 th,
165 td {
166 padding: $vertical-padding $horizontal-padding;
167 word-break: break-all;
168 &.drag-handle-column {
169 .uf {
170 font-size: 12px;
171 line-height: 12px;
172 }
173 &.u-table-row-has-expandIcon .uf {
174 padding: 0;
175 }
176 }
177 &.text-center{
178 text-align: center;
179 }
180 &.text-right{
181 text-align: right;
182 }
183 .expand-icon-con{
184 cursor: pointer;
185 display: inline-block;
186 font-size: 12px;
187 line-height: 12px;
188 .uf{
189 padding: 0;
190 font-size: 12px;
191 }
192 }
193 }
194 &-sm {
195 td {
196 padding: 8px $horizontal-padding;
197 }
198 }
199 &-lg {
200 td {
201 padding: 16px $horizontal-padding;
202 }
203 }
204 tr {
205
206 &.filterable{
207 th{
208 padding-top: 5px !important;
209 padding-bottom: 5px !important;
210 .filterContext{
211 height: 35px;
212 }
213 .u-select-selection--single{
214 height: 26px;
215 }
216 }
217 }
218 }
219 &-row-hover {
220 background:unquote("rgb(#{$table-row-hover-bg-color})");
221 }
222
223 &-scroll {
224 overflow: auto;
225 }
226 &-bordered {
227 table {
228 border: 1px solid $table-border-color;
229 box-sizing: border-box;
230 table-layout: fixed;
231 // width:auto;
232 }
233
234 .u-table-header>table {
235 border-bottom: 0;
236 }
237 .u-table-header~.u-table-body,.u-table-header~.u-table-body-outer{
238 table{
239 border-top: 0px ;
240 }
241 }
242
243 th {
244 border-bottom: 1px solid $table-border-color;
245 box-sizing: border-box;
246 }
247 th,
248 td {
249 border-right: 1px solid $table-border-color;
250 box-sizing: border-box;
251 }
252 }
253 &-drag-border{
254 tr {
255 th.th-can-not-drag{ //拖拽tag影响了表格整体宽度
256 overflow: hidden;
257 .u-table-thead-th-drag-gap{//最后一个非固定列不可以拖拽
258 display: none;
259 }
260 }
261 }
262 }
263 &-header {
264 overflow: hidden;
265 background: $table-head-background-color;
266 color: $table-head-text-color;
267 }
268
269 &.fixed-height td {
270 padding: 0px $horizontal-padding;
271 }
272
273 &-fixed-header &-body {
274 background: #fff;
275 position: relative;
276 }
277 &-fixed-left &-body-inner {
278 margin-right: -20px;
279 padding-right: 20px;
280 }
281
282 &-fixed-header:not(.u-table-hide-header) &-fixed-left &-body-inner {
283 padding-right: 0px;
284 }
285
286 &-fixed-header &-body-inner {
287 height: 100%;
288 overflow: scroll;
289 }
290
291
292 &-fixed-header &-scroll &-header {
293 overflow-x: scroll;
294 padding-bottom: 20px;
295 margin-bottom: -20px;
296 overflow-y: scroll;
297 box-sizing: border-box;
298 }
299
300 &-title {
301 padding: $vertical-padding $horizontal-padding;
302 border-top: 1px solid $table-border-color;
303 }
304
305 &-content {
306 position: relative;
307 }
308
309 &-footer {
310 padding: $vertical-padding $horizontal-padding;
311 border-bottom: 1px solid $table-border-color;
312 .u-table-scroll{
313 overflow-x: hidden;
314 }
315 }
316 &-footer & {
317 margin: (-$vertical-padding) (-$horizontal-padding);
318 }
319
320 &-placeholder {
321 padding: $vertical-padding 8px;
322 background: #fff;
323 border-bottom: 1px solid $table-border-color;
324 text-align: center;
325 position: relative;
326 .table-nodata{
327 font-size: 40px;
328 line-height: 44px;
329 + span{
330 font-size: 12px;
331 line-height: 12px;
332 display: block;
333 }
334 }
335 }
336
337 &-expand-icon-col {
338 width: 10px;
339 }
340 &-row,
341 &-expanded-row {
342 .u-table{
343 tr{
344 background: #fff;
345 }
346 tr.u-table-row-hover{
347 background:unquote("rgb(#{$table-row-hover-bg-color})");
348
349 }
350 }
351 &-expand-icon {
352 cursor: pointer;
353 display: inline-block;
354 margin-right: 8px;
355 width: 14px;
356 height: 14px;
357 text-align: center;
358 line-height: 14px;
359 user-select: none;
360 &.uf{
361 font-size: 12px;
362 padding: 0;
363 }
364 }
365 &-spaced {
366 visibility: hidden;
367 }
368 &-spaced:after {
369 content: ".";
370 }
371 &-expanded {
372 &:after {
373 content: "\e639";
374 font-family: "uf";
375 }
376 }
377 &-collapsed {
378 &:after {
379 content: "\e61c";
380 font-family: "uf";
381 }
382 }
383 }
384 &-row{
385 &.selected{
386 background: #FFF7E7;
387 }
388 }
389 tr.u-table-expanded-row {
390 background: #DFE1E6;
391 &:hover {
392 background: #DFE1E6;
393 }
394 .u-table {
395 // padding: 0 40px 0 20px;
396 z-index: 1;
397 }
398 }
399 &-column-hidden {
400 display: none;
401 }
402 &-prev-columns-page,
403 &-next-columns-page {
404 cursor: pointer;
405 color: #666;
406 z-index: 1;
407 &:hover {
408 color: #2db7f5;
409 }
410 &-disabled {
411 cursor: not-allowed;
412 color: #999;
413 &:hover {
414 color: #999;
415 }
416 }
417 }
418 &-prev-columns-page {
419 margin-right: 8px;
420 &:before {
421 content: "<";
422 }
423 }
424 &-next-columns-page {
425 float: right;
426 &:before {
427 content: ">";
428 }
429 }
430
431 &-fixed-left,
432 &-fixed-right {
433 position: absolute;
434 top: 0;
435 overflow: hidden;
436 z-index: 1;
437 table {
438 width: auto;
439 background: #fff;
440 }
441 }
442
443 &-fixed-left {
444 left: 0;
445 box-shadow: 4px 0 4px rgba(100, 100, 100, 0.1);
446 &-body-inner {
447 margin-right: -20px;
448 padding-right: 20px;
449 }
450 &-fixed-header & &-body-inner {
451 padding-right: 0;
452 }
453 }
454
455 &-fixed-right {
456 right: 0;
457 box-shadow: -4px 0 4px rgba(100, 100, 100, 0.1);
458
459 // hide expand row content in right fixed Table
460 // https://github.com/ant-design/ant-design/issues/1898
461 &-expanded-row {
462 color: transparent;
463 pointer-events: none;
464 }
465
466 }
467
468 &-scroll-position-left &-fixed-left {
469 box-shadow: none;
470 }
471
472 &-scroll-position-right &-fixed-right {
473 box-shadow: none;
474 }
475
476 &-thead{
477 .filter-text,.filter-dropdown,.filter-date {
478 font-weight: normal;
479 }
480 .filter-wrap{
481 display: flex;
482 justify-content: center;
483 align-items: center;
484 .filter-btns{
485 min-width: 58px;
486 }
487 }
488 th{
489 background: $table-head-background-color;
490 color: $table-head-text-color;
491 background-clip:padding-box;
492 //禁止选中文字
493 -moz-user-select: -moz-none;
494 -khtml-user-select: none;
495 -webkit-user-select: none;
496 /*
497 Introduced in IE 10.
498 */
499 -ms-user-select: none;
500 user-select: none;
501
502 // overflow: hidden;
503 // white-space: nowrap;
504 // text-overflow: ellipsis;
505 .required {
506 color: #F22C1D;
507 }
508 .bee-table-column-sorter {
509 position: relative;
510 margin-left: 4px;
511 height: 16px;
512 vertical-align: middle;
513 text-align: center;
514 display: inline-block;
515 margin-top: -3px;
516 i{
517 padding: 0px;
518 font-weight: 600;
519 color: $icon-color;
520 }
521
522 & > .bee-table-column-sorter-down,
523 & > .bee-table-column-sorter-up, & > .bee-table-column-sorter-flat {
524 line-height: 16px;
525 display: block;
526 width: 34px;
527 cursor: pointer;
528 }
529
530
531 }
532
533 .bee-table-column-sorter-down.on .uf-triangle-down,
534 .bee-table-column-sorter-down.on .uf-triangle-up,
535 .bee-table-column-sorter-up.on .uf-triangle-down,
536 .bee-table-column-sorter-up.on .uf-triangle-up {
537 color: #108ee9;
538 }
539 .bee-table-column-sorter .uf-triangle-down,
540 .bee-table-column-sorter .uf-triangle-up {
541 -webkit-filter: none;
542 filter: none;
543 font-size: 12px;
544 }
545 .bee-table-column-sorter .uf-triangle-down,
546 .bee-table-column-sorter .uf-triangle-up {
547 display: inline-block;
548 padding: 0;
549 font-size: 12px;
550 font-size: 8px\9;
551 -webkit-transform: scale(0.66666667) rotate(0deg);
552 -ms-transform: scale(0.66666667) rotate(0deg);
553 transform: scale(0.66666667) rotate(0deg);
554 -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand', M11=1, M12=0, M21=0, M22=1)";
555 zoom: 1;
556 line-height: 4px;
557 height: 4px;
558 color: #999;
559 // -webkit-transition: all 0.3s;
560 // transition: all 0.3s;
561 }
562 &:hover{
563 .bee-table-column-sorter {
564 display: inline-block;
565 }
566 }
567 }
568 .th-drag{
569 cursor: move;
570 }
571 .th-drag:hover{
572 background: $hover-bg-color-base;
573
574 }
575 //为了区分是拖拽宽度还是交换列,先注释上面了
576 // .th-drag:hover{
577 // background:#ccc;
578 // }
579 .th-drag-hover{
580 background: #ccc;
581 }
582 &-th{
583 position: relative;
584
585 &-drag-gap{
586 height: 100%;
587 position: absolute;
588 right: -10px;
589 top: 0;
590 // background:transparent;
591 // width: 1px;
592 // background:#ccc;
593 width: 20px;
594
595 box-sizing: border-box;
596 z-index: 1;
597
598 .online{
599 height: 100%;
600 width: 4px;
601 // background:transparent;//兼容火狐浏览器,如果table设置border,
602 margin: 0 auto;
603 }
604 .online:hover{
605 background:#000000;
606 }
607 .online-hover{
608 background:#000000;
609 }
610
611 }
612 &-drag-gap:hover{
613 cursor: col-resize;
614 .online{
615 background: #000000
616 }
617 }
618 }
619 &-th:last-child {
620 &-drag-gap{
621 border: none;
622 }
623 }
624 }
625
626
627 &-filter-column{
628
629 &-pop-cont{
630 margin: 0px;
631 max-height: 300px;
632 overflow-y: auto;
633 color:#212121;
634 }
635 &-clear-setting{
636 // border-bottom: 1px solid #ccc;
637 cursor: pointer;
638 margin-bottom: 4px;
639 }
640 &-cont{
641 position: relative;
642 }
643 &-filter-icon{
644 position: absolute;
645 width: 30px;
646 height: 39px ;
647 line-height: 39px;
648 right: 0px ;
649 top:1px ;
650 z-index: 2;
651 background: $table-head-background-color;
652 text-align: center;
653 cursor: pointer;
654 i.uf{
655 padding: 0px;
656 color: $icon-color;
657 }
658 }
659 &-pop-cont-item{
660 margin-top: 8px;
661 font-size: 12px;
662 // line-height: 30px;
663 cursor: pointer;
664 .u-checkbox {
665 margin: 0px;
666
667 }
668 }
669 &-pop-cont-item span.drop-menu-title{
670 margin-left: -3px;
671 max-width: 132px;
672 width: auto !important;
673 min-width: 56px;
674 overflow: hidden;
675 text-overflow: ellipsis;
676 white-space: nowrap;
677 display: inline-block;
678 vertical-align: middle;
679 }
680 &-pop .u-modal-dialog{
681 border: 1px solid #ccc;
682 background: #fff;
683 }
684 }
685 //拖拽宽度代码
686 &-row-fixed-columns-in-body{
687 // visibility: hidden;
688 display:none;
689 pointer-events: none;
690 }
691 //固定列含有checkbox 样式复写
692 .u-checkbox {
693 height: $checkbox-height;
694 line-height: $checkbox-height;
695 margin:0px;
696 display: block;
697 margin-left: 5px;
698 .u-checkbox-label{
699 line-height: $checkbox-height;
700 padding-left: 16px;
701 &:before,&:after {
702 width: $checkbox-height;
703 height: $checkbox-height;
704 }
705 }
706 }
707 .u-table-scroll,.u-table-fixed-left{
708 tr{
709 td:first-child, th:first-child{
710 padding-left: $first-horizontal-padding
711 }
712 }
713 }
714 &.has-fixed-left{
715 .u-table-scroll{
716 tr{
717 td:first-child, th:first-child{
718 padding-left: $horizontal-padding
719 }
720 }
721 }
722 }
723 // 滚动条样式复写
724 ::-webkit-scrollbar {
725 width: 8px;
726 height: 8px;
727 }
728 ::-webkit-scrollbar-button {
729 display: none;
730 }
731 ::-webkit-scrollbar-thumb {
732 background: #d5d5d5 !important;
733 border-radius: 5px;
734 }
735 ::-webkit-scrollbar-thumb {
736 border-radius: 4px;
737 background-color: #d5d5d5;
738 position: absolute;
739 }
740
741 ::-webkit-scrollbar-track {
742 display: none;
743 }
744
745 ::-webkit-scrollbar-track-piece {
746 display: none;
747 }
748
749 .drag-handle-column, .row-dragg-able{
750 cursor:move;
751 }
752 .u-table-drag-hidden-cont{
753 width: 100px;
754 height: 40px;
755 }
756
757 .u-table-link{
758 cursor: pointer;
759 color: #0073E1;
760 }
761 .u-table-link-underline:hover{
762 text-decoration:underline;
763 }
764 .u-table-currency{
765 display: inline-block;
766 text-align: right;
767 }
768}
769
770.u-table:focus{
771 outline: none;
772 // border-color: #9ecaed;
773 // box-shadow: 0 0 10px #9ecaed;
774 box-shadow: 0 0 0;
775}
776
777 .u-table-bordered {
778 .u-table-drag-gap{
779 background:#e9e9e9;
780 }
781 }
782.u-table.bordered {
783 table {
784 border-collapse: collapse;
785 }
786 th,
787 td {
788 border: 1px solid $table-border-color;
789 }
790}
791
792.move-enter,
793.move-appear {
794 opacity: 0;
795 animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
796 animation-duration: 2.5s;
797 animation-fill-mode: both;
798 animation-play-state: paused;
799}
800
801.move-leave {
802 animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
803 animation-duration: 0.5s;
804 animation-fill-mode: both;
805 animation-play-state: paused;
806}
807
808.move-enter.move-enter-active,
809.move-appear.move-enter-active {
810 animation-name: moveLeftIn;
811 animation-play-state: running;
812}
813
814.move-leave.move-leave-active {
815 animation-name: moveRightOut;
816 animation-play-state: running;
817}
818
819@keyframes moveLeftIn {
820 0% {
821 transform-origin: 0 0;
822 transform: translateX(30px);
823 opacity: 0;
824 background: $table-move-in-color;
825 }
826 20% {
827 transform-origin: 0 0;
828 transform: translateX(0);
829 opacity: 1;
830 }
831 80% {
832 background: $table-move-in-color;
833 }
834 100% {
835 background: transparent;
836 opacity: 1;
837 }
838}
839
840@keyframes moveRightOut {
841 0% {
842 transform-origin: 0 0;
843 transform: translateX(0);
844 opacity: 1;
845 }
846 100% {
847 transform-origin: 0 0;
848 transform: translateX(-30px);
849 opacity: 0;
850 }
851}
852
853.formItem-style {
854 height: unset;
855 min-height: unset;
856 padding: 0;
857}
858.errMessage-style {
859 display: none;
860 border: none;
861 /* margin-top: 5px; */
862 /* margin-bottom: 5px; */
863 background: transparent;
864 color: #f22c1d;
865 /* padding-left: 12px; */
866 /* padding-right: 12px; */
867 margin: 0;
868 position: absolute;
869 padding: 0;
870 top: 3px;
871 right: 0;
872}
873
874.editable-cell {
875 position: relative;
876}
877
878.editable-cell-input-wrapper,
879.editable-cell-text-wrapper {
880 padding-right: 24px;
881}
882.editable-cell-input-wrapper {
883 .u-form-item.formItem-style .u-label{
884 display: none;
885 }
886 .u-input-group .u-form-control{
887 height: 26px;
888 font-size: 12px;
889 }
890}
891
892.editable-cell-text-wrapper {
893 padding: 5px 24px 5px 5px;
894 height: 30px;
895}
896
897.editable-cell-icon,
898.editable-cell-icon-check {
899 position: absolute;
900 top: 0;
901 right: 0;
902 width: 20px;
903 cursor: pointer;
904}
905
906.editable-cell-icon {
907 line-height: 28px;
908 display: none;
909}
910
911.editable-cell-icon-check {
912 line-height: 28px;
913}
914
915.editable-cell:hover .editable-cell-icon {
916 display: inline-block;
917}
918
919.editable-cell-icon:hover,
920.editable-cell-icon-check:hover {
921 color: #2db7f5;
922}
923
924.editable-add-btn {
925 margin-bottom: 8px;
926}
927
928.search-component {
929 margin-bottom: 20px;
930 .empty-search {
931 position: absolute;
932 right: 45px;
933 z-index: 20;
934 top: 5px;
935 color: #524e4e;
936 cursor: pointer;
937 }
938 &.u-input-group.simple {
939 float: right;
940 }
941 &.u-input-group.simple .u-form-control {
942 width: 251px;
943 background: #f5f5f5;
944 border-color: #f5f5f5;
945 border-radius: 20px;
946 }
947 &.u-input-group.simple .u-input-group-btn {
948 top: 3px;
949 right: 20px;
950 position: absolute;
951 }
952}
953
954
955.col-resize-container {
956 height: 0px;
957 position: relative;
958
959 & + .table-col-resizer:first-of-type {
960 table-layout: fixed;
961 }
962
963 .active-drag .icon{
964 visibility: visible;
965 }
966
967 .last-handle {
968 display: none;
969 }
970
971 .drag-handle {
972 margin-left: -5px;
973 position: absolute;
974 z-index: 5;
975 width: 10px;
976 cursor: col-resize;
977
978 .icon {
979 color: #40b0dc;
980 top: -1px;
981 position: absolute;
982 visibility: hidden;
983
984 &:first-child {
985 left: -2px
986 }
987 &:last-child {
988 left: 6px
989 }
990 }
991
992 &:hover{
993 .icon{
994 visibility: visible;
995 }
996 .col-resizer {
997 border: 1px solid;
998 }
999 }
1000
1001 &.disabled-drag {
1002 cursor: default;
1003 display: none;
1004 }
1005
1006 .col-resizer {
1007 position: absolute;
1008 width: 1px;
1009 height: 100%;
1010 top: 0px;
1011 left: 3px;
1012 }
1013 }
1014}
1015
1016.u-filter-dropdown-menu-wrap {
1017 z-index: 1800;
1018 .u-dropdown-menu {
1019 li.u-dropdown-menu-item {
1020 line-height: $filter-form-control-height;
1021 height: $filter-form-control-height;
1022 padding: 0px 16px 0 16px;
1023 cursor: pointer;
1024 }
1025 }
1026}
1027.filter-wrap {
1028 .u-form-control{
1029 height: $filter-form-control-height;
1030 }
1031 .u-input-number.u-input-group.simple .u-input-group-btn .icon-group {
1032 height: $filter-form-control-height;
1033 }
1034 .calendar-picker {
1035 .u-input-group-btn{
1036 line-height: 20px;
1037 }
1038 }
1039 .u-input-number.u-input-group.simple .u-input-group-btn .icon-group .uf{
1040 line-height: 12px;
1041 }
1042}
1043.u-row-hover{
1044 position: absolute;
1045 right: 24px;
1046 display: none;
1047 align-items: center;
1048 justify-content: center;
1049 background: transparent;
1050}
1051
1052.u-row-hover2{
1053 position: absolute;
1054 left: 100;
1055}
1056
1057
1058
1059// 表格显示里面的内容显示在一行
1060.header-dispaly-in-row{
1061 &.u-table{
1062 table{
1063 table-layout: fixed;
1064 }
1065 }
1066 th{
1067 text-overflow: ellipsis;
1068 white-space: nowrap;
1069 vertical-align: middle;
1070 overflow: hidden;
1071 }
1072}
1073.body-dispaly-in-row{
1074 &.u-table{
1075 table{
1076 table-layout: fixed;
1077 }
1078
1079 }
1080 td{
1081 text-overflow: ellipsis;
1082 white-space: nowrap;
1083 vertical-align: middle;
1084 overflow: hidden;
1085 }
1086 .u-table-fieldtype{
1087 text-overflow: ellipsis;
1088 white-space: nowrap;
1089 vertical-align: middle;
1090 overflow: hidden;
1091 }
1092}
1093.u-table-drag-hidden-cont{
1094 position: absolute;
1095 top:-1000px;
1096}
1097
1098.u-editable-table .u-table {
1099 .u-table-row-hover {
1100 .editable-cell-text-wrapper {
1101 padding-left: 4px;
1102 border: 1px solid #c1c7d0;
1103 }
1104 }
1105
1106 .editable-cell-text-wrapper {
1107 &:hover {
1108 padding-left: 4px;
1109 border: 1px solid #a5adba;
1110 }
1111 }
1112
1113 .editable-cell-input-wrapper {
1114 &:focus {
1115 outline: none;
1116 }
1117 }
1118}
1119
1120.u-editable-table-tp {
1121 .tooltip-arrow {
1122 top: 1px !important;
1123 border-bottom-color: #F44336 !important;
1124 }
1125
1126 .tooltip-inner {
1127 border-color: #F44336 !important;
1128 }
1129}
1130.u-dropdown{
1131 ul.u-table-inline-op-dropdowm{
1132 li.u-dropdown-menu-item{
1133 padding: 0 20px 0 10px;
1134 height: 30px;
1135 line-height: 30px;
1136 i.uf{
1137 font-size: 12px;
1138 }
1139 }
1140 }
1141}