@wwtdev/bsds-css 2.29.0 → 3.0.0-rc.21

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 (94) hide show
  1. package/README.md +4 -4
  2. package/dist/wwt-bsds-preset.js +196 -68
  3. package/dist/wwt-bsds.css +2182 -1460
  4. package/dist/wwt-bsds.min.css +1 -1
  5. package/package.json +7 -11
  6. package/dist/components/_accordions.scss +0 -122
  7. package/dist/components/_alert.scss +0 -143
  8. package/dist/components/_badge.scss +0 -95
  9. package/dist/components/_banner.scss +0 -68
  10. package/dist/components/_buttons.scss +0 -289
  11. package/dist/components/_chart.scss +0 -169
  12. package/dist/components/_circle-buttons.scss +0 -231
  13. package/dist/components/_dropdown-options.scss +0 -236
  14. package/dist/components/_dropdown.scss +0 -189
  15. package/dist/components/_empty-state.scss +0 -99
  16. package/dist/components/_filter-buttons.scss +0 -116
  17. package/dist/components/_flyout.scss +0 -75
  18. package/dist/components/_form-booleans.scss +0 -182
  19. package/dist/components/_form-character-count.scss +0 -21
  20. package/dist/components/_form-container.scss +0 -111
  21. package/dist/components/_form-elements.scss +0 -40
  22. package/dist/components/_form-field-details.scss +0 -19
  23. package/dist/components/_form-hints.scss +0 -22
  24. package/dist/components/_form-input-composite.scss +0 -312
  25. package/dist/components/_form-input-phone.scss +0 -21
  26. package/dist/components/_form-input-search.scss +0 -74
  27. package/dist/components/_form-labels.scss +0 -40
  28. package/dist/components/_form-switches.scss +0 -154
  29. package/dist/components/_form-text-fields.scss +0 -205
  30. package/dist/components/_horizontal-navigation-mobile.scss +0 -238
  31. package/dist/components/_horizontal-navigation.scss +0 -220
  32. package/dist/components/_inline-tabs.scss +0 -86
  33. package/dist/components/_loader.scss +0 -105
  34. package/dist/components/_modal.scss +0 -185
  35. package/dist/components/_overlay.scss +0 -34
  36. package/dist/components/_pagination.scss +0 -85
  37. package/dist/components/_pills.scss +0 -216
  38. package/dist/components/_profile-details.scss +0 -44
  39. package/dist/components/_profile-img.scss +0 -73
  40. package/dist/components/_profile-layout.scss +0 -29
  41. package/dist/components/_spinner.scss +0 -95
  42. package/dist/components/_tab-list.scss +0 -151
  43. package/dist/components/_table.scss +0 -331
  44. package/dist/components/_tables.scss +0 -84
  45. package/dist/components/_timeline.scss +0 -122
  46. package/dist/components/_toast.scss +0 -149
  47. package/dist/components/_toaster.scss +0 -27
  48. package/dist/components/_tooltip.scss +0 -183
  49. package/dist/components/_vertical-navigation.scss +0 -280
  50. package/dist/components/accordions.css +0 -118
  51. package/dist/components/alert.css +0 -139
  52. package/dist/components/badge.css +0 -91
  53. package/dist/components/banner.css +0 -64
  54. package/dist/components/buttons.css +0 -285
  55. package/dist/components/chart.css +0 -165
  56. package/dist/components/circle-buttons.css +0 -227
  57. package/dist/components/dropdown-options.css +0 -232
  58. package/dist/components/dropdown.css +0 -185
  59. package/dist/components/empty-state.css +0 -95
  60. package/dist/components/filter-buttons.css +0 -112
  61. package/dist/components/flyout.css +0 -71
  62. package/dist/components/form-booleans.css +0 -178
  63. package/dist/components/form-character-count.css +0 -17
  64. package/dist/components/form-container.css +0 -108
  65. package/dist/components/form-elements.css +0 -36
  66. package/dist/components/form-field-details.css +0 -15
  67. package/dist/components/form-hints.css +0 -18
  68. package/dist/components/form-input-composite.css +0 -308
  69. package/dist/components/form-input-phone.css +0 -17
  70. package/dist/components/form-input-search.css +0 -70
  71. package/dist/components/form-labels.css +0 -36
  72. package/dist/components/form-switches.css +0 -150
  73. package/dist/components/form-text-fields.css +0 -201
  74. package/dist/components/horizontal-navigation-mobile.css +0 -234
  75. package/dist/components/horizontal-navigation.css +0 -216
  76. package/dist/components/inline-tabs.css +0 -83
  77. package/dist/components/loader.css +0 -101
  78. package/dist/components/modal.css +0 -181
  79. package/dist/components/overlay.css +0 -30
  80. package/dist/components/pagination.css +0 -81
  81. package/dist/components/pills.css +0 -212
  82. package/dist/components/profile-details.css +0 -40
  83. package/dist/components/profile-img.css +0 -69
  84. package/dist/components/profile-layout.css +0 -25
  85. package/dist/components/spinner.css +0 -91
  86. package/dist/components/tab-list.css +0 -147
  87. package/dist/components/table.css +0 -327
  88. package/dist/components/tables.css +0 -80
  89. package/dist/components/timeline.css +0 -118
  90. package/dist/components/toast.css +0 -145
  91. package/dist/components/toaster.css +0 -23
  92. package/dist/components/tooltip.css +0 -179
  93. package/dist/components/vertical-navigation.css +0 -276
  94. package/dist/wwt-bsds-wc-base.css +0 -1129
