@vixcom/ui 1.1.0 → 1.2.0

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.
Files changed (170) hide show
  1. package/{js → dist/js}/bootstrap.min.js +6 -6
  2. package/{js → dist/js}/jquery.min.js +3 -3
  3. package/{js → dist/js}/lodash.min.js +138 -138
  4. package/{js → dist/js}/mdb.min.js +15410 -15410
  5. package/{js → dist/js}/owl.carousel.min.js +6 -6
  6. package/firebase.json +54 -54
  7. package/http-server.sh +3 -3
  8. package/package.json +6 -5
  9. package/src/assets/img/default.png +0 -0
  10. package/src/assets/img/favicon.png +0 -0
  11. package/src/assets/img/icon.png +0 -0
  12. package/src/assets/img/logo.dark.png +0 -0
  13. package/src/assets/img/logo.png +0 -0
  14. package/src/assets/img/logo.white.png +0 -0
  15. package/{css → src/css}/animations.css +2 -3
  16. package/src/css/animations.css.map +1 -0
  17. package/{css → src/css}/app.css +22 -30
  18. package/src/css/app.css.map +1 -0
  19. package/{css → src/css}/colors.css +495 -491
  20. package/src/css/colors.css.map +1 -0
  21. package/src/css/external/bootstrap-grid.css +4055 -0
  22. package/src/css/external/bootstrap-grid.css.map +1 -0
  23. package/src/css/external/bootstrap.css +9582 -0
  24. package/src/css/external/bootstrap.css.map +1 -0
  25. package/src/css/external/mdb.css +8811 -0
  26. package/src/css/external/mdb.css.map +1 -0
  27. package/src/css/external/owl-carousel.css +218 -0
  28. package/src/css/external/owl-carousel.css.map +1 -0
  29. package/src/css/external/tailwindcss.css +3 -0
  30. package/src/css/external/tailwindcss.css.map +1 -0
  31. package/{css → src/css}/helper/primefaces.css +0 -1
  32. package/{css → src/css}/helper/primefaces.css.map +1 -1
  33. package/src/css/icons/external/bootstrap.icons.css +5502 -0
  34. package/src/css/icons/external/bootstrap.icons.css.map +1 -0
  35. package/src/css/icons/external/fontawesome.icons.css +6122 -0
  36. package/src/css/icons/external/fontawesome.icons.css.map +1 -0
  37. package/src/css/icons/external/material-design.icons.css +5727 -0
  38. package/src/css/icons/external/material-design.icons.css.map +1 -0
  39. package/src/css/icons/external/themify.icons.css +1428 -0
  40. package/src/css/icons/external/themify.icons.css.map +1 -0
  41. package/{css → src/css}/index.css +2 -3
  42. package/src/css/index.css.map +1 -0
  43. package/src/css/main.css.map +1 -0
  44. package/src/css/menu.css +573 -0
  45. package/src/css/menu.css.map +1 -0
  46. package/{css → src/css}/polyfills.css +0 -1
  47. package/src/css/polyfills.css.map +1 -0
  48. package/{css → src/css}/sizes.css +0 -1436
  49. package/src/css/sizes.css.map +1 -0
  50. package/{css → src/css}/variables.css +39 -39
  51. package/src/fonts/MontessoriScript.ttf +0 -0
  52. package/src/fonts/Montserrat-Bold.ttf +0 -0
  53. package/src/fonts/Montserrat-Regular.ttf +0 -0
  54. package/src/fonts/NotoSans-Bold.ttf +0 -0
  55. package/src/fonts/Roboto-Bold.ttf +0 -0
  56. package/src/fonts/Roboto-Regular.ttf +0 -0
  57. package/src/fonts/bootstrap-icons.woff +0 -0
  58. package/src/fonts/fa-brands.woff +0 -0
  59. package/src/fonts/fa-regular.woff +0 -0
  60. package/src/fonts/fa-solid.woff +0 -0
  61. package/src/fonts/material-design-icons.ttf +0 -0
  62. package/{index.html → src/index.html} +205 -205
  63. package/src/js/axios.min.js +3 -0
  64. package/src/js/bootstrap.min.js +7 -0
  65. package/{pages/tier-1/scripts → src/js}/jquery.min.js +3 -3
  66. package/src/js/lodash.min.js +139 -0
  67. package/src/js/mdb.min.js +15411 -0
  68. package/src/js/owl.carousel.min.js +7 -0
  69. package/src/js/rapidoc-min.js +4 -0
  70. package/{pages/tier-1/scripts → src/js}/sidebar.min.js +49 -49
  71. package/{pages/error/index.html → src/pages/404.html} +31 -31
  72. package/{pages/sidemenu/index.html → src/pages/sidemenu/flex.html} +35 -35
  73. package/src/pages/sidemenu/grid.html +58 -0
  74. package/{pages/tier-2 → src/pages/tier-1}/LICENSE +201 -201
  75. package/{pages → src/pages}/tier-1/index.html +73 -73
  76. package/{pages/tier-2 → src/pages/tier-1}/scripts/jquery.min.js +3 -3
  77. package/src/pages/tier-1/scripts/sidebar.min.js +50 -0
  78. package/{pages/tier-2 → src/pages/tier-1}/styles/bootstrap.css +9494 -9494
  79. package/{pages/tier-2 → src/pages/tier-1}/styles/color.css +27 -27
  80. package/{pages → src/pages}/tier-1/styles/layout.css +32 -32
  81. package/{pages/tier-2 → src/pages/tier-1}/styles/mdb.css +9656 -9656
  82. package/{pages → src/pages}/tier-1/styles/page.css +25 -25
  83. package/{pages → src/pages}/tier-1/styles/sidebar.css +192 -192
  84. package/{pages/tier-2 → src/pages/tier-1}/styles/themify.css +1427 -1427
  85. package/{pages/tier-1 → src/pages/tier-2}/LICENSE +201 -201
  86. package/{pages → src/pages}/tier-2/index.html +64 -64
  87. package/src/pages/tier-2/scripts/jquery.min.js +4 -0
  88. package/{pages → src/pages}/tier-2/scripts/sidebar.min.js +49 -49
  89. package/{pages/tier-1 → src/pages/tier-2}/styles/bootstrap.css +9494 -9494
  90. package/{pages/tier-1 → src/pages/tier-2}/styles/color.css +27 -27
  91. package/{pages → src/pages}/tier-2/styles/layout.css +42 -42
  92. package/{pages/tier-1 → src/pages/tier-2}/styles/mdb.css +9656 -9656
  93. package/{pages → src/pages}/tier-2/styles/page.css +25 -25
  94. package/{pages → src/pages}/tier-2/styles/sidebar.css +192 -192
  95. package/{pages/tier-1 → src/pages/tier-2}/styles/themify.css +1427 -1427
  96. package/src/styles/_mixins.scss +445 -0
  97. package/{styles → src/styles}/animations.scss +190 -190
  98. package/{styles → src/styles}/app.scss +2015 -2020
  99. package/{styles → src/styles}/colors.scss +118 -117
  100. package/{css → src/styles}/external/bootstrap.css +10307 -10307
  101. package/{css → src/styles}/external/mdb.css +9444 -9444
  102. package/{css → src/styles}/external/owl-carousel.css +217 -217
  103. package/src/styles/external/tailwindcss.css +0 -0
  104. package/{styles → src/styles}/fonts.scss +16 -16
  105. package/{styles → src/styles}/grid.scss +3 -3
  106. package/{styles → src/styles}/helper/owl.carousel.scss +91 -91
  107. package/{styles → src/styles}/helper/primefaces.scss +373 -373
  108. package/{styles → src/styles}/helper/tailwindcss.scss +3 -3
  109. package/{styles → src/styles}/index.scss +25 -25
  110. package/{styles → src/styles}/menu.scss +621 -566
  111. package/{styles → src/styles}/polyfills.scss +8 -8
  112. package/{styles → src/styles}/sizes.scss +195 -191
  113. package/{styles → src/styles}/variables.scss +30 -30
  114. package/tailwind.config.js +23 -0
  115. package/.firebaserc +0 -17
  116. package/.github/release-please.yml +0 -2
  117. package/.github/workflows/deploy-prod.yml +0 -26
  118. package/.pnpm-debug.log +0 -19
  119. package/css/animations.css.map +0 -1
  120. package/css/app.css.map +0 -1
  121. package/css/colors.css.map +0 -1
  122. package/css/helper/primefaces.org.css.map +0 -1
  123. package/css/index.css.map +0 -1
  124. package/css/menu.css +0 -556
  125. package/css/menu.css.map +0 -1
  126. package/css/polyfills.css.map +0 -1
  127. package/css/sidebar.css.map +0 -1
  128. package/css/sizes.css.map +0 -1
  129. package/styles/_mixins.scss +0 -309
  130. package/test.http +0 -14
  131. /package/{assets → dist/assets}/img/favicon.png +0 -0
  132. /package/{assets → dist/assets}/img/icon.png +0 -0
  133. /package/{fonts → dist/fonts}/MontessoriScript.ttf +0 -0
  134. /package/{fonts → dist/fonts}/Montserrat-Bold.ttf +0 -0
  135. /package/{fonts → dist/fonts}/Montserrat-Regular.ttf +0 -0
  136. /package/{fonts → dist/fonts}/NotoSans-Bold.ttf +0 -0
  137. /package/{fonts → dist/fonts}/Roboto-Bold.ttf +0 -0
  138. /package/{fonts → dist/fonts}/Roboto-Regular.ttf +0 -0
  139. /package/{fonts → dist/fonts}/bootstrap-icons.woff +0 -0
  140. /package/{fonts → dist/fonts}/fa-brands.woff +0 -0
  141. /package/{fonts → dist/fonts}/fa-regular.woff +0 -0
  142. /package/{fonts → dist/fonts}/fa-solid.woff +0 -0
  143. /package/{fonts → dist/fonts}/material-design-icons.ttf +0 -0
  144. /package/{js → dist/js}/axios.min.js +0 -0
  145. /package/{js → dist/js}/rapidoc-min.js +0 -0
  146. /package/{js → dist/js}/sidebar.min.js +0 -0
  147. /package/{css → src/css}/fonts.css +0 -0
  148. /package/{css → src/css}/fonts.css.map +0 -0
  149. /package/{css → src/css}/grid.css +0 -0
  150. /package/{css → src/css}/grid.css.map +0 -0
  151. /package/{css → src/css}/helper/owl.carousel.css +0 -0
  152. /package/{css → src/css}/helper/owl.carousel.css.map +0 -0
  153. /package/{css → src/css}/helper/tailwindcss.css +0 -0
  154. /package/{css → src/css}/helper/tailwindcss.css.map +0 -0
  155. /package/{css → src/css}/variables.css.map +0 -0
  156. /package/{pages → src/pages}/tier-1/fonts/krub/Krub-Bold.ttf +0 -0
  157. /package/{pages → src/pages}/tier-1/fonts/krub/Krub-Light.ttf +0 -0
  158. /package/{pages → src/pages}/tier-1/fonts/krub/Krub-Regular.ttf +0 -0
  159. /package/{pages → src/pages}/tier-1/fonts/themify.woff +0 -0
  160. /package/{pages → src/pages}/tier-1/preview.png +0 -0
  161. /package/{pages → src/pages}/tier-2/fonts/krub/Krub-Bold.ttf +0 -0
  162. /package/{pages → src/pages}/tier-2/fonts/krub/Krub-Light.ttf +0 -0
  163. /package/{pages → src/pages}/tier-2/fonts/krub/Krub-Regular.ttf +0 -0
  164. /package/{pages → src/pages}/tier-2/fonts/themify.woff +0 -0
  165. /package/{pages → src/pages}/tier-2/preview.png +0 -0
  166. /package/{css → src/styles}/external/bootstrap-grid.css +0 -0
  167. /package/{css → src/styles}/icons/external/bootstrap.icons.css +0 -0
  168. /package/{css → src/styles}/icons/external/fontawesome.icons.css +0 -0
  169. /package/{css → src/styles}/icons/external/material-design.icons.css +0 -0
  170. /package/{css → src/styles}/icons/external/themify.icons.css +0 -0
