@clayui/css 3.161.0 → 3.163.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 (97) hide show
  1. package/lib/css/atlas.css +136 -6
  2. package/lib/css/atlas.css.map +1 -1
  3. package/lib/css/base.css +134 -5
  4. package/lib/css/base.css.map +1 -1
  5. package/lib/css/cadmin.css +74 -7
  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/icons.svg +1 -1
  12. package/package.json +1 -1
  13. package/src/images/icons/arrow-key-down.svg +9 -0
  14. package/src/images/icons/arrow-key-left.svg +9 -0
  15. package/src/images/icons/arrow-key-right.svg +9 -0
  16. package/src/images/icons/arrow-key-up.svg +9 -0
  17. package/src/images/icons/icons.svg +1 -1
  18. package/src/scss/_components.scss +2 -0
  19. package/src/scss/_license-text.scss +1 -1
  20. package/src/scss/atlas/variables/_forms.scss +3 -1
  21. package/src/scss/atlas/variables/_reorder.scss +1 -1
  22. package/src/scss/atlas-custom-properties/_variables.scss +0 -2
  23. package/src/scss/atlas-custom-properties/variables/_alerts.scss +928 -935
  24. package/src/scss/atlas-custom-properties/variables/_application-bar.scss +54 -56
  25. package/src/scss/atlas-custom-properties/variables/_aspect-ratio.scss +25 -27
  26. package/src/scss/atlas-custom-properties/variables/_badges.scss +298 -309
  27. package/src/scss/atlas-custom-properties/variables/_breadcrumbs.scss +175 -187
  28. package/src/scss/atlas-custom-properties/variables/_buttons.scss +1164 -1220
  29. package/src/scss/atlas-custom-properties/variables/_c-root.scss +343 -353
  30. package/src/scss/atlas-custom-properties/variables/_cards.scss +1009 -1014
  31. package/src/scss/atlas-custom-properties/variables/_clay-color.scss +560 -590
  32. package/src/scss/atlas-custom-properties/variables/_custom-forms.scss +766 -797
  33. package/src/scss/atlas-custom-properties/variables/_date-picker.scss +532 -614
  34. package/src/scss/atlas-custom-properties/variables/_drilldown.scss +244 -252
  35. package/src/scss/atlas-custom-properties/variables/_dropdowns.scss +1052 -1073
  36. package/src/scss/atlas-custom-properties/variables/_dual-listbox.scss +65 -68
  37. package/src/scss/atlas-custom-properties/variables/_empty-state.scss +90 -92
  38. package/src/scss/atlas-custom-properties/variables/_forms.scss +1918 -1955
  39. package/src/scss/atlas-custom-properties/variables/_globals-z-index.scss +27 -29
  40. package/src/scss/atlas-custom-properties/variables/_globals.scss +799 -801
  41. package/src/scss/atlas-custom-properties/variables/_icons.scss +71 -73
  42. package/src/scss/atlas-custom-properties/variables/_images.scss +8 -13
  43. package/src/scss/atlas-custom-properties/variables/_labels.scss +1091 -1202
  44. package/src/scss/atlas-custom-properties/variables/_links.scss +394 -410
  45. package/src/scss/atlas-custom-properties/variables/_list-group.scss +455 -460
  46. package/src/scss/atlas-custom-properties/variables/_loaders.scss +187 -204
  47. package/src/scss/atlas-custom-properties/variables/_management-bar.scss +135 -137
  48. package/src/scss/atlas-custom-properties/variables/_menubar.scss +605 -663
  49. package/src/scss/atlas-custom-properties/variables/_modals.scss +582 -587
  50. package/src/scss/atlas-custom-properties/variables/_multi-step-nav.scss +342 -312
  51. package/src/scss/atlas-custom-properties/variables/_navbar.scss +170 -172
  52. package/src/scss/atlas-custom-properties/variables/_navigation-bar.scss +337 -361
  53. package/src/scss/atlas-custom-properties/variables/_navs.scss +501 -495
  54. package/src/scss/atlas-custom-properties/variables/_pagination.scss +851 -888
  55. package/src/scss/atlas-custom-properties/variables/_panels.scss +467 -480
  56. package/src/scss/atlas-custom-properties/variables/_popovers.scss +483 -515
  57. package/src/scss/atlas-custom-properties/variables/_progress-bars.scss +146 -139
  58. package/src/scss/atlas-custom-properties/variables/_quick-action.scss +24 -23
  59. package/src/scss/atlas-custom-properties/variables/_range.scss +215 -220
  60. package/src/scss/atlas-custom-properties/variables/_reorder.scss +82 -82
  61. package/src/scss/atlas-custom-properties/variables/_resizer.scss +27 -16
  62. package/src/scss/atlas-custom-properties/variables/_sheets.scss +275 -275
  63. package/src/scss/atlas-custom-properties/variables/_side-navigation.scss +2 -4
  64. package/src/scss/atlas-custom-properties/variables/_sidebar.scss +413 -445
  65. package/src/scss/atlas-custom-properties/variables/_slideout.scss +300 -310
  66. package/src/scss/atlas-custom-properties/variables/_stickers.scss +551 -553
  67. package/src/scss/atlas-custom-properties/variables/_tables.scss +1094 -1079
  68. package/src/scss/atlas-custom-properties/variables/_tbar.scss +491 -557
  69. package/src/scss/atlas-custom-properties/variables/_time.scss +121 -130
  70. package/src/scss/atlas-custom-properties/variables/_timelines.scss +50 -43
  71. package/src/scss/atlas-custom-properties/variables/_toggle-switch.scss +562 -566
  72. package/src/scss/atlas-custom-properties/variables/_tooltip.scss +295 -306
  73. package/src/scss/atlas-custom-properties/variables/_treeview.scss +276 -278
  74. package/src/scss/atlas-custom-properties/variables/_type.scss +186 -185
  75. package/src/scss/atlas-custom-properties/variables/_utilities.scss +705 -788
  76. package/src/scss/atlas-variables.scss +0 -2
  77. package/src/scss/atlas.scss +0 -2
  78. package/src/scss/base-variables.scss +0 -2
  79. package/src/scss/base.scss +0 -2
  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/_lx-icons-generated.scss +8 -0
  95. package/src/scss/variables/_breadcrumbs.scss +4 -2
  96. package/src/scss/variables/_forms.scss +2 -0
  97. package/src/scss/variables/_resizer.scss +16 -3