@@ -1,1129 +0,0 @@
1
- /* VARIABLES GENERATED WITH TAILWIND CONFIG.
2
- Tokens location: ./tailwind.config.js */
3
-
4
- :root {
5
- --bs-transparent: transparent;
6
- --bs-inherit: inherit;
7
- --bs-current: currentColor;
8
- --bs-white: #ffffff;
9
- --bs-white-10: rgba(255, 255, 255, 0.1);
10
- --bs-black: #0a0b19;
11
- --bs-blue-10: rgba(0, 134, 234, 0.1);
12
- --bs-blue-100: #99cff7;
13
- --bs-blue-200: #66b6f2;
14
- --bs-blue-300: #339eee;
15
- --bs-blue-400: #0086ea;
16
- --bs-blue-500: #006dc7;
17
- --bs-red-10: rgba(238, 40, 42, 0.1);
18
- --bs-red-100: #f8a9aa;
19
- --bs-red-200: #f57e7f;
20
- --bs-red-300: #f15355;
21
- --bs-red-400: #ee282a;
22
- --bs-red-500: #d91214;
23
- --bs-plum-10: rgba(28, 0, 135, 0.1);
24
- --bs-plum-100: #a499cf;
25
- --bs-plum-200: #7766b7;
26
- --bs-plum-300: #49339f;
27
- --bs-plum-400: #1c0087;
28
- --bs-royal-10: rgba(22, 47, 180, 0.1);
29
- --bs-royal-100: #c5cceb;
30
- --bs-royal-200: #7585d1;
31
- --bs-royal-300: #5365c4;
32
- --bs-royal-400: #162fb4;
33
- --bs-violet-100: #cbc0da;
34
- --bs-violet-200: #9983b6;
35
- --bs-violet-300: #634291;
36
- --bs-violet-400: #330072;
37
- --bs-navy-100: #c6c6d1;
38
- --bs-navy-200: #8d8ea1;
39
- --bs-navy-300: #555775;
40
- --bs-navy-400: #1d1e48;
41
- --bs-navy-500: #131431;
42
- --bs-navy-600: #070822;
43
- --bs-orange-10: rgba(250, 70, 22, 0.1);
44
- --bs-orange-100: #f3c4a8;
45
- --bs-orange-200: #f7a17b;
46
- --bs-orange-300: #f97c4c;
47
- --bs-orange-400: #fb550e;
48
- --bs-orange-500: #c33d04;
49
- --bs-pink-10: rgba(227, 28, 121, 0.1);
50
- --bs-pink-100: #f6cbe0;
51
- --bs-pink-200: #eb7eaf;
52
- --bs-pink-300: #e45e9b;
53
- --bs-pink-400: #e31c79;
54
- --bs-pink-500: #d11a6f;
55
- --bs-purple-10: rgba(130, 18, 196, 0.09);
56
- --bs-purple-100: #e0c5ef;
57
- --bs-purple-200: #bf8adf;
58
- --bs-purple-300: #a154d0;
59
- --bs-purple-400: #8212c4;
60
- --bs-gray-50: #f7f7fc;
61
- --bs-gray-100: #f0f0fa;
62
- --bs-gray-150: #e4e4eb;
63
- --bs-gray-200: #c9cad9;
64
- --bs-gray-300: #a3a4b7;
65
- --bs-gray-400: #4e4f5f;
66
- --bs-gray-500: #292940;
67
- --bs-slate-400: #22222e;
68
- --bs-slate-500: #17171f;
69
- --bs-slate-600: #0b0b10;
70
- --bs-gradient-dark: linear-gradient(
71
- 90deg,
72
- #1c0087 0%,
73
- #ee282a 35%,
74
- #ffffff 50%,
75
- #0086ea 65%,
76
- #1c0087 100%
77
- );
78
- --bs-gradient-light: linear-gradient(
79
- 90deg,
80
- #1c0087 0%,
81
- #ee282a 20%,
82
- #ee282a 40%,
83
- #1c0087 50%,
84
- #0086ea 60%,
85
- #0086ea 80%,
86
- #1c0087 100%
87
- );
88
- --bs-gradient-line: linear-gradient(
89
- 90deg,
90
- #ee282a 0%,
91
- #1c0087 50%,
92
- #0086ea 100%
93
- );
94
- --bs-space-0: 0px;
95
- --bs-space-1: 0.25rem;
96
- --bs-space-2: 0.5rem;
97
- --bs-space-3: 0.75rem;
98
- --bs-space-4: 1rem;
99
- --bs-space-5: 1.25rem;
100
- --bs-space-6: 1.5rem;
101
- --bs-space-7: 1.75rem;
102
- --bs-space-8: 2rem;
103
- --bs-space-9: 2.25rem;
104
- --bs-space-10: 2.5rem;
105
- --bs-space-11: 2.75rem;
106
- --bs-space-12: 3rem;
107
- --bs-space-14: 3.5rem;
108
- --bs-space-16: 4rem;
109
- --bs-space-20: 5rem;
110
- --bs-space-24: 6rem;
111
- --bs-space-28: 7rem;
112
- --bs-space-32: 8rem;
113
- --bs-space-36: 9rem;
114
- --bs-space-40: 10rem;
115
- --bs-space-44: 11rem;
116
- --bs-space-48: 12rem;
117
- --bs-space-52: 13rem;
118
- --bs-space-56: 14rem;
119
- --bs-space-60: 15rem;
120
- --bs-space-64: 16rem;
121
- --bs-space-72: 18rem;
122
- --bs-space-80: 20rem;
123
- --bs-space-96: 24rem;
124
- --bs-space-px: 1px;
125
- --bs-space-0-half: 0.125rem;
126
- --bs-space-1-half: 0.375rem;
127
- --bs-space-2-half: 0.625rem;
128
- --bs-space-3-half: 0.875rem;
129
- --bs-space-f-1: clamp(0.25rem, calc(0.13rem + 0.5vw), 0.5rem);
130
- --bs-space-f-2: clamp(0.5rem, calc(0.38rem + 0.5vw), 0.75rem);
131
- --bs-space-f-3: clamp(0.75rem, calc(0.63rem + 0.5vw), 1rem);
132
- --bs-space-f-4: clamp(1rem, calc(0.75rem + 1vw), 1.5rem);
133
- --bs-space-f-6: clamp(1.5rem, calc(1.25rem + 1vw), 2rem);
134
- --bs-space-f-8: clamp(2rem, calc(1.5rem + 2vw), 3rem);
135
- --bs-space-f-12: clamp(4rem, calc(3rem + 4vw), 6rem);
136
- --bs-space-f-16: clamp(4rem, calc(3rem + 4vw), 6rem);
137
- --bs-space-f-24: clamp(6rem, calc(5rem + 4vw), 8rem);
138
- --bs-space-f-4to8: clamp(1rem, calc(0.5rem + 2vw), 2rem);
139
- --bs-space-f-6to12: clamp(1.5rem, calc(0.75rem + 3vw), 3rem);
140
- --bs-space-f-12to24: clamp(3rem, calc(1.5rem + 6vw), 6rem);
141
- --bs-text-xs: 0.75rem;
142
- --bs-text-sm: 0.875rem;
143
- --bs-text-base: 1rem;
144
- --bs-text-md: 1.125rem;
145
- --bs-text-lg: 1.25rem;
146
- --bs-text-xl: 1.5rem;
147
- --bs-text-2xl: 2rem;
148
- --bs-text-3xl: 2.25rem;
149
- --bs-text-4xl: 3rem;
150
- --bs-text-f-xs: clamp(0.69rem, calc(0.84rem + -0.19vw), 0.79rem);
151
- --bs-text-f-sm: clamp(0.83rem, calc(0.92rem + -0.11vw), 0.89rem);
152
- --bs-text-f-base: clamp(1rem, calc(1rem + 0vw), 1rem);
153
- --bs-text-f-md: clamp(1rem, calc(0.94rem + 0.25vw), 1.125rem);
154
- --bs-text-f-lg: clamp(1.125rem, calc(1.06rem + 0.25vw), 1.25rem);
155
- --bs-text-f-xl: clamp(1.25rem, calc(1.13rem + 0.5vw), 1.5rem);
156
- --bs-text-f-2xl: clamp(1.5rem, calc(1.25rem + 1vw), 2rem);
157
- --bs-text-f-3xl: clamp(2rem, calc(1.88rem + 0.5vw), 2.25rem);
158
- --bs-text-f-4xl: clamp(2.25rem, calc(1.88rem + 1.5vw), 3rem);
159
- --bs-leading-3: 0.75rem;
160
- --bs-leading-4: 1rem;
161
- --bs-leading-5: 1.25rem;
162
- --bs-leading-6: 1.5rem;
163
- --bs-leading-7: 1.75rem;
164
- --bs-leading-8: 2rem;
165
- --bs-leading-9: 2.25rem;
166
- --bs-leading-10: 2.5rem;
167
- --bs-leading-none: 1;
168
- --bs-leading-tight: 1.25;
169
- --bs-leading-snug: 1.375;
170
- --bs-leading-normal: 1.5;
171
- --bs-leading-relaxed: 1.625;
172
- --bs-leading-loose: 2;
173
- --bs-leading-sm: 115%;
174
- --bs-leading-base: 150%;
175
- --bs-leading-regular: 1.33;
176
- --bs-shadow: -4px 4px 12px rgba(0, 0, 0, 0.06),
177
- -8px 8px 16px rgba(28, 0, 135, 0.2);
178
- --bs-shadow-contentLow: -4px 4px 12px rgba(0, 0, 0, 0.06),
179
- -8px 8px 16px rgba(28, 0, 135, 0.2);
180
- --bs-shadow-contentLowCenter: 0px 0px 12px rgba(0, 0, 0, 0.06),
181
- 0px 0px 16px rgba(28, 0, 135, 0.2);
182
- --bs-shadow-contentMedium: -8px 8px 24px rgba(0, 0, 0, 0.06),
183
- -16px 16px 32px rgba(28, 0, 135, 0.2);
184
- --bs-shadow-contentHigh: 0px 16px 48px rgba(0, 0, 0, 0.06),
185
- 0px 32px 64px rgba(28, 0, 135, 0.2);
186
- --bs-shadow-drawerLeft: -12px 12px 24px rgba(0, 0, 0, 0.06),
187
- -16px 16px 32px rgba(28, 0, 135, 0.2);
188
- --bs-shadow-drawerRight: -12px 12px 24px rgba(0, 0, 0, 0.06),
189
- 16px 16px 32px rgba(28, 0, 135, 0.2);
190
- --bs-shadow-profilePhoto: inset 0px 0px 0.5em rgba(28, 0, 135, 0.25);
191
- }
192
-
193
- /*
194
- 1. Prevent padding and border from affecting element width.
195
- 2. Allow adding a border to an element by just adding a border-width. This fixes an issue
196
- where Tailwind border classes no longer worked when using BS reset instead of TW's reset.
197
- https://tailwindcss.com/docs/preflight#border-styles-are-reset-globally
198
- */
199
-
200
- /* Specificity should be either (0, 1, 0) (class-based) or (0, 0, 1) (element-based) for each selector */
201
-
202
- *,
203
- *::before,
204
- *::after {
205
- border-color: currentColor; /* 2 */
206
- border-style: solid; /* 2 */
207
- border-width: 0; /* 2 */
208
- box-sizing: border-box; /* 1 */
209
- }
210
-
211
- /* Remove default margin */
212
-
213
- body,
214
- h1,
215
- h2,
216
- h3,
217
- h4,
218
- h5,
219
- h6,
220
- p,
221
- figure,
222
- blockquote,
223
- dl,
224
- dd {
225
- margin: 0;
226
- }
227
-
228
- :where(ul, ol) {
229
- list-style: none;
230
- margin: unset;
231
- margin-block: unset;
232
- margin-inline: unset;
233
- padding: unset;
234
- padding-block: unset;
235
- padding-inline: unset;
236
- }
237
-
238
- /* Set core root defaults */
239
-
240
- html:where(:focus-within) {
241
- scroll-behavior: smooth;
242
- }
243
-
244
- /* Set core body defaults */
245
-
246
- body {
247
- line-height: 1.5;
248
- min-height: 100dvh;
249
- text-rendering: optimizeSpeed;
250
- }
251
-
252
- /* Elements that don't have a class get default styles */
253
-
254
- a:where(:not([class])) {
255
- -webkit-text-decoration-skip: ink;
256
- text-decoration-skip-ink: auto;
257
- }
258
-
259
- /* Make images easier to work with */
260
-
261
- img,
262
- picture {
263
- max-width: 100%;
264
- display: block;
265
- }
266
-
267
- /* Inherit fonts for inputs */
268
-
269
- input,
270
- textarea,
271
- select {
272
- font: inherit;
273
- }
274
-
275
- button {
276
- background-color: inherit;
277
- border-color: transparent;
278
- color: inherit;
279
- font-family: inherit;
280
- font-size: var(--bs-text-base);
281
- position: relative;
282
- padding: var(--bs-space-0);
283
- text-decoration: none;
284
- }
285
-
286
- /* Remove all animations and transitions for people that prefer not to see them */
287
-
288
- @media (prefers-reduced-motion: reduce) {
289
- html:where(:focus-within) {
290
- scroll-behavior: auto;
291
- }
292
-
293
- *,
294
- *::before,
295
- *::after {
296
- animation-duration: 0.01ms !important;
297
- animation-iteration-count: 1 !important;
298
- scroll-behavior: auto !important;
299
- transition-duration: 0.01ms !important;
300
- }
301
- }
302
-
303
- /* Specificity should be either (0, 1, 0) (class-based) or (0, 0, 1) (element-based) for each selector */
304
-
305
- :root,
306
- :host {
307
- --bs-bg-base: var(--bs-white);
308
- --bs-bg-base-to-light: var(--bs-white);
309
- --bs-bg-base-to-medium: var(--bs-white);
310
- --bs-bg-light: var(--bs-gray-50);
311
- --bs-bg-light-to-base: var(--bs-gray-50);
312
- --bs-bg-light-to-medium: var(--bs-gray-50);
313
- --bs-bg-medium: var(--bs-gray-100);
314
- --bs-bg-medium-to-light: var(--bs-gray-100);
315
- --bs-bg-medium-to-base: var(--bs-gray-100);
316
- --bs-bg-invert-to-light: var(--bs-slate-500);
317
- --bs-bg-invert-to-base: var(--bs-slate-600);
318
- --bs-bg-invert-to-medium: var(--bs-slate-400);
319
- --bs-bg-disabled: var(--bs-gray-200);
320
-
321
- --bs-hyperlink: var(--bs-purple-400);
322
-
323
- --bs-ink-accent: var(--bs-plum-400);
324
- --bs-ink-base: var(--bs-black);
325
- --bs-ink-disabled: rgba(78, 79, 95, 0.6); /* --bs-gray-400 at .6 */
326
- --bs-ink-light: var(--bs-gray-400);
327
- --bs-ink-invert-base: var(--bs-gray-100);
328
- --bs-ink-invert-to-medium: var(--bs-gray-200);
329
- --bs-ink-invert-light: var(--bs-gray-300);
330
- --bs-ink-medium: var(--bs-gray-500);
331
-
332
- --bs-ink-blue: var(--bs-blue-500);
333
- --bs-ink-orange: var(--bs-orange-500);
334
- --bs-ink-pink: var(--bs-pink-500);
335
- --bs-ink-plum: var(--bs-plum-400);
336
- --bs-ink-purple: var(--bs-purple-400);
337
- --bs-ink-red: var(--bs-red-500);
338
- --bs-ink-royal: var(--bs-royal-400);
339
- --bs-ink-violet: var(--bs-violet-400);
340
- --bs-ink-white: var(--bs-white);
341
-
342
- --bs-blue-base: var(--bs-blue-400);
343
- --bs-blue-medium: var(--bs-blue-300);
344
- --bs-blue-light: var(--bs-blue-200);
345
- --bs-blue-lightest: var(--bs-blue-100);
346
- --bs-plum-base: var(--bs-plum-400);
347
- --bs-plum-medium: var(--bs-plum-300);
348
- --bs-plum-light: var(--bs-plum-200);
349
- --bs-plum-lightest: var(--bs-plum-100);
350
- --bs-red-base: var(--bs-red-400);
351
- --bs-red-medium: var(--bs-red-300);
352
- --bs-red-light: var(--bs-red-200);
353
- --bs-red-lightest: var(--bs-red-100);
354
- --bs-royal-base: var(--bs-royal-400);
355
- --bs-royal-medium: var(--bs-royal-300);
356
- --bs-royal-light: var(--bs-royal-200);
357
- --bs-royal-lightest: var(--bs-royal-100);
358
- --bs-navy-base: var(--bs-navy-400);
359
- --bs-navy-medium: var(--bs-navy-300);
360
- --bs-navy-light: var(--bs-navy-200);
361
- --bs-navy-lightest: var(--bs-navy-100);
362
- --bs-pink-base: var(--bs-pink-400);
363
- --bs-pink-medium: var(--bs-pink-300);
364
- --bs-pink-light: var(--bs-pink-200);
365
- --bs-pink-lightest: var(--bs-pink-100);
366
- --bs-violet-base: var(--bs-violet-400);
367
- --bs-violet-medium: var(--bs-violet-300);
368
- --bs-violet-light: var(--bs-violet-200);
369
- --bs-violet-lightest: var(--bs-violet-100);
370
- --bs-orange-base: var(--bs-orange-400);
371
- --bs-orange-medium: var(--bs-orange-300);
372
- --bs-orange-light: var(--bs-orange-200);
373
- --bs-orange-lightest: var(--bs-orange-100);
374
- --bs-purple-base: var(--bs-purple-400);
375
- --bs-purple-medium: var(--bs-purple-300);
376
- --bs-purple-light: var(--bs-purple-200);
377
- --bs-purple-lightest: var(--bs-purple-100);
378
- --bs-gray-dark: var(--bs-gray-500);
379
- --bs-gray-base: var(--bs-gray-400);
380
- --bs-gray-medium: var(--bs-gray-300);
381
- --bs-gray-light: var(--bs-gray-200);
382
- --bs-gray-lightest: var(--bs-gray-100);
383
-
384
- --bs-warning: var(--bs-orange-500);
385
-
386
- --bs-border-dark: var(--bs-gray-400);
387
- --bs-border-base: var(--bs-gray-200);
388
- --bs-border-medium: var(--bs-gray-150);
389
- --bs-border-medium-to-light: var(--bs-gray-150);
390
- --bs-border-light: var(--bs-gray-100);
391
- --bs-border-input: rgba(99, 66, 145, 0.75); /* --bs-violet-300 at .75 opacity */
392
- --bs-border-active: var(--bs-blue-400);
393
- --bs-border-error: var(--bs-red-500);
394
-
395
- /* Spacing */
396
- --bs-content-top: 4rem;
397
- --bs-content-max-width: 72rem;
398
-
399
- /* Type */
400
- --bs-font-light: 300;
401
- --bs-font-normal: 400;
402
- --bs-font-bold: 600;
403
-
404
- /* Special use cases */
405
- --bs-bg-input-hover: rgba(201, 202, 217, 0.20);
406
-
407
- /* deprecate / phase out.. */
408
- --bs-bg-base-elevated: var(--bs-white); /* now --bs-bg-base-to-light */
409
- --bs-bg-subtle: var(--bs-gray-100);
410
- --bs-bg-invert: var(--bs-slate-500);
411
- --bs-bg-invert-subtle: var(--bs-slate-400);
412
- --bs-border: var(--bs-gray-200);
413
- --bs-ink-invert: var(--bs-gray-100);
414
- --bs-orange-warning: var(--bs-orange-500);
415
- /* now --bs-warning. 👆 mapping to bs-warning directly doesn't autoconvert in dark mode for some reason. Same for bg-base-to-light.*/
416
-
417
- --bs-bg-atom-ai: conic-gradient(from 180deg at 50% 50%, rgba(22, 47, 180, 0.05) -96.8deg, rgba(227, 28, 121, 0.05) 74.2deg, rgba(0, 134, 234, 0.05) 98.8deg, rgba(251, 85, 14, 0.05) 259.6deg, rgba(22, 47, 180, 0.05) 283.2deg, rgba(227, 28, 121, 0.05) 414.4deg);
418
- --bs-atom-ai: conic-gradient(from 180deg at 50% 50%, var(--bs-royal-400) -96.8deg, var(--bs-pink-400) 74.2deg, var(--bs-blue-400) 98.8deg, var(--bs-orange-400) 259.6deg, var(--bs-royal-400) 283.2deg, var(--bs-pink-400) 414.4deg);
419
- }
420
-
421
- .dark,
422
- .dark :where(:host) {
423
- --bs-bg-base: var(--bs-slate-600);
424
- --bs-bg-base-to-light: var(--bs-slate-500);
425
- --bs-bg-base-to-medium: var(--bs-slate-400);
426
- --bs-bg-light: var(--bs-slate-500);
427
- --bs-bg-light-to-base: var(--bs-slate-600);
428
- --bs-bg-light-to-medium: var(--bs-slate-400);
429
- --bs-bg-medium: var(--bs-slate-400);
430
- --bs-bg-medium-to-light: var(--bs-slate-500);
431
- --bs-bg-medium-to-base: var(--bs-slate-600);
432
- --bs-bg-invert-to-light: var(--bs-gray-50);
433
- --bs-bg-invert-to-base: var(--bs-white);
434
- --bs-bg-invert-to-medium: var(--bs-gray-100);
435
- --bs-bg-disabled: rgba(78, 79, 95, 0.3); /* --bs-gray-400 at .3 opacity */
436
-
437
- --bs-hyperlink: var(--bs-purple-200);
438
-
439
- --bs-ink-accent: var(--bs-gray-100);
440
- --bs-ink-base: var(--bs-white);
441
- --bs-ink-disabled: rgba(163, 164, 183, 0.5); /* --bs-gray-300 at .5 opacity */
442
- --bs-ink-invert-base: var(--bs-black);
443
- --bs-ink-invert-medium: var(--bs-gray-500);
444
- --bs-ink-invert-light: var(--bs-gray-400);
445
- --bs-ink-light: var(--bs-gray-200);
446
- --bs-ink-medium: var(--bs-gray-100);
447
-
448
- --bs-ink-blue: var(--bs-blue-200);
449
- --bs-ink-orange: var(--bs-orange-200);
450
- --bs-ink-pink: var(--bs-pink-200);
451
- --bs-ink-plum: var(--bs-plum-100);
452
- --bs-ink-purple: var(--bs-purple-200);
453
- --bs-ink-red: var(--bs-red-200);
454
- --bs-ink-royal: var(--bs-royal-200);
455
- --bs-ink-violet: var(--bs-violet-200);
456
-
457
- --bs-blue-base: var(--bs-blue-300);
458
- --bs-navy-base: var(--bs-navy-200);
459
- --bs-orange-base: var(--bs-orange-300);
460
- --bs-pink-base: var(--bs-pink-300);
461
- --bs-plum-base: var(--bs-plum-300);
462
- --bs-plum-medium: var(--bs-plum-200);
463
- --bs-purple-base: var(--bs-purple-300);
464
- --bs-red-base: var(--bs-red-300);
465
- --bs-royal-base: var(--bs-royal-300);
466
- --bs-royal-medium: var(--bs-royal-200);
467
- --bs-violet-base: var(--bs-violet-300);
468
-
469
- --bs-gray-dark: var(--bs-gray-100);
470
- --bs-gray-base: var(--bs-gray-200);
471
- --bs-gray-light: var(--bs-gray-400);
472
- --bs-gray-lightest: var(--bs-gray-500);
473
-
474
- --bs-warning: var(--bs-orange-400);
475
-
476
- --bs-border-dark: var(--bs-gray-300);
477
- --bs-border-base: rgba(163, 164, 183, 0.7); /* --bs-gray-300 at .7 opacity */
478
- --bs-border-medium: var(--bs-gray-400);
479
- --bs-border-medium-to-light: rgba(78, 79, 95, 0.5); /* --bs-gray-400 at .5 opacity */
480
- --bs-border-light: rgba(78, 79, 95, 0.5); /* --bs-gray-400 at .5 opacity */
481
- --bs-border-input: var(--bs-violet-200);
482
- --bs-border-active: var(--bs-blue-400);
483
- --bs-border-error: var(--bs-red-200);
484
-
485
- --bs-shadow-base: rgba(0, 0, 0, 0.06);
486
- --bs-shadow-invert: rgba(10, 11, 25, 0.60);
487
- --bs-shadow: -4px 4px 12px var(--bs-shadow-base),
488
- -8px 8px 16px var(--bs-shadow-invert);
489
- --bs-shadow-contentLow: -4px 4px 12px var(--bs-shadow-base),
490
- -8px 8px 16px var(--bs-shadow-invert);
491
- --bs-shadow-contentLowCenter: 0px 0px 12px var(--bs-shadow-base),
492
- 0px 0px 16px var(--bs-shadow-invert);
493
- --bs-shadow-contentMedium: -8px 8px 24px var(--bs-shadow-base),
494
- -16px 16px 32px var(--bs-shadow-invert);
495
- --bs-shadow-contentHigh: 0px 16px 48px var(--bs-shadow-base),
496
- 0px 32px 64px var(--bs-shadow-invert);
497
- --bs-shadow-drawerLeft: -12px 12px 24px var(--bs-shadow-base),
498
- -16px 16px 32px var(--bs-shadow-invert);
499
- --bs-shadow-drawerRight: -12px 12px 24px var(--bs-shadow-base),
500
- 16px 16px 32px var(--bs-shadow-invert);
501
-
502
- /* deprecate / phase out.. */
503
- --bs-bg-base-elevated: var(--bs-slate-500); /* now --bs-bg-base-to-light. See notes above in light mode. */
504
- --bs-bg-subtle: #2F2F51;
505
- --bs-bg-invert: var(--bs-white);
506
- --bs-bg-invert-subtle: var(--bs-gray-100);
507
- --bs-border: var(--bs-gray-400);
508
- --bs-ink-invert: var(--bs-black);
509
- --bs-orange-warning: var(--bs-orange-400); /* now --bs-warning. See notes above in light mode. */
510
-
511
- --bs-bg-atom-ai: conic-gradient(from 180deg at 50% 50%, rgba(83, 101, 196, 0.2) -96.8deg, rgba(228, 94, 155, 0.2) 74.2deg, rgba(51, 158, 238, 0.2) 98.8deg, rgba(249, 124, 76, 0.2) 259.6deg, rgba(83, 101, 196, 0.2) 283.2deg, rgba(228, 94, 155, 0.2) 414.4deg);
512
- --bs-atom-ai: conic-gradient(from 180deg at 50% 50%, var(--bs-royal-300) -96.8deg, var(--bs-pink-300) 74.2deg, var(--bs-blue-300) 98.8deg, var(--bs-orange-300) 259.6deg, var(--bs-royal-300) 283.2deg, var(--bs-pink-300) 414.4deg);
513
- }
514
-
515
- body,
516
- :host {
517
- background-color: var(--bs-bg-base);
518
- color: var(--bs-ink-light);
519
- }
520
-
521
- :target {
522
- scroll-margin-top: var(--bs-content-top);
523
- }
524
-
525
- ::-moz-selection {
526
- background-color: var(--bs-royal-400);
527
- color: var(--bs-white);
528
- }
529
-
530
- ::selection {
531
- background-color: var(--bs-royal-400);
532
- color: var(--bs-white);
533
- }
534
-
535
- [hidden] {
536
- display: none;
537
- }
538
-
539
- hr {
540
- background: var(--bs-border);
541
- border: 0;
542
- height: 1px;
543
- }
544
-
545
- /* Specificity should be either (0, 1, 0) (class-based) or (0, 0, 1) (element-based) for each selector */
546
-
547
- body {
548
- font-family: 'Roobert', sans-serif;
549
- font-size: var(--bs-text-base);
550
- font-weight: 400;
551
- }
552
-
553
- /* Default Element/data-variant Styles */
554
-
555
- [data-variant^="heading-xl"] {
556
- font-size: var(--bs-text-4xl);
557
- font-weight: 400;
558
- line-height: var(--bs-leading-sm);
559
- }
560
-
561
- h1,
562
- [data-variant^="heading-1"] {
563
- font-size: var(--bs-text-3xl);
564
- font-weight: 400;
565
- line-height: var(--bs-leading-sm);
566
- }
567
-
568
- h2,
569
- [data-variant^="heading-2"] {
570
- font-size: var(--bs-text-2xl);
571
- font-weight: 600;
572
- line-height: var(--bs-leading-sm);
573
- }
574
-
575
- h3,
576
- [data-variant^="heading-3"] {
577
- font-size: var(--bs-text-xl);
578
- font-weight: 600;
579
- line-height: var(--bs-leading-sm);
580
- }
581
-
582
- h4,
583
- [data-variant^="heading-4"] {
584
- font-size: var(--bs-text-lg);
585
- font-weight: 600;
586
- }
587
-
588
- h5,
589
- [data-variant^="heading-5"] {
590
- font-size: var(--bs-text-md);
591
- font-weight: 600;
592
- }
593
-
594
- h6,
595
- [data-variant^="heading-6"] {
596
- font-size: var(--bs-text-base);
597
- font-weight: 600;
598
- }
599
-
600
- .prose {
601
- font-size: var(--bs-text-md);
602
- max-width: 70ch;
603
- }
604
-
605
- :where(.prose) :is(h1, h2, h3, h4, h5, h6):where(:not([data-color])) {
606
- color: var(--bs-ink-base);
607
- }
608
-
609
- [data-variant^="default"] {
610
- font-size: var(--bs-text-base);
611
- }
612
-
613
- .bs-meta,
614
- [data-variant^="meta"] {
615
- font-size: var(--bs-text-xs);
616
- font-weight: 600;
617
- }
618
-
619
- :where(.prose) blockquote {
620
- border-left: 4px solid var(--bs-plum-200);
621
- color: var(--bs-plum-200);
622
- font-style: italic;
623
- font-weight: 400;
624
- padding-left: var(--bs-space-4);
625
- }
626
-
627
- .prose:where([data-width="wide"]) {
628
- max-width: 90%;
629
- }
630
-
631
- .prose:where([data-width="wide"]) > :where(p, h1, h2, h3, h4, h5, h6, blockquote, ul, ol) {
632
- max-width: 48rem;
633
- }
634
-
635
- /* data-font-size Styles */
636
-
637
- [data-font-size^='4xl'] {
638
- font-size: var(--bs-text-4xl);
639
- line-height: var(--bs-leading-sm);
640
- }
641
-
642
- [data-font-size^='3xl'] {
643
- font-size: var(--bs-text-3xl);
644
- line-height: var(--bs-leading-sm);
645
- }
646
-
647
- [data-font-size^='2xl'] {
648
- font-size: var(--bs-text-2xl);
649
- line-height: var(--bs-leading-sm);
650
- }
651
-
652
- [data-font-size^='xl'] {
653
- font-size: var(--bs-text-xl);
654
- line-height: var(--bs-leading-sm);
655
- }
656
-
657
- [data-font-size^='lg'] {
658
- font-size: var(--bs-text-lg);
659
- }
660
-
661
- [data-font-size^='md'] {
662
- font-size: var(--bs-text-md);
663
- }
664
-
665
- [data-font-size^='base'] {
666
- font-size: var(--bs-text-base);
667
- }
668
-
669
- [data-font-size^='sm'] {
670
- font-size: var(--bs-text-sm);
671
- }
672
-
673
- [data-font-size^='xs'] {
674
- font-size: var(--bs-text-xs);
675
- }
676
-
677
- /* data-color Styles */
678
-
679
- [data-color^='base'] {
680
- color: var(--bs-ink-base);
681
- }
682
-
683
- [data-color^='medium'] {
684
- color: var(--bs-ink-medium);
685
- }
686
-
687
- [data-color^='light'] {
688
- color: var(--bs-ink-light);
689
- }
690
-
691
- [data-color^='accent'] {
692
- color: var(--bs-ink-accent);
693
- }
694
-
695
- /* data-weight Styles */
696
-
697
- [data-weight^='normal'],
698
- [data-weight^='400'] {
699
- font-weight: 400;
700
- }
701
-
702
- [data-weight^='light'],
703
- [data-weight^='300'] {
704
- font-weight: 300;
705
- }
706
-
707
- [data-weight^='bold'],
708
- [data-weight^='600'] {
709
- font-weight: 600;
710
- }
711
-
712
- /* Specificity should be either (0, 1, 0) (class-based) or (0, 0, 1) (element-based) for each selector */
713
-
714
- :where(body).fluid {
715
- font-size: var(--bs-text-f-md);
716
- }
717
-
718
- /* Defaults & Variants */
719
-
720
- .fluid :where(h1),
721
- .fluid :where([data-variant^='heading-1']) {
722
- font-size: var(--bs-text-f-3xl);
723
- }
724
-
725
- .fluid :where(h2),
726
- .fluid :where([data-variant^='heading-2']) {
727
- font-size: var(--bs-text-f-2xl);
728
- }
729
-
730
- .fluid :where(h3),
731
- .fluid :where([data-variant^='heading-3']) {
732
- font-size: var(--bs-text-f-xl);
733
- }
734
-
735
- .fluid :where(h4),
736
- .fluid :where([data-variant^='heading-4']) {
737
- font-size: var(--bs-text-f-lg);
738
- }
739
-
740
- .fluid :where(h5),
741
- .fluid :where([data-variant^='heading-5']) {
742
- font-size: var(--bs-text-f-md);
743
- }
744
-
745
- .fluid :where(h6),
746
- .fluid :where([data-variant^='heading-6']) {
747
- font-size: var(--bs-text-f-sm);
748
- }
749
-
750
- .fluid:where(.prose),
751
- .fluid :where(.prose),
752
- .fluid :where([data-variant^='default']) {
753
- font-size: var(--bs-text-f-md);
754
- }
755
-
756
- .fluid :where(.bs-meta),
757
- .fluid :where([data-variant^='meta']) {
758
- font-size: var(--bs-text-f-xs);
759
- }
760
-
761
- /* Fluid data-font-size Styles */
762
-
763
- .fluid :where([data-font-size^='4xl']) {
764
- font-size: var(--bs-text-f-4xl);
765
- }
766
-
767
- .fluid :where([data-font-size^='3xl']) {
768
- font-size: var(--bs-text-f-3xl);
769
- }
770
-
771
- .fluid :where([data-font-size^='2xl']) {
772
- font-size: var(--bs-text-f-2xl);
773
- }
774
-
775
- .fluid :where([data-font-size^='xl']) {
776
- font-size: var(--bs-text-f-xl);
777
- line-height: var(--bs-leading-sm);
778
- }
779
-
780
- .fluid :where([data-font-size^='lg']) {
781
- font-size: var(--bs-text-f-lg);
782
- }
783
-
784
- .fluid :where([data-font-size^='md']) {
785
- font-size: var(--bs-text-f-md);
786
- }
787
-
788
- .fluid :where([data-font-size^='base']) {
789
- font-size: var(--bs-text-f-base);
790
- }
791
-
792
- .fluid :where([data-font-size^='sm']) {
793
- font-size: var(--bs-text-f-sm);
794
- }
795
-
796
- .fluid :where([data-font-size^='xs']) {
797
- font-size: var(--bs-text-f-xs);
798
- }
799
-
800
- /* Specificity should be either (0, 1, 0) (class-based) or (0, 0, 1) (element-based) for each selector */
801
-
802
- :where(a) {
803
- color: inherit;
804
- cursor: pointer;
805
- text-decoration: none;
806
- }
807
-
808
- :where(.prose) a,
809
- a:where(.bs-link) {
810
- border-radius: 0.25rem; /* gives outlines rounded corners in modern browsers */
811
- -webkit-box-decoration-break: clone;
812
- box-decoration-break: clone;
813
- color: var(--bs-purple-400);
814
- outline-color: var(--bs-blue-400);
815
- text-decoration: underline;
816
- text-underline-offset: 2px;
817
- transition: all 0.15s ease-in-out;
818
- }
819
-
820
- :where(.prose) a:where(:hover),
821
- :where(.prose) a:where(:focus),
822
- :where(.prose) a:where(:focus-visible),
823
- a:where(.bs-link):where(:hover),
824
- a:where(.bs-link):where(:focus),
825
- a:where(.bs-link):where(:focus-visible) {
826
- color: var(--bs-plum-400);
827
- text-decoration-color: var(--bs-purple-400);
828
- }
829
-
830
- :where(.prose) a:where(:focus-visible),
831
- a:where(.bs-link):where(:focus-visible) {
832
- outline-offset: var(--bs-space-1);
833
- outline-style: solid;
834
- outline-width: 2px;
835
- }
836
-
837
- :where(.prose) a:where(:focus:not(:focus-visible)),
838
- a:where(.bs-link):where(:focus:not(:focus-visible)) {
839
- outline: none;
840
- }
841
-
842
- /* Dark mode styling */
843
-
844
- :where(.dark .prose) a,
845
- :where(.dark) a:where(.bs-link) {
846
- color: var(--bs-purple-200);
847
- outline-color: var(--bs-blue-300);
848
- }
849
-
850
- :where(.dark .prose) a:where(:hover),
851
- :where(.dark .prose) a:where(:focus),
852
- :where(.dark .prose) a:where(:focus-visible),
853
- :where(.dark) a:where(.bs-link):where(:hover),
854
- :where(.dark) a:where(.bs-link):where(:focus),
855
- :where(.dark) a:where(.bs-link):where(:focus-visible) {
856
- color: var(--bs-pink-300);
857
- text-decoration-color: var(--bs-purple-200);
858
- }
859
-
860
- /* Specificity should be either (0, 1, 0) (class-based) or (0, 0, 1) (element-based) for each selector */
861
-
862
- .box-shadow {
863
- box-shadow: var(--bs-shadow);
864
- }
865
-
866
- .box-shadow:where([data-variant="center"]) {
867
- box-shadow: var(--bs-shadow-contentLowCenter);
868
- }
869
-
870
- .box-shadow:where([data-variant="medium"]) {
871
- box-shadow: var(--bs-shadow-contentMedium);
872
- }
873
-
874
- .box-shadow:where([data-variant="high"]) {
875
- box-shadow: var(--bs-shadow-contentHigh);
876
- }
877
-
878
- .box-shadow:where([data-variant="left-panel"]) {
879
- box-shadow: var(--bs-shadow-drawerLeft);
880
- }
881
-
882
- .box-shadow:where([data-variant="right-panel"]) {
883
- box-shadow: var(--bs-shadow-drawerRight);
884
- }
885
-
886
- .box-shadow:where([data-variant="profile"]) {
887
- box-shadow: var(--bs-shadow-profilePhoto);
888
- }
889
-
890
- :root {
891
- /* get design sign off on these first
892
- --bs-trans-color: color 100ms ease-in-out;
893
- --bs-trans-outline-color: outline-color 100ms ease-in-out;
894
- */
895
-
896
- --bs-trans-rotate180: transform 200ms ease-in-out;
897
- }
898
-
899
- /* Specificity should be either (0, 1, 0) (class-based) or (0, 0, 1) (element-based) for each selector */
900
-
901
- .box {
902
- background: var(--bg-color, var(--bs-bg-medium-to-light));
903
- border-radius: 0.25rem;
904
- padding: var(--box-space, var(--bs-space-6));
905
- }
906
-
907
- .box:where([data-invert]) {
908
- --bg-color: var(--bs-bg-invert);
909
- color: var(--bs-ink-invert);
910
- }
911
-
912
- :where(.fluid) .box {
913
- padding: var(--box-space, var(--bs-space-f-6));
914
- }
915
-
916
- .cluster {
917
- align-items: center;
918
- display: flex;
919
- flex-wrap: wrap;
920
- gap: var(--cluster-space, var(--bs-space-6));
921
- justify-content: flex-start;
922
- }
923
-
924
- .cluster:where([data-variant^="brick"]) > * {
925
- align-self: stretch;
926
- flex-grow: 1;
927
- }
928
-
929
- .cluster:where([data-gap="tight"]) {
930
- gap: var(--cluster-space, var(--bs-space-2));
931
- }
932
-
933
- :where(.fluid) .cluster {
934
- gap: var(--cluster-space, var(--bs-space-f-6));
935
- }
936
-
937
- :where(.fluid) .cluster:where([data-gap="tight"]) {
938
- gap: var(--cluster-space, var(--bs-space-f-2));
939
- }
940
-
941
- .flow > * + * {
942
- margin-top: var(--flow-space, 1.25em);
943
- }
944
-
945
- .flow > :where(h1, h2, h3, h4, h5, h6) {
946
- --flow-space: 2em;
947
- }
948
-
949
- .flow > :where(hr) + * {
950
- --flow-space: 1.5em;
951
- }
952
-
953
- .flow > :where(h1, h2, h3, h4, h5, h6) + * {
954
- --flow-space: 0.5em;
955
- }
956
-
957
- .flow > :where(ul, ol) > :where(li) {
958
- margin-top: var(--flow-space, 0.625em);
959
- }
960
-
961
- .region {
962
- padding-block: var(--region-space, var(--bs-space-6));
963
- }
964
-
965
- .region:where([data-space^='sm']) {
966
- padding-block: var(--bs-space-3);
967
- }
968
-
969
- .region:where([data-space^='lg']) {
970
- padding-block: var(--bs-space-12);
971
- }
972
-
973
- :where(.fluid) .region {
974
- padding-block: var(--region-space, var(--bs-space-f-6));
975
- }
976
-
977
- :where(.fluid) .region:where([data-space^='sm']) {
978
- padding-block: var(--bs-space-f-3);
979
- }
980
-
981
- :where(.fluid) .region:where([data-space^='lg']) {
982
- padding-block: var(--bs-space-f-12);
983
- }
984
-
985
- .wrapper {
986
- margin-inline: auto;
987
- max-width: var(--max-width, 75rem);
988
- min-width: 0;
989
- padding-inline: var(--wrapper-space, var(--bs-space-6));
990
- position: relative;
991
- width: 100%;
992
- }
993
-
994
- :where(.fluid) .wrapper {
995
- padding-inline: var(--wrapper-space, var(--bs-space-f-6));
996
- }
997
-
998
- .wrapper:where([data-flush]) {
999
- padding-inline: 0;
1000
- }
1001
-
1002
- /* Specificity should be either (0, 1, 0) (class-based) or (0, 0, 1) (element-based) for each selector */
1003
-
1004
- .visually-hidden {
1005
- border: 0;
1006
- clip: rect(0 0 0 0);
1007
- height: 1px;
1008
- margin: 0;
1009
- overflow: hidden;
1010
- padding: 0;
1011
- position: absolute;
1012
- white-space: nowrap;
1013
- width: 1px;
1014
- }
1015
-
1016
- .measure-compact {
1017
- max-width: 40ch;
1018
- }
1019
-
1020
- .measure-short {
1021
- max-width: 50ch;
1022
- }
1023
-
1024
- .measure-long {
1025
- max-width: 70ch;
1026
- }
1027
-
1028
- *:where([data-scroll="false"]) {
1029
- overflow: hidden;
1030
- }
1031
-
1032
- table {
1033
- border-collapse: collapse;
1034
- border-spacing: 0;
1035
- overflow-x: auto;
1036
- max-width: 100%;
1037
- width: 100%;
1038
- }
1039
-
1040
- thead {
1041
- color: var(--bs-ink-base);
1042
- font-size: var(--bs-font-base);
1043
- font-weight: 600;
1044
- }
1045
-
1046
- tbody {
1047
- color: var(--bs-ink-light);
1048
- }
1049
-
1050
- th {
1051
- background: var(--bs-bg-base);
1052
- }
1053
-
1054
- th, td {
1055
- border-bottom: 1px solid var(--bs-border);
1056
- min-width: -moz-fit-content;
1057
- min-width: fit-content;
1058
- padding: var(--bs-space-2);
1059
- text-align: left;
1060
- }
1061
-
1062
- /* Table Borders */
1063
-
1064
- table[data-borders^="none"] {
1065
- border: 0;
1066
- }
1067
-
1068
- table[data-borders^="all"] :where(th, td) {
1069
- border-left: 1px solid var(--bs-border);
1070
- }
1071
-
1072
- table[data-borders^="all"] :where(th, td):last-child {
1073
- border-right: 1px solid var(--bs-border);
1074
- }
1075
-
1076
- table[data-borders^="all"] th {
1077
- border-top: 1px solid var(--bs-border);
1078
- }
1079
-
1080
- /* Table Rows */
1081
-
1082
- table:where([data-rows^="striped"]) tbody > tr:nth-child(even) {
1083
- background-color: var(--bs-bg-medium);
1084
- }
1085
-
1086
- /* Table Cells */
1087
-
1088
- table[data-cells^="fixed"] {
1089
- table-layout: fixed;
1090
- }
1091
-
1092
- table:where([data-cells^="height"]) td {
1093
- height: 4.5rem;
1094
- vertical-align: middle;
1095
- }
1096
-
1097
- /* Sticky Header */
1098
-
1099
- table:where([data-sticky]) {
1100
- isolation: isolate;
1101
- }
1102
-
1103
- table:where([data-sticky^="top"]) td {
1104
- z-index: 1;
1105
- }
1106
-
1107
- table:where([data-sticky^="top"]) {
1108
- border-collapse: separate;
1109
- overflow-y: unset; /* Will break sticky headers if removed */
1110
- position: relative;
1111
- }
1112
-
1113
- table:where([data-sticky^="left"]) {
1114
- border-collapse: separate;
1115
- overflow-x: unset; /* Will break sticky headers if removed */
1116
- position: relative;
1117
- }
1118
-
1119
- table:where([data-sticky^="top"]) th {
1120
- position: sticky;
1121
- top: var(--bs-content-top);
1122
- z-index: 2;
1123
- }
1124
-
1125
- table:where([data-sticky^="left"]) :is(td:first-child, th:first-child) {
1126
- position: sticky;
1127
- left: 0;
1128
- z-index: 2;
1129
- }