@enki-tek/fms-web-components 0.1.62 → 0.1.64
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/components/Pagination/OldPagination.svelte +750 -0
- package/components/Pagination/OldPagination.svelte.d.ts +21 -0
- package/components/Pagination/Pagination.stories.d.ts +1 -1
- package/components/Pagination/Pagination.stories.js +1 -1
- package/components/Pagination/Pagination.svelte +59 -738
- package/components/Pagination/Pagination.svelte.d.ts +3 -2
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/lib/common.d.ts +1 -0
- package/lib/common.js +4 -0
- package/package.json +4 -2
@@ -1,749 +1,70 @@
|
|
1
|
-
<script>import {
|
2
|
-
import { Pagination, PaginationItem, PaginationLink, Icon } from "sveltestrap";
|
1
|
+
<script>import { Pagination, PaginationItem, PaginationLink, Icon } from "sveltestrap";
|
3
2
|
import { createEventDispatcher } from "svelte";
|
3
|
+
import { first, last, range } from "lodash";
|
4
|
+
import { isMobile } from "../../lib/common";
|
4
5
|
const dispatch = createEventDispatcher();
|
5
|
-
|
6
|
-
export let noOfItems
|
7
|
-
export let itemPerPage =
|
8
|
-
export let
|
6
|
+
export let PAGE_GUTTER = isMobile() ? 1 : 2;
|
7
|
+
export let noOfItems;
|
8
|
+
export let itemPerPage = 10;
|
9
|
+
export let page = 1;
|
9
10
|
export let size = "md";
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
if (startPage <= 0) {
|
20
|
-
startPage = 1;
|
21
|
-
endPage = pagesToShow;
|
22
|
-
}
|
23
|
-
if (endPage > pageCount) {
|
24
|
-
endPage = pageCount;
|
25
|
-
startPage = pageCount - pagesToShow + 1;
|
26
|
-
}
|
27
|
-
return Array(endPage - startPage + 1).fill().map((_, idx) => startPage + idx);
|
28
|
-
};
|
29
|
-
function gotoPage(page) {
|
30
|
-
currentPage = page;
|
11
|
+
$:
|
12
|
+
pageCount = Math.ceil((noOfItems || 0) / itemPerPage);
|
13
|
+
$:
|
14
|
+
pages = range(
|
15
|
+
page - PAGE_GUTTER > 0 ? page - PAGE_GUTTER : 1,
|
16
|
+
page + (PAGE_GUTTER + 1) > pageCount ? pageCount + 1 : page + (PAGE_GUTTER + 1)
|
17
|
+
).filter((i) => i != 1 && i != pageCount);
|
18
|
+
const goTo = (num) => {
|
19
|
+
page = num;
|
31
20
|
dispatch("pageChanged", page);
|
32
|
-
|
33
|
-
}
|
34
|
-
function prevPage() {
|
35
|
-
if (currentPage > 1) {
|
36
|
-
currentPage--;
|
37
|
-
dispatch("pageChanged", currentPage);
|
38
|
-
calculatePageNumbers();
|
39
|
-
}
|
40
|
-
}
|
41
|
-
function nextPage() {
|
42
|
-
if (currentPage < pageCount) {
|
43
|
-
currentPage++;
|
44
|
-
dispatch("pageChanged", currentPage);
|
45
|
-
calculatePageNumbers();
|
46
|
-
}
|
47
|
-
}
|
21
|
+
};
|
48
22
|
</script>
|
49
|
-
{#if calculatePageNumbers(noOfItems).length > 1}
|
50
|
-
<Pagination {size} ariaLabel="Page navigation example">
|
51
|
-
<PaginationItem disabled={currentPage === 1} class="eradius custom-pagination-list">
|
52
|
-
<PaginationLink previous href="#" class="custom-pagination-link-add" on:click={prevPage}
|
53
|
-
><Icon name="chevron-left" /></PaginationLink
|
54
|
-
>
|
55
|
-
</PaginationItem>
|
56
23
|
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
href="#"
|
62
|
-
on:click={() => gotoPage(page)}>{page}</PaginationLink
|
63
|
-
>
|
24
|
+
{#if 1 < pageCount}
|
25
|
+
<Pagination {size}>
|
26
|
+
<PaginationItem disabled={page == 1} class="d-none d-sm-block">
|
27
|
+
<PaginationLink first href={'javascript:{}'} on:click={() => goTo(1)} />
|
64
28
|
</PaginationItem>
|
65
|
-
|
66
|
-
|
67
|
-
{#if currentPage < pageCount && endPage != pageCount}
|
68
|
-
<span class="dots-span">......</span>
|
69
|
-
<PaginationItem class="eradius custom-pagination-list">
|
70
|
-
<PaginationLink
|
71
|
-
class="eradius efs-small custom-pagination-link"
|
72
|
-
href="#"
|
73
|
-
on:click={() => gotoPage(pageCount)}>{pageCount}</PaginationLink
|
74
|
-
>
|
29
|
+
<PaginationItem disabled={page == 1}>
|
30
|
+
<PaginationLink previous href={'javascript:{}'} on:click={() => goTo(page - 1)} />
|
75
31
|
</PaginationItem>
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
<PaginationLink
|
80
|
-
next
|
81
|
-
href="#"
|
82
|
-
class="eradius efs-small custom-pagination-link-add"
|
83
|
-
on:click={nextPage}><Icon name="chevron-right" /></PaginationLink
|
32
|
+
<PaginationItem active={1 == page}
|
33
|
+
><PaginationLink href={'javascript:{}'} on:click={() => goTo(1)}>1</PaginationLink
|
34
|
+
></PaginationItem
|
84
35
|
>
|
85
|
-
|
86
|
-
|
36
|
+
{#if !!first(pages) && (first(pages) || 0) > 2}
|
37
|
+
<PaginationItem
|
38
|
+
><PaginationLink href={'javascript:{}'} on:click={() => goTo((first(pages) || 0) - 1)}
|
39
|
+
>...</PaginationLink
|
40
|
+
></PaginationItem
|
41
|
+
>
|
42
|
+
{/if}
|
43
|
+
{#each pages as val, pg}
|
44
|
+
<PaginationItem active={val == page}>
|
45
|
+
<PaginationLink href={'javascript:{}'} on:click={() => goTo(val)}>{val}</PaginationLink>
|
46
|
+
</PaginationItem>
|
47
|
+
{/each}
|
48
|
+
{#if !!last(pages) && (last(pages) || 0) < pageCount - 1}
|
49
|
+
<PaginationItem
|
50
|
+
><PaginationLink href={'javascript:{}'} on:click={() => goTo((last(pages) || 0) + 1)}
|
51
|
+
>...</PaginationLink
|
52
|
+
></PaginationItem
|
53
|
+
>
|
54
|
+
{/if}
|
55
|
+
{#if pageCount > 1}
|
56
|
+
<PaginationItem active={pageCount == page}
|
57
|
+
><PaginationLink href={'javascript:{}'} on:click={() => goTo(pageCount)}
|
58
|
+
>{pageCount}</PaginationLink
|
59
|
+
></PaginationItem
|
60
|
+
>
|
61
|
+
{/if}
|
62
|
+
<PaginationItem disabled={pageCount == page}>
|
63
|
+
<PaginationLink next href={'javascript:{}'} on:click={() => goTo(page + 1)} />
|
64
|
+
</PaginationItem>
|
65
|
+
<PaginationItem disabled={pageCount == page} class="d-none d-sm-block">
|
66
|
+
<PaginationLink last href={'javascript:{}'} on:click={() => goTo(pageCount)} />
|
67
|
+
</PaginationItem>
|
68
|
+
</Pagination>
|
87
69
|
{/if}
|
88
70
|
|
89
|
-
<style>@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
|
90
|
-
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
|
91
|
-
@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap");
|
92
|
-
@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
|
93
|
-
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
|
94
|
-
@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap");
|
95
|
-
:global(.page-link:hover), :global(.custom-pagination-link-add), :global(.custom-pagination-link), :global(.custom-pagination-list) {
|
96
|
-
border: 1px solid #E9ECEF;
|
97
|
-
}
|
98
|
-
:global(.pagination) {
|
99
|
-
display: flex;
|
100
|
-
padding-left: 0;
|
101
|
-
list-style: none;
|
102
|
-
gap: 5px;
|
103
|
-
margin-top: 2rem;
|
104
|
-
}
|
105
|
-
:global(.custom-pagination-list) {
|
106
|
-
display: flex;
|
107
|
-
background: #ffffff;
|
108
|
-
}
|
109
|
-
:global(.custom-pagination-link) {
|
110
|
-
display: flex;
|
111
|
-
align-items: center;
|
112
|
-
background: #ffffff;
|
113
|
-
color: #6C757D;
|
114
|
-
line-height: 16px;
|
115
|
-
/* 100% */
|
116
|
-
}
|
117
|
-
:global(.custom-pagination-link-add) {
|
118
|
-
display: flex;
|
119
|
-
align-items: center;
|
120
|
-
background: #ffffff;
|
121
|
-
color: #adb5bd;
|
122
|
-
line-height: 16px;
|
123
|
-
/* 100% */
|
124
|
-
}
|
125
|
-
:global(.page-item.disabled .page-link) {
|
126
|
-
color: #CED4DA;
|
127
|
-
}
|
128
|
-
:global(.pagination-lg .page-link) {
|
129
|
-
padding: 12px 16px;
|
130
|
-
font-size: 16px;
|
131
|
-
}
|
132
|
-
:global(.page-link:hover) {
|
133
|
-
z-index: 2;
|
134
|
-
color: #6C757D;
|
135
|
-
background: #D1E7DD;
|
136
|
-
}
|
137
|
-
:global(.page-link:focus) {
|
138
|
-
outline: 0;
|
139
|
-
box-shadow: none;
|
140
|
-
}
|
141
|
-
:global(.page-item.active .page-link) {
|
142
|
-
z-index: 3;
|
143
|
-
color: #ffffff;
|
144
|
-
background-color: #3AC82E;
|
145
|
-
border-color: #00A855;
|
146
|
-
}
|
147
|
-
.dots-span {
|
148
|
-
display: flex;
|
149
|
-
align-items: end;
|
150
|
-
color: #6C757D;
|
151
|
-
}
|
152
|
-
:global(.page-item:first-child .page-link) {
|
153
|
-
border-top-left-radius: 4px;
|
154
|
-
border-bottom-left-radius: 4px;
|
155
|
-
}
|
156
|
-
:global(.page-item:last-child .page-link) {
|
157
|
-
border-top-right-radius: 4px;
|
158
|
-
border-bottom-right-radius: 4px;
|
159
|
-
}
|
160
|
-
:global(.ebg-none) {
|
161
|
-
background-color: #ffffff !important;
|
162
|
-
}
|
163
|
-
:global(.ebg-white) {
|
164
|
-
background-color: #ffffff;
|
165
|
-
}
|
166
|
-
:global(.ebg-secondary, .eactive-secondary:active, .ehover-secondary:hover) {
|
167
|
-
background-color: #3AC82E;
|
168
|
-
}
|
169
|
-
:global(.ebg-secondaryDark, .eactive-secondaryDark:active, .ehover-secondaryDark:hover) {
|
170
|
-
background-color: #00A855;
|
171
|
-
}
|
172
|
-
:global(.ebg-secondaryLight, .eactive-secondaryLight:active, .ehover-secondaryLight:hover) {
|
173
|
-
background-color: #CBFFC7;
|
174
|
-
}
|
175
|
-
:global(.ebg-primary) {
|
176
|
-
background-color: #00AEE5;
|
177
|
-
}
|
178
|
-
:global(.ebg-primaryDark) {
|
179
|
-
background-color: #007FD8;
|
180
|
-
}
|
181
|
-
:global(.ebg-primaryLight) {
|
182
|
-
background-color: #CEF3FF;
|
183
|
-
}
|
184
|
-
:global(.ebg-danger) {
|
185
|
-
background-color: #FE4747;
|
186
|
-
}
|
187
|
-
:global(.ebg-dangerDark) {
|
188
|
-
background-color: #B02A37;
|
189
|
-
}
|
190
|
-
:global(.ebg-dangerLight) {
|
191
|
-
background-color: #f8d7da;
|
192
|
-
}
|
193
|
-
:global(.ebg-warning) {
|
194
|
-
background-color: #FFBA3A;
|
195
|
-
}
|
196
|
-
:global(.ebg-warningDark) {
|
197
|
-
background-color: #997404;
|
198
|
-
color: #ffffff !important;
|
199
|
-
}
|
200
|
-
:global(.ebg-warningLight) {
|
201
|
-
background-color: #FFF3CD;
|
202
|
-
}
|
203
|
-
:global(.ebg-info) {
|
204
|
-
background-color: #0DCAF0;
|
205
|
-
}
|
206
|
-
:global(.ebg-infoDark) {
|
207
|
-
background-color: #087990;
|
208
|
-
}
|
209
|
-
:global(.ebg-infoLight) {
|
210
|
-
background-color: #9EEAF9;
|
211
|
-
}
|
212
|
-
:global(.ebg-success) {
|
213
|
-
background-color: #00A96B;
|
214
|
-
}
|
215
|
-
:global(.ebg-successDark) {
|
216
|
-
background-color: #146C43;
|
217
|
-
}
|
218
|
-
:global(.ebg-successLight) {
|
219
|
-
background-color: #D1E7DD;
|
220
|
-
}
|
221
|
-
:global(.ebg-gray100) {
|
222
|
-
background-color: #F8F9FA;
|
223
|
-
}
|
224
|
-
:global(.ebg-gray200) {
|
225
|
-
background-color: #E9ECEF;
|
226
|
-
}
|
227
|
-
:global(.ebg-gray300) {
|
228
|
-
background-color: #DEE2E6;
|
229
|
-
}
|
230
|
-
:global(.ebg-gray400) {
|
231
|
-
background-color: #CED4DA;
|
232
|
-
}
|
233
|
-
:global(.ebg-gray500) {
|
234
|
-
background-color: #adb5bd;
|
235
|
-
}
|
236
|
-
:global(.ebg-gray600) {
|
237
|
-
background-color: #6C757D;
|
238
|
-
}
|
239
|
-
:global(.ebg-gray700) {
|
240
|
-
background-color: #495057;
|
241
|
-
}
|
242
|
-
:global(.ebg-gray800) {
|
243
|
-
background-color: #343A40;
|
244
|
-
}
|
245
|
-
:global(.ebg-gray900) {
|
246
|
-
background-color: #212529;
|
247
|
-
}
|
248
|
-
:global(.ebg-green100) {
|
249
|
-
background-color: #D1E7DD;
|
250
|
-
}
|
251
|
-
:global(.ebg-green200) {
|
252
|
-
background-color: #A3CFBB;
|
253
|
-
}
|
254
|
-
:global(.ebg-green300) {
|
255
|
-
background-color: #75B798;
|
256
|
-
}
|
257
|
-
:global(.ebg-green400) {
|
258
|
-
background-color: #479F76;
|
259
|
-
}
|
260
|
-
:global(.ebg-green500) {
|
261
|
-
background-color: #198754;
|
262
|
-
}
|
263
|
-
:global(.ebg-green600) {
|
264
|
-
background-color: #146C43;
|
265
|
-
}
|
266
|
-
:global(.ebg-green700) {
|
267
|
-
background-color: #0F5132;
|
268
|
-
}
|
269
|
-
:global(.ebg-green800) {
|
270
|
-
background-color: #0A3622;
|
271
|
-
}
|
272
|
-
:global(.ebg-green900) {
|
273
|
-
background-color: #051B11;
|
274
|
-
}
|
275
|
-
:global(.ebg-red100) {
|
276
|
-
background-color: #F8D7DA;
|
277
|
-
}
|
278
|
-
:global(.ebg-red200) {
|
279
|
-
background-color: #F1AEB5;
|
280
|
-
}
|
281
|
-
:global(.ebg-red300) {
|
282
|
-
background-color: #EA868F;
|
283
|
-
}
|
284
|
-
:global(.ebg-red400) {
|
285
|
-
background-color: #E35D6A;
|
286
|
-
}
|
287
|
-
:global(.ebg-red500) {
|
288
|
-
background-color: #DC3545;
|
289
|
-
}
|
290
|
-
:global(.ebg-red600) {
|
291
|
-
background-color: #B02A37;
|
292
|
-
}
|
293
|
-
:global(.ebg-red700) {
|
294
|
-
background-color: #842029;
|
295
|
-
}
|
296
|
-
:global(.ebg-red800) {
|
297
|
-
background-color: #58151C;
|
298
|
-
}
|
299
|
-
:global(.ebg-red900) {
|
300
|
-
background-color: #2C0B0E;
|
301
|
-
}
|
302
|
-
:global(.ebg-yellow100) {
|
303
|
-
background-color: #FFF3CD;
|
304
|
-
}
|
305
|
-
:global(.ebg-yellow200) {
|
306
|
-
background-color: #FFE69C;
|
307
|
-
}
|
308
|
-
:global(.ebg-yellow300) {
|
309
|
-
background-color: #FFDA6A;
|
310
|
-
}
|
311
|
-
:global(.ebg-yellow400) {
|
312
|
-
background-color: #FFCD39;
|
313
|
-
}
|
314
|
-
:global(.ebg-yellow500) {
|
315
|
-
background-color: #FFC107;
|
316
|
-
}
|
317
|
-
:global(.ebg-yellow600) {
|
318
|
-
background-color: #CC9A06;
|
319
|
-
}
|
320
|
-
:global(.ebg-yellow700) {
|
321
|
-
background-color: #997404;
|
322
|
-
}
|
323
|
-
:global(.ebg-yellow800) {
|
324
|
-
background-color: #664D03;
|
325
|
-
}
|
326
|
-
:global(.ebg-yellow900) {
|
327
|
-
background-color: #332701;
|
328
|
-
}
|
329
|
-
:global(.ebg-cyan100) {
|
330
|
-
background-color: #CFF4FC;
|
331
|
-
}
|
332
|
-
:global(.ebg-cyan200) {
|
333
|
-
background-color: #9EEAF9;
|
334
|
-
}
|
335
|
-
:global(.ebg-cyan300) {
|
336
|
-
background-color: #6EDFF6;
|
337
|
-
}
|
338
|
-
:global(.ebg-cyan400) {
|
339
|
-
background-color: #3DD5F3;
|
340
|
-
}
|
341
|
-
:global(.ebg-cyan500) {
|
342
|
-
background-color: #0DCAF0;
|
343
|
-
}
|
344
|
-
:global(.ebg-cyan600) {
|
345
|
-
background-color: #0AA2C0;
|
346
|
-
}
|
347
|
-
:global(.ebg-cyan700) {
|
348
|
-
background-color: #087990;
|
349
|
-
}
|
350
|
-
:global(.ebg-cyan800) {
|
351
|
-
background-color: #055160;
|
352
|
-
}
|
353
|
-
:global(.ebg-cyan900) {
|
354
|
-
background-color: #032830;
|
355
|
-
}
|
356
|
-
.etext-white {
|
357
|
-
color: #ffffff;
|
358
|
-
}
|
359
|
-
:global(.etext-dark) {
|
360
|
-
color: #000000;
|
361
|
-
}
|
362
|
-
:global(.etext-secondary) {
|
363
|
-
color: #3AC82E;
|
364
|
-
}
|
365
|
-
:global(.etext-secondaryDark) {
|
366
|
-
color: #00A855;
|
367
|
-
}
|
368
|
-
:global(.etext-secondaryLight) {
|
369
|
-
color: #CBFFC7;
|
370
|
-
}
|
371
|
-
:global(.etext-primary) {
|
372
|
-
color: #00AEE5;
|
373
|
-
}
|
374
|
-
:global(.etext-primaryDark) {
|
375
|
-
color: #007FD8;
|
376
|
-
}
|
377
|
-
:global(.etext-primaryLight) {
|
378
|
-
color: #CEF3FF;
|
379
|
-
}
|
380
|
-
:global(.etext-danger) {
|
381
|
-
color: #FE4747;
|
382
|
-
}
|
383
|
-
:global(.etext-dangerDark) {
|
384
|
-
color: #B02A37;
|
385
|
-
}
|
386
|
-
:global(.etext-dangerLight) {
|
387
|
-
color: #f8d7da;
|
388
|
-
}
|
389
|
-
:global(.etext-info) {
|
390
|
-
color: #0DCAF0;
|
391
|
-
}
|
392
|
-
:global(.etext-infoDark) {
|
393
|
-
color: #087990;
|
394
|
-
}
|
395
|
-
:global(.etext-infoLight) {
|
396
|
-
color: #9EEAF9;
|
397
|
-
}
|
398
|
-
:global(.etext-success) {
|
399
|
-
color: #00A96B;
|
400
|
-
}
|
401
|
-
:global(.etext-successDark) {
|
402
|
-
color: #146C43;
|
403
|
-
}
|
404
|
-
:global(.etext-successLight) {
|
405
|
-
color: #D1E7DD;
|
406
|
-
}
|
407
|
-
:global(.etext-warning) {
|
408
|
-
color: #FFBA3A;
|
409
|
-
}
|
410
|
-
:global(.etext-warningDark) {
|
411
|
-
color: #997404;
|
412
|
-
}
|
413
|
-
:global(.etext-warningLight) {
|
414
|
-
color: #FFF3CD;
|
415
|
-
}
|
416
|
-
:global(.etext-gray100) {
|
417
|
-
color: #F8F9FA;
|
418
|
-
}
|
419
|
-
:global(.etext-gray200) {
|
420
|
-
color: #E9ECEF;
|
421
|
-
}
|
422
|
-
:global(.etext-gray300) {
|
423
|
-
color: #DEE2E6;
|
424
|
-
}
|
425
|
-
:global(.etext-gray400) {
|
426
|
-
color: #CED4DA;
|
427
|
-
}
|
428
|
-
:global(.etext-gray500) {
|
429
|
-
color: #adb5bd;
|
430
|
-
}
|
431
|
-
:global(.etext-gray600) {
|
432
|
-
color: #6C757D;
|
433
|
-
}
|
434
|
-
:global(.etext-gray700) {
|
435
|
-
color: #495057;
|
436
|
-
}
|
437
|
-
:global(.etext-gray800) {
|
438
|
-
color: #343A40;
|
439
|
-
}
|
440
|
-
:global(.etext-gray900) {
|
441
|
-
color: #212529;
|
442
|
-
}
|
443
|
-
:global(.etext-green100) {
|
444
|
-
color: #D1E7DD;
|
445
|
-
}
|
446
|
-
:global(.etext-green200) {
|
447
|
-
color: #A3CFBB;
|
448
|
-
}
|
449
|
-
:global(.etext-green300) {
|
450
|
-
color: #75B798;
|
451
|
-
}
|
452
|
-
:global(.etext-green400) {
|
453
|
-
color: #479F76;
|
454
|
-
}
|
455
|
-
:global(.etext-green500) {
|
456
|
-
color: #198754;
|
457
|
-
}
|
458
|
-
:global(.etext-green600) {
|
459
|
-
color: #146C43;
|
460
|
-
}
|
461
|
-
:global(.etext-green700) {
|
462
|
-
color: #0F5132;
|
463
|
-
}
|
464
|
-
:global(.etext-green800) {
|
465
|
-
color: #0A3622;
|
466
|
-
}
|
467
|
-
:global(.etext-green900) {
|
468
|
-
color: #051B11;
|
469
|
-
}
|
470
|
-
:global(.etext-red100) {
|
471
|
-
color: #F8D7DA;
|
472
|
-
}
|
473
|
-
:global(.etext-red200) {
|
474
|
-
color: #F1AEB5;
|
475
|
-
}
|
476
|
-
:global(.etext-red300) {
|
477
|
-
color: #EA868F;
|
478
|
-
}
|
479
|
-
:global(.etext-red400) {
|
480
|
-
color: #E35D6A;
|
481
|
-
}
|
482
|
-
:global(.etext-red500) {
|
483
|
-
color: #DC3545;
|
484
|
-
}
|
485
|
-
:global(.etext-red600) {
|
486
|
-
color: #B02A37;
|
487
|
-
}
|
488
|
-
:global(.etext-red700) {
|
489
|
-
color: #842029;
|
490
|
-
}
|
491
|
-
:global(.etext-red800) {
|
492
|
-
color: #58151C;
|
493
|
-
}
|
494
|
-
:global(.etext-red900) {
|
495
|
-
color: #2C0B0E;
|
496
|
-
}
|
497
|
-
:global(.etext-yellow100) {
|
498
|
-
color: #FFF3CD;
|
499
|
-
}
|
500
|
-
:global(.etext-yellow200) {
|
501
|
-
color: #FFE69C;
|
502
|
-
}
|
503
|
-
:global(.etext-yellow300) {
|
504
|
-
color: #FFDA6A;
|
505
|
-
}
|
506
|
-
:global(.etext-yellow400) {
|
507
|
-
color: #FFCD39;
|
508
|
-
}
|
509
|
-
:global(.etext-yellow500) {
|
510
|
-
color: #FFC107;
|
511
|
-
}
|
512
|
-
:global(.etext-yellow600) {
|
513
|
-
color: #CC9A06;
|
514
|
-
}
|
515
|
-
:global(.etext-yellow700) {
|
516
|
-
color: #997404;
|
517
|
-
}
|
518
|
-
:global(.etext-yellow800) {
|
519
|
-
color: #664D03;
|
520
|
-
}
|
521
|
-
:global(.etext-yellow900) {
|
522
|
-
color: #332701;
|
523
|
-
}
|
524
|
-
:global(.etext-cyan100) {
|
525
|
-
color: #CFF4FC;
|
526
|
-
}
|
527
|
-
:global(.etext-cyan200) {
|
528
|
-
color: #9EEAF9;
|
529
|
-
}
|
530
|
-
:global(.etext-cyan300) {
|
531
|
-
color: #6EDFF6;
|
532
|
-
}
|
533
|
-
:global(.etext-cyan400) {
|
534
|
-
color: #3DD5F3;
|
535
|
-
}
|
536
|
-
:global(.etext-cyan500) {
|
537
|
-
color: #0DCAF0;
|
538
|
-
}
|
539
|
-
:global(.etext-cyan600) {
|
540
|
-
color: #0AA2C0;
|
541
|
-
}
|
542
|
-
:global(.etext-cyan700) {
|
543
|
-
color: #087990;
|
544
|
-
}
|
545
|
-
:global(.etext-cyan800) {
|
546
|
-
color: #055160;
|
547
|
-
}
|
548
|
-
:global(.etext-cyan900) {
|
549
|
-
color: #032830;
|
550
|
-
}
|
551
|
-
:global(.eoutline-secondary) {
|
552
|
-
outline: 1px solid #3AC82E;
|
553
|
-
}
|
554
|
-
:global(.eoutline-secondaryDark) {
|
555
|
-
outline: 1px solid #00A855;
|
556
|
-
}
|
557
|
-
:global(.eoutline-secondaryLight) {
|
558
|
-
outline: 1px solid #CBFFC7;
|
559
|
-
}
|
560
|
-
:global(.eoutline-primary) {
|
561
|
-
outline: 1px solid #00AEE5;
|
562
|
-
}
|
563
|
-
:global(.eoutline-primaryDark) {
|
564
|
-
outline: 1px solid #007FD8;
|
565
|
-
}
|
566
|
-
:global(.eoutline-primaryLight) {
|
567
|
-
outline: 1px solid #CEF3FF;
|
568
|
-
}
|
569
|
-
:global(.eoutline-danger) {
|
570
|
-
outline: 1px solid #FE4747;
|
571
|
-
}
|
572
|
-
:global(.eoutline-dangerDark) {
|
573
|
-
outline: 1px solid #B02A37;
|
574
|
-
}
|
575
|
-
:global(.eoutline-dangerLight) {
|
576
|
-
outline: 1px solid #f8d7da;
|
577
|
-
}
|
578
|
-
:global(.eoutline-success) {
|
579
|
-
outline: 1px solid #00A96B;
|
580
|
-
}
|
581
|
-
:global(.eoutline-successDark) {
|
582
|
-
outline: 1px solid #146C43;
|
583
|
-
}
|
584
|
-
:global(.eoutline-successLight) {
|
585
|
-
outline: 1px solid #D1E7DD;
|
586
|
-
}
|
587
|
-
:global(.eoutline-info) {
|
588
|
-
outline: 1px solid #0DCAF0;
|
589
|
-
}
|
590
|
-
:global(.eoutline-infoDark) {
|
591
|
-
outline: 1px solid #087990;
|
592
|
-
}
|
593
|
-
:global(.eoutline-infoLight) {
|
594
|
-
outline: 1px solid #9EEAF9;
|
595
|
-
}
|
596
|
-
:global(.eoutline-warning) {
|
597
|
-
outline: 1px solid #FFBA3A;
|
598
|
-
}
|
599
|
-
:global(.eoutline-warningDark) {
|
600
|
-
outline: 1px solid #997404;
|
601
|
-
}
|
602
|
-
:global(.eoutline-warningLight) {
|
603
|
-
outline: 1px solid #FFF3CD;
|
604
|
-
}
|
605
|
-
:global(.eradius) {
|
606
|
-
border-radius: 4px;
|
607
|
-
}
|
608
|
-
:global(.eradius-low) {
|
609
|
-
border-radius: 8px;
|
610
|
-
}
|
611
|
-
:global(.eradius-medium) {
|
612
|
-
border-radius: 16px;
|
613
|
-
}
|
614
|
-
:global(.eradius-full) {
|
615
|
-
border-radius: 50%;
|
616
|
-
}
|
617
|
-
.eshadow-non {
|
618
|
-
box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
619
|
-
}
|
620
|
-
.eshadow-low {
|
621
|
-
box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.1);
|
622
|
-
}
|
623
|
-
.eshadow-medium {
|
624
|
-
box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.1);
|
625
|
-
}
|
626
|
-
.eshadow-high {
|
627
|
-
box-shadow: 0px 1px 16px 0px rgba(0, 0, 0, 0.1);
|
628
|
-
}
|
629
|
-
:global(.efs-small) {
|
630
|
-
font-family: Roboto;
|
631
|
-
font-size: 12px;
|
632
|
-
font-style: normal;
|
633
|
-
font-weight: 400;
|
634
|
-
line-height: normal;
|
635
|
-
}
|
636
|
-
:global(.efs-normal) {
|
637
|
-
font-family: Roboto;
|
638
|
-
font-size: 16px;
|
639
|
-
font-style: normal;
|
640
|
-
font-weight: 400;
|
641
|
-
line-height: 28px;
|
642
|
-
}
|
643
|
-
:global(.efs-strong) {
|
644
|
-
font-family: Roboto;
|
645
|
-
font-size: 17px;
|
646
|
-
font-style: normal;
|
647
|
-
font-weight: 700;
|
648
|
-
line-height: 28px;
|
649
|
-
}
|
650
|
-
:global(.efs-h6) {
|
651
|
-
font-family: Roboto;
|
652
|
-
font-size: 16px;
|
653
|
-
font-style: normal;
|
654
|
-
font-weight: 700;
|
655
|
-
line-height: normal;
|
656
|
-
}
|
657
|
-
:global(.efs-h5) {
|
658
|
-
font-family: Roboto;
|
659
|
-
font-size: 20px;
|
660
|
-
font-style: normal;
|
661
|
-
font-weight: 700;
|
662
|
-
line-height: normal;
|
663
|
-
}
|
664
|
-
:global(.efs-h4) {
|
665
|
-
font-family: Roboto;
|
666
|
-
font-size: 24px;
|
667
|
-
font-style: normal;
|
668
|
-
font-weight: 700;
|
669
|
-
line-height: normal;
|
670
|
-
}
|
671
|
-
:global(.efs-h3) {
|
672
|
-
font-family: Roboto;
|
673
|
-
font-size: 28px;
|
674
|
-
font-style: normal;
|
675
|
-
font-weight: 700;
|
676
|
-
line-height: normal;
|
677
|
-
}
|
678
|
-
:global(.efs-h2) {
|
679
|
-
font-family: Roboto;
|
680
|
-
font-size: 32px;
|
681
|
-
font-style: normal;
|
682
|
-
font-weight: 700;
|
683
|
-
line-height: normal;
|
684
|
-
}
|
685
|
-
:global(.efs-h1) {
|
686
|
-
font-family: Roboto;
|
687
|
-
font-size: 40px;
|
688
|
-
font-style: normal;
|
689
|
-
font-weight: 700;
|
690
|
-
line-height: normal;
|
691
|
-
letter-spacing: -0.8px;
|
692
|
-
}
|
693
|
-
:global(.efs-h4D) {
|
694
|
-
font-family: Merriweather;
|
695
|
-
font-size: 52px;
|
696
|
-
font-style: normal;
|
697
|
-
font-weight: 400;
|
698
|
-
line-height: normal;
|
699
|
-
}
|
700
|
-
:global(.efs-h3D) {
|
701
|
-
font-family: Merriweather;
|
702
|
-
font-size: 58px;
|
703
|
-
font-style: normal;
|
704
|
-
font-weight: 400;
|
705
|
-
line-height: normal;
|
706
|
-
}
|
707
|
-
:global(.efs-h2D) {
|
708
|
-
font-family: Merriweather;
|
709
|
-
font-size: 64px;
|
710
|
-
font-style: normal;
|
711
|
-
font-weight: 400;
|
712
|
-
line-height: normal;
|
713
|
-
letter-spacing: -1.28px;
|
714
|
-
}
|
715
|
-
:global(.efs-h1D) {
|
716
|
-
font-family: Merriweather;
|
717
|
-
font-size: 72px;
|
718
|
-
font-style: normal;
|
719
|
-
font-weight: 400;
|
720
|
-
line-height: normal;
|
721
|
-
}
|
722
|
-
:global(.bg-dark) {
|
723
|
-
background-color: #05445E !important;
|
724
|
-
}
|
725
|
-
.sidebar {
|
726
|
-
position: fixed;
|
727
|
-
top: 90px;
|
728
|
-
/* Height of the navbar */
|
729
|
-
bottom: 0;
|
730
|
-
width: 315px;
|
731
|
-
transition: transform 0.3s ease;
|
732
|
-
}
|
733
|
-
.main-content {
|
734
|
-
/* Width of the sidebar */
|
735
|
-
flex: 1;
|
736
|
-
overflow-y: auto;
|
737
|
-
transition: margin-left 0.3s ease;
|
738
|
-
}
|
739
|
-
.main-content.collapsed {
|
740
|
-
margin-left: 0;
|
741
|
-
}
|
742
|
-
@media (max-width: 767px) {
|
743
|
-
.sidebar {
|
744
|
-
display: none !important;
|
745
|
-
}
|
746
|
-
.main-content {
|
747
|
-
margin-left: 0;
|
748
|
-
}
|
749
|
-
}</style>
|