namirasoft-site-react 1.4.548 → 1.4.549
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.
- package/dist/components/NSBoxBaseLayout.d.ts +1 -0
- package/dist/components/NSBoxBaseLayout.js +5 -0
- package/dist/components/NSBoxBaseLayout.js.map +1 -1
- package/dist/components/NSBoxDateRange.d.ts +1 -0
- package/dist/components/NSBoxDateRange.js +6 -6
- package/dist/components/NSBoxDateRange.js.map +1 -1
- package/dist/components/NSBoxDateRangeBase.d.ts +1 -0
- package/dist/components/NSBoxDateRangeBase.js +7 -4
- package/dist/components/NSBoxDateRangeBase.js.map +1 -1
- package/dist/components/NSBoxDateRangeBase.module.css +8 -24
- package/dist/components/NSBoxDateTimeRange.js +5 -3
- package/dist/components/NSBoxDateTimeRange.js.map +1 -1
- package/dist/components/NSBoxTimeRange.js +2 -0
- package/dist/components/NSBoxTimeRange.js.map +1 -1
- package/dist/components/NSTable.js +1 -1
- package/dist/components/NSTable.js.map +1 -1
- package/dist/components/NSTable.module.css +248 -239
- package/package.json +1 -1
- package/src/components/NSBoxBaseLayout.tsx +5 -0
- package/src/components/NSBoxDateRange.tsx +8 -6
- package/src/components/NSBoxDateRangeBase.module.css +8 -24
- package/src/components/NSBoxDateRangeBase.tsx +8 -4
- package/src/components/NSBoxDateTimeRange.tsx +5 -3
- package/src/components/NSBoxTimeRange.tsx +2 -0
- package/src/components/NSTable.module.css +248 -239
- package/src/components/NSTable.tsx +2 -2
|
@@ -88,6 +88,8 @@ export abstract class NSBoxDateRangeBase<TProps extends NSBoxDateRangeBaseProps<
|
|
|
88
88
|
protected abstract getBuiltinPresets(): { label: string; title: string; from: Date; to: Date }[];
|
|
89
89
|
protected abstract renderPicker(): React.ReactNode;
|
|
90
90
|
|
|
91
|
+
protected normalizeValue(value: NSBoxDateRangeValue): NSBoxDateRangeValue { return value; }
|
|
92
|
+
|
|
91
93
|
protected toDayjsValue(): [Dayjs, Dayjs] | null
|
|
92
94
|
{
|
|
93
95
|
const { value } = this.state;
|
|
@@ -127,8 +129,9 @@ export abstract class NSBoxDateRangeBase<TProps extends NSBoxDateRangeBaseProps<
|
|
|
127
129
|
<div className={Styles.ns_preset_container}>
|
|
128
130
|
{builtinPresets.map(p =>
|
|
129
131
|
{
|
|
130
|
-
const
|
|
131
|
-
|
|
132
|
+
const norm = this.normalizeValue({ from: p.from, to: p.to });
|
|
133
|
+
const isActive = this.state.value?.from.getTime() === norm.from.getTime()
|
|
134
|
+
&& this.state.value?.to.getTime() === norm.to.getTime();
|
|
132
135
|
return (
|
|
133
136
|
<button
|
|
134
137
|
key={p.label}
|
|
@@ -144,8 +147,9 @@ export abstract class NSBoxDateRangeBase<TProps extends NSBoxDateRangeBaseProps<
|
|
|
144
147
|
{showDivider && <div className={Styles.ns_preset_divider} />}
|
|
145
148
|
{resolvedCustom.map(p =>
|
|
146
149
|
{
|
|
147
|
-
const
|
|
148
|
-
|
|
150
|
+
const norm = this.normalizeValue({ from: p.from, to: p.to });
|
|
151
|
+
const isActive = this.state.value?.from.getTime() === norm.from.getTime()
|
|
152
|
+
&& this.state.value?.to.getTime() === norm.to.getTime();
|
|
149
153
|
return (
|
|
150
154
|
<button
|
|
151
155
|
key={p.shortName}
|
|
@@ -31,11 +31,13 @@ export class NSBoxDateTimeRange extends NSBoxDateRangeBase<NSBoxDateTimeRangePro
|
|
|
31
31
|
const now = new Date();
|
|
32
32
|
now.setSeconds(0, 0);
|
|
33
33
|
return [
|
|
34
|
-
{ label: '1H', title: 'Last 1 Hour', from: TimeOperation.hoursAgo(1, now), to: now },
|
|
35
|
-
{ label: '6H', title: 'Last 6 Hours', from: TimeOperation.hoursAgo(6, now), to: now },
|
|
36
|
-
{ label: '12H', title: 'Last 12 Hours', from: TimeOperation.hoursAgo(12, now), to: now },
|
|
37
34
|
{ label: '1D', title: 'Last 1 Day', from: TimeOperation.daysAgo(1, now), to: now },
|
|
35
|
+
{ label: '2D', title: 'Last 2 Days', from: TimeOperation.daysAgo(2, now), to: now },
|
|
38
36
|
{ label: '1W', title: 'Last 1 Week', from: TimeOperation.weeksAgo(1, now), to: now },
|
|
37
|
+
{ label: '1M', title: 'Last 1 Month', from: TimeOperation.monthsAgo(1, now), to: now },
|
|
38
|
+
{ label: '3M', title: 'Last 3 Months', from: TimeOperation.monthsAgo(3, now), to: now },
|
|
39
|
+
{ label: '6M', title: 'Last 6 Months', from: TimeOperation.monthsAgo(6, now), to: now },
|
|
40
|
+
{ label: '1Y', title: 'Last Year', from: TimeOperation.yearsAgo(1, now), to: now },
|
|
39
41
|
];
|
|
40
42
|
}
|
|
41
43
|
|
|
@@ -118,9 +118,11 @@ export class NSBoxTimeRange extends Component<NSBoxTimeRangeProps, NSBoxTimeRang
|
|
|
118
118
|
now.setSeconds(0, 0);
|
|
119
119
|
const to = TimeOperation.format(now, fmt);
|
|
120
120
|
return [
|
|
121
|
+
{ label: '15M', title: 'Last 15 Min', from: TimeOperation.format(TimeOperation.minutesAgo(15, now), fmt), to },
|
|
121
122
|
{ label: '30M', title: 'Last 30 Min', from: TimeOperation.format(TimeOperation.minutesAgo(30, now), fmt), to },
|
|
122
123
|
{ label: '1H', title: 'Last 1 Hour', from: TimeOperation.format(TimeOperation.hoursAgo(1, now), fmt), to },
|
|
123
124
|
{ label: '2H', title: 'Last 2 Hours', from: TimeOperation.format(TimeOperation.hoursAgo(2, now), fmt), to },
|
|
125
|
+
{ label: '4H', title: 'Last 4 Hours', from: TimeOperation.format(TimeOperation.hoursAgo(4, now), fmt), to },
|
|
124
126
|
{ label: '6H', title: 'Last 6 Hours', from: TimeOperation.format(TimeOperation.hoursAgo(6, now), fmt), to },
|
|
125
127
|
{ label: '12H', title: 'Last 12 Hours', from: TimeOperation.format(TimeOperation.hoursAgo(12, now), fmt), to },
|
|
126
128
|
];
|
|
@@ -1,312 +1,321 @@
|
|
|
1
1
|
.ns_table {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
overflow-x: auto;
|
|
5
|
+
color: rgba(20, 27, 92);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.ns_search_input {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
display: flex;
|
|
10
|
+
justify-content: space-between;
|
|
11
|
+
align-items: center;
|
|
12
|
+
flex-wrap: wrap;
|
|
13
|
+
position: relative;
|
|
14
|
+
z-index: -1;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.ns_search_input {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
18
|
+
display: flex;
|
|
19
|
+
justify-content: space-between;
|
|
20
|
+
align-items: center;
|
|
21
|
+
flex-wrap: wrap;
|
|
22
|
+
position: relative;
|
|
23
|
+
z-index: -1;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.ns_table thead {
|
|
27
|
-
|
|
27
|
+
display: none;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
.ns_table tr {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
31
|
+
border-radius: 0px;
|
|
32
|
+
padding: 16px 8px;
|
|
33
|
+
display: block;
|
|
34
|
+
background-color: #fff;
|
|
35
|
+
transition: all 0.2s ease-in-out;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
.ns_table tbody tr {
|
|
39
|
-
|
|
39
|
+
cursor: pointer;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
.ns_table td {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
43
|
+
display: flex;
|
|
44
|
+
flex-direction: row;
|
|
45
|
+
gap: 16px;
|
|
46
|
+
margin: 8px;
|
|
47
|
+
padding: 8px 0;
|
|
48
|
+
font-size: 16px;
|
|
49
|
+
justify-content: left;
|
|
50
|
+
align-items: center;
|
|
51
|
+
color: #000;
|
|
52
|
+
height: max-content;
|
|
53
|
+
max-height: 3rem;
|
|
54
|
+
line-clamp: 2;
|
|
55
|
+
-webkit-line-clamp: 2;
|
|
56
|
+
-webkit-box-orient: vertical;
|
|
57
|
+
overflow: hidden;
|
|
58
|
+
padding-top: 0 !important;
|
|
59
|
+
padding-bottom: 0 !important;
|
|
60
|
+
overflow-wrap: break-word;
|
|
61
|
+
word-break: break-word;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
.ns_table td::before {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
65
|
+
content: attr(data-label);
|
|
66
|
+
font-weight: bold;
|
|
67
|
+
float: left;
|
|
68
|
+
min-width: 30%;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
.ns_tbody tr:nth-child(odd) {
|
|
72
|
-
|
|
72
|
+
background-color: #f5f5f5;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
.ns_tbody tr:nth-child(even) {
|
|
76
|
-
|
|
76
|
+
background-color: #ffffff;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
.ns_tbody tr:hover {
|
|
80
|
-
|
|
80
|
+
background-color: rgb(184, 190, 240, 0.32);
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
.ns_tbody tr.ns_selected {
|
|
84
|
-
|
|
84
|
+
background-color: rgb(184, 190, 240, 0.64);
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
.ns_table tfoot {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
88
|
+
padding: 1rem 0 0;
|
|
89
|
+
display: flex;
|
|
90
|
+
flex-direction: column;
|
|
91
|
+
align-items: center;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
/* Check Box */
|
|
95
95
|
.ns_check_box {
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
width: 100%;
|
|
97
|
+
text-align: center;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
.ns_check_box {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
101
|
+
height: 24px;
|
|
102
|
+
width: 24px !important;
|
|
103
|
+
cursor: pointer;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
.ns_check_box:checked {
|
|
107
|
-
|
|
107
|
+
accent-color: #141B5C;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
.ns_check_box_label {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
111
|
+
display: block;
|
|
112
|
+
width: 100%;
|
|
113
|
+
height: 100%;
|
|
114
|
+
cursor: pointer;
|
|
115
|
+
display: flex;
|
|
116
|
+
justify-content: left;
|
|
117
|
+
align-items: center;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
.ns_indeterminate:indeterminate {
|
|
121
|
-
|
|
121
|
+
border: 1px solid rgba(255, 148, 50, 1);
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
.ns_indeterminate {
|
|
125
|
-
|
|
125
|
+
position: relative;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
.ns_indeterminate::after {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
129
|
+
content: "-";
|
|
130
|
+
display: block;
|
|
131
|
+
position: absolute;
|
|
132
|
+
width: 100%;
|
|
133
|
+
height: 100%;
|
|
134
|
+
top: 0;
|
|
135
|
+
left: 0;
|
|
136
|
+
border: 5px solid #fffbff;
|
|
137
|
+
color: #141b5c;
|
|
138
|
+
background: #141b5c;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.ns_tfoot_row,
|
|
142
|
+
.ns_tfoot_cell {
|
|
143
|
+
display: contents !important;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.ns_tfoot_cell::before {
|
|
147
|
+
display: none !important;
|
|
139
148
|
}
|
|
140
149
|
|
|
141
150
|
/* Button Panel */
|
|
142
151
|
.ns_button_panel {
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
152
|
+
display: flex;
|
|
153
|
+
flex-direction: row;
|
|
154
|
+
flex-wrap: wrap;
|
|
155
|
+
justify-content: center;
|
|
156
|
+
align-items: center;
|
|
157
|
+
width: 100%;
|
|
158
|
+
gap: 16px;
|
|
150
159
|
}
|
|
151
160
|
|
|
152
161
|
@media screen and (max-width: 991px) {
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
162
|
+
.ns_table td {
|
|
163
|
+
width: auto;
|
|
164
|
+
}
|
|
156
165
|
}
|
|
157
166
|
|
|
158
167
|
@media screen and (min-width: 992px) {
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
168
|
+
.ns_table_wrapper {
|
|
169
|
+
position: relative;
|
|
170
|
+
height: 100%;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.ns_table {
|
|
174
|
+
height: 100%;
|
|
175
|
+
max-height: 33.625rem;
|
|
176
|
+
border-radius: 0.75rem;
|
|
177
|
+
justify-content: flex-start;
|
|
178
|
+
overflow: scroll auto;
|
|
179
|
+
background-color: #fff;
|
|
180
|
+
color: #000;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.ns_table tr {
|
|
184
|
+
min-width: fit-content;
|
|
185
|
+
margin: 0;
|
|
186
|
+
border: 1px solid transparent;
|
|
187
|
+
border-radius: 0;
|
|
188
|
+
padding: 4px 8px;
|
|
189
|
+
display: grid;
|
|
190
|
+
align-items: center;
|
|
191
|
+
grid-auto-flow: column;
|
|
192
|
+
grid-auto-columns: max-content;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.ns_table th {
|
|
196
|
+
margin: 8px;
|
|
197
|
+
padding: 0;
|
|
198
|
+
font-size: 16px;
|
|
199
|
+
font-weight: 500;
|
|
200
|
+
line-height: 1.5rem;
|
|
201
|
+
color: #fff;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.ns_table td {
|
|
205
|
+
align-items: flex-start;
|
|
206
|
+
line-height: 1.5rem;
|
|
207
|
+
text-align: left;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.ns_table td::before {
|
|
211
|
+
content: "";
|
|
212
|
+
float: left;
|
|
213
|
+
font-weight: bold;
|
|
214
|
+
min-width: unset;
|
|
215
|
+
display: none;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.ns_table thead {
|
|
219
|
+
position: sticky;
|
|
220
|
+
top: 0;
|
|
221
|
+
min-width: max-content;
|
|
222
|
+
display: block;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.ns_table thead tr {
|
|
226
|
+
background-color: rgba(20, 27, 92);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.ns_table tbody {
|
|
230
|
+
padding-bottom: 0.5rem;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.ns_table tbody tr.ns_selected,
|
|
234
|
+
.ns_table tbody tr.ns_last_selected {
|
|
235
|
+
border-color: rgba(20, 27, 92);
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.ns_table tbody tr.ns_selected+tr,
|
|
239
|
+
.ns_table tbody tr.ns_last_selected+tr {
|
|
240
|
+
border-top-color: transparent;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.ns_table tfoot {
|
|
244
|
+
position: sticky;
|
|
245
|
+
bottom: 0;
|
|
246
|
+
left: 0;
|
|
247
|
+
width: 100%;
|
|
248
|
+
padding: 1rem;
|
|
249
|
+
flex-direction: row;
|
|
250
|
+
background-color: #fff;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.ns_table tfoot.padding_0 {
|
|
254
|
+
padding: 0;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.ns_check_box {
|
|
258
|
+
display: flex;
|
|
259
|
+
align-items: center;
|
|
260
|
+
cursor: pointer;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.ns_checkbox_label {
|
|
264
|
+
justify-content: center;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.ns_table_scrollbar {
|
|
268
|
+
position: absolute;
|
|
269
|
+
left: 0;
|
|
270
|
+
width: 100%;
|
|
271
|
+
height: 0.5rem;
|
|
272
|
+
overflow: auto visible;
|
|
273
|
+
background-color: #efefef;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.ns_table_scrollbar.bottom-0 {
|
|
277
|
+
bottom: 0;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.ns_table_scrollbar_content {
|
|
281
|
+
height: 0.25rem;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.ns_table,
|
|
285
|
+
.ns_table_scrollbar {
|
|
286
|
+
&::-webkit-scrollbar {
|
|
287
|
+
width: 0.5rem;
|
|
288
|
+
height: 0.5rem;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
&::-webkit-scrollbar-track {
|
|
292
|
+
border-radius: 0.25rem;
|
|
293
|
+
background: #efefef;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
&::-webkit-scrollbar-thumb {
|
|
297
|
+
border-radius: 0.25rem;
|
|
298
|
+
background: #888;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
&::-webkit-scrollbar-thumb:hover {
|
|
302
|
+
background: #555;
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.ns_table::-webkit-scrollbar {
|
|
307
|
+
height: 0;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.ns_table_scrollbar::-webkit-scrollbar {
|
|
311
|
+
width: 0;
|
|
312
|
+
}
|
|
304
313
|
}
|
|
305
314
|
|
|
306
315
|
@media screen and (min-width: 1024px) {
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
316
|
+
.ns_button_panel {
|
|
317
|
+
flex-wrap: nowrap;
|
|
318
|
+
justify-content: flex-end;
|
|
319
|
+
gap: 24px;
|
|
320
|
+
}
|
|
312
321
|
}
|
|
@@ -853,8 +853,8 @@ export class NSTable<RowType> extends Component<NSTableProps<RowType>, NSTableSt
|
|
|
853
853
|
</tbody>
|
|
854
854
|
|
|
855
855
|
<tfoot className={!show_pagination && !show_button_panel ? Styles.padding_0 : ""}>
|
|
856
|
-
<tr>
|
|
857
|
-
<td
|
|
856
|
+
<tr className={Styles.ns_tfoot_row}>
|
|
857
|
+
<td className={Styles.ns_tfoot_cell}>
|
|
858
858
|
<div
|
|
859
859
|
ref={this.TableScrollbar_Ref}
|
|
860
860
|
className={Styles.ns_table_scrollbar}
|