@clayui/css 3.160.0 → 3.161.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 (75) hide show
  1. package/lib/css/atlas.css +1581 -1581
  2. package/lib/css/atlas.css.map +1 -1
  3. package/lib/css/base.css +1283 -1283
  4. package/lib/css/base.css.map +1 -1
  5. package/lib/css/cadmin.css +7 -7
  6. package/lib/css/cadmin.css.map +1 -1
  7. package/lib/images/icons/books-brush.svg +9 -0
  8. package/lib/images/icons/icons.svg +1 -1
  9. package/package.json +1 -1
  10. package/src/images/icons/books-brush.svg +9 -0
  11. package/src/images/icons/icons.svg +1 -1
  12. package/src/scss/_license-text.scss +1 -1
  13. package/src/scss/atlas/_variables.scss +6 -4
  14. package/src/scss/atlas/variables/_globals.scss +10 -10
  15. package/src/scss/atlas-custom-properties/_variables.scss +68 -0
  16. package/src/scss/atlas-custom-properties/variables/_alerts.scss +1212 -0
  17. package/src/scss/atlas-custom-properties/variables/_application-bar.scss +62 -0
  18. package/src/scss/atlas-custom-properties/variables/_aspect-ratio.scss +28 -0
  19. package/src/scss/atlas-custom-properties/variables/_badges.scss +352 -0
  20. package/src/scss/atlas-custom-properties/variables/_breadcrumbs.scss +205 -0
  21. package/src/scss/atlas-custom-properties/variables/_buttons.scss +1498 -0
  22. package/src/scss/atlas-custom-properties/variables/_c-root.scss +353 -0
  23. package/src/scss/atlas-custom-properties/variables/_cards.scss +1217 -0
  24. package/src/scss/atlas-custom-properties/variables/_clay-color.scss +647 -0
  25. package/src/scss/atlas-custom-properties/variables/_custom-forms.scss +1127 -0
  26. package/src/scss/atlas-custom-properties/variables/_date-picker.scss +701 -0
  27. package/src/scss/atlas-custom-properties/variables/_drilldown.scss +252 -0
  28. package/src/scss/atlas-custom-properties/variables/_dropdowns.scss +1250 -0
  29. package/src/scss/atlas-custom-properties/variables/_dual-listbox.scss +75 -0
  30. package/src/scss/atlas-custom-properties/variables/_empty-state.scss +104 -0
  31. package/src/scss/atlas-custom-properties/variables/_forms.scss +2342 -0
  32. package/src/scss/atlas-custom-properties/variables/_globals-z-index.scss +50 -0
  33. package/src/scss/atlas-custom-properties/variables/_globals.scss +846 -0
  34. package/src/scss/atlas-custom-properties/variables/_icons.scss +73 -0
  35. package/src/scss/atlas-custom-properties/variables/_images.scss +14 -0
  36. package/src/scss/atlas-custom-properties/variables/_labels.scss +1485 -0
  37. package/src/scss/atlas-custom-properties/variables/_links.scss +482 -0
  38. package/src/scss/atlas-custom-properties/variables/_list-group.scss +493 -0
  39. package/src/scss/atlas-custom-properties/variables/_loaders.scss +243 -0
  40. package/src/scss/atlas-custom-properties/variables/_management-bar.scss +153 -0
  41. package/src/scss/atlas-custom-properties/variables/_menubar.scss +836 -0
  42. package/src/scss/atlas-custom-properties/variables/_modals.scss +650 -0
  43. package/src/scss/atlas-custom-properties/variables/_multi-step-nav.scss +324 -0
  44. package/src/scss/atlas-custom-properties/variables/_navbar.scss +200 -0
  45. package/src/scss/atlas-custom-properties/variables/_navigation-bar.scss +473 -0
  46. package/src/scss/atlas-custom-properties/variables/_navs.scss +547 -0
  47. package/src/scss/atlas-custom-properties/variables/_pagination.scss +1101 -0
  48. package/src/scss/atlas-custom-properties/variables/_panels.scss +567 -0
  49. package/src/scss/atlas-custom-properties/variables/_popovers.scss +565 -0
  50. package/src/scss/atlas-custom-properties/variables/_progress-bars.scss +142 -0
  51. package/src/scss/atlas-custom-properties/variables/_quick-action.scss +27 -0
  52. package/src/scss/atlas-custom-properties/variables/_range.scss +267 -0
  53. package/src/scss/atlas-custom-properties/variables/_reorder.scss +91 -0
  54. package/src/scss/atlas-custom-properties/variables/_resizer.scss +26 -0
  55. package/src/scss/atlas-custom-properties/variables/_sheets.scss +301 -0
  56. package/src/scss/atlas-custom-properties/variables/_side-navigation.scss +4 -0
  57. package/src/scss/atlas-custom-properties/variables/_sidebar.scss +579 -0
  58. package/src/scss/atlas-custom-properties/variables/_slideout.scss +379 -0
  59. package/src/scss/atlas-custom-properties/variables/_stickers.scss +578 -0
  60. package/src/scss/atlas-custom-properties/variables/_tables.scss +1277 -0
  61. package/src/scss/atlas-custom-properties/variables/_tbar.scss +636 -0
  62. package/src/scss/atlas-custom-properties/variables/_time.scss +142 -0
  63. package/src/scss/atlas-custom-properties/variables/_timelines.scss +43 -0
  64. package/src/scss/atlas-custom-properties/variables/_toggle-switch.scss +706 -0
  65. package/src/scss/atlas-custom-properties/variables/_tooltip.scss +332 -0
  66. package/src/scss/atlas-custom-properties/variables/_treeview.scss +369 -0
  67. package/src/scss/atlas-custom-properties/variables/_type.scss +194 -0
  68. package/src/scss/atlas-custom-properties/variables/_utilities.scss +1016 -0
  69. package/src/scss/atlas-variables.scss +2 -0
  70. package/src/scss/atlas.scss +2 -0
  71. package/src/scss/base-variables.scss +2 -0
  72. package/src/scss/base.scss +2 -0
  73. package/src/scss/functions/_global-functions.scss +6 -4
  74. package/src/scss/functions/_lx-icons-generated.scss +2 -0
  75. package/src/scss/variables/_globals.scss +8 -8