@@ -1,1277 +1,1292 @@
1
- @if ($enable-atlas-custom-properties) {
2
- // <table> element
1
+ // <table> element
3
2
 
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
3
+ $c-table-base: () !default;
4
+ $c-table-base: map-merge(
5
+ (
6
+ border-collapse: collapse,
7
+ ),
8
+ $c-table-base
9
+ );
13
10
 
14
- $c-th-base: ();
15
- $c-th-base: map-merge(
16
- (
17
- height: 20px,
18
- text-align: left,
19
- ),
20
- $c-th-base
21
- );
11
+ // <th> element
22
12
 
23
- // Table Responsive
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
+ );
24
21
 
25
- $table-responsive-margin-bottom: var(
26
- --table-responsive-margin-bottom,
27
- 1.5rem
28
- );
22
+ // Table Responsive
29
23
 
30
- // Table
24
+ $table-responsive-margin-bottom: var(
25
+ --table-responsive-margin-bottom,
26
+ 1.5rem
27
+ ) !default;
31
28
 
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);
29
+ // Table
38
30
 
39
- // .table-hover
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;
40
37
 
41
- $table-hover-bg: var(--table-hover-background-color, $primary-l3);
42
- $table-hover-color: var(--table-hover-color, $table-color);
38
+ // .table-hover
43
39
 
44
- $table-active-bg: var(--table-active-background-color, $table-hover-bg);
40
+ $table-hover-bg: var(--table-hover-background-color, $primary-l3) !default;
41
+ $table-hover-color: var(--table-hover-color, $table-color) !default;
45
42
 
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;
43
+ $table-active-bg: var(
44
+ --table-active-background-color,
45
+ $table-hover-bg
46
+ ) !default;
50
47
 
51
- // Table Striped
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
52
 
53
- $table-accent-bg: var(--table-accent-background-color, $light-l1);
53
+ // Table Striped
54
54
 
