1 |
|
2 |
|
3 | .vxe-table {
|
4 | .vxe-table--header-wrapper {
|
5 | color: $vxe-table-header-font-color;
|
6 | .vxe-table--header-border-line {
|
7 | position: absolute;
|
8 | left: 0;
|
9 | bottom: 0;
|
10 | height: 0;
|
11 | border-bottom: $vxe-table-border-width solid $vxe-table-border-color;
|
12 | }
|
13 | }
|
14 |
|
15 | .vxe-cell--sort {
|
16 | width: 1.5em;
|
17 | height: 1.35em;
|
18 | vertical-align: middle;
|
19 | text-align: center;
|
20 | display: inline-block;
|
21 | position: relative;
|
22 | }
|
23 | .vxe-sort--asc-btn,
|
24 | .vxe-sort--desc-btn {
|
25 | position: absolute;
|
26 | left: 0.35em;
|
27 | color: $vxe-table-column-icon-border-color;
|
28 | width: 1em;
|
29 | text-align: center;
|
30 | cursor: pointer;
|
31 | &:hover {
|
32 | color: $vxe-table-font-color;
|
33 | }
|
34 | &.sort--active {
|
35 | color: $vxe-primary-color;
|
36 | }
|
37 | }
|
38 | .vxe-sort--asc-btn {
|
39 | top: -0.15em;
|
40 | }
|
41 | .vxe-sort--desc-btn {
|
42 | bottom: -0.15em;
|
43 | }
|
44 | }
|
45 |
|
46 | .vxe-header--column {
|
47 | position: relative;
|
48 | font-weight: $vxe-table-header-font-weight;
|
49 | user-select: none;
|
50 | &.col--ellipsis {
|
51 | & > .vxe-cell {
|
52 | display: flex;
|
53 | align-items: center;
|
54 | .vxe-cell--title {
|
55 | overflow: hidden;
|
56 | text-overflow: ellipsis;
|
57 | white-space: nowrap;
|
58 | }
|
59 | & > i,
|
60 | & > span {
|
61 | &:not(.vxe-cell--title) {
|
62 | flex-shrink: 0;
|
63 | }
|
64 | }
|
65 | }
|
66 | }
|
67 | .vxe-cell--required-icon {
|
68 | display: inline-block;
|
69 | color: $vxe-table-validate-error-color;
|
70 | width: 0.8em;
|
71 | height: 1em;
|
72 | line-height: 1em;
|
73 | font-family: $vxe-icon-font-family;
|
74 | font-weight: normal;
|
75 | position: relative;
|
76 | &:before {
|
77 | content: "*";
|
78 | position: absolute;
|
79 | left: 0;
|
80 | top: 0.2em;
|
81 | }
|
82 | }
|
83 |
|
84 |
|
85 |
|
86 |
|
87 |
|
88 |
|
89 | .vxe-cell--required-icon {
|
90 | margin-right: 0.1em;
|
91 | }
|
92 | .vxe-cell--edit-icon,
|
93 | .vxe-cell-help-icon {
|
94 | margin-right: 0.2em;
|
95 | }
|
96 | .vxe-cell-help-icon {
|
97 | cursor: help;
|
98 | }
|
99 | .vxe-resizable {
|
100 | position: absolute;
|
101 | right: -7px;
|
102 | bottom: 0;
|
103 | width: 14px;
|
104 | height: 100%;
|
105 | text-align: center;
|
106 | z-index: 1;
|
107 | cursor: col-resize;
|
108 | &.is--line {
|
109 | &:before,
|
110 | &:after {
|
111 | content: "";
|
112 | display: inline-block;
|
113 | vertical-align: middle;
|
114 | }
|
115 | &:before {
|
116 | width: 1px;
|
117 | height: 50%;
|
118 | background-color: $vxe-table-resizable-line-color;
|
119 | }
|
120 | &:after {
|
121 | width: 0;
|
122 | height: 100%;
|
123 | }
|
124 | }
|
125 | }
|
126 | }
|
127 |
|
128 | .vxe-table--fixed-right-wrapper {
|
129 | .vxe-header--column {
|
130 | .vxe-resizable {
|
131 | right: auto;
|
132 | left: -7px;
|
133 | }
|
134 | }
|
135 | }
|