@@ -0,0 +1,1277 @@
1
+ @if ($enable-atlas-custom-properties) {
2
+ // <table> element
3
+
4
+ $c-table-base: ();
5
+ $c-table-base: map-merge(
6
+ (
7
+ border-collapse: collapse,
8
+ ),
9
+ $c-table-base
10
+ );
11
+
12
+ // <th> element
13
+
14
+ $c-th-base: ();
15
+ $c-th-base: map-merge(
16
+ (
17
+ height: 20px,
18
+ text-align: left,
19
+ ),
20
+ $c-th-base
21
+ );
22
+
23
+ // Table Responsive
24
+
25
+ $table-responsive-margin-bottom: var(
26
+ --table-responsive-margin-bottom,
27
+ 1.5rem
28
+ );
29
+
30
+ // Table
31
+
32
+ $table-bg: var(--table-background-color, $white);
33
+ $table-border-color: var(--table-border-color, $gray-300);
34
+ $table-border-width: var(--table-border-width, $border-width);
35
+ $table-color: var(--table-color, $body-color);
36
+ $table-font-size: var(--table-font-size, 14px);
37
+ $table-margin-bottom: var(--table-margin-bottom, 0px);
38
+
39
+ // .table-hover
40
+
41
+ $table-hover-bg: var(--table-hover-background-color, $primary-l3);
42
+ $table-hover-color: var(--table-hover-color, $table-color);
43
+
44
+ $table-active-bg: var(--table-active-background-color, $table-hover-bg);
45
+
46
+ $table-disabled-bg: var(--table-disabled-background-color, $white);
47
+ $table-disabled-color: var(--table-disabled-color, $gray-500);
48
+ $table-disabled-cursor: $disabled-cursor;
49
+ $table-disabled-pointer-events: none;
50
+
51
+ // Table Striped
52
+
53
+ $table-accent-bg: var(--table-accent-background-color, $light-l1);
54
+
55
+ $table-striped-order: odd;
56
+
57
+ // Table Cell applies to `th` and `td`
58
+
59
+ $table-cell-gutters: var(--table-cell-gutters, 20px);
60
+ $table-cell-padding: var(--table-cell-padding, 8px 16px);
61
+
62
+ $table-cell-padding-sm: var(--table-cell-padding-sm, 4px 16px);
63
+
64
+ $table-cell-padding-lg: var(--table-cell-padding-lg, 17px);
65
+
66
+ $table-cell-expand-min-width: 12.5rem; // 200px
67
+
68
+ $table-cell-expand-small-max-width: 12.5rem; // 200px
69
+ $table-cell-expand-small-width: 25%;
70
+
71
+ $table-cell-expand-smaller-max-width: 12.5rem; // 200px
72
+ $table-cell-expand-smaller-width: 15%;
73
+
74
+ $table-cell-expand-smallest-max-width: 12.5rem; // 200px
75
+ $table-cell-expand-smallest-width: 10%;
76
+
77
+ // TH
78
+
79
+ $table-head-bg: var(--table-head-background-color, $white);
80
+ $table-head-border-bottom-width: var(--table-head-border-bottom-width, 0px);
81
+ $table-head-border-top-width: var(--table-head-border-top-width, 0);
82
+ $table-head-color: var(--table-head-color, $gray-600);
83
+ $table-head-font-size: var(--table-head-font-size, inherit);
84
+ $table-head-font-weight: var(
85
+ --table-head-font-weight,
86
+ $font-weight-semi-bold
87
+ );
88
+ $table-head-height: var(--table-head-height, 56px);
89
+
90
+ $c-table-thead: ();
91
+
92
+ $table-head-link: ();
93
+ $table-head-link: map-deep-merge(
94
+ (
95
+ border-radius: 1px,
96
+ color: var(--table-head-link-color, $gray-600),
97
+ transition: box-shadow 0.15s ease-in-out,
98
+
99
+ hover: (
100
+ color: var(--table-head-link-hover-color, $gray-900),
101
+ ),
102
+
103
+ focus: (
104
+ box-shadow: $component-focus-box-shadow,
105
+ outline: 0,
106
+ ),
107
+ ),
108
+ $table-head-link
109
+ );
110
+
111
+ $table-head-title-inline-item-spacer-x: 0.25rem; // 4px
112
+ $table-head-title-text-truncate-max-width: calc(
113
+ 100% - 1em - #{$table-head-title-inline-item-spacer-x}
114
+ );
115
+
116
+ // Table Body
117
+
118
+ $c-table-tbody: ();
119
+
120
+ // TD
121
+
122
+ $table-data-border-bottom-width: $table-border-width;
123
+ $table-data-border-left-width: 0px;
124
+ $table-data-border-right-width: 0px;
125
+ $table-data-border-top-width: $table-border-width;
126
+
127
+ $table-data-border-color: $table-border-color;
128
+ $table-data-border-style: solid;
129
+ $table-data-vertical-align: middle;
130
+
131
+ // Table Divider
132
+
133
+ $table-divider-bg: var(--table-divider-background-color, $gray-200);
134
+ $table-divider-color: var(--table-divider-color, $gray-600);
135
+ $table-divider-font-size: var(--table-divider-font-size, 12px);
136
+ $table-divider-font-weight: var(
137
+ --table-divider-font-weight,
138
+ $font-weight-semi-bold
139
+ );
140
+ $table-divider-padding: var(
141
+ --table-divider-padding,
142
+ 8px 16px 8px $table-cell-gutters
143
+ );
144
+ $table-divider-text-transform: var(
145
+ --table-divider-text-transform,
146
+ uppercase
147
+ );
148
+
149
+ $table-quick-action-menu-align-items: flex-start;
150
+ $table-quick-action-menu-bg: if(
151
+ $table-bg == transparent,
152
+ $body-bg,
153
+ $table-bg
154
+ );
155
+
156
+ $table-quick-action-menu-accent-bg: $table-accent-bg;
157
+ $table-quick-action-menu-accent-active-bg: $table-hover-bg;
158
+
159
+ $table-quick-action-menu-hover-bg: $table-hover-bg;
160
+
161
+ $table-quick-action-menu-active-bg: $table-active-bg;
162
+
163
+ $table-cell-expand-smaller-max-width: 12.5rem; // 200px
164
+ $table-cell-expand-smaller-width: 15%;
165
+
166
+ $table-cell-expand-smallest-max-width: 12.5rem; // 200px
167
+ $table-cell-expand-smallest-width: 10%;
168
+
169
+ // Table Footer
170
+
171
+ $c-table-tfoot: ();
172
+
173
+ // Table Caption
174
+
175
+ $table-caption-color: var(--table-caption-color, $gray-900);
176
+
177
+ $c-table-caption: ();
178
+ $c-table-caption: map-merge(
179
+ (
180
+ caption-side: top,
181
+ padding: $table-cell-padding,
182
+
183
+ padding-bottom: 0rem,
184
+ padding-top: 0rem,
185
+ ),
186
+ $c-table-caption
187
+ );
188
+
189
+ // Table Img
190
+
191
+ $table-img-max-height: 100px;
192
+
193
+ // Table Title
194
+
195
+ $table-title: ();
196
+ $table-title: map-deep-merge(
197
+ (
198
+ color: var(--table-title-color, $gray-900),
199
+ font-size: var(--table-title-font-size, 14px),
200
+ font-weight: var(--table-title-font-weight, $font-weight-semi-bold),
201
+ line-height: var(--table-title-line-height, $line-height-base),
202
+ margin-bottom: var(--table-title-margin-bottom, 0),
203
+ ),
204
+ $table-title
205
+ );
206
+
207
+ $table-title-link: ();
208
+ $table-title-link: map-deep-merge(
209
+ (
210
+ border-radius: 1px,
211
+ color: var(--table-title-link-color, $gray-900),
212
+ display: inline-block,
213
+ max-width: 100%,
214
+ transition: box-shadow 0.15s ease-in-out,
215
+
216
+ hover: (
217
+ color: var(--table-title-link-hover-color, $gray-900),
218
+ ),
219
+
220
+ focus: (
221
+ box-shadow: $component-focus-box-shadow,
222
+ outline: 0,
223
+ ),
224
+ ),
225
+ $table-title-link
226
+ );
227
+
228
+ $table-title: map-deep-merge(
229
+ $table-title,
230
+ (
231
+ href: $table-title-link,
232
+ )
233
+ );
234
+
235
+ // Table Link
236
+
237
+ $table-link: ();
238
+ $table-link: map-deep-merge(
239
+ (
240
+ border-radius: 1px,
241
+ color: var(--table-link-color, $gray-900),
242
+ display: inline-block,
243
+ max-width: 100%,
244
+ transition: box-shadow 0.15s ease-in-out,
245
+
246
+ hover: (
247
+ color: $gray-900,
248
+ ),
249
+
250
+ focus: (
251
+ box-shadow: $component-focus-box-shadow,
252
+ outline: 0,
253
+ ),
254
+ ),
255
+ $table-link
256
+ );
257
+
258
+ // Table Action Link
259
+
260
+ $table-action-link: ();
261
+ $table-action-link: map-deep-merge(
262
+ (
263
+ align-items: center,
264
+ border-radius:
265
+ if(
266
+ variable-exists(btn-border-radius),
267
+ $btn-border-radius,
268
+ $border-radius
269
+ ),
270
+ color: var(--table-action-link-color, $gray-600),
271
+ display: inline-flex,
272
+ font-size: var(--table-action-link-font-size, 16px),
273
+ height: var(--table-action-link-height, 32px),
274
+ justify-content: center,
275
+ transition: $component-transition,
276
+ vertical-align: middle,
277
+ width: var(--table-action-link-width, 32px),
278
+ hover: (
279
+ background-color:
280
+ var(
281
+ --table-action-link-hover-background-color,
282
+ unquote('hsl(from #{$black} h s l / 0.02)')
283
+ ),
284
+ color: var(--table-action-link-hover-color, $gray-900),
285
+ text-decoration: none,
286
+ ),
287
+
288
+ focus: (
289
+ background-color:
290
+ var(
291
+ --table-action-link-focus-background-color,
292
+ unquote('hsl(from #{$black} h s l / 0.02)')
293
+ ),
294
+ color: var(--table-action-link-focus-color, $gray-900),
295
+ box-shadow: $component-focus-box-shadow,
296
+ outline: 0,
297
+ ),
298
+
299
+ active: (
300
+ background-color:
301
+ var(
302
+ --table-action-link-active-background-color,
303
+ unquote('hsl(from #{$black} h s l / 0.04)')
304
+ ),
305
+ ),
306
+
307
+ lexicon-icon: (
308
+ margin-top: 0rem,
309
+ ),
310
+ ),
311
+ $table-action-link
312
+ );
313
+
314
+ // .table
315
+
316
+ $c-table: ();
317
+ $c-table: map-deep-merge(
318
+ (
319
+ background-color: $table-bg,
320
+ border-spacing: 0rem,
321
+ color: $table-color,
322
+ font-size: $table-font-size,
323
+ margin-bottom: $table-margin-bottom,
324
+ width: 100%,
325
+
326
+ thead:
327
+ map-deep-merge(
328
+ $c-table-thead,
329
+ (
330
+ background-color: $table-head-bg,
331
+
332
+ table-cell: (
333
+ border-bottom:
334
+ $table-head-border-bottom-width
335
+ solid
336
+ $table-border-color,
337
+ border-top-width: $table-head-border-top-width,
338
+ vertical-align: middle,
339
+ ),
340
+
341
+ th: (
342
+ href: $table-head-link,
343
+ ),
344
+
345
+ autofit-col: (
346
+ padding-left: 0.125rem,
347
+ padding-right: 0.125rem,
348
+
349
+ first-child: (
350
+ padding-left: 0rem,
351
+ ),
352
+
353
+ last-child: (
354
+ padding-right: 0rem,
355
+ ),
356
+ ),
357
+ )
358
+ ),
359
+ table-column-start: (
360
+ padding-left: $table-cell-gutters,
361
+ ),
362
+
363
+ th: (
364
+ background-clip: padding-box,
365
+ border-top: $table-border-width solid $table-border-color,
366
+ color: $table-head-color,
367
+ font-size: $table-head-font-size,
368
+ font-weight: $table-head-font-weight,
369
+ height: var(--table-head-height, 56px),
370
+ padding: $table-cell-padding,
371
+ position: relative,
372
+ vertical-align: top,
373
+ ),
374
+
375
+ td: (
376
+ background-clip: padding-box,
377
+ border-bottom-width: $table-data-border-bottom-width,
378
+ border-color: $table-data-border-color,
379
+ border-left-width: $table-data-border-left-width,
380
+ border-right-width: $table-data-border-right-width,
381
+ border-style: $table-data-border-style,
382
+ border-top-width: $table-data-border-top-width,
383
+ height: var(--table-data-height, 56px),
384
+ padding: $table-cell-padding,
385
+ position: relative,
386
+ vertical-align: $table-data-vertical-align,
387
+ ),
388
+
389
+ tbody:
390
+ map-deep-merge(
391
+ $c-table-tbody,
392
+ (
393
+ tbody: (
394
+ border-top:
395
+ calc(2 * #{$table-border-width})
396
+ solid
397
+ $table-border-color,
398
+ ),
399
+ )
400
+ ),
401
+ tfoot: $c-table-tfoot,
402
+
403
+ caption: $c-table-caption,
404
+
405
+ table-divider: (
406
+ table-cell: (
407
+ background-color: $table-divider-bg,
408
+ color: $table-divider-color,
409
+ font-size: $table-divider-font-size,
410
+ font-weight: $table-divider-font-weight,
411
+ height: var(--table-divider-height, 34px),
412
+ line-height: var(--table-divider-line-height, 17px),
413
+ padding: $table-divider-padding,
414
+ text-transform: $table-divider-text-transform,
415
+ ),
416
+ ),
417
+
418
+ table-active: (
419
+ background-color: $table-active-bg,
420
+
421
+ quick-action-menu: (
422
+ background-color: $table-quick-action-menu-active-bg,
423
+ ),
424
+ ),
425
+
426
+ table-disabled: (
427
+ background-color: $table-disabled-bg,
428
+ color: $table-disabled-color,
429
+
430
+ table-cell: (
431
+ cursor: $table-disabled-cursor,
432
+
433
+ href: (
434
+ color: $table-disabled-color,
435
+ pointer-events: $table-disabled-pointer-events,
436
+ ),
437
+ ),
438
+
439
+ table-title: (
440
+ color: $table-disabled-color,
441
+ ),
442
+
443
+ table-list-title: (
444
+ color: $table-disabled-color,
445
+ ),
446
+ ),
447
+
448
+ table-sort: (
449
+ color: $gray-900,
450
+ ),
451
+
452
+ autofit-col: (
453
+ justify-content: center,
454
+ padding: $table-cell-padding,
455
+
456
+ padding-bottom: 0rem,
457
+ padding-top: 0rem,
458
+
459
+ first-child: (
460
+ padding-left: 0rem,
461
+ ),
462
+
463
+ last-child: (
464
+ padding-right: 0rem,
465
+ ),
466
+ ),
467
+
468
+ component-drag: (
469
+ font-size: 0.875rem,
470
+ height: 1rem,
471
+ width: 1rem,
472
+
473
+ focus: (
474
+ box-shadow: $component-focus-inset-box-shadow,
475
+ ),
476
+ ),
477
+
478
+ custom-control: (
479
+ margin-bottom: 0rem,
480
+ ),
481
+
482
+ quick-action-menu: (
483
+ align-items: $table-quick-action-menu-align-items,
484
+ background-color: $table-quick-action-menu-bg,
485
+ padding: $table-cell-padding,
486
+
487
+ padding-left: 0rem,
488
+ padding-right: 0rem,
489
+ ),
490
+ ),
491
+ $c-table
492
+ );
493
+
494
+ // .table-hover
495
+
496
+ $c-table-hover: ();
497
+ $c-table-hover: map-deep-merge(
498
+ (
499
+ tbody: (
500
+ tr: (
501
+ hover: (
502
+ background-color: $table-hover-bg,
503
+ color: $table-hover-color,
504
+
505
+ quick-action-menu: (
506
+ background-color: $table-quick-action-menu-hover-bg,
507
+ ),
508
+ ),
509
+ ),
510
+ ),
511
+
512
+ table-active: (
513
+ hover: (
514
+ quick-action-menu: (
515
+ background-color: $table-quick-action-menu-active-bg,
516
+ ),
517
+ ),
518
+ ),
519
+
520
+ table-disabled: (
521
+ hover: (
522
+ background-color: $table-disabled-bg,
523
+ ),
524
+ ),
525
+ ),
526
+ $c-table-hover
527
+ );
528
+
529
+ // .table-focus
530
+
531
+ $c-tr-table-focus: ();
532
+ $c-tr-table-focus: map-deep-merge(
533
+ (
534
+ outline: 0,
535
+
536
+ td: (
537
+ outline: 0,
538
+
539
+ before: (
540
+ box-shadow: (
541
+ inset 0 2px 0 0 $primary-l0,
542
+ inset 0 4px 0 0 $white,
543
+ inset 0 -2px 0 0 $primary-l0,
544
+ inset 0 -4px 0 0 $white,
545
+ ),
546
+ content: '',
547
+ display: block,
548
+ position: absolute,
549
+ left: calc(#{$table-border-width} * -1),
550
+ right: calc(#{$table-border-width} * -1),
551
+ top: calc(#{$table-border-width} * -1),
552
+ bottom: calc(#{$table-border-width} * -1),
553
+ pointer-events: none,
554
+ z-index: 1,
555
+ ),
556
+
557
+ first-child: (
558
+ after: (
559
+ box-shadow: (
560
+ inset 2px 0 0 0 $primary-l0,
561
+ inset 4px 0 0 0 $white,
562
+ ),
563
+ content: '',
564
+ display: block,
565
+ position: absolute,
566
+ pointer-events: none,
567
+ top: $table-border-width,
568
+ bottom: $table-border-width,
569
+ left: calc(#{$table-border-width} * -1),
570
+ z-index: 1,
571
+ width: 0.25rem,
572
+ ),
573
+ ),
574
+
575
+ last-child: (
576
+ after: (
577
+ box-shadow: (
578
+ inset -2px 0 0 0 $primary-l0,
579
+ inset -4px 0 0 0 $white,
580
+ ),
581
+ content: '',
582
+ display: block,
583
+ position: absolute,
584
+ pointer-events: none,
585
+ top: $table-border-width,
586
+ bottom: $table-border-width,
587
+ right: calc(#{$table-border-width} * -1),
588
+ z-index: 1,
589
+ width: 0.25rem,
590
+ ),
591
+ ),
592
+ ),
593
+ ),
594
+ $c-tr-table-focus
595
+ );
596
+
597
+ $c-td-table-focus: ();
598
+ $c-td-table-focus: map-deep-merge(
599
+ (
600
+ box-shadow: clay-enable-shadows($component-focus-inset-box-shadow),
601
+ outline: 0,
602
+ ),
603
+ $c-td-table-focus
604
+ );
605
+
606
+ // .table-head-bordered
607
+
608
+ $c-table-head-bordered: ();
609
+ $c-table-head-bordered: map-deep-merge(
610
+ (
611
+ thead: (
612
+ table-cell: (
613
+ border-left: $table-border-width solid $table-border-color,
614
+
615
+ table-column-start: (
616
+ border-left-width: 0rem,
617
+ ),
618
+ ),
619
+ ),
620
+ ),
621
+ $c-table-head-bordered
622
+ );
623
+
624
+ // .table-bordered
625
+
626
+ $table-bordered-border-width: $table-border-width;
627
+
628
+ $c-table-bordered: ();
629
+ $c-table-bordered: map-deep-merge(
630
+ (
631
+ border: $table-border-width solid $table-border-color,
632
+
633
+ thead: (
634
+ table-cell: (
635
+ border-bottom-width: calc(2 * #{$table-border-width}),
636
+ ),
637
+ ),
638
+
639
+ table-cell: (
640
+ border: $table-border-width solid $table-border-color,
641
+ ),
642
+ ),
643
+ $c-table-bordered
644
+ );
645
+
646
+ // .table-sm
647
+
648
+ $c-table-sm: ();
649
+ $c-table-sm: map-deep-merge(
650
+ (
651
+ table-cell: (
652
+ height: var(--table-sm-cell-height, 32px),
653
+ padding: var(--table-sm-cell-padding, $table-cell-padding-sm),
654
+ ),
655
+ ),
656
+ $c-table-sm
657
+ );
658
+
659
+ // .table-md
660
+
661
+ $c-table-md: ();
662
+ $c-table-md: map-deep-merge(
663
+ (
664
+ table-cell: (
665
+ height: var(--table-md-cell-height, 48px),
666
+ padding: var(--table-md-cell-padding, 6px 16px),
667
+ ),
668
+ ),
669
+ $c-table-md
670
+ );
671
+
672
+ // .table-lg
673
+
674
+ $c-table-lg: ();
675
+ $c-table-lg: map-deep-merge(
676
+ (
677
+ table-cell: (
678
+ padding: var(--table-lg-cell-padding, $table-cell-padding-lg),
679
+ ),
680
+ ),
681
+ $c-table-lg
682
+ );
683
+
684
+ // .table-nested-rows
685
+
686
+ $c-table-nested-rows: ();
687
+ $c-table-nested-rows: map-deep-merge(
688
+ (
689
+ autofit-col: (
690
+ padding-left: 0.125rem,
691
+ padding-right: 0.125rem,
692
+ min-width: 1.75rem,
693
+ ),
694
+
695
+ autofit-col-checkbox: (
696
+ padding-right: 0.625rem,
697
+ ),
698
+
699
+ autofit-col-icon: (
700
+ padding-right: 0.625rem,
701
+ ),
702
+
703
+ component-drag: (
704
+ left: 2px,
705
+ position: absolute,
706
+ top: 50%,
707
+ transform: translateY(-50%),
708
+ ),
709
+
710
+ component-toggle: (
711
+ font-size: 0.875rem,
712
+ height: 1.5rem,
713
+ width: 1.5rem,
714
+ ),
715
+ ),
716
+ $c-table-nested-rows
717
+ );
718
+
719
+ // .table-sort
720
+
721
+ $c-table-sort: ();
722
+ $c-table-sort: map-deep-merge(
723
+ (
724
+ thead: (
725
+ table-cell: (
726
+ cursor: pointer,
727
+ transition: clay-enable-transitions($component-transition),
728
+ hover: (
729
+ background-color: $primary-l3,
730
+ color: $gray-900,
731
+ ),
732
+
733
+ component-action: (
734
+ font-size: 0.75rem,
735
+ height: 1.5rem,
736
+ width: 1.5rem,
737
+ ),
738
+ ),
739
+ ),
740
+ ),
741
+ $c-table-sort
742
+ );
743
+
744
+ // Table Dark Variant
745
+
746
+ $table-dark-bg: var(--table-dark-background-color, $gray-800);
747
+ $table-dark-border-color: var(
748
+ --table-dark-border-color,
749
+ unquote('hsl(from #{$table-dark-bg} h s l / 0.075)')
750
+ );
751
+ $table-dark-color: $white;
752
+
753
+ $table-dark-hover-bg: var(
754
+ --table-dark-hover-background-color,
755
+ unquote('hsl(from #{$white} h s l / 0.075)')
756
+ );
757
+ $table-dark-hover-color: var(--table-dark-hover-color, $table-dark-color);
758
+
759
+ $table-dark-accent-bg: unquote('hsl(from #{$white} h s l / 0.05)');
760
+
761
+ // @deprecated as of v3.x with no replacement, this color modifier is too specific to support a variety of colors
762
+
763
+ $table-bg-level: -9;
764
+
765
+ // @deprecated as of v3.x with no replacement, this color modifier is too specific to support a variety of colors
766
+
767
+ $table-border-level: -6;
768
+
769
+ // Table List
770
+
771
+ $table-list-bg: var(--table-list-background-color, $white);
772
+ $table-list-border-color: var(--table-list-border-color, $gray-300);
773
+ $table-list-border-radius: var(--table-list-border-radius, $border-radius);
774
+
775
+ $table-list-border-x-width: var(--table-list-border-x-width, 1px);
776
+ $table-list-border-y-width: var(--table-list-border-y-width, 1px);
777
+
778
+ $table-list-border-width: var(
779
+ --table-list-border-width,
780
+ $table-list-border-y-width $table-list-border-x-width
781
+ );
782
+ $table-list-color: var(--table-list-color, $body-color);
783
+ $table-list-font-size: var(--table-list-font-size, inherit);
784
+ $table-list-margin-bottom: var(
785
+ --table-list-margin-bottom,
786
+ $table-list-border-y-width
787
+ );
788
+ $table-list-margin-top: var(--table-list-margin-top, 0px);
789
+
790
+ // .table-list.table-striped
791
+
792
+ $table-list-accent-bg: var(--table-list-accent-background-color, $gray-100);
793
+
794
+ // .table-list.table-hover tbody tr:hover
795
+
796
+ $table-list-hover-bg: var(
797
+ --table-list-hover-background-color,
798
+ $table-hover-bg
799
+ );
800
+
801
+ // .table-list.table-active
802
+
803
+ $table-list-active-bg: var(
804
+ --table-list-active-background-color,
805
+ $table-list-hover-bg
806
+ );
807
+
808
+ // .table-list .table-disabled
809
+
810
+ $table-list-disabled-bg: var(
811
+ --table-list-disabled-background-color,
812
+ $white
813
+ );
814
+ $table-list-disabled-color: var(--table-list-disabled-color, $gray-500);
815
+ $table-list-disabled-cursor: $disabled-cursor;
816
+ $table-list-disabled-pointer-events: none;
817
+
818
+ // .table-list {thead,tbody,tfoot} {th,td}
819
+
820
+ $c-table-list-cell: ();
821
+ $c-table-list-cell: map-merge(
822
+ (
823
+ border-color: $table-list-border-color,
824
+ border-style: solid,
825
+ border-width: $table-list-border-y-width 0px 0px 0px,
826
+ ),
827
+ $c-table-list-cell
828
+ );
829
+
830
+ // .table-list thead {th,td}
831
+
832
+ $table-list-head-bg: var(--table-list-head-background-color, $white);
833
+ $table-list-head-font-size: var(--table-list-head-font-size, inherit);
834
+ $table-list-head-font-weight: var(
835
+ --table-list-head-font-weight,
836
+ $font-weight-semi-bold
837
+ );
838
+ $table-list-head-height: var(--table-list-head-height, 56px);
839
+ $table-list-head-vertical-alignment: var(
840
+ --table-list-head-vertical-alignment,
841
+ middle
842
+ );
843
+
844
+ // .table-list thead th a
845
+
846
+ $table-list-head-link: ();
847
+
848
+ // Table List Thead
849
+
850
+ $c-table-list-thead: ();
851
+ $c-table-list-thead: map-merge(
852
+ (
853
+ background-color: $table-list-head-bg,
854
+ border-top-left-radius:
855
+ clay-border-radius-inner(
856
+ $table-list-border-radius,
857
+ $table-list-border-y-width
858
+ ),
859
+ border-top-right-radius:
860
+ clay-border-radius-inner(
861
+ $table-list-border-radius,
862
+ $table-list-border-y-width
863
+ ),
864
+ ),
865
+ $c-table-list-thead
866
+ );
867
+
868
+ // Table List Tbody
869
+
870
+ $c-table-list-tbody: ();
871
+ $c-table-list-tbody: map-merge(
872
+ (
873
+ background-color: var(--table-list-tbody-background-color, $white),
874
+ border-bottom-left-radius:
875
+ clay-border-radius-inner(
876
+ $table-list-border-radius,
877
+ $table-list-border-y-width
878
+ ),
879
+ border-bottom-right-radius:
880
+ clay-border-radius-inner(
881
+ $table-list-border-radius,
882
+ $table-list-border-y-width
883
+ ),
884
+ ),
885
+ $c-table-list-tbody
886
+ );
887
+
888
+ // Table List Tfoot
889
+
890
+ $c-table-list-tfoot: ();
891
+ $c-table-list-tfoot: map-merge(
892
+ (
893
+ background-color: var(--table-list-tfoot-background-color, $white),
894
+ ),
895
+ $c-table-list-tfoot
896
+ );
897
+
898
+ // .table.table-list.table-bordered th, .table.table-list.table-bordered td
899
+
900
+ $c-table-list-bordered-cell: ();
901
+ $c-table-list-bordered-cell: map-merge(
902
+ (
903
+ border-left-width: $table-list-border-x-width,
904
+ ),
905
+ $c-table-list-bordered-cell
906
+ );
907
+
908
+ // .table-list caption
909
+
910
+ $c-table-list-caption: ();
911
+
912
+ // .table-list .table-divider
913
+
914
+ $table-list-divider-padding-x: var(--table-list-divider-padding-x, 16px);
915
+ $table-list-divider-padding-y: var(--table-list-divider-padding-y, 8px);
916
+
917
+ // .table-list .quick-action-menu
918
+
919
+ $table-list-quick-action-menu-align-items: center;
920
+ $table-list-quick-action-menu-bg: $table-list-bg;
921
+
922
+ $table-list-quick-action-menu-accent-bg: $table-list-accent-bg;
923
+
924
+ $table-list-quick-action-menu-accent-active-bg: $table-list-active-bg;
925
+
926
+ $table-list-quick-action-menu-hover-bg: $table-list-hover-bg;
927
+
928
+ $table-list-quick-action-menu-active-bg: $table-list-active-bg;
929
+
930
+ // Table List Title
931
+
932
+ $table-list-title: ();
933
+ $table-list-title: map-deep-merge(
934
+ (
935
+ color: var(--table-list-title-color, $gray-900),
936
+ font-size: var(--table-list-title-font-size, 14px),
937
+ font-weight:
938
+ var(--table-list-title-font-weight, $font-weight-semi-bold),
939
+ line-height: var(--table-list-title-line-height, 1.45),
940
+ margin-bottom: var(--table-list-title-margin-bottom, 0),
941
+ ),
942
+ $table-list-title
943
+ );
944
+
945
+ $table-list-title-link: ();
946
+ $table-list-title-link: map-deep-merge(
947
+ (
948
+ border-radius: 1px,
949
+ color: var(--table-list-title-link-color, $gray-900),
950
+ display: inline-block,
951
+ max-width: 100%,
952
+ transition: box-shadow 0.15s ease-in-out,
953
+
954
+ hover: (
955
+ color: var(--table-list-title-link-hover-color, $gray-900),
956
+ ),
957
+
958
+ focus: (
959
+ box-shadow: $component-focus-box-shadow,
960
+ outline: 0,
961
+ ),
962
+ ),
963
+ $table-list-title-link
964
+ );
965
+
966
+ $table-list-title: map-deep-merge(
967
+ $table-list-title,
968
+ (
969
+ href: $table-list-title-link,
970
+ )
971
+ );
972
+
973
+ // Table List Link
974
+
975
+ $table-list-link: ();
976
+ $table-list-link: map-deep-merge(
977
+ (
978
+ border-radius: 1px,
979
+ color: var(--table-list-link-color, $gray-900),
980
+ display: inline-block,
981
+ max-width: 100%,
982
+ transition: box-shadow 0.15s ease-in-out,
983
+
984
+ hover: (
985
+ color: var(--table-list-link-hover-color, $gray-900),
986
+ ),
987
+
988
+ focus: (
989
+ box-shadow: $component-focus-box-shadow,
990
+ outline: 0,
991
+ ),
992
+ ),
993
+ $table-list-link
994
+ );
995
+
996
+ // Table List Action Link
997
+
998
+ $table-list-action-link: ();
999
+ $table-list-action-link: map-deep-merge(
1000
+ (
1001
+ align-items: center,
1002
+ color: var(--table-list-action-link-color, $gray-600),
1003
+ display: inline-flex,
1004
+ font-size: var(--table-list-action-link-font-size, 16px),
1005
+ height: var(--table-list-action-link-height, 32px),
1006
+ justify-content: center,
1007
+ transition: $component-transition,
1008
+ vertical-align: middle,
1009
+ width: var(--table-list-action-link-width, 32px),
1010
+ hover: (
1011
+ background-color:
1012
+ var(
1013
+ --table-list-action-link-background-color,
1014
+ rgba(0, 0, 0, 0.02)
1015
+ ),
1016
+ color: var(--table-list-action-link-hover-color, $gray-900),
1017
+ text-decoration: none,
1018
+ ),
1019
+
1020
+ focus: (
1021
+ background-color:
1022
+ var(
1023
+ --table-list-action-link-focus-background-color,
1024
+ rgba(0, 0, 0, 0.02)
1025
+ ),
1026
+ box-shadow: $component-focus-box-shadow,
1027
+ color: var(--table-list-action-link-focus-color, $gray-900),
1028
+ outline: 0,
1029
+ ),
1030
+
1031
+ active: (
1032
+ background-color:
1033
+ var(
1034
+ --table-list-action-link-active-background-color,
1035
+ rgba(0, 0, 0, 0.04)
1036
+ ),
1037
+ ),
1038
+
1039
+ lexicon-icon: (
1040
+ margin-top: 0rem,
1041
+ ),
1042
+ ),
1043
+ $table-list-action-link
1044
+ );
1045
+
1046
+ // .table-list
1047
+
1048
+ $c-table-list: ();
1049
+ $c-table-list: map-merge(
1050
+ (
1051
+ border-collapse: separate,
1052
+ border-color: $table-list-border-color,
1053
+ border-radius: clay-enable-rounded($table-list-border-radius),
1054
+ border-style: solid,
1055
+ border-width: $table-list-border-y-width $table-list-border-x-width,
1056
+ color: $table-list-color,
1057
+ font-size: $table-list-font-size,
1058
+ margin-bottom: $table-list-margin-bottom,
1059
+ margin-top: $table-list-margin-top,
1060
+
1061
+ thead:
1062
+ map-deep-merge(
1063
+ $c-table-list-thead,
1064
+ (
1065
+ background-color: $table-list-head-bg,
1066
+
1067
+ table-cell: (
1068
+ border-bottom-width: 0rem,
1069
+ font-size: $table-list-head-font-size,
1070
+ font-weight: $table-list-head-font-weight,
1071
+ height: $table-list-head-height,
1072
+ vertical-align: $table-list-head-vertical-alignment,
1073
+
1074
+ href: $table-list-head-link,
1075
+ ),
1076
+ )
1077
+ ),
1078
+ table-cell: $c-table-list-cell,
1079
+
1080
+ tbody:
1081
+ map-deep-merge(
1082
+ $c-table-list-tbody,
1083
+ (
1084
+ table-cell: (
1085
+ vertical-align: middle,
1086
+ ),
1087
+ )
1088
+ ),
1089
+ tfoot:
1090
+ map-deep-merge(
1091
+ $c-table-list-tfoot,
1092
+ (
1093
+ table-cell: (
1094
+ vertical-align: middle,
1095
+ ),
1096
+ )
1097
+ ),
1098
+ caption: $c-table-list-caption,
1099
+
1100
+ table-divider: (
1101
+ table-cell: (
1102
+ padding-bottom: $table-list-divider-padding-y,
1103
+ padding-left: $table-cell-gutters,
1104
+ padding-right: $table-list-divider-padding-x,
1105
+ padding-top: $table-list-divider-padding-y,
1106
+ ),
1107
+ ),
1108
+
1109
+ table-active: (
1110
+ background-color: $table-list-active-bg,
1111
+
1112
+ quick-action-menu: (
1113
+ background-color: $table-list-quick-action-menu-active-bg,
1114
+ ),
1115
+ ),
1116
+
1117
+ table-disabled: (
1118
+ background-color: $table-list-disabled-bg,
1119
+ color: $table-list-disabled-color,
1120
+
1121
+ table-cell: (
1122
+ href: (
1123
+ color: $table-list-disabled-color,
1124
+ pointer-events: $table-list-disabled-pointer-events,
1125
+ ),
1126
+ ),
1127
+
1128
+ table-title: (
1129
+ color: $table-list-disabled-color,
1130
+ ),
1131
+
1132
+ table-list-title: (
1133
+ color: $table-list-disabled-color,
1134
+ ),
1135
+ ),
1136
+
1137
+ table-row-start: (
1138
+ table-cell: (
1139
+ border-top-width: 0rem,
1140
+ ),
1141
+
1142
+ table-cell-start: (
1143
+ border-top-left-radius:
1144
+ clay-enable-rounded(
1145
+ clay-border-radius-inner(
1146
+ $table-list-border-radius,
1147
+ $table-list-border-y-width
1148
+ )
1149
+ ),
1150
+ ),
1151
+
1152
+ table-cell-end: (
1153
+ border-top-right-radius:
1154
+ clay-enable-rounded(
1155
+ clay-border-radius-inner(
1156
+ $table-list-border-radius,
1157
+ $table-list-border-y-width
1158
+ )
1159
+ ),
1160
+ ),
1161
+ ),
1162
+
1163
+ table-row-end: (
1164
+ table-cell-start: (
1165
+ border-bottom-left-radius:
1166
+ clay-enable-rounded(
1167
+ clay-border-radius-inner(
1168
+ $table-list-border-radius,
1169
+ $table-list-border-y-width
1170
+ )
1171
+ ),
1172
+ ),
1173
+
1174
+ table-cell-end: (
1175
+ border-bottom-right-radius:
1176
+ clay-enable-rounded(
1177
+ clay-border-radius-inner(
1178
+ $table-list-border-radius,
1179
+ $table-list-border-y-width
1180
+ )
1181
+ ),
1182
+ ),
1183
+ ),
1184
+
1185
+ quick-action-menu: (
1186
+ align-items: $table-list-quick-action-menu-align-items,
1187
+ background-color: $table-list-quick-action-menu-bg,
1188
+ bottom: 0rem,
1189
+ top: 0rem,
1190
+ ),
1191
+ ),
1192
+ $c-table-list
1193
+ );
1194
+
1195
+ // .table-list.table-hover
1196
+
1197
+ $c-table-list-table-hover: ();
1198
+ $c-table-list-table-hover: map-deep-merge(
1199
+ (
1200
+ tbody: (
1201
+ tr: (
1202
+ hover: (
1203
+ background-color: $table-list-hover-bg,
1204
+
1205
+ quick-action-menu: (
1206
+ background-color:
1207
+ $table-list-quick-action-menu-hover-bg,
1208
+ ),
1209
+ ),
1210
+ ),
1211
+ ),
1212
+
1213
+ table-active: (
1214
+ hover: (
1215
+ background-color: $table-list-active-bg,
1216
+
1217
+ quick-action-menu: (
1218
+ background-color:
1219
+ $table-list-quick-action-menu-hover-bg,
1220
+ ),
1221
+ ),
1222
+ ),
1223
+
1224
+ table-disabled: (
1225
+ background-color: $table-list-disabled-bg,
1226
+
1227
+ hover: (
1228
+ background-color: $table-list-disabled-bg,
1229
+ ),
1230
+ ),
1231
+ ),
1232
+ $c-table-list-table-hover
1233
+ );
1234
+
1235
+ // .table.table-list.table-bordered
1236
+
1237
+ $c-table-list-table-bordered: ();
1238
+ $c-table-list-table-bordered: map-deep-merge(
1239
+ (
1240
+ thead: (
1241
+ table-cell: (
1242
+ border-bottom-width: 0rem,
1243
+ ),
1244
+ ),
1245
+
1246
+ table-cell: $c-table-list-bordered-cell,
1247
+
1248
+ table-column-start: (
1249
+ border-left-width: 0rem,
1250
+ ),
1251
+ ),
1252
+ $c-table-list-table-bordered
1253
+ );
1254
+
1255
+ // Table Valign
1256
+
1257
+ $table-valign-top-body-cell-padding-top: 1rem;
1258
+
1259
+ $table-valign-bottom-body-cell-padding-bottom: 1rem;
1260
+
1261
+ // Table Row Backgrounds
1262
+
1263
+ $table-row-theme-colors: ();
1264
+ $table-row-theme-colors: map-deep-merge(
1265
+ (
1266
+ 'primary': (),
1267
+ 'secondary': (),
1268
+ 'success': (),
1269
+ 'info': (),
1270
+ 'warning': (),
1271
+ 'danger': (),
1272
+ 'light': (),
1273
+ 'dark': (),
1274
+ ),
1275
+ $table-row-theme-colors
1276
+ );
1277
+ }