55
- $table-striped-order: odd;
55
+ $table-accent-bg: var(--table-accent-background-color, $light-l1) !default;
56
56
 
57
- // Table Cell applies to `th` and `td`
57
+ $table-striped-order: odd !default;
58
58
 
59
- $table-cell-gutters: var(--table-cell-gutters, 20px);
60
- $table-cell-padding: var(--table-cell-padding, 8px 16px);
59
+ // Table Cell applies to `th` and `td`
61
60
 
62
- $table-cell-padding-sm: var(--table-cell-padding-sm, 4px 16px);
61
+ $table-cell-gutters: var(--table-cell-gutters, 20px) !default;
62
+ $table-cell-padding: var(--table-cell-padding, 8px 16px) !default;
63
63
 
64
- $table-cell-padding-lg: var(--table-cell-padding-lg, 17px);
64
+ $table-cell-padding-sm: var(--table-cell-padding-sm, 4px 16px) !default;
65
65
 
66
- $table-cell-expand-min-width: 12.5rem; // 200px
66
+ $table-cell-padding-lg: var(--table-cell-padding-lg, 17px) !default;
67
67
 
68
- $table-cell-expand-small-max-width: 12.5rem; // 200px
69
- $table-cell-expand-small-width: 25%;
68
+ $table-cell-expand-min-width: 12.5rem !default; // 200px
70
69
 
71
- $table-cell-expand-smaller-max-width: 12.5rem; // 200px
72
- $table-cell-expand-smaller-width: 15%;
70
+ $table-cell-expand-small-max-width: 12.5rem !default; // 200px
71
+ $table-cell-expand-small-width: 25% !default;
73
72
 
74
- $table-cell-expand-smallest-max-width: 12.5rem; // 200px
75
- $table-cell-expand-smallest-width: 10%;
73
+ $table-cell-expand-smaller-max-width: 12.5rem !default; // 200px
74
+ $table-cell-expand-smaller-width: 15% !default;
76
75
 
77
- // TH
76
+ $table-cell-expand-smallest-max-width: 12.5rem !default; // 200px
77
+ $table-cell-expand-smallest-width: 10% !default;
78
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);
79
+ // TH
89
80
 
90
- $c-table-thead: ();
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;
91
94
 
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,
95
+ $c-table-thead: () !default;
98
96
 
99
- hover: (
100
- color: var(--table-head-link-hover-color, $gray-900),
101
- ),
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,
102
103
 
103
- focus: (
104
- box-shadow: $component-focus-box-shadow,
105
- outline: 0,
106
- ),
104
+ hover: (
105
+ color: var(--table-head-link-hover-color, $gray-900),
107
106
  ),
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
107
 
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,
108
+ focus: (
109
+ box-shadow: $component-focus-box-shadow,
110
+ outline: 0,
185
111
  ),
186
- $c-table-caption
187
- );
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,
188
220
 
189
- // Table Img
190
-
191
- $table-img-max-height: 100px;
192
-
193
- // Table Title
221
+ hover: (
222
+ color: var(--table-title-link-hover-color, $gray-900),
223
+ ),
194
224
 
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),
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,
203
253
  ),
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
254
 
216
- hover: (
217
- color: var(--table-title-link-hover-color, $gray-900),
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
218
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
+ ),
219
292
 
220
- focus: (
221
- box-shadow: $component-focus-box-shadow,
222
- outline: 0,
223
- ),
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,
224
302
  ),
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
303
 
246
- hover: (
247
- color: $gray-900,
248
- ),
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
+ ),
249
311
 
250
- focus: (
251
- box-shadow: $component-focus-box-shadow,
252
- outline: 0,
253
- ),
312
+ lexicon-icon: (
313
+ margin-top: 0rem,
254
314
  ),
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)')
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,
283
342
  ),
284
- color: var(--table-action-link-hover-color, $gray-900),
285
- text-decoration: none,
286
- ),
287
343
 