@@ -1,2020 +1,2015 @@
1
- @import 'mixins';
2
-
3
- /* Scrollbar - Start */
4
-
5
- * {
6
- scrollbar-color: hsl(var(--muted-hs), calc(var(--muted-l) + 40%)) transparent;
7
- scrollbar-width: thin;
8
- cursor: default;
9
- /* word-break: break-word; */
10
- }
11
-
12
- ::-webkit-scrollbar {
13
- -webkit-appearance: none;
14
- appearance: none;
15
- width: 0.25rem;
16
- height: 0.25rem;
17
- z-index: 1;
18
- }
19
-
20
- ::-webkit-scrollbar-corner {
21
- display: none;
22
- }
23
-
24
- ::-webkit-scrollbar-thumb {
25
- background-color: hsl(var(--muted-hs), calc(var(--muted-l) + 40%));
26
- border-radius: 0;
27
- }
28
-
29
- ::-webkit-scrollbar-track {
30
- background-color: transparent;
31
- padding: 0.5rem;
32
- }
33
-
34
- ::-moz-selection {
35
- color: var(--white);
36
- background: hsl(var(--muted-hs), calc(var(--muted-l) + 20%));
37
- }
38
-
39
- ::selection {
40
- color: var(--white);
41
- background: hsl(var(--muted-hs), calc(var(--muted-l) + 20%));
42
- }
43
-
44
- /* Scrollbar - End */
45
-
46
- body {
47
- font-family: 'AppContent', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
48
- background-color: var(--background-color, --default-c, --white);
49
- color: var(--default, --white-c);
50
- font-size: var(--font-size);
51
- font-weight: normal;
52
- }
53
-
54
- %title {
55
- font-family: 'AppTitle', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
56
- font-weight: bold;
57
- font-size: var(--heading-size);
58
- /* color: var(--primary); */
59
- }
60
-
61
- .title {
62
- @extend %title;
63
- }
64
-
65
- @for $n from 1 through 6 {
66
- h#{$n},
67
- .h#{$n} {
68
- @extend %title;
69
- }
70
- }
71
-
72
- b {
73
- font-weight: bold;
74
- }
75
-
76
- :disabled,
77
- .disabled,
78
- [disable] {
79
- cursor: not-allowed;
80
- filter: grayscale(0.8);
81
- }
82
-
83
- .bg-text,
84
- .bg-text-color {
85
- position: relative;
86
- display: inline-flex;
87
- // align-items: center;
88
- // justify-content: center;
89
-
90
- &:hover::after {
91
- opacity: 0.125;
92
- }
93
-
94
- &::after {
95
- content: '';
96
- position: absolute;
97
- top: 0;
98
- left: 0;
99
- background-color: currentColor;
100
- opacity: 0.055;
101
- height: 100%;
102
- width: 100%;
103
- border-radius: inherit;
104
- z-index: 0;
105
- }
106
- }
107
-
108
- .is-blur {
109
- position: relative;
110
- transition: background-color 0.5s;
111
-
112
- @include before-content;
113
-
114
- &::before {
115
- backdrop-filter: blur(10px);
116
- }
117
- }
118
-
119
- .blur {
120
- filter: blur(5px);
121
- }
122
-
123
- a,
124
- .link {
125
- color: var(--secondary);
126
- cursor: pointer;
127
-
128
- &:hover {
129
- color: hsla(var(--secondary-hs), calc(var(--secondary-l) - 10%));
130
- }
131
- }
132
-
133
- a:not(.link) {
134
- text-decoration: none;
135
- }
136
-
137
- .app-icon {
138
- object-fit: contain;
139
- width: 4rem;
140
- height: 4rem;
141
- }
142
-
143
- .app-logo {
144
- display: inline-flex;
145
- width: 10rem;
146
- max-width: 100%;
147
- object-fit: contain;
148
- }
149
-
150
- .app-header {
151
- padding: 1rem 1.5rem;
152
- display: flex;
153
- align-items: center;
154
- position: relative;
155
- z-index: 1;
156
-
157
- &.position-sticky,
158
- &.sticky {
159
- position: sticky !important;
160
- top: 0;
161
- left: 0;
162
- }
163
-
164
- .app-title {
165
- margin-bottom: 0;
166
- font-size: 125%;
167
-
168
- @include unify-selector(img, &) {
169
- width: 10rem;
170
- }
171
- }
172
- }
173
-
174
- .flex-container {
175
- display: flex;
176
- flex-wrap: wrap;
177
- /* align-items: flex-end; */
178
- margin: 0.5rem 0;
179
- gap: 0.5rem;
180
-
181
- > * {
182
- /* align-self: flex-start; */
183
- margin-bottom: 0;
184
- }
185
-
186
- // .button {
187
- // margin-bottom: 0;
188
- // }
189
- }
190
-
191
- .page-header {
192
- margin: 1rem 0;
193
- padding: 0 1rem;
194
- display: flex;
195
- align-items: center;
196
-
197
- .page-title {
198
- text-transform: capitalize;
199
- margin-right: auto;
200
- margin-bottom: 1rem;
201
- color: var(--primary);
202
-
203
- font: {
204
- size: 200%;
205
- weight: normal;
206
- }
207
- }
208
-
209
- .button {
210
- min-width: auto;
211
- }
212
- }
213
-
214
- .section-header {
215
- display: flex;
216
- align-items: center;
217
- margin: 1.5rem 0;
218
- padding: 0 1.5rem;
219
-
220
- &.has-arrow {
221
- // justify-content: space-between;
222
-
223
- &::before {
224
- content: attr(data-arrow-text);
225
- display: inline-block;
226
- margin-left: auto;
227
- font-size: 75%;
228
- order: 1;
229
- }
230
-
231
- &::after {
232
- content: '\f105';
233
- font-family: 'FontAwesome';
234
- margin-left: 1rem;
235
- order: 2;
236
- font-size: 90%;
237
- // transform: scale(1.25, 0.9);
238
- font-weight: normal;
239
- }
240
- }
241
-
242
- .section-title {
243
- margin-right: auto;
244
- margin-bottom: 1rem;
245
- font-weight: normal;
246
- color: var(--primary);
247
- }
248
-
249
- .button {
250
- min-width: auto;
251
- }
252
- }
253
-
254
- .row > [class*='col'] {
255
- margin-bottom: 1em;
256
-
257
- & + [class*='col'] {
258
- margin-top: 0;
259
- }
260
-
261
- .card {
262
- height: 100%;
263
- }
264
- }
265
-
266
- .icon {
267
- @include flex-center;
268
- }
269
-
270
- .icon-container {
271
- @include flex-center;
272
-
273
- &:not(.h) {
274
- flex-direction: column;
275
-
276
- .icon {
277
- margin: 0.5rem 0;
278
- }
279
- }
280
-
281
- &.h .icon {
282
- margin: 0 0.5rem;
283
- }
284
-
285
- .icon {
286
- font-size: 150%;
287
- }
288
- }
289
-
290
- [class*='sq-'] {
291
- @include flex-center;
292
- flex: unset;
293
- padding: 0;
294
- /* margin: auto; */
295
-
296
- &:not(.h) {
297
- flex-direction: column;
298
- }
299
-
300
- img {
301
- object-fit: contain;
302
- width: 100%;
303
- }
304
- }
305
-
306
- hr {
307
- border-top-color: currentColor;
308
- opacity: 0.5;
309
- }
310
-
311
- hr[class*='s-']:not(.default) {
312
- background-color: transparent !important;
313
- margin: 0;
314
- border: 0;
315
- }
316
-
317
- .s-sm {
318
- padding: 0.25rem;
319
- }
320
-
321
- .s-1 {
322
- padding: 0.5rem;
323
- }
324
-
325
- .s-2 {
326
- padding: 0.75rem;
327
- }
328
-
329
- .s-3 {
330
- padding: 1.5rem;
331
- }
332
-
333
- .s-4 {
334
- padding: 2.5rem;
335
- }
336
-
337
- .s-5 {
338
- padding: 5rem;
339
- }
340
-
341
- .dropdown-menu-right .dropdown-menu {
342
- transform: translate(-100%, 0);
343
- }
344
-
345
- .dropdown-menu {
346
- min-width: 12.5rem;
347
- padding: 0;
348
- border-radius: 0.5rem;
349
- box-shadow: var(--card-shadow);
350
-
351
- > {
352
- :first-child {
353
- border-top-left-radius: inherit;
354
- border-top-right-radius: inherit;
355
- }
356
-
357
- :last-child {
358
- border-bottom-left-radius: inherit;
359
- border-bottom-right-radius: inherit;
360
- }
361
- }
362
-
363
- .dropdown-header {
364
- font-size: unset;
365
- }
366
-
367
- .dropdown-item {
368
- padding: 0.75rem 1.25rem;
369
- margin: 0;
370
-
371
- // &+.dropdown-item {
372
- // margin-top: 0.5rem;
373
- // }
374
- }
375
- }
376
-
377
- input,
378
- *:not(.input) > {
379
- .input {
380
- /* background-color: transparent; */
381
- /* margin: 0.25rem 0 1rem; */
382
- border-radius: 0.25rem;
383
- border: 1px solid currentColor;
384
- /* width: 100%; */
385
-
386
- &:not(.has-addon) {
387
- /* align-self: stretch; */
388
- padding: 0.5rem 1rem;
389
- }
390
-
391
- &.has-error {
392
- border: 1px solid var(--danger);
393
- }
394
- }
395
- }
396
-
397
- input,
398
- textarea {
399
- opacity: 0.75;
400
-
401
- &:focus {
402
- opacity: 1;
403
- }
404
-
405
- &::placeholder,
406
- &:-ms-input-placeholder,
407
- &::-ms-input-placeholder,
408
- &:-moz-input-placeholder,
409
- &::-moz-input-placeholder,
410
- &:-webkit-input-placeholder,
411
- &::-webkit-input-placeholder {
412
- display: none;
413
- color: currentColor;
414
- opacity: 0.75;
415
- }
416
- }
417
-
418
- ul {
419
- list-style: none;
420
- padding-left: 0;
421
- }
422
-
423
- label {
424
- cursor: pointer;
425
-
426
- &.radio,
427
- &.checkbox {
428
- &,
429
- &-container {
430
- display: flex;
431
- align-items: center;
432
- margin: 1rem 0;
433
-
434
- .label > * {
435
- margin-bottom: 0;
436
- }
437
-
438
- & + {
439
- .radio,
440
- .checkbox {
441
- margin-top: 1rem;
442
- }
443
- }
444
- }
445
- }
446
-
447
- input ~ .label.off {
448
- order: -1;
449
- }
450
-
451
- .active,
452
- input:not(:checked) ~ .label.off,
453
- input:checked ~ .label:not(.off) {
454
- color: var(--secondary);
455
- font-weight: bold;
456
- }
457
-
458
- input[type='radio'],
459
- input[type='checkbox'] {
460
- margin: 0 0.5rem;
461
- }
462
- }
463
-
464
- .bg-primary input[type='checkbox']::before {
465
- background-color: hsl(var(--muted-hs), calc(var(--muted-l) + 10));
466
- }
467
-
468
- input {
469
- &::-webkit-outer-spin-button,
470
- &::-webkit-inner-spin-button {
471
- -webkit-appearance: none;
472
- margin: 0;
473
- }
474
-
475
- &[type='number'] {
476
- -moz-appearance: textfield;
477
- }
478
-
479
- &[type='checkbox'] {
480
- position: relative;
481
- -webkit-appearance: none;
482
- appearance: none;
483
- border: none;
484
- width: 2rem;
485
- min-width: 2rem;
486
- height: 1rem;
487
- padding: 0 !important;
488
- margin: 0;
489
- border-radius: 0.5rem;
490
- background-color: hsla(var(--white-hs), var(--white-l), 0.5);
491
- color: unset;
492
- opacity: 1;
493
-
494
- &::before {
495
- content: '';
496
- display: block;
497
- height: 100%;
498
- width: 100%;
499
- opacity: 0.275;
500
- background-color: currentColor;
501
- border-radius: inherit;
502
- transition: width 0.25s ease, opacity 0.25s;
503
- }
504
-
505
- &::after {
506
- content: '';
507
- display: block;
508
- position: absolute;
509
- top: 50%;
510
- left: 0;
511
- width: 1rem;
512
- height: 1rem;
513
- padding: 0.25rem;
514
- background-color: currentColor;
515
- border-radius: 50%;
516
- transform: translate(0, -50%);
517
- transition: left 0.25s ease, transform 0.25s ease;
518
- }
519
-
520
- &:checked {
521
- &::before {
522
- opacity: 0.575;
523
- }
524
-
525
- &::after {
526
- left: 100%;
527
- transform: translate(-100%, -50%);
528
- }
529
- }
530
-
531
- &.default {
532
- -webkit-appearance: checkbox;
533
- appearance: checkbox;
534
-
535
- &::after,
536
- &::before {
537
- content: unset;
538
- }
539
- }
540
-
541
- &.switch {
542
- &::before {
543
- position: absolute;
544
- left: 0;
545
- top: 50%;
546
- height: 50%;
547
- transform: translateY(-50%);
548
- }
549
- }
550
- }
551
-
552
- &[type='radio'] {
553
- position: relative;
554
- -webkit-appearance: none;
555
- appearance: none;
556
- color: inherit;
557
- background-color: transparent;
558
- border: 0.125rem solid currentColor;
559
- border-radius: 50%;
560
- display: inline-block;
561
- justify-content: center;
562
- align-items: center;
563
- width: 1rem !important;
564
- min-width: 1rem;
565
- height: 1rem;
566
- min-height: 1rem;
567
- padding: 0.125rem !important;
568
- margin: 0;
569
-
570
- &::after {
571
- content: '';
572
- display: block;
573
- background-color: currentColor;
574
- opacity: 0;
575
- width: 100%;
576
- /* flex: 1; */
577
- height: 100%;
578
- border-radius: inherit;
579
- transition: opacity 0.25s ease-in;
580
- }
581
-
582
- &:hover::after {
583
- opacity: 0.25;
584
- }
585
-
586
- &:checked::after {
587
- opacity: 1;
588
- }
589
- }
590
-
591
- &[type='search'] {
592
- min-width: 22.5%;
593
- }
594
-
595
- &[type='file'] {
596
- display: none;
597
- }
598
-
599
- /* &.phone,
600
- &[type=phone],
601
- &[type=password] {
602
- letter-spacing: 2px;
603
- } */
604
- }
605
-
606
- .input {
607
- display: flex;
608
- align-items: center;
609
-
610
- &.has-addon {
611
- input,
612
- .input,
613
- .addon {
614
- padding: 0.5rem 1rem;
615
- margin: 0;
616
- }
617
- }
618
-
619
- .addon {
620
- display: flex;
621
- align-items: center;
622
- justify-content: center;
623
- border-radius: inherit !important;
624
- /* font-weight: bold; */
625
- align-self: stretch;
626
- min-width: unset;
627
-
628
- &:not(:last-child) {
629
- border-top-right-radius: 0 !important;
630
- border-bottom-right-radius: 0 !important;
631
- }
632
-
633
- &:not(:first-child) {
634
- border-top-left-radius: 0 !important;
635
- border-bottom-left-radius: 0 !important;
636
- }
637
- }
638
-
639
- &.file {
640
- border-style: dashed;
641
- text-align: center;
642
-
643
- &::before {
644
- content: attr(data-placeholder);
645
- display: block;
646
- width: 100%;
647
- }
648
- }
649
-
650
- &.p-0 {
651
- padding: 0;
652
-
653
- select {
654
- padding: 0.75rem 1.25rem;
655
- }
656
- }
657
-
658
- input,
659
- .input,
660
- select {
661
- border: none;
662
- width: 100%;
663
- background-color: transparent;
664
- }
665
- }
666
-
667
- option[disabled]:first-of-type {
668
- display: none;
669
- }
670
-
671
- .h-group {
672
- flex-wrap: wrap;
673
-
674
- label {
675
- width: 100%;
676
- }
677
- }
678
-
679
- .checkbox-group {
680
- display: flex;
681
- justify-content: space-around;
682
- align-items: center;
683
- text-transform: capitalize;
684
- flex-wrap: wrap;
685
- padding: 1rem;
686
-
687
- label {
688
- display: flex;
689
- align-items: center;
690
- }
691
-
692
- label + label,
693
- & > input[type='checkbox'] + input[type='checkbox'] {
694
- margin-top: 1rem;
695
- }
696
- }
697
-
698
- .radio-group {
699
- display: flex;
700
- justify-content: space-around;
701
- align-items: center;
702
- text-transform: capitalize;
703
- border-radius: 0.25rem;
704
- padding: 1rem;
705
- margin-bottom: 1rem;
706
-
707
- &.h-group::before {
708
- left: unset;
709
- right: 1rem;
710
- }
711
-
712
- &::before {
713
- content: attr(data-label);
714
- display: block;
715
- position: absolute;
716
- padding: 0.5rem;
717
- left: 1rem;
718
- top: 0;
719
- transform: translateY(-50%);
720
- background-color: inherit;
721
- }
722
-
723
- label {
724
- display: flex;
725
- align-items: center;
726
- }
727
- }
728
-
729
- .input-container {
730
- display: block;
731
- position: relative;
732
- width: 100%;
733
- /* margin-bottom: 1rem; */
734
- text-align: left;
735
- $input-container: &;
736
-
737
- input + input,
738
- & + .input-container {
739
- margin-top: 0.5rem;
740
- }
741
-
742
- &:has(input:invalid) {
743
- color: var(--danger);
744
- }
745
-
746
- &:has(input:focus:empty),
747
- &:has(input:focus:placeholder-shown) {
748
- &::before,
749
- .label {
750
- // @include append-selector() {
751
- background-color: var(--primary);
752
- }
753
- }
754
-
755
- // &>label,
756
- &::before,
757
- .label {
758
- content: attr(data-label);
759
- display: block;
760
- font-weight: bold;
761
- font-size: 80%;
762
- /* text-transform: capitalize; */
763
- margin-bottom: 0.25rem;
764
- padding-left: 1rem;
765
- opacity: 0.75;
766
- }
767
-
768
- &::after,
769
- .hint {
770
- content: attr(data-hint);
771
- display: none;
772
- width: 100%;
773
- padding: 0.25rem;
774
- font-size: 80%;
775
- }
776
-
777
- &.has-error,
778
- &.has-warning,
779
- &.show-hint {
780
- &::after,
781
- .hint {
782
- display: block;
783
- }
784
- }
785
-
786
- &.has-error {
787
- &::after,
788
- .hint {
789
- font-weight: bold;
790
- color: var(--danger);
791
- }
792
-
793
- .addon {
794
- background-color: var(--danger) !important;
795
- color: var(--white) !important;
796
- }
797
-
798
- > {
799
- input,
800
- .input {
801
- border: 1px solid var(--danger);
802
- }
803
- }
804
- }
805
-
806
- &.has-warning {
807
- &::after,
808
- .hint {
809
- /* font-weight: bold; */
810
- color: var(--warning);
811
- }
812
-
813
- input,
814
- .input {
815
- border: 1px solid var(--warning);
816
- }
817
- }
818
-
819
- &.has-info {
820
- &::after,
821
- .hint {
822
- color: var(--info);
823
- }
824
- }
825
-
826
- input,
827
- .input {
828
- width: 100%;
829
- /* margin-bottom: 0; */
830
- }
831
- }
832
-
833
- .progress {
834
- position: relative;
835
- background-color: transparent;
836
- @include before-content;
837
-
838
- &::before {
839
- opacity: 0.75;
840
- }
841
-
842
- &.bar {
843
- @include after-content;
844
-
845
- &::after {
846
- background-color: currentColor;
847
- // width: attr(data-progress '%');
848
- transition: width 0.5s;
849
- }
850
- }
851
-
852
- &.dotted {
853
- display: flex;
854
- min-width: 25%;
855
- list-style: none;
856
- position: relative;
857
- align-items: center;
858
- justify-content: space-between;
859
- overflow: hidden;
860
- gap: 0.125rem;
861
- /* border-radius: 5rem; */
862
- @include before-content;
863
-
864
- &::before {
865
- opacity: 0.125;
866
- background-color: currentColor;
867
- }
868
-
869
- .dot,
870
- .item {
871
- background-color: currentColor;
872
- border-radius: 50%;
873
- width: 0.5rem;
874
- height: 0.5rem;
875
- z-index: 1;
876
- position: relative;
877
-
878
- & + :is(.dot, .item) {
879
- margin-left: 0.5rem;
880
- }
881
-
882
- &.active ~ :is(.dot, .item) {
883
- opacity: 0.5;
884
- }
885
- }
886
- }
887
- }
888
-
889
- .tabs {
890
- position: relative;
891
- margin-bottom: 1rem;
892
- display: flex;
893
- overflow-x: scroll;
894
- flex-wrap: nowrap;
895
- /* align-items: center; */
896
- width: 100%;
897
- padding: 0.125rem 1.25rem;
898
- gap: 0.5rem;
899
- /* z-index: 1; */
900
-
901
- > .tab {
902
- display: inline-flex;
903
- align-items: center;
904
- justify-content: center;
905
- text-transform: capitalize;
906
- padding: 0.25rem;
907
- border: none;
908
- border-radius: 0.25rem;
909
- /* font-weight: bold; */
910
- min-width: 5rem;
911
- flex: 0 0 auto;
912
- transition: background-color 0.25s;
913
- z-index: 1;
914
- }
915
-
916
- &.pills {
917
- > .tab {
918
- border-radius: 5rem;
919
- }
920
- }
921
-
922
- %no-scrollbar {
923
- scrollbar-width: 0;
924
- margin-bottom: 0;
925
-
926
- &::-webkit-scrollbar {
927
- width: 0;
928
- }
929
- }
930
-
931
- &.md,
932
- &.overlap,
933
- &.no-scrollbar {
934
- @extend %no-scrollbar;
935
- }
936
-
937
- &.overlap {
938
- @include after-content;
939
-
940
- &::after {
941
- background-color: inherit;
942
- }
943
- }
944
-
945
- &.md {
946
- .tab {
947
- background-color: transparent !important;
948
-
949
- &.active {
950
- border-bottom: medium solid;
951
- }
952
- }
953
- }
954
-
955
- &.md,
956
- &.overlap {
957
- // @extend &.no-scrollbar;
958
-
959
- > .tab {
960
- margin-bottom: 0;
961
- border-bottom-left-radius: 0;
962
- border-bottom-right-radius: 0;
963
- padding: 0.25rem 0.5rem;
964
-
965
- .label {
966
- margin: 0.5rem;
967
- }
968
- }
969
- }
970
- }
971
-
972
- .tabs-container {
973
- .tabs {
974
- .tab {
975
- position: relative;
976
-
977
- &::before,
978
- &::after {
979
- content: '';
980
- position: absolute;
981
- height: 5%;
982
- width: 5%;
983
- bottom: -1px;
984
- }
985
-
986
- &::before {
987
- left: 0;
988
- transform: translateX(-100%);
989
- border-top-left-radius: 5%;
990
- }
991
-
992
- &::after {
993
- right: 0;
994
- transform: translateX(100%);
995
- border-top-left-radius: 5%;
996
- }
997
-
998
- &:not(.active, :active) {
999
- }
1000
- }
1001
- }
1002
- }
1003
-
1004
- .border {
1005
- &-dashed {
1006
- border-style: dashed !important;
1007
- }
1008
-
1009
- &-current {
1010
- border-color: currentColor !important;
1011
- }
1012
- }
1013
-
1014
- .badge {
1015
- display: inline-flex;
1016
- align-items: center;
1017
- border-radius: 0.25rem;
1018
- padding: 0.25rem 0.75rem;
1019
- font-size: 80%;
1020
- letter-spacing: 1px;
1021
- text-transform: capitalize;
1022
-
1023
- // &.small {
1024
- // font-size: 60%;
1025
- // }
1026
-
1027
- // &.badge-sm {
1028
- // padding: 0.5rem 1rem;
1029
- // }
1030
-
1031
- // &.badge-xs {
1032
- // padding: 0.25rem;
1033
- // }
1034
- }
1035
-
1036
- .button-group,
1037
- .button-group-vertical {
1038
- border-radius: 0.5rem;
1039
- }
1040
-
1041
- .button {
1042
- position: relative;
1043
- padding: 0.25rem 1.5rem;
1044
- font-size: 120%;
1045
- /* font-weight: bold; */
1046
- min-width: 7.5rem;
1047
- display: inline-flex;
1048
- gap: 0.5rem;
1049
- justify-content: center;
1050
- align-items: center;
1051
- /* border: none; */
1052
-
1053
- &:focus {
1054
- outline: 1px solid hsl(var(--secondary-hs), calc(var(--secondary-l) + 50%));
1055
- }
1056
-
1057
- // &:not(.no-rounded) {
1058
- // border-radius: 0.125rem;
1059
- // }
1060
-
1061
- &.button-block {
1062
- width: 100%;
1063
- }
1064
-
1065
- &.button-circle {
1066
- width: 3rem;
1067
- height: 3rem;
1068
- display: inline-flex;
1069
- min-width: unset !important;
1070
- padding: 0.5rem;
1071
- align-items: center;
1072
- justify-content: center;
1073
- border-radius: 50%;
1074
-
1075
- &.button-sm {
1076
- width: 2rem;
1077
- height: 2rem;
1078
- }
1079
- }
1080
-
1081
- &.button-lg {
1082
- font-size: 150%;
1083
- padding: 0.5rem 1.25rem;
1084
- min-width: 10rem;
1085
- }
1086
-
1087
- &.button-sm {
1088
- font-size: 80%;
1089
- }
1090
-
1091
- &.button-xs {
1092
- font-size: 75%;
1093
- padding: 0.125rem 0.5rem;
1094
- min-width: 5rem;
1095
- }
1096
-
1097
- &.button-block + .button {
1098
- margin-top: 0.5rem;
1099
- }
1100
-
1101
- // .icon {
1102
- // font-size: 80%;
1103
- // }
1104
- }
1105
-
1106
- .button-group {
1107
- /* margin: 1rem 0; */
1108
- align-items: stretch;
1109
-
1110
- &.no-rounded {
1111
- .button {
1112
- border-radius: 0;
1113
- }
1114
- }
1115
-
1116
- .button {
1117
- border-radius: inherit;
1118
- align-self: stretch;
1119
- margin: 0;
1120
- min-width: unset;
1121
- flex: 1 1 100%;
1122
- }
1123
- }
1124
-
1125
- .button-group-vertical .button {
1126
- border-radius: inherit;
1127
- }
1128
-
1129
- table {
1130
- border-collapse: separate;
1131
- border-spacing: 0;
1132
- width: 100%;
1133
- }
1134
-
1135
- .table-container {
1136
- $table-container: &;
1137
- display: flex;
1138
- flex-direction: column;
1139
- padding: 0 0 1rem;
1140
- gap: 1rem;
1141
- width: 100%;
1142
- overflow: scroll;
1143
- scrollbar-width: medium;
1144
-
1145
- &::-webkit-scrollbar {
1146
- height: 0.5rem;
1147
- }
1148
-
1149
- &.compact {
1150
- font-size: 90%;
1151
-
1152
- thead,
1153
- .table-header {
1154
- font-weight: normal;
1155
- }
1156
-
1157
- tr,
1158
- > .row {
1159
- background-color: inherit !important;
1160
-
1161
- & + tr,
1162
- & + .row {
1163
- border-top: 0.5px solid;
1164
- }
1165
-
1166
- td,
1167
- th,
1168
- [class*='col'] {
1169
- padding: 0.25rem;
1170
- }
1171
- }
1172
- }
1173
-
1174
- .sticky {
1175
- /* &::after {
1176
- content: '';
1177
- display: block;
1178
- box-shadow: 5px 0px 10px -5px rgba(0, 0, 0, 0.5);
1179
- width: 5%;
1180
- top: 0;
1181
- bottom: 0;
1182
- right: 0;
1183
- position: absolute;
1184
- border-right: thin solid var(--border-color)
1185
- } */
1186
- }
1187
-
1188
- .row {
1189
- flex-wrap: nowrap;
1190
- }
1191
-
1192
- thead th {
1193
- min-width: 15vw;
1194
- }
1195
-
1196
- thead,
1197
- .table-header {
1198
- position: sticky;
1199
- /* color: hsl(var(--secondary-hs), calc(var(--secondary-l) + 10%)); */
1200
- font-weight: bold;
1201
- width: fit-content;
1202
- top: 0;
1203
- bottom: 0;
1204
- z-index: 1;
1205
-
1206
- &.sticky-header {
1207
- th {
1208
- position: sticky;
1209
- position: -webkit-sticky;
1210
- top: 0;
1211
- bottom: 0;
1212
- z-index: 2;
1213
-
1214
- &.sticky {
1215
- z-index: 3;
1216
- }
1217
- }
1218
- }
1219
-
1220
- // &.sticky {
1221
- // top: 0;
1222
- // bottom: 0;
1223
- // z-index: 1;
1224
- // }
1225
- }
1226
-
1227
- tr,
1228
- > .row,
1229
- .scrollable > .row {
1230
- position: relative;
1231
- border-radius: 0.5rem;
1232
- margin: 0 0 0.25rem;
1233
- width: 100%;
1234
- // font-size: 90%;
1235
- background-color: inherit;
1236
- z-index: 0;
1237
-
1238
- &:nth-child(even):not(.table-header) {
1239
- // @include before-content;
1240
-
1241
- // &::before {
1242
- // background-color: var(--white);
1243
- // opacity: 0.25;
1244
- // z-index: 0;
1245
- // }
1246
- }
1247
-
1248
- [class*='col'] {
1249
- display: flex;
1250
- // flex-direction: column;
1251
- // align-items: flex-start;
1252
- // justify-content: center;
1253
- }
1254
-
1255
- td,
1256
- th,
1257
- [class*='col'] {
1258
- margin-bottom: 0;
1259
- padding: 1rem;
1260
- background-color: inherit;
1261
- border-radius: 0;
1262
- word-break: break-word;
1263
- /* min-width: 12.5%; */
1264
-
1265
- &:first-of-type {
1266
- border-top-left-radius: inherit;
1267
- border-bottom-left-radius: inherit;
1268
- }
1269
-
1270
- &:last-of-type {
1271
- border-top-right-radius: inherit;
1272
- border-bottom-right-radius: inherit;
1273
- }
1274
-
1275
- &.sticky,
1276
- &.md-sticky {
1277
- left: 0;
1278
- right: 0;
1279
- z-index: 1;
1280
-
1281
- /* &::after {
1282
- content: '';
1283
- display: block;
1284
- box-shadow: 5px 0px 10px -5px rgba(0, 0, 0, 0.5);
1285
- width: 5%;
1286
- top: 0;
1287
- bottom: 0;
1288
- right: 0;
1289
- position: absolute;
1290
- border-right: thin solid var(--border-color);
1291
- } */
1292
- }
1293
-
1294
- &.text-truncate {
1295
- /* max-width: 15vw; */
1296
- }
1297
-
1298
- p {
1299
- margin-bottom: 0;
1300
- }
1301
- }
1302
-
1303
- .table-badge {
1304
- position: absolute;
1305
- top: 0;
1306
- right: 1rem;
1307
- transform: translateY(-50%);
1308
- }
1309
- }
1310
- }
1311
-
1312
- /* Modal Backdrop - Start */
1313
-
1314
- .modal-backdrop {
1315
- .show {
1316
- opacity: 0.25;
1317
- }
1318
- }
1319
-
1320
- /* Modal Close Button - End */
1321
-
1322
- /* Scrollable Container - Start */
1323
-
1324
- .scroll-container {
1325
- position: relative;
1326
- display: flex;
1327
- flex-direction: column;
1328
- height: 100%;
1329
- overflow: hidden;
1330
- }
1331
-
1332
- .scrollable {
1333
- position: relative;
1334
- height: 100%;
1335
- /* flex: 1 1 auto; */
1336
- overflow-y: scroll;
1337
- overflow-x: hidden;
1338
-
1339
- &.h {
1340
- display: flex;
1341
- flex-direction: row;
1342
- width: 100%;
1343
- flex-wrap: nowrap;
1344
- justify-content: space-between;
1345
- overflow-x: scroll;
1346
- overflow-y: hidden;
1347
- }
1348
- }
1349
-
1350
- /* Scrollable Container - End */
1351
- .overflow-hidden {
1352
- overflow: hidden;
1353
- }
1354
-
1355
- .flex-none {
1356
- flex: unset;
1357
- }
1358
-
1359
- .flex-center {
1360
- @include flex-center;
1361
-
1362
- &:not(.h) {
1363
- flex-direction: column;
1364
- }
1365
- }
1366
-
1367
- .flex-align-center {
1368
- display: flex;
1369
-
1370
- &.h {
1371
- align-items: center;
1372
- }
1373
-
1374
- &:not(.h) {
1375
- flex-direction: column;
1376
- justify-content: center;
1377
- }
1378
- }
1379
-
1380
- .flex-start {
1381
- display: flex;
1382
- justify-content: start;
1383
- align-items: start;
1384
- }
1385
-
1386
- .flex-item,
1387
- .flex-card {
1388
- position: relative;
1389
- display: flex;
1390
- flex-direction: row;
1391
- align-items: center;
1392
-
1393
- /* overflow: hidden; */
1394
- &.flex-card {
1395
- border: 1px solid var(--border-color);
1396
- border-radius: 0.5rem;
1397
- background-clip: border-box;
1398
-
1399
- [class*='bg-'] {
1400
- border: none;
1401
- }
1402
-
1403
- &.has-bg::before,
1404
- .bg-svg {
1405
- content: '';
1406
- display: block;
1407
- position: absolute;
1408
- height: 100%;
1409
- width: 100%;
1410
- background-color: inherit;
1411
- z-index: 0;
1412
- }
1413
-
1414
- .bg-svg {
1415
- -webkit-mask-image: url('/assets/bg/flex-card-bg-icons.svg');
1416
- mask-image: url('/assets/bg/flex-card-bg-icons.svg');
1417
- }
1418
- }
1419
-
1420
- .img,
1421
- .icon {
1422
- position: relative;
1423
- display: flex;
1424
- flex-direction: column;
1425
- align-self: stretch;
1426
- justify-content: center;
1427
- object-fit: cover;
1428
- text-align: center;
1429
- font-size: 200%;
1430
- z-index: 1;
1431
- }
1432
-
1433
- .img {
1434
- flex: 1 1 40%;
1435
- width: 40%;
1436
- border-radius: inherit;
1437
- }
1438
-
1439
- .icon {
1440
- flex: 1 1 25%;
1441
- width: 25%;
1442
- /* padding-left: 0.75rem; */
1443
- /* font-weight: bold; */
1444
- }
1445
-
1446
- .addon {
1447
- align-self: stretch;
1448
- flex: 1 1 25%;
1449
- width: 25%;
1450
-
1451
- > * {
1452
- flex: 1 1 auto;
1453
- }
1454
- }
1455
-
1456
- .content {
1457
- position: relative;
1458
- margin: 0;
1459
- padding: 0.75rem;
1460
- flex: 1 1 100%;
1461
- width: 100%;
1462
- z-index: 1;
1463
- }
1464
-
1465
- .img img {
1466
- width: 100%;
1467
- height: 100%;
1468
- object-fit: cover;
1469
- }
1470
- }
1471
-
1472
- .text-spaced {
1473
- letter-spacing: 0.25rem;
1474
-
1475
- &.s-1 {
1476
- letter-spacing: 0.5rem;
1477
- }
1478
- }
1479
-
1480
- .title-strick,
1481
- .text-strick-line {
1482
- display: flex;
1483
- align-items: center;
1484
- justify-content: center;
1485
-
1486
- & .label,
1487
- &::content {
1488
- width: 100%;
1489
- }
1490
-
1491
- &::before,
1492
- &::after {
1493
- content: '';
1494
- display: inline-block;
1495
- margin: 0 0.5rem;
1496
- width: 100%;
1497
- height: 1px;
1498
- max-width: 10rem;
1499
- background-color: currentColor;
1500
- }
1501
- }
1502
-
1503
- .card {
1504
- @include before-content;
1505
-
1506
- &:not(.flat) {
1507
- /* overflow: unset; */
1508
- border: none;
1509
- z-index: 0;
1510
-
1511
- & > * {
1512
- /* position: relative; */
1513
- }
1514
-
1515
- &::before {
1516
- box-shadow: var(--card-shadow);
1517
- }
1518
- }
1519
-
1520
- & + .card {
1521
- margin-top: 1rem;
1522
- }
1523
-
1524
- &:not(.card-body) > {
1525
- :first-child[class*='card-'] {
1526
- border-top-left-radius: inherit;
1527
- border-top-right-radius: inherit;
1528
- }
1529
-
1530
- :last-child[class*='card-'] {
1531
- border-bottom-left-radius: inherit;
1532
- border-bottom-right-radius: inherit;
1533
- }
1534
- }
1535
-
1536
- .card-title {
1537
- margin: 1rem 0 0.75rem;
1538
- }
1539
-
1540
- .card-header,
1541
- .card-footer {
1542
- background-color: transparent;
1543
- border: none;
1544
- padding: 1rem 1.5rem;
1545
- }
1546
-
1547
- .card-body,
1548
- &.card-body {
1549
- padding: 1.5rem;
1550
- /* z-index: 1; */
1551
- }
1552
-
1553
- .card-body {
1554
- padding: 0 1.5rem;
1555
-
1556
- .card-img {
1557
- margin: 0 -1.5rem;
1558
- width: unset;
1559
- }
1560
- }
1561
-
1562
- .card-img {
1563
- max-height: 15rem;
1564
- object-fit: cover;
1565
- overflow: overlay;
1566
- min-width: 100%;
1567
- }
1568
-
1569
- .card-header,
1570
- .card-footer {
1571
- display: flex;
1572
- align-items: center;
1573
- justify-content: space-between;
1574
- }
1575
- }
1576
-
1577
- .flex-list,
1578
- .item-list {
1579
- margin: 1.5rem 0;
1580
- list-style: none;
1581
- display: flex;
1582
-
1583
- &:not(.has-connector) {
1584
- gap: 0.5rem;
1585
- }
1586
-
1587
- &.h .item {
1588
- flex-direction: column;
1589
- }
1590
-
1591
- &.has-connector {
1592
- .item {
1593
- margin: 0;
1594
- width: 100%;
1595
-
1596
- &:not(:first-child) :is(.connector, li::marker)::before,
1597
- &:not(:last-child) :is(.connector, li::marker)::after {
1598
- content: '';
1599
- }
1600
-
1601
- .connector,
1602
- li::marker {
1603
- display: flex;
1604
- flex-direction: column;
1605
-
1606
- &::before,
1607
- &::after {
1608
- margin: 0 auto;
1609
- width: 1px;
1610
- height: 100%;
1611
- background-color: currentColor;
1612
- display: block;
1613
- }
1614
- }
1615
- }
1616
-
1617
- &.align-top {
1618
- .item .connector {
1619
- justify-content: flex-start;
1620
-
1621
- &::before {
1622
- content: unset;
1623
- }
1624
- }
1625
- }
1626
- }
1627
-
1628
- &:not(.h) {
1629
- flex-direction: column;
1630
-
1631
- .item + .item {
1632
- border-top: 1px solid var(--border-color);
1633
- }
1634
- }
1635
-
1636
- .item {
1637
- display: flex;
1638
- /* align-items: center; */
1639
- /* justify-content: space-between; */
1640
- gap: 0.25rem;
1641
- padding: 0 1rem;
1642
- cursor: pointer;
1643
-
1644
- // > {
1645
- // .label {
1646
- // width: 100%;
1647
- // }
1648
-
1649
- // .value {
1650
- // font-weight: bold;
1651
- // width: 100%;
1652
- // }
1653
- // }
1654
-
1655
- .icon {
1656
- font-weight: bold;
1657
- /* margin-right: 1.25rem; */
1658
- transition: margin-right 0.125s linear;
1659
- }
1660
-
1661
- .content {
1662
- & + .content {
1663
- margin-top: 0.5rem;
1664
- }
1665
- }
1666
-
1667
- &:hover .icon {
1668
- /* margin-right: 1.5rem; */
1669
- }
1670
- }
1671
- }
1672
-
1673
- .link-list {
1674
- margin: 0;
1675
- /* padding: 0.5rem; */
1676
- list-style: none;
1677
- font-size: 110%;
1678
-
1679
- .item {
1680
- display: flex;
1681
- align-items: center;
1682
- padding: 0.5rem 0.75rem;
1683
- border-radius: 0.25rem;
1684
- width: 100%;
1685
- border: 1px solid var(--border-color);
1686
- color: var(--primary);
1687
- background-color: transparent;
1688
- cursor: pointer;
1689
-
1690
- & ~ .item {
1691
- margin-top: 1rem;
1692
- }
1693
- }
1694
- }
1695
-
1696
- .list .item + .item {
1697
- padding-top: 1rem;
1698
- border-top: 1px solid var(--border-color);
1699
- }
1700
-
1701
- .stacked {
1702
- // DEFAULT: .forward
1703
- position: relative;
1704
- @include flex-center;
1705
-
1706
- &.h {
1707
- .item + .item {
1708
- margin-left: -25%;
1709
- }
1710
- }
1711
-
1712
- &:not(.h) {
1713
- flex-direction: column;
1714
-
1715
- .item + .item {
1716
- margin-top: -25%;
1717
- }
1718
- }
1719
-
1720
- &.backwards {
1721
- &:not(.h) {
1722
- flex-direction: column-reverse;
1723
- }
1724
-
1725
- flex-direction: row-reverse;
1726
- }
1727
-
1728
- .item {
1729
- position: relative;
1730
- z-index: 1;
1731
- }
1732
- }
1733
-
1734
- .modal-content {
1735
- .modal-header {
1736
- justify-content: flex-start;
1737
- border-bottom: 2px solid var(--primary);
1738
-
1739
- &:hover .close {
1740
- opacity: 1;
1741
- }
1742
-
1743
- .close {
1744
- margin: 0;
1745
- display: inline-flex;
1746
- align-items: center;
1747
- justify-content: center;
1748
- border-radius: 50%;
1749
- display: inline-flex;
1750
- width: 1.5rem;
1751
- height: 1.5rem;
1752
- font-size: 200%;
1753
- padding: 0;
1754
- min-width: unset;
1755
- position: absolute;
1756
- top: 0.5rem;
1757
- right: 0.5rem;
1758
- opacity: 0.125;
1759
- transition: color 0.25s, opacity 0.25s;
1760
-
1761
- &:hover {
1762
- color: var(--danger);
1763
- }
1764
-
1765
- &::after,
1766
- &::before {
1767
- content: '';
1768
- height: 0.125rem;
1769
- width: 75%;
1770
- display: block;
1771
- background-color: currentColor;
1772
- position: absolute;
1773
- top: 50%;
1774
- left: 50%;
1775
- transform-origin: center;
1776
- transform: translate(-50%, -50%);
1777
- transition: transform 0.2s ease-out;
1778
- }
1779
-
1780
- &:hover::after {
1781
- transform: translate(-50%, -50%) rotate(45deg);
1782
- }
1783
-
1784
- &:hover::before {
1785
- transform: translate(-50%, -50%) rotate(-45deg);
1786
- }
1787
- }
1788
- }
1789
-
1790
- .modal-body {
1791
- padding: 1rem 2rem;
1792
- }
1793
-
1794
- .modal-footer {
1795
- border-top: none;
1796
- padding: 1rem 2rem 2rem;
1797
- justify-content: space-between;
1798
- }
1799
- }
1800
-
1801
- .accordion-tab {
1802
- display: flex;
1803
- cursor: pointer;
1804
- width: 100%;
1805
-
1806
- & ~ .accordion-tab {
1807
- margin-top: 1rem;
1808
- }
1809
-
1810
- .icon {
1811
- align-self: flex-start;
1812
- }
1813
- }
1814
-
1815
- img {
1816
- max-width: 100%;
1817
- }
1818
-
1819
- .img-fullwidth {
1820
- margin: 0 -1.25rem;
1821
- width: 100vw;
1822
- min-width: 100vw;
1823
- height: 12.5rem;
1824
- object-fit: cover;
1825
- }
1826
-
1827
- .img-circle {
1828
- width: 100%;
1829
- border-radius: 50%;
1830
- width: 4rem;
1831
- height: 4rem;
1832
- display: flex;
1833
- overflow: hidden;
1834
-
1835
- img {
1836
- width: 100%;
1837
- height: 100%;
1838
- object-fit: cover;
1839
- border-radius: inherit;
1840
- }
1841
- }
1842
-
1843
- .img-bg {
1844
- @include absolute-content;
1845
- object-fit: cover;
1846
- }
1847
-
1848
- .has-bg {
1849
- @include after-content;
1850
-
1851
- & > .img-bg {
1852
- z-index: 0;
1853
- position: absolute;
1854
- }
1855
-
1856
- &::after {
1857
- background-color: hsla(var(--black-hs), var(--black-l), 0.5);
1858
- }
1859
- }
1860
-
1861
- .rounded-inherit {
1862
- border-radius: inherit;
1863
- }
1864
-
1865
- .sticky {
1866
- position: sticky;
1867
- position: -webkit-sticky;
1868
- }
1869
-
1870
- [class*='position-'] {
1871
- &.left {
1872
- left: 0;
1873
- }
1874
-
1875
- &.right {
1876
- right: 0;
1877
- }
1878
-
1879
- &.top {
1880
- top: 0;
1881
- }
1882
-
1883
- &.bottom {
1884
- bottom: 0;
1885
- }
1886
-
1887
- &.all,
1888
- &.spread {
1889
- left: 0;
1890
- right: 0;
1891
- top: 0;
1892
- bottom: 0;
1893
- }
1894
- }
1895
-
1896
- [class*='float-'] {
1897
- z-index: 1;
1898
- }
1899
-
1900
- .section,
1901
- section {
1902
- position: relative;
1903
- min-height: 100vh;
1904
- padding: 1.25rem;
1905
- }
1906
-
1907
- @media (min-width: 576px) {
1908
- .md-sticky {
1909
- position: sticky;
1910
- }
1911
- }
1912
-
1913
- /* ABOVE <-- Tablets/Mini PC */
1914
- @media (min-width: 768px) {
1915
- .item-list {
1916
- .item > .value {
1917
- margin-left: 1rem;
1918
- text-align: right;
1919
- }
1920
- }
1921
-
1922
- .table-container {
1923
- // font-size: 90%;
1924
-
1925
- .row .table-header {
1926
- display: none;
1927
- }
1928
- }
1929
- }
1930
-
1931
- /* Tables/Mini PC <---> BELOW */
1932
- @media (max-width: 767.98px) {
1933
- .page-header,
1934
- .section-header {
1935
- padding: 0;
1936
- flex-wrap: wrap;
1937
-
1938
- input[type='search'] {
1939
- width: 100%;
1940
- }
1941
-
1942
- .tabs {
1943
- justify-content: space-between;
1944
- }
1945
- }
1946
-
1947
- .flex-container {
1948
- /* flex-direction: column; */
1949
- width: 100%;
1950
-
1951
- .button {
1952
- width: 100%;
1953
- }
1954
- }
1955
-
1956
- .tabs {
1957
- padding: 1.25rem 0.125rem;
1958
-
1959
- &.overlap {
1960
- padding: 0;
1961
- }
1962
- }
1963
-
1964
- .table-container {
1965
- &:not(.is-sticky) .row.table-header {
1966
- display: none;
1967
- }
1968
-
1969
- &.is-sticky {
1970
- .row {
1971
- .table-header {
1972
- display: none;
1973
- }
1974
-
1975
- [class*='col'] {
1976
- margin: 0;
1977
- }
1978
- }
1979
- }
1980
-
1981
- > .row,
1982
- .scrollable > .row {
1983
- .table-header {
1984
- margin-right: 1rem;
1985
- }
1986
-
1987
- [class*='col'] {
1988
- flex-direction: row;
1989
- // flex-wrap: nowrap;
1990
- justify-content: flex-start;
1991
- margin: 0.5rem 0;
1992
- }
1993
- }
1994
- }
1995
- }
1996
-
1997
- /* Mobile <---> BELOW */
1998
- @media (max-width: 575.98px) {
1999
- .card {
2000
- width: 100%;
2001
- }
2002
-
2003
- .item-list {
2004
- &:not(.has-connector) {
2005
- gap: 1rem;
2006
- }
2007
-
2008
- .item {
2009
- flex-direction: column;
2010
- gap: 0.5rem;
2011
- }
2012
- }
2013
-
2014
- .table-container {
2015
- td {
2016
- min-width: fit-content;
2017
- max-width: 75%;
2018
- }
2019
- }
2020
- }
1
+ @import 'mixins';
2
+
3
+ /* Scrollbar - Start */
4
+
5
+ * {
6
+ scrollbar-color: hsl(var(--muted-hs), calc(var(--muted-l) + 40%)) transparent;
7
+ scrollbar-width: thin;
8
+ cursor: default;
9
+ /* word-break: break-word; */
10
+ }
11
+
12
+ ::-webkit-scrollbar {
13
+ -webkit-appearance: none;
14
+ appearance: none;
15
+ width: 0.25rem;
16
+ height: 0.25rem;
17
+ z-index: 1;
18
+ }
19
+
20
+ ::-webkit-scrollbar-corner {
21
+ display: none;
22
+ }
23
+
24
+ ::-webkit-scrollbar-thumb {
25
+ background-color: hsl(var(--muted-hs), calc(var(--muted-l) + 40%));
26
+ border-radius: 0;
27
+ }
28
+
29
+ ::-webkit-scrollbar-track {
30
+ background-color: transparent;
31
+ padding: 0.5rem;
32
+ }
33
+
34
+ ::-moz-selection {
35
+ color: var(--white);
36
+ background: hsl(var(--muted-hs), calc(var(--muted-l) + 20%));
37
+ }
38
+
39
+ ::selection {
40
+ color: var(--white);
41
+ background: hsl(var(--muted-hs), calc(var(--muted-l) + 20%));
42
+ }
43
+
44
+ /* Scrollbar - End */
45
+
46
+ body {
47
+ font-family: 'Content', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
48
+ background-color: var(--background-color, --default-c, --white);
49
+ color: var(--default, --white-c);
50
+ font-size: var(--font-size);
51
+ font-weight: normal;
52
+ }
53
+
54
+ %title {
55
+ font-family: 'Title', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
56
+ font-weight: bold;
57
+ font-size: var(--heading-size);
58
+ }
59
+
60
+ .title {
61
+ @extend %title;
62
+ }
63
+
64
+ @for $n from 6 through 1 {
65
+ h#{$n},
66
+ .h#{$n} {
67
+ @extend %title;
68
+ }
69
+ }
70
+
71
+ b {
72
+ font-weight: bold;
73
+ }
74
+
75
+ :disabled,
76
+ .disabled,
77
+ [disable] {
78
+ cursor: not-allowed;
79
+ filter: grayscale(0.8);
80
+ }
81
+
82
+ .bg-text,
83
+ .bg-text-color {
84
+ position: relative;
85
+ display: inline-flex;
86
+ // align-items: center;
87
+ // justify-content: center;
88
+
89
+ &:hover::after {
90
+ opacity: 0.125;
91
+ }
92
+
93
+ &::after {
94
+ content: '';
95
+ position: absolute;
96
+ top: 0;
97
+ left: 0;
98
+ background-color: currentColor;
99
+ opacity: 0.055;
100
+ height: 100%;
101
+ width: 100%;
102
+ border-radius: inherit;
103
+ z-index: 0;
104
+ }
105
+ }
106
+
107
+ .is-blur {
108
+ position: relative;
109
+ transition: background-color 0.5s;
110
+
111
+ @include before-content;
112
+
113
+ &::before {
114
+ backdrop-filter: blur(10px);
115
+ }
116
+ }
117
+
118
+ .blur {
119
+ filter: blur(5px);
120
+ }
121
+
122
+ a,
123
+ .link {
124
+ color: var(--secondary);
125
+ cursor: pointer;
126
+
127
+ &:hover {
128
+ color: hsla(var(--secondary-hs), calc(var(--secondary-l) - 10%));
129
+ }
130
+ }
131
+
132
+ a:not(.link) {
133
+ text-decoration: none;
134
+ }
135
+
136
+ .main-icon {
137
+ object-fit: contain;
138
+ width: 4rem;
139
+ height: 4rem;
140
+ }
141
+
142
+ .main-logo {
143
+ display: inline-flex;
144
+ width: 10rem;
145
+ max-width: 100%;
146
+ object-fit: contain;
147
+ }
148
+
149
+ .page-header {
150
+ padding: 1rem 1.5rem;
151
+ display: flex;
152
+ align-items: center;
153
+ position: relative;
154
+ z-index: 1;
155
+
156
+ &.position-sticky,
157
+ &.sticky {
158
+ position: sticky !important;
159
+ top: 0;
160
+ left: 0;
161
+ }
162
+
163
+ .main-title {
164
+ margin-bottom: 0;
165
+ font-size: 125%;
166
+
167
+ @include unify-selector(img, &) {
168
+ width: 10rem;
169
+ }
170
+ }
171
+ }
172
+
173
+ .flex-container {
174
+ display: flex;
175
+ flex-wrap: wrap;
176
+ /* align-items: flex-end; */
177
+ margin: 0.5rem 0;
178
+ gap: 0.5rem;
179
+
180
+ > * {
181
+ /* align-self: flex-start; */
182
+ margin-bottom: 0;
183
+ }
184
+ }
185
+
186
+ .page-header {
187
+ margin: 1rem 0;
188
+ padding: 0 1rem;
189
+ display: flex;
190
+ align-items: center;
191
+
192
+ .page-title {
193
+ text-transform: capitalize;
194
+ margin-right: auto;
195
+ margin-bottom: 1rem;
196
+ color: var(--primary);
197
+
198
+ font: {
199
+ size: 200%;
200
+ weight: normal;
201
+ }
202
+ }
203
+
204
+ .button {
205
+ min-width: auto;
206
+ }
207
+ }
208
+
209
+ .section-header {
210
+ display: flex;
211
+ align-items: center;
212
+ margin: 1.5rem 0;
213
+ padding: 0 1.5rem;
214
+
215
+ &.has-arrow {
216
+ // justify-content: space-between;
217
+
218
+ &::before {
219
+ content: attr(data-arrow-text);
220
+ display: inline-block;
221
+ margin-left: auto;
222
+ font-size: 75%;
223
+ order: 1;
224
+ }
225
+
226
+ &::after {
227
+ content: '\f105';
228
+ font-family: 'FontAwesome';
229
+ margin-left: 1rem;
230
+ order: 2;
231
+ font-size: 90%;
232
+ // transform: scale(1.25, 0.9);
233
+ font-weight: normal;
234
+ }
235
+ }
236
+
237
+ .section-title {
238
+ margin-right: auto;
239
+ margin-bottom: 1rem;
240
+ font-weight: normal;
241
+ color: var(--primary);
242
+ }
243
+
244
+ .button {
245
+ min-width: auto;
246
+ }
247
+ }
248
+
249
+ .row > [class*='col'] {
250
+ margin-bottom: 1em;
251
+
252
+ & + [class*='col'] {
253
+ margin-top: 0;
254
+ }
255
+
256
+ .card {
257
+ height: 100%;
258
+ }
259
+ }
260
+
261
+ .icon {
262
+ @include flex-center;
263
+ }
264
+
265
+ .icon-container {
266
+ @include flex-center;
267
+
268
+ &:not(.h) {
269
+ flex-direction: column;
270
+
271
+ .icon {
272
+ margin: 0.5rem 0;
273
+ }
274
+ }
275
+
276
+ &.h .icon {
277
+ margin: 0 0.5rem;
278
+ }
279
+
280
+ .icon {
281
+ font-size: 150%;
282
+ }
283
+ }
284
+
285
+ [class*='sq-'] {
286
+ @include flex-center;
287
+ flex: unset;
288
+ padding: 0;
289
+ /* margin: auto; */
290
+
291
+ &:not(.h) {
292
+ flex-direction: column;
293
+ }
294
+
295
+ img {
296
+ object-fit: contain;
297
+ width: 100%;
298
+ }
299
+ }
300
+
301
+ hr {
302
+ border-top-color: currentColor;
303
+ opacity: 0.5;
304
+ }
305
+
306
+ hr[class*='s-']:not(.default) {
307
+ background-color: transparent !important;
308
+ margin: 0;
309
+ border: 0;
310
+ }
311
+
312
+ .s-sm {
313
+ padding: 0.25rem;
314
+ }
315
+
316
+ .s-1 {
317
+ padding: 0.5rem;
318
+ }
319
+
320
+ .s-2 {
321
+ padding: 0.75rem;
322
+ }
323
+
324
+ .s-3 {
325
+ padding: 1.5rem;
326
+ }
327
+
328
+ .s-4 {
329
+ padding: 2.5rem;
330
+ }
331
+
332
+ .s-5 {
333
+ padding: 5rem;
334
+ }
335
+
336
+ .dropdown-menu-right .dropdown-menu {
337
+ transform: translate(-100%, 0);
338
+ }
339
+
340
+ .dropdown-menu {
341
+ min-width: 12.5rem;
342
+ padding: 0;
343
+ border-radius: 0.5rem;
344
+ box-shadow: var(--card-shadow);
345
+
346
+ > {
347
+ :first-child {
348
+ border-top-left-radius: inherit;
349
+ border-top-right-radius: inherit;
350
+ }
351
+
352
+ :last-child {
353
+ border-bottom-left-radius: inherit;
354
+ border-bottom-right-radius: inherit;
355
+ }
356
+ }
357
+
358
+ .dropdown-header {
359
+ font-size: unset;
360
+ }
361
+
362
+ .dropdown-item {
363
+ padding: 0.75rem 1.25rem;
364
+ margin: 0;
365
+
366
+ // &+.dropdown-item {
367
+ // margin-top: 0.5rem;
368
+ // }
369
+ }
370
+ }
371
+
372
+ input,
373
+ *:not(.input) > {
374
+ .input {
375
+ /* background-color: transparent; */
376
+ /* margin: 0.25rem 0 1rem; */
377
+ border-radius: 0.25rem;
378
+ border: 1px solid currentColor;
379
+ /* width: 100%; */
380
+
381
+ &:not(.has-addon) {
382
+ /* align-self: stretch; */
383
+ padding: 0.5rem 1rem;
384
+ }
385
+
386
+ &.has-error {
387
+ border: 1px solid var(--danger);
388
+ }
389
+ }
390
+ }
391
+
392
+ input,
393
+ textarea {
394
+ opacity: 0.75;
395
+
396
+ &:focus {
397
+ opacity: 1;
398
+ }
399
+
400
+ &::placeholder,
401
+ &:-ms-input-placeholder,
402
+ &::-ms-input-placeholder,
403
+ &:-moz-input-placeholder,
404
+ &::-moz-input-placeholder,
405
+ &:-webkit-input-placeholder,
406
+ &::-webkit-input-placeholder {
407
+ display: none;
408
+ color: currentColor;
409
+ opacity: 0.75;
410
+ }
411
+ }
412
+
413
+ ul {
414
+ list-style: none;
415
+ padding-left: 0;
416
+ }
417
+
418
+ label {
419
+ cursor: pointer;
420
+
421
+ &.radio,
422
+ &.checkbox {
423
+ &,
424
+ &-container {
425
+ display: flex;
426
+ align-items: center;
427
+ margin: 1rem 0;
428
+
429
+ .label > * {
430
+ margin-bottom: 0;
431
+ }
432
+
433
+ & + {
434
+ .radio,
435
+ .checkbox {
436
+ margin-top: 1rem;
437
+ }
438
+ }
439
+ }
440
+ }
441
+
442
+ input ~ .label.off {
443
+ order: -1;
444
+ }
445
+
446
+ .active,
447
+ input:not(:checked) ~ .label.off,
448
+ input:checked ~ .label:not(.off) {
449
+ color: var(--secondary);
450
+ font-weight: bold;
451
+ }
452
+
453
+ input[type='radio'],
454
+ input[type='checkbox'] {
455
+ margin: 0 0.5rem;
456
+ }
457
+ }
458
+
459
+ .bg-primary input[type='checkbox']::before {
460
+ background-color: hsl(var(--muted-hs), calc(var(--muted-l) + 10));
461
+ }
462
+
463
+ input {
464
+ &::-webkit-outer-spin-button,
465
+ &::-webkit-inner-spin-button {
466
+ -webkit-appearance: none;
467
+ margin: 0;
468
+ }
469
+
470
+ &[type='number'] {
471
+ -moz-appearance: textfield;
472
+ }
473
+
474
+ &[type='checkbox'] {
475
+ position: relative;
476
+ -webkit-appearance: none;
477
+ appearance: none;
478
+ border: none;
479
+ width: 2rem;
480
+ min-width: 2rem;
481
+ height: 1rem;
482
+ padding: 0;
483
+ margin: 0;
484
+ border-radius: 0.5rem;
485
+ background-color: hsla(var(--white-hs), var(--white-l), 0.5);
486
+ color: unset;
487
+ opacity: 1;
488
+
489
+ &::before {
490
+ content: '';
491
+ display: block;
492
+ height: 100%;
493
+ width: 100%;
494
+ opacity: 0.275;
495
+ background-color: currentColor;
496
+ border-radius: inherit;
497
+ transition: width 0.25s ease, opacity 0.25s;
498
+ }
499
+
500
+ &::after {
501
+ content: '';
502
+ display: block;
503
+ position: absolute;
504
+ top: 50%;
505
+ left: 0;
506
+ width: 1rem;
507
+ height: 1rem;
508
+ padding: 0.25rem;
509
+ background-color: currentColor;
510
+ border-radius: 50%;
511
+ transform: translate(0, -50%);
512
+ transition: left 0.25s ease, transform 0.25s ease;
513
+ }
514
+
515
+ &:checked {
516
+ &::before {
517
+ opacity: 0.575;
518
+ }
519
+
520
+ &::after {
521
+ left: 100%;
522
+ transform: translate(-100%, -50%);
523
+ }
524
+ }
525
+
526
+ &.default {
527
+ -webkit-appearance: checkbox;
528
+ appearance: checkbox;
529
+
530
+ &::after,
531
+ &::before {
532
+ content: unset;
533
+ }
534
+ }
535
+
536
+ &.switch {
537
+ &::before {
538
+ position: absolute;
539
+ left: 0;
540
+ top: 50%;
541
+ height: 50%;
542
+ transform: translateY(-50%);
543
+ }
544
+ }
545
+ }
546
+
547
+ &[type='radio'] {
548
+ position: relative;
549
+ -webkit-appearance: none;
550
+ appearance: none;
551
+ color: inherit;
552
+ background-color: transparent;
553
+ border: 0.125rem solid currentColor;
554
+ border-radius: 50%;
555
+ display: inline-block;
556
+ justify-content: center;
557
+ align-items: center;
558
+ width: 1rem !important;
559
+ min-width: 1rem;
560
+ height: 1rem;
561
+ min-height: 1rem;
562
+ padding: 0.125rem !important;
563
+ margin: 0;
564
+
565
+ &::after {
566
+ content: '';
567
+ display: block;
568
+ background-color: currentColor;
569
+ opacity: 0;
570
+ width: 100%;
571
+ /* flex: 1; */
572
+ height: 100%;
573
+ border-radius: inherit;
574
+ transition: opacity 0.25s ease-in;
575
+ }
576
+
577
+ &:hover::after {
578
+ opacity: 0.25;
579
+ }
580
+
581
+ &:checked::after {
582
+ opacity: 1;
583
+ }
584
+ }
585
+
586
+ &[type='search'] {
587
+ min-width: 22.5%;
588
+ }
589
+
590
+ &[type='file'] {
591
+ display: none;
592
+ }
593
+
594
+ /* &.phone,
595
+ &[type=phone],
596
+ &[type=password] {
597
+ letter-spacing: 2px;
598
+ } */
599
+ }
600
+
601
+ .input {
602
+ display: flex;
603
+ align-items: center;
604
+
605
+ &.has-addon {
606
+ input,
607
+ .input,
608
+ .addon {
609
+ padding: 0.5rem 1rem;
610
+ margin: 0;
611
+ }
612
+ }
613
+
614
+ .addon {
615
+ display: flex;
616
+ align-items: center;
617
+ justify-content: center;
618
+ border-radius: inherit !important;
619
+ /* font-weight: bold; */
620
+ align-self: stretch;
621
+ min-width: unset;
622
+
623
+ &:not(:last-child) {
624
+ border-top-right-radius: 0 !important;
625
+ border-bottom-right-radius: 0 !important;
626
+ }
627
+
628
+ &:not(:first-child) {
629
+ border-top-left-radius: 0 !important;
630
+ border-bottom-left-radius: 0 !important;
631
+ }
632
+ }
633
+
634
+ &.file {
635
+ border-style: dashed;
636
+ text-align: center;
637
+
638
+ &::before {
639
+ content: attr(data-placeholder);
640
+ display: block;
641
+ width: 100%;
642
+ }
643
+ }
644
+
645
+ &.p-0 {
646
+ padding: 0;
647
+
648
+ select {
649
+ padding: 0.75rem 1.25rem;
650
+ }
651
+ }
652
+
653
+ input,
654
+ .input,
655
+ select {
656
+ border: none;
657
+ width: 100%;
658
+ background-color: transparent;
659
+ }
660
+ }
661
+
662
+ option[disabled]:first-of-type {
663
+ display: none;
664
+ }
665
+
666
+ .h-group {
667
+ flex-wrap: wrap;
668
+
669
+ label {
670
+ width: 100%;
671
+ }
672
+ }
673
+
674
+ .checkbox-group {
675
+ display: flex;
676
+ justify-content: space-around;
677
+ align-items: center;
678
+ text-transform: capitalize;
679
+ flex-wrap: wrap;
680
+ padding: 1rem;
681
+
682
+ label {
683
+ display: flex;
684
+ align-items: center;
685
+ }
686
+
687
+ label + label,
688
+ & > input[type='checkbox'] + input[type='checkbox'] {
689
+ margin-top: 1rem;
690
+ }
691
+ }
692
+
693
+ .radio-group {
694
+ display: flex;
695
+ justify-content: space-around;
696
+ align-items: center;
697
+ text-transform: capitalize;
698
+ border-radius: 0.25rem;
699
+ padding: 1rem;
700
+ margin-bottom: 1rem;
701
+
702
+ &.h-group::before {
703
+ left: unset;
704
+ right: 1rem;
705
+ }
706
+
707
+ &::before {
708
+ content: attr(data-label);
709
+ display: block;
710
+ position: absolute;
711
+ padding: 0.5rem;
712
+ left: 1rem;
713
+ top: 0;
714
+ transform: translateY(-50%);
715
+ background-color: inherit;
716
+ }
717
+
718
+ label {
719
+ display: flex;
720
+ align-items: center;
721
+ }
722
+ }
723
+
724
+ .input-container {
725
+ display: block;
726
+ position: relative;
727
+ width: 100%;
728
+ /* margin-bottom: 1rem; */
729
+ text-align: left;
730
+ $input-container: &;
731
+
732
+ input + input,
733
+ & + .input-container {
734
+ margin-top: 0.5rem;
735
+ }
736
+
737
+ &:has(input:invalid) {
738
+ color: var(--danger);
739
+ }
740
+
741
+ &:has(input:focus:empty),
742
+ &:has(input:focus:placeholder-shown) {
743
+ &::before,
744
+ .label {
745
+ // @include append-selector() {
746
+ background-color: var(--primary);
747
+ }
748
+ }
749
+
750
+ // &>label,
751
+ &::before,
752
+ .label {
753
+ content: attr(data-label);
754
+ display: block;
755
+ font-weight: bold;
756
+ font-size: 80%;
757
+ /* text-transform: capitalize; */
758
+ margin-bottom: 0.25rem;
759
+ padding-left: 1rem;
760
+ opacity: 0.75;
761
+ }
762
+
763
+ &::after,
764
+ .hint {
765
+ content: attr(data-hint);
766
+ display: none;
767
+ width: 100%;
768
+ padding: 0.25rem;
769
+ font-size: 80%;
770
+ }
771
+
772
+ &.has-error,
773
+ &.has-warning,
774
+ &.show-hint {
775
+ &::after,
776
+ .hint {
777
+ display: block;
778
+ }
779
+ }
780
+
781
+ &.has-error {
782
+ &::after,
783
+ .hint {
784
+ font-weight: bold;
785
+ color: var(--danger);
786
+ }
787
+
788
+ .addon {
789
+ background-color: var(--danger) !important;
790
+ color: var(--white) !important;
791
+ }
792
+
793
+ > {
794
+ input,
795
+ .input {
796
+ border: 1px solid var(--danger);
797
+ }
798
+ }
799
+ }
800
+
801
+ &.has-warning {
802
+ &::after,
803
+ .hint {
804
+ /* font-weight: bold; */
805
+ color: var(--warning);
806
+ }
807
+
808
+ input,
809
+ .input {
810
+ border: 1px solid var(--warning);
811
+ }
812
+ }
813
+
814
+ &.has-info {
815
+ &::after,
816
+ .hint {
817
+ color: var(--info);
818
+ }
819
+ }
820
+
821
+ input,
822
+ .input {
823
+ width: 100%;
824
+ /* margin-bottom: 0; */
825
+ }
826
+ }
827
+
828
+ .progress {
829
+ position: relative;
830
+ background-color: transparent;
831
+ @include before-content;
832
+
833
+ &::before {
834
+ opacity: 0.75;
835
+ }
836
+
837
+ &.bar {
838
+ @include after-content;
839
+
840
+ &::after {
841
+ background-color: currentColor;
842
+ // width: attr(data-progress '%');
843
+ transition: width 0.5s;
844
+ }
845
+ }
846
+
847
+ &.dotted {
848
+ display: flex;
849
+ min-width: 25%;
850
+ list-style: none;
851
+ position: relative;
852
+ align-items: center;
853
+ justify-content: space-between;
854
+ overflow: hidden;
855
+ gap: 0.125rem;
856
+ /* border-radius: 5rem; */
857
+ @include before-content;
858
+
859
+ &::before {
860
+ opacity: 0.125;
861
+ background-color: currentColor;
862
+ }
863
+
864
+ .dot,
865
+ .item {
866
+ background-color: currentColor;
867
+ border-radius: 50%;
868
+ width: 0.5rem;
869
+ height: 0.5rem;
870
+ z-index: 1;
871
+ position: relative;
872
+
873
+ & + :is(.dot, .item) {
874
+ margin-left: 0.5rem;
875
+ }
876
+
877
+ &.active ~ :is(.dot, .item) {
878
+ opacity: 0.5;
879
+ }
880
+ }
881
+ }
882
+ }
883
+
884
+ .tabs {
885
+ position: relative;
886
+ margin-bottom: 1rem;
887
+ display: flex;
888
+ overflow-x: scroll;
889
+ flex-wrap: nowrap;
890
+ /* align-items: center; */
891
+ width: 100%;
892
+ padding: 0.125rem 1.25rem;
893
+ gap: 0.5rem;
894
+ /* z-index: 1; */
895
+
896
+ > .tab {
897
+ display: inline-flex;
898
+ align-items: center;
899
+ justify-content: center;
900
+ text-transform: capitalize;
901
+ padding: 0.25rem;
902
+ border: none;
903
+ border-radius: 0.25rem;
904
+ /* font-weight: bold; */
905
+ min-width: 5rem;
906
+ flex: 0 0 auto;
907
+ transition: background-color 0.25s;
908
+ z-index: 1;
909
+ }
910
+
911
+ &.pills {
912
+ > .tab {
913
+ border-radius: 5rem;
914
+ }
915
+ }
916
+
917
+ %no-scrollbar {
918
+ scrollbar-width: 0;
919
+ margin-bottom: 0;
920
+
921
+ &::-webkit-scrollbar {
922
+ width: 0;
923
+ }
924
+ }
925
+
926
+ &.md,
927
+ &.overlap,
928
+ &.no-scrollbar {
929
+ @extend %no-scrollbar;
930
+ }
931
+
932
+ &.overlap {
933
+ @include after-content;
934
+
935
+ &::after {
936
+ background-color: inherit;
937
+ }
938
+ }
939
+
940
+ &.md {
941
+ .tab {
942
+ background-color: transparent !important;
943
+
944
+ &.active {
945
+ border-bottom: medium solid;
946
+ }
947
+ }
948
+ }
949
+
950
+ &.md,
951
+ &.overlap {
952
+ // @extend &.no-scrollbar;
953
+
954
+ > .tab {
955
+ margin-bottom: 0;
956
+ border-bottom-left-radius: 0;
957
+ border-bottom-right-radius: 0;
958
+ padding: 0.25rem 0.5rem;
959
+
960
+ .label {
961
+ margin: 0.5rem;
962
+ }
963
+ }
964
+ }
965
+ }
966
+
967
+ .tabs-container {
968
+ .tabs {
969
+ .tab {
970
+ position: relative;
971
+
972
+ &::before,
973
+ &::after {
974
+ content: '';
975
+ position: absolute;
976
+ height: 5%;
977
+ width: 5%;
978
+ bottom: -1px;
979
+ }
980
+
981
+ &::before {
982
+ left: 0;
983
+ transform: translateX(-100%);
984
+ border-top-left-radius: 5%;
985
+ }
986
+
987
+ &::after {
988
+ right: 0;
989
+ transform: translateX(100%);
990
+ border-top-left-radius: 5%;
991
+ }
992
+
993
+ &:not(.active, :active) {
994
+ }
995
+ }
996
+ }
997
+ }
998
+
999
+ .border {
1000
+ &-dashed {
1001
+ border-style: dashed !important;
1002
+ }
1003
+
1004
+ &-current {
1005
+ border-color: currentColor !important;
1006
+ }
1007
+ }
1008
+
1009
+ .badge {
1010
+ display: inline-flex;
1011
+ align-items: center;
1012
+ border-radius: 0.25rem;
1013
+ padding: 0.25rem 0.75rem;
1014
+ font-size: 80%;
1015
+ letter-spacing: 1px;
1016
+ text-transform: capitalize;
1017
+
1018
+ // &.small {
1019
+ // font-size: 60%;
1020
+ // }
1021
+
1022
+ // &.badge-sm {
1023
+ // padding: 0.5rem 1rem;
1024
+ // }
1025
+
1026
+ // &.badge-xs {
1027
+ // padding: 0.25rem;
1028
+ // }
1029
+ }
1030
+
1031
+ .button-group,
1032
+ .button-group-vertical {
1033
+ border-radius: 0.5rem;
1034
+ }
1035
+
1036
+ .button {
1037
+ position: relative;
1038
+ padding: 0.25rem 1.5rem;
1039
+ font-size: 120%;
1040
+ /* font-weight: bold; */
1041
+ min-width: 7.5rem;
1042
+ display: inline-flex;
1043
+ gap: 0.5rem;
1044
+ justify-content: center;
1045
+ align-items: center;
1046
+ /* border: none; */
1047
+
1048
+ &:focus {
1049
+ outline: 1px solid hsl(var(--secondary-hs), calc(var(--secondary-l) + 50%));
1050
+ }
1051
+
1052
+ // &:not(.no-rounded) {
1053
+ // border-radius: 0.125rem;
1054
+ // }
1055
+
1056
+ &.button-block {
1057
+ width: 100%;
1058
+ }
1059
+
1060
+ &.button-circle {
1061
+ width: 3rem;
1062
+ height: 3rem;
1063
+ display: inline-flex;
1064
+ min-width: unset !important;
1065
+ padding: 0.5rem;
1066
+ align-items: center;
1067
+ justify-content: center;
1068
+ border-radius: 50%;
1069
+
1070
+ &.button-sm {
1071
+ width: 2rem;
1072
+ height: 2rem;
1073
+ }
1074
+ }
1075
+
1076
+ &.button-lg {
1077
+ font-size: 150%;
1078
+ padding: 0.5rem 1.25rem;
1079
+ min-width: 10rem;
1080
+ }
1081
+
1082
+ &.button-sm {
1083
+ font-size: 80%;
1084
+ }
1085
+
1086
+ &.button-xs {
1087
+ font-size: 75%;
1088
+ padding: 0.125rem 0.5rem;
1089
+ min-width: 5rem;
1090
+ }
1091
+
1092
+ &.button-block + .button {
1093
+ margin-top: 0.5rem;
1094
+ }
1095
+
1096
+ // .icon {
1097
+ // font-size: 80%;
1098
+ // }
1099
+ }
1100
+
1101
+ .button-group {
1102
+ /* margin: 1rem 0; */
1103
+ align-items: stretch;
1104
+
1105
+ &.no-rounded {
1106
+ .button {
1107
+ border-radius: 0;
1108
+ }
1109
+ }
1110
+
1111
+ .button {
1112
+ border-radius: inherit;
1113
+ align-self: stretch;
1114
+ margin: 0;
1115
+ min-width: unset;
1116
+ flex: 1 1 100%;
1117
+ }
1118
+ }
1119
+
1120
+ .button-group-vertical .button {
1121
+ border-radius: inherit;
1122
+ }
1123
+
1124
+ table {
1125
+ border-collapse: separate;
1126
+ border-spacing: 0;
1127
+ width: 100%;
1128
+ }
1129
+
1130
+ .table-container {
1131
+ $table-container: &;
1132
+ display: flex;
1133
+ flex-direction: column;
1134
+ padding: 0 0 1rem;
1135
+ gap: 1rem;
1136
+ width: 100%;
1137
+ overflow: scroll;
1138
+ scrollbar-width: medium;
1139
+
1140
+ &::-webkit-scrollbar {
1141
+ height: 0.5rem;
1142
+ }
1143
+
1144
+ &.compact {
1145
+ font-size: 90%;
1146
+
1147
+ thead,
1148
+ .table-header {
1149
+ font-weight: normal;
1150
+ }
1151
+
1152
+ tr,
1153
+ > .row {
1154
+ background-color: inherit !important;
1155
+
1156
+ & + tr,
1157
+ & + .row {
1158
+ border-top: 0.5px solid;
1159
+ }
1160
+
1161
+ td,
1162
+ th,
1163
+ [class*='col'] {
1164
+ padding: 0.25rem;
1165
+ }
1166
+ }
1167
+ }
1168
+
1169
+ .sticky {
1170
+ /* &::after {
1171
+ content: '';
1172
+ display: block;
1173
+ box-shadow: 5px 0px 10px -5px rgba(0, 0, 0, 0.5);
1174
+ width: 5%;
1175
+ top: 0;
1176
+ bottom: 0;
1177
+ right: 0;
1178
+ position: absolute;
1179
+ border-right: thin solid var(--border-color)
1180
+ } */
1181
+ }
1182
+
1183
+ .row {
1184
+ flex-wrap: nowrap;
1185
+ }
1186
+
1187
+ thead th {
1188
+ min-width: 15vw;
1189
+ }
1190
+
1191
+ thead,
1192
+ .table-header {
1193
+ position: sticky;
1194
+ /* color: hsl(var(--secondary-hs), calc(var(--secondary-l) + 10%)); */
1195
+ font-weight: bold;
1196
+ width: fit-content;
1197
+ top: 0;
1198
+ bottom: 0;
1199
+ z-index: 1;
1200
+
1201
+ &.sticky-header {
1202
+ th {
1203
+ position: sticky;
1204
+ position: -webkit-sticky;
1205
+ top: 0;
1206
+ bottom: 0;
1207
+ z-index: 2;
1208
+
1209
+ &.sticky {
1210
+ z-index: 3;
1211
+ }
1212
+ }
1213
+ }
1214
+
1215
+ // &.sticky {
1216
+ // top: 0;
1217
+ // bottom: 0;
1218
+ // z-index: 1;
1219
+ // }
1220
+ }
1221
+
1222
+ tr,
1223
+ > .row,
1224
+ .scrollable > .row {
1225
+ position: relative;
1226
+ border-radius: 0.5rem;
1227
+ margin: 0 0 0.25rem;
1228
+ width: 100%;
1229
+ // font-size: 90%;
1230
+ background-color: inherit;
1231
+ z-index: 0;
1232
+
1233
+ &:nth-child(even):not(.table-header) {
1234
+ // @include before-content;
1235
+
1236
+ // &::before {
1237
+ // background-color: var(--white);
1238
+ // opacity: 0.25;
1239
+ // z-index: 0;
1240
+ // }
1241
+ }
1242
+
1243
+ [class*='col'] {
1244
+ display: flex;
1245
+ // flex-direction: column;
1246
+ // align-items: flex-start;
1247
+ // justify-content: center;
1248
+ }
1249
+
1250
+ td,
1251
+ th,
1252
+ [class*='col'] {
1253
+ margin-bottom: 0;
1254
+ padding: 1rem;
1255
+ background-color: inherit;
1256
+ border-radius: 0;
1257
+ word-break: break-word;
1258
+ /* min-width: 12.5%; */
1259
+
1260
+ &:first-of-type {
1261
+ border-top-left-radius: inherit;
1262
+ border-bottom-left-radius: inherit;
1263
+ }
1264
+
1265
+ &:last-of-type {
1266
+ border-top-right-radius: inherit;
1267
+ border-bottom-right-radius: inherit;
1268
+ }
1269
+
1270
+ &.sticky,
1271
+ &.md-sticky {
1272
+ left: 0;
1273
+ right: 0;
1274
+ z-index: 1;
1275
+
1276
+ /* &::after {
1277
+ content: '';
1278
+ display: block;
1279
+ box-shadow: 5px 0px 10px -5px rgba(0, 0, 0, 0.5);
1280
+ width: 5%;
1281
+ top: 0;
1282
+ bottom: 0;
1283
+ right: 0;
1284
+ position: absolute;
1285
+ border-right: thin solid var(--border-color);
1286
+ } */
1287
+ }
1288
+
1289
+ &.text-truncate {
1290
+ /* max-width: 15vw; */
1291
+ }
1292
+
1293
+ p {
1294
+ margin-bottom: 0;
1295
+ }
1296
+ }
1297
+
1298
+ .table-badge {
1299
+ position: absolute;
1300
+ top: 0;
1301
+ right: 1rem;
1302
+ transform: translateY(-50%);
1303
+ }
1304
+ }
1305
+ }
1306
+
1307
+ /* Modal Backdrop - Start */
1308
+
1309
+ .modal-backdrop {
1310
+ .show {
1311
+ opacity: 0.25;
1312
+ }
1313
+ }
1314
+
1315
+ /* Modal Close Button - End */
1316
+
1317
+ /* Scrollable Container - Start */
1318
+
1319
+ .scroll-container {
1320
+ position: relative;
1321
+ display: flex;
1322
+ flex-direction: column;
1323
+ height: 100%;
1324
+ overflow: hidden;
1325
+ }
1326
+
1327
+ .scrollable {
1328
+ position: relative;
1329
+ height: 100%;
1330
+ /* flex: 1 1 auto; */
1331
+ overflow-y: scroll;
1332
+ overflow-x: hidden;
1333
+
1334
+ &.h {
1335
+ display: flex;
1336
+ flex-direction: row;
1337
+ width: 100%;
1338
+ flex-wrap: nowrap;
1339
+ justify-content: space-between;
1340
+ overflow-x: scroll;
1341
+ overflow-y: hidden;
1342
+ }
1343
+ }
1344
+
1345
+ /* Scrollable Container - End */
1346
+ .overflow-hidden {
1347
+ overflow: hidden;
1348
+ }
1349
+
1350
+ .flex-none {
1351
+ flex: unset;
1352
+ }
1353
+
1354
+ .flex-center {
1355
+ @include flex-center;
1356
+
1357
+ &:not(.h) {
1358
+ flex-direction: column;
1359
+ }
1360
+ }
1361
+
1362
+ .flex-align-center {
1363
+ display: flex;
1364
+
1365
+ &.h {
1366
+ align-items: center;
1367
+ }
1368
+
1369
+ &:not(.h) {
1370
+ flex-direction: column;
1371
+ justify-content: center;
1372
+ }
1373
+ }
1374
+
1375
+ .flex-start {
1376
+ display: flex;
1377
+ justify-content: start;
1378
+ align-items: start;
1379
+ }
1380
+
1381
+ .flex-item,
1382
+ .flex-card {
1383
+ position: relative;
1384
+ display: flex;
1385
+ flex-direction: row;
1386
+ align-items: center;
1387
+
1388
+ /* overflow: hidden; */
1389
+ &.flex-card {
1390
+ border: 1px solid var(--border-color);
1391
+ border-radius: 0.5rem;
1392
+ background-clip: border-box;
1393
+
1394
+ [class*='bg-'] {
1395
+ border: none;
1396
+ }
1397
+
1398
+ &.has-bg::before,
1399
+ .bg-svg {
1400
+ content: '';
1401
+ display: block;
1402
+ position: absolute;
1403
+ height: 100%;
1404
+ width: 100%;
1405
+ background-color: inherit;
1406
+ z-index: 0;
1407
+ }
1408
+
1409
+ .bg-svg {
1410
+ -webkit-mask-image: url('/assets/bg/flex-card-bg-icons.svg');
1411
+ mask-image: url('/assets/bg/flex-card-bg-icons.svg');
1412
+ }
1413
+ }
1414
+
1415
+ .img,
1416
+ .icon {
1417
+ position: relative;
1418
+ display: flex;
1419
+ flex-direction: column;
1420
+ align-self: stretch;
1421
+ justify-content: center;
1422
+ object-fit: cover;
1423
+ text-align: center;
1424
+ font-size: 200%;
1425
+ z-index: 1;
1426
+ }
1427
+
1428
+ .img {
1429
+ flex: 1 1 40%;
1430
+ width: 40%;
1431
+ border-radius: inherit;
1432
+ }
1433
+
1434
+ .icon {
1435
+ flex: 1 1 25%;
1436
+ width: 25%;
1437
+ /* padding-left: 0.75rem; */
1438
+ /* font-weight: bold; */
1439
+ }
1440
+
1441
+ .addon {
1442
+ align-self: stretch;
1443
+ flex: 1 1 25%;
1444
+ width: 25%;
1445
+
1446
+ > * {
1447
+ flex: 1 1 auto;
1448
+ }
1449
+ }
1450
+
1451
+ .content {
1452
+ position: relative;
1453
+ margin: 0;
1454
+ padding: 0.75rem;
1455
+ flex: 1 1 100%;
1456
+ width: 100%;
1457
+ z-index: 1;
1458
+ }
1459
+
1460
+ .img img {
1461
+ width: 100%;
1462
+ height: 100%;
1463
+ object-fit: cover;
1464
+ }
1465
+ }
1466
+
1467
+ .text-spaced {
1468
+ letter-spacing: 0.25rem;
1469
+
1470
+ &.s-1 {
1471
+ letter-spacing: 0.5rem;
1472
+ }
1473
+ }
1474
+
1475
+ .title-strick,
1476
+ .text-strick-line {
1477
+ display: flex;
1478
+ align-items: center;
1479
+ justify-content: center;
1480
+
1481
+ & .label,
1482
+ &::content {
1483
+ width: 100%;
1484
+ }
1485
+
1486
+ &::before,
1487
+ &::after {
1488
+ content: '';
1489
+ display: inline-block;
1490
+ margin: 0 0.5rem;
1491
+ width: 100%;
1492
+ height: 1px;
1493
+ max-width: 10rem;
1494
+ background-color: currentColor;
1495
+ }
1496
+ }
1497
+
1498
+ .card {
1499
+ @include before-content;
1500
+
1501
+ &:not(.flat) {
1502
+ /* overflow: unset; */
1503
+ border: none;
1504
+ z-index: 0;
1505
+
1506
+ & > * {
1507
+ /* position: relative; */
1508
+ }
1509
+
1510
+ &::before {
1511
+ box-shadow: var(--card-shadow);
1512
+ }
1513
+ }
1514
+
1515
+ & + .card {
1516
+ margin-top: 1rem;
1517
+ }
1518
+
1519
+ &:not(.card-body) > {
1520
+ :first-child[class*='card-'] {
1521
+ border-top-left-radius: inherit;
1522
+ border-top-right-radius: inherit;
1523
+ }
1524
+
1525
+ :last-child[class*='card-'] {
1526
+ border-bottom-left-radius: inherit;
1527
+ border-bottom-right-radius: inherit;
1528
+ }
1529
+ }
1530
+
1531
+ .card-title {
1532
+ margin: 1rem 0 0.75rem;
1533
+ }
1534
+
1535
+ .card-header,
1536
+ .card-footer {
1537
+ background-color: transparent;
1538
+ border: none;
1539
+ padding: 1rem 1.5rem;
1540
+ }
1541
+
1542
+ .card-body,
1543
+ &.card-body {
1544
+ padding: 1.5rem;
1545
+ /* z-index: 1; */
1546
+ }
1547
+
1548
+ .card-body {
1549
+ padding: 0 1.5rem;
1550
+
1551
+ .card-img {
1552
+ margin: 0 -1.5rem;
1553
+ width: unset;
1554
+ }
1555
+ }
1556
+
1557
+ .card-img {
1558
+ max-height: 15rem;
1559
+ object-fit: cover;
1560
+ overflow: overlay;
1561
+ min-width: 100%;
1562
+ }
1563
+
1564
+ .card-header,
1565
+ .card-footer {
1566
+ display: flex;
1567
+ align-items: center;
1568
+ justify-content: space-between;
1569
+ }
1570
+ }
1571
+
1572
+ .flex-list,
1573
+ .item-list {
1574
+ margin: 1.5rem 0;
1575
+ list-style: none;
1576
+ display: flex;
1577
+
1578
+ &:not(.has-connector) {
1579
+ gap: 0.5rem;
1580
+ }
1581
+
1582
+ &.h .item {
1583
+ flex-direction: column;
1584
+ }
1585
+
1586
+ &.has-connector {
1587
+ .item {
1588
+ margin: 0;
1589
+ width: 100%;
1590
+
1591
+ &:not(:first-child) :is(.connector, li::marker)::before,
1592
+ &:not(:last-child) :is(.connector, li::marker)::after {
1593
+ content: '';
1594
+ }
1595
+
1596
+ .connector,
1597
+ li::marker {
1598
+ display: flex;
1599
+ flex-direction: column;
1600
+
1601
+ &::before,
1602
+ &::after {
1603
+ margin: 0 auto;
1604
+ width: 1px;
1605
+ height: 100%;
1606
+ background-color: currentColor;
1607
+ display: block;
1608
+ }
1609
+ }
1610
+ }
1611
+
1612
+ &.align-top {
1613
+ .item .connector {
1614
+ justify-content: flex-start;
1615
+
1616
+ &::before {
1617
+ content: unset;
1618
+ }
1619
+ }
1620
+ }
1621
+ }
1622
+
1623
+ &:not(.h) {
1624
+ flex-direction: column;
1625
+
1626
+ .item + .item {
1627
+ border-top: 1px solid var(--border-color);
1628
+ }
1629
+ }
1630
+
1631
+ .item {
1632
+ display: flex;
1633
+ /* align-items: center; */
1634
+ /* justify-content: space-between; */
1635
+ gap: 0.25rem;
1636
+ padding: 0 1rem;
1637
+ cursor: pointer;
1638
+
1639
+ // > {
1640
+ // .label {
1641
+ // width: 100%;
1642
+ // }
1643
+
1644
+ // .value {
1645
+ // font-weight: bold;
1646
+ // width: 100%;
1647
+ // }
1648
+ // }
1649
+
1650
+ .icon {
1651
+ font-weight: bold;
1652
+ /* margin-right: 1.25rem; */
1653
+ transition: margin-right 0.125s linear;
1654
+ }
1655
+
1656
+ .content {
1657
+ & + .content {
1658
+ margin-top: 0.5rem;
1659
+ }
1660
+ }
1661
+
1662
+ &:hover .icon {
1663
+ /* margin-right: 1.5rem; */
1664
+ }
1665
+ }
1666
+ }
1667
+
1668
+ .link-list {
1669
+ margin: 0;
1670
+ /* padding: 0.5rem; */
1671
+ list-style: none;
1672
+ font-size: 110%;
1673
+
1674
+ .item {
1675
+ display: flex;
1676
+ align-items: center;
1677
+ padding: 0.5rem 0.75rem;
1678
+ border-radius: 0.25rem;
1679
+ width: 100%;
1680
+ border: 1px solid var(--border-color);
1681
+ color: var(--primary);
1682
+ background-color: transparent;
1683
+ cursor: pointer;
1684
+
1685
+ & ~ .item {
1686
+ margin-top: 1rem;
1687
+ }
1688
+ }
1689
+ }
1690
+
1691
+ .list .item + .item {
1692
+ padding-top: 1rem;
1693
+ border-top: 1px solid var(--border-color);
1694
+ }
1695
+
1696
+ .stacked {
1697
+ // DEFAULT: .forward
1698
+ position: relative;
1699
+ @include flex-center;
1700
+
1701
+ &.h {
1702
+ .item + .item {
1703
+ margin-left: -25%;
1704
+ }
1705
+ }
1706
+
1707
+ &:not(.h) {
1708
+ flex-direction: column;
1709
+
1710
+ .item + .item {
1711
+ margin-top: -25%;
1712
+ }
1713
+ }
1714
+
1715
+ &.backwards {
1716
+ &:not(.h) {
1717
+ flex-direction: column-reverse;
1718
+ }
1719
+
1720
+ flex-direction: row-reverse;
1721
+ }
1722
+
1723
+ .item {
1724
+ position: relative;
1725
+ z-index: 1;
1726
+ }
1727
+ }
1728
+
1729
+ .modal-content {
1730
+ .modal-header {
1731
+ justify-content: flex-start;
1732
+ border-bottom: 2px solid var(--primary);
1733
+
1734
+ &:hover .close {
1735
+ opacity: 1;
1736
+ }
1737
+
1738
+ .close {
1739
+ margin: 0;
1740
+ display: inline-flex;
1741
+ align-items: center;
1742
+ justify-content: center;
1743
+ border-radius: 50%;
1744
+ display: inline-flex;
1745
+ width: 1.5rem;
1746
+ height: 1.5rem;
1747
+ font-size: 200%;
1748
+ padding: 0;
1749
+ min-width: unset;
1750
+ position: absolute;
1751
+ top: 0.5rem;
1752
+ right: 0.5rem;
1753
+ opacity: 0.125;
1754
+ transition: color 0.25s, opacity 0.25s;
1755
+
1756
+ &:hover {
1757
+ color: var(--danger);
1758
+ }
1759
+
1760
+ &::after,
1761
+ &::before {
1762
+ content: '';
1763
+ height: 0.125rem;
1764
+ width: 75%;
1765
+ display: block;
1766
+ background-color: currentColor;
1767
+ position: absolute;
1768
+ top: 50%;
1769
+ left: 50%;
1770
+ transform-origin: center;
1771
+ transform: translate(-50%, -50%);
1772
+ transition: transform 0.2s ease-out;
1773
+ }
1774
+
1775
+ &:hover::after {
1776
+ transform: translate(-50%, -50%) rotate(45deg);
1777
+ }
1778
+
1779
+ &:hover::before {
1780
+ transform: translate(-50%, -50%) rotate(-45deg);
1781
+ }
1782
+ }
1783
+ }
1784
+
1785
+ .modal-body {
1786
+ padding: 1rem 2rem;
1787
+ }
1788
+
1789
+ .modal-footer {
1790
+ border-top: none;
1791
+ padding: 1rem 2rem 2rem;
1792
+ justify-content: space-between;
1793
+ }
1794
+ }
1795
+
1796
+ .accordion-tab {
1797
+ display: flex;
1798
+ cursor: pointer;
1799
+ width: 100%;
1800
+
1801
+ & ~ .accordion-tab {
1802
+ margin-top: 1rem;
1803
+ }
1804
+
1805
+ .icon {
1806
+ align-self: flex-start;
1807
+ }
1808
+ }
1809
+
1810
+ img {
1811
+ max-width: 100%;
1812
+ }
1813
+
1814
+ .img-fullwidth {
1815
+ margin: 0 -1.25rem;
1816
+ width: 100vw;
1817
+ min-width: 100vw;
1818
+ height: 12.5rem;
1819
+ object-fit: cover;
1820
+ }
1821
+
1822
+ .img-circle {
1823
+ width: 100%;
1824
+ border-radius: 50%;
1825
+ width: 4rem;
1826
+ height: 4rem;
1827
+ display: flex;
1828
+ overflow: hidden;
1829
+
1830
+ img {
1831
+ width: 100%;
1832
+ height: 100%;
1833
+ object-fit: cover;
1834
+ border-radius: inherit;
1835
+ }
1836
+ }
1837
+
1838
+ .img-bg {
1839
+ @include absolute-content;
1840
+ object-fit: cover;
1841
+ }
1842
+
1843
+ .has-bg {
1844
+ @include after-content;
1845
+
1846
+ & > .img-bg {
1847
+ z-index: 0;
1848
+ position: absolute;
1849
+ }
1850
+
1851
+ &::after {
1852
+ background-color: hsla(var(--black-hs), var(--black-l), 0.5);
1853
+ }
1854
+ }
1855
+
1856
+ .rounded-inherit {
1857
+ border-radius: inherit;
1858
+ }
1859
+
1860
+ .sticky {
1861
+ position: sticky;
1862
+ position: -webkit-sticky;
1863
+ }
1864
+
1865
+ [class*='position-'] {
1866
+ &.left {
1867
+ left: 0;
1868
+ }
1869
+
1870
+ &.right {
1871
+ right: 0;
1872
+ }
1873
+
1874
+ &.top {
1875
+ top: 0;
1876
+ }
1877
+
1878
+ &.bottom {
1879
+ bottom: 0;
1880
+ }
1881
+
1882
+ &.all,
1883
+ &.spread {
1884
+ left: 0;
1885
+ right: 0;
1886
+ top: 0;
1887
+ bottom: 0;
1888
+ }
1889
+ }
1890
+
1891
+ [class*='float-'] {
1892
+ z-index: 1;
1893
+ }
1894
+
1895
+ .section,
1896
+ section {
1897
+ position: relative;
1898
+ min-height: 100vh;
1899
+ padding: 1.25rem;
1900
+ }
1901
+
1902
+ @media (min-width: 576px) {
1903
+ .md-sticky {
1904
+ position: sticky;
1905
+ }
1906
+ }
1907
+
1908
+ /* ABOVE <-- Tablets/Mini PC */
1909
+ @media (min-width: 768px) {
1910
+ .item-list {
1911
+ .item > .value {
1912
+ margin-left: 1rem;
1913
+ text-align: right;
1914
+ }
1915
+ }
1916
+
1917
+ .table-container {
1918
+ // font-size: 90%;
1919
+
1920
+ .row .table-header {
1921
+ display: none;
1922
+ }
1923
+ }
1924
+ }
1925
+
1926
+ /* Tables/Mini PC <---> BELOW */
1927
+ @media (max-width: 767.98px) {
1928
+ .page-header,
1929
+ .section-header {
1930
+ padding: 0;
1931
+ flex-wrap: wrap;
1932
+
1933
+ input[type='search'] {
1934
+ width: 100%;
1935
+ }
1936
+
1937
+ .tabs {
1938
+ justify-content: space-between;
1939
+ }
1940
+ }
1941
+
1942
+ .flex-container {
1943
+ /* flex-direction: column; */
1944
+ width: 100%;
1945
+
1946
+ .button {
1947
+ width: 100%;
1948
+ }
1949
+ }
1950
+
1951
+ .tabs {
1952
+ padding: 1.25rem 0.125rem;
1953
+
1954
+ &.overlap {
1955
+ padding: 0;
1956
+ }
1957
+ }
1958
+
1959
+ .table-container {
1960
+ &:not(.is-sticky) .row.table-header {
1961
+ display: none;
1962
+ }
1963
+
1964
+ &.is-sticky {
1965
+ .row {
1966
+ .table-header {
1967
+ display: none;
1968
+ }
1969
+
1970
+ [class*='col'] {
1971
+ margin: 0;
1972
+ }
1973
+ }
1974
+ }
1975
+
1976
+ > .row,
1977
+ .scrollable > .row {
1978
+ .table-header {
1979
+ margin-right: 1rem;
1980
+ }
1981
+
1982
+ [class*='col'] {
1983
+ flex-direction: row;
1984
+ // flex-wrap: nowrap;
1985
+ justify-content: flex-start;
1986
+ margin: 0.5rem 0;
1987
+ }
1988
+ }
1989
+ }
1990
+ }
1991
+
1992
+ /* Mobile <---> BELOW */
1993
+ @media (max-width: 575.98px) {
1994
+ .card {
1995
+ width: 100%;
1996
+ }
1997
+
1998
+ .item-list {
1999
+ &:not(.has-connector) {
2000
+ gap: 1rem;
2001
+ }
2002
+
2003
+ .item {
2004
+ flex-direction: column;
2005
+ gap: 0.5rem;
2006
+ }
2007
+ }
2008
+
2009
+ .table-container {
2010
+ td {
2011
+ min-width: fit-content;
2012
+ max-width: 75%;
2013
+ }
2014
+ }
2015
+ }