vft 0.0.84 → 0.0.85

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,6 +9,10 @@ $name: table;
9
9
 
10
10
  @include b($name) {
11
11
  .vxe-table {
12
+ .border--full {
13
+ background-image: linear-gradient(#f2f4f9, #f2f4f9), linear-gradient(#f2f4f9, #f2f4f9);
14
+ }
15
+
12
16
  .vxe-table--fixed-left-wrapper {
13
17
  z-index: 10;
14
18
  overflow: unset;
@@ -20,8 +24,8 @@ $name: table;
20
24
  }
21
25
 
22
26
  .vxe-table--header-wrapper {
23
- background-color: #f3fbfe;
24
- // background-color: rgb(248, 250, 255);
27
+ // background-color: #f3fbfe;
28
+ background-color: rgb(248, 250, 255);
25
29
 
26
30
  position: sticky !important;
27
31
  top: 0px;
@@ -29,88 +33,110 @@ $name: table;
29
33
  overflow: hidden;
30
34
  }
31
35
 
32
- .vxe-header--column {
33
- background-color: #f3fbfe;
36
+ .headerRowClass {
37
+ // background-color: #f3fbfe;
38
+ // background-color: rgb(248, 250, 255);
34
39
  color: rgba(0, 0, 0, 0.85);
35
40
  user-select: none;
36
- font-weight: 500;
37
- line-height: 17px;
38
- font-size: 12px;
39
- padding: 8px 0;
41
+ cursor: pointer;
40
42
 
41
- &.is--sortable {
42
- cursor: pointer;
43
- }
44
- }
43
+ .vxe-header--column {
44
+ font-weight: 500;
45
+ line-height: 17px;
46
+ font-size: 12px;
47
+ padding: 8px 0;
45
48
 
46
- .vxe-table--render-default .vxe-body--column.col--ellipsis:not(.col--actived) > .vxe-cell,
47
- .vxe-table--render-default .vxe-footer--column.col--ellipsis:not(.col--actived) > .vxe-cell,
48
- .vxe-table--render-default .vxe-header--column.col--ellipsis:not(.col--actived) > .vxe-cell {
49
- white-space: normal;
50
- max-height: inherit;
49
+ .vxe-cell {
50
+ display: flex;
51
+ align-items: center;
52
+ justify-content: center;
53
+ }
54
+ }
51
55
  }
56
+ }
52
57
 
53
- .vxe-cell {
54
- white-space: normal;
55
- }
58
+ .vxe-table--render-default .vxe-body--column.col--ellipsis:not(.col--actived) > .vxe-cell,
59
+ .vxe-table--render-default .vxe-footer--column.col--ellipsis:not(.col--actived) > .vxe-cell,
60
+ .vxe-table--render-default .vxe-header--column.col--ellipsis:not(.col--actived) > .vxe-cell {
61
+ white-space: normal;
62
+ max-height: inherit;
63
+ }
56
64
 
57
- .vxe-table--render-default .vxe-body--column.cellClass {
58
- padding: 0;
59
- height: 44px;
60
- font-size: 13px;
61
- line-height: 20px;
62
- color: #111;
63
- font-weight: 400;
65
+ .vxe-cell {
66
+ white-space: normal;
67
+ // max-height: max-content;
68
+ // display: table-cell;
69
+ // display: contents;
70
+ // padding-top: 8px;
71
+ // padding-bottom: 8px;
72
+ }
64
73
 
65
- .vxe-cell--label {
66
- @include line-clamp(2);
67
- }
74
+ .vxe-table--render-default .vxe-body--column.cellClass {
75
+ // padding: 4px 0;
76
+ // height: unset;
77
+ // box-sizing: content-box;
68
78
 
69
- .vxe-cell {
70
- @include line-clamp(2);
71
- }
79
+ // padding: 0;
80
+ padding: 6px 0;
81
+ height: 32px;
82
+ box-sizing: border-box;
83
+ border-bottom: none;
84
+ overflow-wrap: break-word;
85
+ font-size: 13px;
86
+ line-height: 20px;
87
+ color: #111111;
88
+ font-weight: 400;
89
+
90
+ .vxe-cell--label {
91
+ @include line-clamp(2);
92
+ }
72
93
 
73
- .line-clamp {
74
- @include line-clamp(2);
75
- }
94
+ .vxe-cell {
95
+ @include line-clamp(2);
96
+ }
76
97
 
77
- a {
78
- color: getCssVar('primary-color');
79
- font-size: 13px;
80
- cursor: pointer;
98
+ .line-clamp {
99
+ @include line-clamp(2);
100
+ }
81
101
 
82
- &:hover {
83
- text-decoration: underline;
84
- }
85
- }
102
+ a {
103
+ color: $primary-color;
104
+ font-size: 13px;
105
+ cursor: pointer;
86
106
 
87
- em {
88
- color: #fe3a2f;
89
- font-style: normal;
107
+ &:hover {
108
+ text-decoration: underline;
90
109
  }
91
110
  }
92
111
 
93
- .vxe-sort--asc-btn,
94
- .vxe-sort--desc-btn {
95
- pointer-events: none;
112
+ em {
113
+ color: #fe3a2f;
114
+ font-style: normal;
96
115
  }
116
+ }
97
117
 
98
- .remark {
99
- color: #111;
100
- position: relative;
101
- cursor: pointer;
118
+ .vxe-sort--asc-btn, .vxe-sort--desc-btn {
119
+ /** 排序图标点击事件禁用*/
120
+ pointer-events: none;
121
+ height: 12px;
122
+ line-height: 12px;
123
+ font-size: 10px;
124
+ }
102
125
 
103
- &::after {
104
- content: '*';
105
- color: #f64c4c;
106
- position: absolute;
107
- font-size: 18px;
108
- right: -8px;
109
- top: 0;
110
- }
126
+ .remark {
127
+ color: #111;
128
+ position: relative;
129
+ cursor: pointer;
130
+
131
+ &::after {
132
+ content: '*';
133
+ color: #f64c4c;
134
+ position: absolute;
135
+ font-size: 18px;
136
+ right: -8px;
137
+ top: 0;
111
138
  }
112
139
  }
113
-
114
140
  .vxe-grid--bottom-wrapper {
115
141
  position: sticky;
116
142
  bottom: 0;
@@ -123,23 +149,36 @@ $name: table;
123
149
  overflow-x: auto;
124
150
  border-radius: 4px;
125
151
  background-color: transparent;
126
- border-right: 1px solid #ebeef5;
152
+ border-right: 1px solid #EBEEF5;
127
153
  box-sizing: content-box;
128
154
  z-index: 9;
129
155
  display: block;
130
- }
131
156
 
157
+ }
132
158
  @include e(sticky-scroll-bar) {
133
159
  height: 1px;
134
160
  width: 100%;
135
161
  box-sizing: border-box;
136
162
  }
137
163
 
164
+ .vxe-table--render-default {
165
+
166
+ &.border--full .vxe-body--column, .vxe-header--column {
167
+
168
+ background-image: linear-gradient(#f2f4f9, #f2f4f9), linear-gradient(#f2f4f9, #f2f4f9);
169
+ background-size: 1px 100%, 100% 0px;
170
+ }
171
+
172
+ .vxe-body--row.row--stripe {
173
+ background-color: rgb(248, 250, 255) !important;
174
+ }
175
+ }
176
+
138
177
  @include m(pager-bottom-right) {
139
178
  margin-top: 10px;
140
179
  justify-content: flex-end;
141
180
  .btn-next {
142
- margin-right: 0!important;
181
+ margin-right: 0 !important;
143
182
  }
144
183
  }
145
184
 
@@ -1 +1 @@
1
- .vft-table .vxe-table .vxe-table--fixed-left-wrapper{z-index:10;overflow:unset}.vft-table .vxe-table .vxe-table--fixed-left-wrapper .vxe-table--body-wrapper{width:100%;overflow-y:hidden}.vft-table .vxe-table .vxe-table--header-wrapper{background-color:#f3fbfe;position:sticky!important;top:0;z-index:10;overflow:hidden}.vft-table .vxe-table .vxe-header--column{background-color:#f3fbfe;color:rgba(0,0,0,.85);-webkit-user-select:none;-moz-user-select:none;user-select:none;font-weight:500;line-height:17px;font-size:12px;padding:8px 0}.vft-table .vxe-table .vxe-header--column.is--sortable{cursor:pointer}.vft-table .vxe-table .vxe-table--render-default .vxe-body--column.col--ellipsis:not(.col--actived)>.vxe-cell,.vft-table .vxe-table .vxe-table--render-default .vxe-footer--column.col--ellipsis:not(.col--actived)>.vxe-cell,.vft-table .vxe-table .vxe-table--render-default .vxe-header--column.col--ellipsis:not(.col--actived)>.vxe-cell{white-space:normal;max-height:inherit}.vft-table .vxe-table .vxe-cell{white-space:normal}.vft-table .vxe-table .vxe-table--render-default .vxe-body--column.cellClass{padding:0;height:44px;font-size:13px;line-height:20px;color:#111;font-weight:400}.vft-table .vxe-table .vxe-table--render-default .vxe-body--column.cellClass .vxe-cell--label{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}.vft-table .vxe-table .vxe-table--render-default .vxe-body--column.cellClass .vxe-cell{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}.vft-table .vxe-table .vxe-table--render-default .vxe-body--column.cellClass .line-clamp{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}.vft-table .vxe-table .vxe-table--render-default .vxe-body--column.cellClass a{color:var(--vft-primary-color);font-size:13px;cursor:pointer}.vft-table .vxe-table .vxe-table--render-default .vxe-body--column.cellClass a:hover{text-decoration:underline}.vft-table .vxe-table .vxe-table--render-default .vxe-body--column.cellClass em{color:#fe3a2f;font-style:normal}.vft-table .vxe-table .vxe-sort--asc-btn,.vft-table .vxe-table .vxe-sort--desc-btn{pointer-events:none}.vft-table .vxe-table .remark{color:#111;position:relative;cursor:pointer}.vft-table .vxe-table .remark::after{content:"*";color:#f64c4c;position:absolute;font-size:18px;right:-8px;top:0}.vft-table .vxe-grid--bottom-wrapper{position:sticky;bottom:0;z-index:3000}.vft-table__sticky-scroll-warpper{height:10px;width:100%;overflow-x:auto;border-radius:4px;background-color:transparent;border-right:1px solid #ebeef5;box-sizing:content-box;z-index:9;display:block}.vft-table__sticky-scroll-bar{height:1px;width:100%;box-sizing:border-box}.vft-table--pager-bottom-right{margin-top:10px;justify-content:flex-end}.vft-table--pager-bottom-right .btn-next{margin-right:0!important}.vft-table--pager-bottom-left{margin-top:10px;justify-content:flex-start}.vft-table--pager-bottom-left .btn-prev{margin-left:0!important}.vft-table--pager-top-right{margin-bottom:10px;justify-content:flex-end}.vft-table--pager-top-right .btn-next{margin-right:0!important}.vft-table--pager-top-left{margin-bottom:10px;justify-content:flex-start}.vft-table--pager-top-left .btn-prev{margin-left:0!important}
1
+ @charset "UTF-8";.vft-table .vxe-table .border--full{background-image:linear-gradient(#f2f4f9,#f2f4f9),linear-gradient(#f2f4f9,#f2f4f9)}.vft-table .vxe-table .vxe-table--fixed-left-wrapper{z-index:10;overflow:unset}.vft-table .vxe-table .vxe-table--fixed-left-wrapper .vxe-table--body-wrapper{width:100%;overflow-y:hidden}.vft-table .vxe-table .vxe-table--header-wrapper{background-color:#f8faff;position:sticky!important;top:0;z-index:10;overflow:hidden}.vft-table .vxe-table .headerRowClass{color:rgba(0,0,0,.85);-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer}.vft-table .vxe-table .headerRowClass .vxe-header--column{font-weight:500;line-height:17px;font-size:12px;padding:8px 0}.vft-table .vxe-table .headerRowClass .vxe-header--column .vxe-cell{display:flex;align-items:center;justify-content:center}.vft-table .vxe-table--render-default .vxe-body--column.col--ellipsis:not(.col--actived)>.vxe-cell,.vft-table .vxe-table--render-default .vxe-footer--column.col--ellipsis:not(.col--actived)>.vxe-cell,.vft-table .vxe-table--render-default .vxe-header--column.col--ellipsis:not(.col--actived)>.vxe-cell{white-space:normal;max-height:inherit}.vft-table .vxe-cell{white-space:normal}.vft-table .vxe-table--render-default .vxe-body--column.cellClass{padding:6px 0;height:32px;box-sizing:border-box;border-bottom:none;overflow-wrap:break-word;font-size:13px;line-height:20px;color:#111;font-weight:400}.vft-table .vxe-table--render-default .vxe-body--column.cellClass .vxe-cell--label{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}.vft-table .vxe-table--render-default .vxe-body--column.cellClass .vxe-cell{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}.vft-table .vxe-table--render-default .vxe-body--column.cellClass .line-clamp{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}.vft-table .vxe-table--render-default .vxe-body--column.cellClass a{color:var(--vft-primary-color);font-size:13px;cursor:pointer}.vft-table .vxe-table--render-default .vxe-body--column.cellClass a:hover{text-decoration:underline}.vft-table .vxe-table--render-default .vxe-body--column.cellClass em{color:#fe3a2f;font-style:normal}.vft-table .vxe-sort--asc-btn,.vft-table .vxe-sort--desc-btn{pointer-events:none;height:12px;line-height:12px;font-size:10px}.vft-table .remark{color:#111;position:relative;cursor:pointer}.vft-table .remark::after{content:"*";color:#f64c4c;position:absolute;font-size:18px;right:-8px;top:0}.vft-table .vxe-grid--bottom-wrapper{position:sticky;bottom:0;z-index:3000}.vft-table__sticky-scroll-warpper{height:10px;width:100%;overflow-x:auto;border-radius:4px;background-color:transparent;border-right:1px solid #ebeef5;box-sizing:content-box;z-index:9;display:block}.vft-table__sticky-scroll-bar{height:1px;width:100%;box-sizing:border-box}.vft-table .vxe-table--render-default .vxe-header--column,.vft-table .vxe-table--render-default.border--full .vxe-body--column{background-image:linear-gradient(#f2f4f9,#f2f4f9),linear-gradient(#f2f4f9,#f2f4f9);background-size:1px 100%,100% 0}.vft-table .vxe-table--render-default .vxe-body--row.row--stripe{background-color:#f8faff!important}.vft-table--pager-bottom-right{margin-top:10px;justify-content:flex-end}.vft-table--pager-bottom-right .btn-next{margin-right:0!important}.vft-table--pager-bottom-left{margin-top:10px;justify-content:flex-start}.vft-table--pager-bottom-left .btn-prev{margin-left:0!important}.vft-table--pager-top-right{margin-bottom:10px;justify-content:flex-end}.vft-table--pager-top-right .btn-next{margin-right:0!important}.vft-table--pager-top-left{margin-bottom:10px;justify-content:flex-start}.vft-table--pager-top-left .btn-prev{margin-left:0!important}