288
- focus: (
289
- background-color:
290
- var(
291
- --table-action-link-focus-background-color,
292
- unquote('hsl(from #{$black} h s l / 0.02)')
344
+ th: (
345
+ href: $table-head-link,
293
346
  ),
294
- color: var(--table-action-link-focus-color, $gray-900),
295
- box-shadow: $component-focus-box-shadow,
296
- outline: 0,
297
- ),
298
347
 
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
- ),
348
+ autofit-col: (
349
+ padding-left: 0.125rem,
350
+ padding-right: 0.125rem,
306
351
 
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,
352
+ first-child: (
353
+ padding-left: 0rem,
339
354
  ),
340
355
 
341
- th: (
342
- href: $table-head-link,
356
+ last-child: (
357
+ padding-right: 0rem,
343
358
  ),
359
+ ),
360
+ )
361
+ ),
362
+ table-column-start: (
363
+ padding-left: $table-cell-gutters,
364
+ ),
344
365
 
345
- autofit-col: (
346
- padding-left: 0.125rem,
347
- padding-right: 0.125rem,
348
-
349
- first-child: (
350
- padding-left: 0rem,
351
- ),
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
+ ),
352
377
 
353
- last-child: (
354
- padding-right: 0rem,
355
- ),
356
- ),
357
- )
358
- ),
359
- table-column-start: (
360
- padding-left: $table-cell-gutters,
361
- ),
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
+ ),
362
391
 
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,
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
+ )
373
401
  ),
402
+ tfoot: $c-table-tfoot,
374
403
 
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
- ),
404
+ caption: $c-table-caption,
388
405
 
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
- ),
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
416
  ),
417
+ ),
417
418
 
418
- table-active: (
419
- background-color: $table-active-bg,
419
+ table-active: (
420
+ background-color: $table-active-bg,
420
421
 
421
- quick-action-menu: (
422
- background-color: $table-quick-action-menu-active-bg,
423
- ),
422
+ quick-action-menu: (
423
+ background-color: $table-quick-action-menu-active-bg,
424
424
  ),
425
+ ),
425
426
 
426
- table-disabled: (
427
- background-color: $table-disabled-bg,
428
- color: $table-disabled-color,
429
-
430
- table-cell: (
431
- cursor: $table-disabled-cursor,
427
+ table-disabled: (
428
+ background-color: $table-disabled-bg,
429
+ color: $table-disabled-color,
432
430
 
433
- href: (
434
- color: $table-disabled-color,
435
- pointer-events: $table-disabled-pointer-events,
436
- ),
437
- ),
431
+ table-cell: (
432
+ cursor: $table-disabled-cursor,
438
433
 
439
- table-title: (
434
+ href: (
440
435
  color: $table-disabled-color,
436
+ pointer-events: $table-disabled-pointer-events,
441
437
  ),
438
+ ),
442
439
 
443
- table-list-title: (
444
- color: $table-disabled-color,
445
- ),
440
+ table-title: (
441
+ color: $table-disabled-color,
446
442
  ),
447
443
 
448
- table-sort: (
449
- color: $gray-900,
444
+ table-list-title: (
445
+ color: $table-disabled-color,
450
446
  ),
447
+ ),
451
448
 
452
- autofit-col: (
453
- justify-content: center,
454
- padding: $table-cell-padding,
449
+ table-sort: (
450
+ color: $gray-900,
451
+ ),
455
452
 
456
- padding-bottom: 0rem,
457
- padding-top: 0rem,
453
+ autofit-col: (
454
+ justify-content: center,
455
+ padding: $table-cell-padding,
458
456
 
459
- first-child: (
460
- padding-left: 0rem,
461
- ),
457
+ padding-bottom: 0rem,
458
+ padding-top: 0rem,
462
459
 
463
- last-child: (
464
- padding-right: 0rem,
465
- ),
460
+ first-child: (
461
+ padding-left: 0rem,
466
462
  ),
467
463
 
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
- ),
464
+ last-child: (
465
+ padding-right: 0rem,
476
466
  ),
467
+ ),
477
468
 
478
- custom-control: (
479
- margin-bottom: 0rem,
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,
480
476
  ),
477
+ ),
481
478
 
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,
479
+ custom-control: (
480
+ margin-bottom: 0rem,
481
+ ),
486
482
 
487
- padding-left: 0rem,
488
- padding-right: 0rem,
489
- ),
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
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
- ),
491
+ ),
492
+ $c-table
493
+ );
494
+
495
+ // .table-hover
511
496
 
