UNPKG

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