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