512
- table-active: (
497
+ $c-table-hover: () !default;
498
+ $c-table-hover: map-deep-merge(
499
+ (
500
+ tbody: (
501
+ tr: (
513
502
  hover: (
503
+ background-color: $table-hover-bg,
504
+ color: $table-hover-color,
505
+
514
506
  quick-action-menu: (
515
- background-color: $table-quick-action-menu-active-bg,
507
+ background-color: $table-quick-action-menu-hover-bg,
516
508
  ),
517
509
  ),
518
510
  ),
511
+ ),
519
512
 
520
- table-disabled: (
521
- hover: (
522
- background-color: $table-disabled-bg,
513
+ table-active: (
514
+ hover: (
515
+ quick-action-menu: (
516
+ background-color: $table-quick-action-menu-active-bg,
523
517
  ),
524
518
  ),
525
519
  ),
526
- $c-table-hover
527
- );
528
520
 
529
- // .table-focus
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,
530
536
 
531
- $c-tr-table-focus: ();
532
- $c-tr-table-focus: map-deep-merge(
533
- (
537
+ td: (
534
538
  outline: 0,
535
539
 
536
- td: (
537
- outline: 0,
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
+ ),
538
557
 
539
- before: (
558
+ first-child: (
559
+ after: (
540
560
  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,
561
+ inset 2px 0 0 0 $primary-l0,
562
+ inset 4px 0 0 0 $white,
545
563
  ),
546
564
  content: '',
547
565
  display: block,
548
566
  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
567
  pointer-events: none,
568
+ top: $table-border-width,
569
+ bottom: $table-border-width,
570
+ left: calc(#{$table-border-width} * -1),
554
571
  z-index: 1,
572
+ width: 0.25rem,
555
573
  ),
574
+ ),
556
575
 
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,
576
+ last-child: (
577
+ after: (
578
+ box-shadow: (
579
+ inset -2px 0 0 0 $primary-l0,
580
+ inset -4px 0 0 0 $white,
572
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,
573
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,
574
615
 
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
- ),
616
+ table-column-start: (
617
+ border-left-width: 0rem,
591
618
  ),
592
619
  ),
593
620
  ),
594
- $c-tr-table-focus
595
- );
621
+ ),
622
+ $c-table-head-bordered
623
+ );
596
624
 
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
- );
625
+ // .table-bordered
605
626
 
606
- // .table-head-bordered
627
+ $table-bordered-border-width: $table-border-width !default;
607
628
 
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,
629
+ $c-table-bordered: () !default;
630
+ $c-table-bordered: map-deep-merge(
631
+ (
632
+ border: $table-border-width solid $table-border-color,
614
633
 
615
- table-column-start: (
616
- border-left-width: 0rem,
617
- ),
618
- ),
634
+ thead: (
635
+ table-cell: (
636
+ border-bottom-width: calc(2 * #{$table-border-width}),
619
637
  ),
620
638
  ),
621
- $c-table-head-bordered
622
- );
623
639
 
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
- (
640
+ table-cell: (
631
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
+ );
632
672
 
633
- thead: (
634
- table-cell: (
635
- border-bottom-width: calc(2 * #{$table-border-width}),
636
- ),
637
- ),
673
+ // .table-lg
638
674
 
639
- table-cell: (
640
- border: $table-border-width solid $table-border-color,
641
- ),
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,
642
694
  ),
643
- $c-table-bordered
644
- );
645
695
 
646
- // .table-sm
696
+ autofit-col-checkbox: (
697
+ padding-right: 0.625rem,
698
+ ),
647
699
 
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
- ),
700
+ autofit-col-icon: (
701
+ padding-right: 0.625rem,
655
702
  ),
656
- $c-table-sm
657
- );
658
703
 
659
- // .table-md
704
+ component-drag: (
705
+ left: 2px,
706
+ position: absolute,
707
+ top: 50%,
708
+ transform: translateY(-50%),
709
+ ),
660
710
 
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
- ),
711
+ component-toggle: (
712
+ font-size: 0.875rem,
713
+ height: 1.5rem,
714
+ width: 1.5rem,
668
715
  ),
669
- $c-table-md
670
- );
716
+ ),
717
+ $c-table-nested-rows
718
+ );
671
719
 
672
- // .table-lg
720
+ // .table-sort
673
721
 
674
- $c-table-lg: ();
675
- $c-table-lg: map-deep-merge(
676
- (
722
+ $c-table-sort: () !default;
723
+ $c-table-sort: map-deep-merge(
724
+ (
725
+ thead: (
677
726
  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
- ),
727
+ cursor: pointer,
728
+ transition: clay-enable-transitions($component-transition),
729
+ hover: (
730
+ background-color: $primary-l3,
731
+ color: $gray-900,
732
+ ),
694
733
 
695
- autofit-col-checkbox: (
696
- padding-right: 0.625rem,
734
+ component-action: (
735
+ font-size: 0.75rem,
736
+ height: 1.5rem,
737
+ width: 1.5rem,
738
+ ),
697
739
  ),
698
-
699
- autofit-col-icon: (
700
- padding-right: 0.625rem,
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
701
871
  ),
702
-
703
- component-drag: (
704
- left: 2px,
705
- position: absolute,
706
- top: 50%,
707
- transform: translateY(-50%),
872
+ border-top-right-radius:
873
+ clay-border-radius-inner(
874
+ $table-list-border-radius,
875
+ $table-list-border-y-width
708
876
  ),
709
-
710
- component-toggle: (
711
- font-size: 0.875rem,
712
- height: 1.5rem,
713
- width: 1.5rem,
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
714
891
  ),
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
- ),
892
+ border-bottom-right-radius:
893
+ clay-border-radius-inner(
894
+ $table-list-border-radius,
895
+ $table-list-border-y-width
739
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),
740
974
  ),
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
975
 
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
- ),
976
+ focus: (
977
+ box-shadow: $component-focus-box-shadow,
978
+ outline: 0,
864
979
  ),
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
- ),
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),
884
1004
  ),
885
- $c-table-list-tbody
886
- );
887
-
888
- // Table List Tfoot
889
1005
 
890
- $c-table-list-tfoot: ();
891
- $c-table-list-tfoot: map-merge(
892
- (
893
- background-color: var(--table-list-tfoot-background-color, $white),
1006
+ focus: (
1007
+ box-shadow: $component-focus-box-shadow,
1008
+ outline: 0,
894
1009
  ),
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,
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,
904
1036
  ),
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
1037
 
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),
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,
941
1047
  ),
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
1048
 
958
- focus: (
959
- box-shadow: $component-focus-box-shadow,
960
- outline: 0,
961
- ),
1049
+ active: (
1050
+ background-color:
1051
+ var(
1052
+ --table-list-action-link-active-background-color,
1053
+ rgba(0, 0, 0, 0.04)
1054
+ ),
962
1055
  ),
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
1056
 
988
- focus: (
989
- box-shadow: $component-focus-box-shadow,
990
- outline: 0,
991
- ),
1057
+ lexicon-icon: (
1058
+ margin-top: 0rem,
992
1059
  ),
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)
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,
1015
1093
  ),
1016
- color: var(--table-list-action-link-hover-color, $gray-900),
1017
- text-decoration: none,
1094
+ )
1018
1095
  ),
1019
-
1020
- focus: (
1021
- background-color:
1022
- var(
1023
- --table-list-action-link-focus-background-color,
1024
- rgba(0, 0, 0, 0.02)
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,
1025
1104
  ),
1026
- box-shadow: $component-focus-box-shadow,
1027
- color: var(--table-list-action-link-focus-color, $gray-900),
1028
- outline: 0,
1105
+ )
1029
1106
  ),
1030
-
1031
- active: (
1032
- background-color:
1033
- var(
1034
- --table-list-action-link-active-background-color,
1035
- rgba(0, 0, 0, 0.04)
1107
+ tfoot:
1108
+ map-deep-merge(
1109
+ $c-table-list-tfoot,
1110
+ (
1111
+ table-cell: (
1112
+ vertical-align: middle,
1036
1113
  ),
1114
+ )
1037
1115
  ),
1116
+ caption: $c-table-list-caption,
1038
1117
 
1039
- lexicon-icon: (
1040
- margin-top: 0rem,
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,
1041
1124
  ),
1042
1125
  ),
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
1126
 
1109
- table-active: (
1110
- background-color: $table-list-active-bg,
1127
+ table-active: (
1128
+ background-color: $table-list-active-bg,
1111
1129
 
1112
- quick-action-menu: (
1113
- background-color: $table-list-quick-action-menu-active-bg,
1114
- ),
1130
+ quick-action-menu: (
1131
+ background-color: $table-list-quick-action-menu-active-bg,
1115
1132
  ),
1133
+ ),
1116
1134
 
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
- ),
1135
+ table-disabled: (
1136
+ background-color: $table-list-disabled-bg,
1137
+ color: $table-list-disabled-color,
1131
1138
 
1132
- table-list-title: (
1139
+ table-cell: (
1140
+ href: (
1133
1141
  color: $table-list-disabled-color,
1142
+ pointer-events: $table-list-disabled-pointer-events,
1134
1143
  ),
1135
1144
  ),
1136
1145
 
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
- ),
1146
+ table-title: (
1147
+ color: $table-list-disabled-color,
1148
+ ),
1151
1149
 
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
- ),
1150
+ table-list-title: (
1151
+ color: $table-list-disabled-color,
1161
1152
  ),
1153
+ ),
1162
1154
 
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
- ),
1155
+ table-row-start: (
1156
+ table-cell: (
1157
+ border-top-width: 0rem,
1158
+ ),
1173
1159
 
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
- ),
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
+ ),
1183
1168
  ),
1184
1169
 
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,
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
+ ),
1190
1178
  ),
1191
1179
  ),
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
- ),
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
+ )
1209
1189
  ),
1210
- ),
1211
1190
  ),
1212
1191
 
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,
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
+ )
1220
1199
  ),
1221
- ),
1222
1200
  ),
1201
+ ),
1223
1202
 
1224
- table-disabled: (
1225
- background-color: $table-list-disabled-bg,
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
1226
1214
 
1215
+ $c-table-list-table-hover: () !default;
1216
+ $c-table-list-table-hover: map-deep-merge(
1217
+ (
1218
+ tbody: (
1219
+ tr: (
1227
1220
  hover: (
1228
- background-color: $table-list-disabled-bg,
1221
+ background-color: $table-list-hover-bg,
1222
+
1223
+ quick-action-menu: (
1224
+ background-color: $table-list-quick-action-menu-hover-bg,
1225
+ ),
1229
1226
  ),
1230
1227
  ),
1231
1228
  ),
1232
- $c-table-list-table-hover
1233
- );
1234
1229
 
1235
- // .table.table-list.table-bordered
1230
+ table-active: (
1231
+ hover: (
1232
+ background-color: $table-list-active-bg,
1236
1233
 
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,
1234
+ quick-action-menu: (
1235
+ background-color: $table-list-quick-action-menu-hover-bg,
1243
1236
  ),
1244
1237
  ),
1238
+ ),
1245
1239
 
1246
- table-cell: $c-table-list-bordered-cell,
1240
+ table-disabled: (
1241
+ background-color: $table-list-disabled-bg,
1247
1242
 
1248
- table-column-start: (
1249
- border-left-width: 0rem,
1243
+ hover: (
1244
+ background-color: $table-list-disabled-bg,
1250
1245
  ),
1251
1246
  ),
1252
- $c-table-list-table-bordered
1253
- );
1254
-
1255
- // Table Valign
1247
+ ),
1248
+ $c-table-list-table-hover
1249
+ );
1256
1250
 
1257
- $table-valign-top-body-cell-padding-top: 1rem;
1251
+ // .table.table-list.table-bordered
1258
1252
 
1259
- $table-valign-bottom-body-cell-padding-bottom: 1rem;
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
+ ),
1260
1261
 
1261
- // Table Row Backgrounds
1262
+ table-cell: $c-table-list-bordered-cell,
1262
1263
 
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': (),
1264
+ table-column-start: (
1265
+ border-left-width: 0rem,
1274
1266
  ),
1275
- $table-row-theme-colors
1276
- );
1277
- }
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
+ );