sdga-ui 1.0.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 (69) hide show
  1. package/.editorconfig +23 -0
  2. package/.prettierignore +73 -0
  3. package/.prettierrc +17 -0
  4. package/LICENSE +21 -0
  5. package/README.md +167 -0
  6. package/css/dga-ui.css +27286 -0
  7. package/css/dga-ui.css.map +1 -0
  8. package/fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-Bold.ttf +0 -0
  9. package/fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-ExtraLight.ttf +0 -0
  10. package/fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-Light.ttf +0 -0
  11. package/fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-Medium.ttf +0 -0
  12. package/fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-Regular.ttf +0 -0
  13. package/fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-SemiBold.ttf +0 -0
  14. package/fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-Thin.ttf +0 -0
  15. package/fonts/IBM_Plex_Sans_Arabic/OFL.txt +93 -0
  16. package/package.json +36 -0
  17. package/theme/_fonts.scss +58 -0
  18. package/theme/_functions.scss +12 -0
  19. package/theme/_variables.scss +50 -0
  20. package/theme/components/_accordion.scss +35 -0
  21. package/theme/components/_alerts.scss +12 -0
  22. package/theme/components/_badges.scss +8 -0
  23. package/theme/components/_breadcrumb.scss +13 -0
  24. package/theme/components/_buttons.scss +270 -0
  25. package/theme/components/_cards.scss +21 -0
  26. package/theme/components/_carousel.scss +33 -0
  27. package/theme/components/_content.scss +211 -0
  28. package/theme/components/_dropdowns.scss +45 -0
  29. package/theme/components/_forms-check.scss +124 -0
  30. package/theme/components/_forms-floating.scss +17 -0
  31. package/theme/components/_forms-inputs.scss +70 -0
  32. package/theme/components/_forms-range.scss +26 -0
  33. package/theme/components/_forms-select.scss +47 -0
  34. package/theme/components/_forms-switch.scss +64 -0
  35. package/theme/components/_forms-validation.scss +16 -0
  36. package/theme/components/_forms.scss +14 -0
  37. package/theme/components/_list-group.scss +26 -0
  38. package/theme/components/_modals.scss +42 -0
  39. package/theme/components/_navbar.scss +40 -0
  40. package/theme/components/_navigation.scss +151 -0
  41. package/theme/components/_offcanvas.scss +15 -0
  42. package/theme/components/_overlays.scss +112 -0
  43. package/theme/components/_pagination.scss +39 -0
  44. package/theme/components/_popovers.scss +26 -0
  45. package/theme/components/_progress.scss +11 -0
  46. package/theme/components/_spinners.scss +11 -0
  47. package/theme/components/_tables.scss +48 -0
  48. package/theme/components/_toasts.scss +17 -0
  49. package/theme/components/_tooltips.scss +15 -0
  50. package/theme/config/_base.scss +112 -0
  51. package/theme/config/_colors.scss +303 -0
  52. package/theme/config/_effects.scss +228 -0
  53. package/theme/config/_radius.scss +78 -0
  54. package/theme/config/_spacing.scss +156 -0
  55. package/theme/config/_typography.scss +118 -0
  56. package/theme/customizations/_alerts.scss +242 -0
  57. package/theme/customizations/_badges.scss +15 -0
  58. package/theme/customizations/_buttons.scss +209 -0
  59. package/theme/customizations/_cards.scss +117 -0
  60. package/theme/customizations/_forms-check.scss +279 -0
  61. package/theme/customizations/_forms-inputs.scss +9 -0
  62. package/theme/customizations/_forms-switch.scss +91 -0
  63. package/theme/customizations/_forms.scss +5 -0
  64. package/theme/customizations/_global.scss +25 -0
  65. package/theme/customizations/_links.scss +47 -0
  66. package/theme/customizations/_tables.scss +68 -0
  67. package/theme/customizations/_toasts.scss +222 -0
  68. package/theme/customizations/_utilities.scss +138 -0
  69. package/theme/dga-ui.scss +28 -0
@@ -0,0 +1,279 @@
1
+ // Form Check Customizations - Checkboxes & Radios
2
+ // Excludes switches (use _forms-switch.scss for switches)
3
+
4
+ // ============================================
5
+ // BASE WRAPPER
6
+ // ============================================
7
+
8
+ .form-check {
9
+ display: flex;
10
+ align-items: center;
11
+ gap: 1rem;
12
+ }
13
+
14
+ // ============================================
15
+ // RIPPLE EFFECT APPLICATION
16
+ // ============================================
17
+
18
+ // Force enable ripple on specific elements
19
+ .form-check-input.ripple {
20
+ @include ripple-effect();
21
+ }
22
+
23
+ .form-check-neutral .form-check-input.ripple {
24
+ &:checked,
25
+ &:indeterminate {
26
+ color: $neutral;
27
+ }
28
+ }
29
+
30
+ // ============================================
31
+ // PRIMARY VARIANT (DEFAULT)
32
+ // ============================================
33
+
34
+ // Target: Checkboxes and radios (excluding switches and neutral variant)
35
+ .form-check-input:not([type="checkbox"][role="switch"]):not(.form-check-neutral .form-check-input) {
36
+
37
+ // Focus state
38
+ &:focus {
39
+ border-color: $form-check-input-focus-border;
40
+ }
41
+
42
+ // Unchecked state interactions
43
+ &:not(:checked):not(:indeterminate):not(:disabled):not([readonly]) {
44
+ &:hover {
45
+ border-color: $form-check-input-unchecked-hover-border;
46
+ background-color: $form-check-input-unchecked-hover-bg;
47
+ }
48
+
49
+ &:active {
50
+ border-color: $form-check-input-unchecked-active-border;
51
+ background-color: $form-check-input-unchecked-active-bg;
52
+ }
53
+ }
54
+
55
+ // Checked state interactions
56
+ &:checked:not(:disabled):not([readonly]) {
57
+ &:hover {
58
+ border-color: $form-check-input-checked-hover-border;
59
+ background-color: $form-check-input-checked-hover-bg;
60
+ }
61
+
62
+ &:active {
63
+ border-color: $form-check-input-checked-active-border;
64
+ background-color: $form-check-input-checked-active-bg;
65
+ }
66
+ }
67
+
68
+ // Indeterminate state interactions
69
+ &:indeterminate:not(:disabled):not([readonly]) {
70
+ &:hover {
71
+ border-color: $form-check-input-indeterminate-hover-border;
72
+ background-color: $form-check-input-indeterminate-hover-bg;
73
+ }
74
+
75
+ &:active {
76
+ border-color: $form-check-input-indeterminate-active-border;
77
+ background-color: $form-check-input-indeterminate-active-bg;
78
+ }
79
+ }
80
+
81
+ // Disabled state
82
+ &:disabled {
83
+ background-color: $form-check-input-disabled-bg;
84
+ border-color: $form-check-input-disabled-border-color;
85
+ cursor: not-allowed;
86
+
87
+ &:checked {
88
+ background-color: $form-check-input-disabled-checked-bg;
89
+ border-color: $form-check-input-disabled-checked-bg;
90
+
91
+ &[type="checkbox"] {
92
+ $escaped-color: svg-encode-color($form-check-input-disabled-checked-color);
93
+ background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#{$escaped-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/></svg>");
94
+ }
95
+
96
+ &[type="radio"] {
97
+ $escaped-color: svg-encode-color($form-check-input-disabled-checked-color);
98
+ background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='none' stroke='#{$escaped-color}'/></svg>");
99
+ }
100
+ }
101
+
102
+ &:indeterminate[type="checkbox"] {
103
+ background-color: $form-check-input-disabled-indeterminate-bg;
104
+ border-color: $form-check-input-disabled-indeterminate-bg;
105
+ $escaped-color: svg-encode-color($form-check-input-disabled-indeterminate-color);
106
+ background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#{$escaped-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/></svg>");
107
+ }
108
+
109
+ ~ .form-check-label {
110
+ cursor: not-allowed;
111
+ opacity: $form-check-label-disabled-opacity;
112
+ }
113
+ }
114
+
115
+ // Readonly state
116
+ &[readonly] {
117
+ background-color: $form-check-input-readonly-bg;
118
+ border-color: $form-check-input-readonly-border-color;
119
+ cursor: $form-check-input-readonly-cursor;
120
+ pointer-events: none;
121
+
122
+ &:checked {
123
+ background-color: $form-check-input-readonly-checked-bg;
124
+
125
+ &[type="checkbox"] {
126
+ $escaped-color: svg-encode-color($form-check-input-readonly-checked-color);
127
+ background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#{$escaped-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/></svg>");
128
+ }
129
+
130
+ &[type="radio"] {
131
+ background-color: $form-check-radio-readonly-checked-bg;
132
+ border-color: $form-check-radio-readonly-checked-border;
133
+ $escaped-color: svg-encode-color($form-check-radio-readonly-checked-color);
134
+ background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='none' stroke='#{$escaped-color}'/></svg>");
135
+ }
136
+ }
137
+
138
+ &:indeterminate[type="checkbox"] {
139
+ background-color: $form-check-input-readonly-indeterminate-bg;
140
+ border-color: $form-check-input-readonly-indeterminate-bg;
141
+ $escaped-color: svg-encode-color($form-check-input-readonly-indeterminate-color);
142
+ background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#{$escaped-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/></svg>");
143
+ }
144
+
145
+ ~ .form-check-label {
146
+ cursor: $form-check-input-readonly-cursor;
147
+ pointer-events: none;
148
+ }
149
+ }
150
+ }
151
+
152
+ // ============================================
153
+ // NEUTRAL VARIANT
154
+ // ============================================
155
+
156
+ .form-check-neutral {
157
+ .form-check-input:not([type="checkbox"][role="switch"]) {
158
+
159
+ // Base checked states
160
+ &:checked {
161
+ background-color: $form-check-neutral-checked-bg-color;
162
+ border-color: $form-check-neutral-checked-bg-color;
163
+ }
164
+
165
+ &:indeterminate {
166
+ background-color: $form-check-neutral-indeterminate-bg-color;
167
+ border-color: $form-check-neutral-indeterminate-bg-color;
168
+ }
169
+
170
+ // Focus state
171
+ &:focus {
172
+ border-color: $form-check-neutral-checked-bg-color;
173
+ }
174
+
175
+ // Unchecked state interactions
176
+ &:not(:checked):not(:indeterminate):not(:disabled):not([readonly]) {
177
+ &:hover {
178
+ border-color: $form-check-neutral-unchecked-hover-border;
179
+ background-color: $form-check-neutral-unchecked-hover-bg;
180
+ }
181
+
182
+ &:active {
183
+ border-color: $form-check-neutral-unchecked-active-border;
184
+ background-color: $form-check-neutral-unchecked-active-bg;
185
+ }
186
+ }
187
+
188
+ // Checked state interactions
189
+ &:checked:not(:disabled):not([readonly]) {
190
+ &:hover {
191
+ border-color: $form-check-neutral-checked-hover-border;
192
+ background-color: $form-check-neutral-checked-hover-bg;
193
+ }
194
+
195
+ &:active {
196
+ border-color: $form-check-neutral-checked-active-border;
197
+ background-color: $form-check-neutral-checked-active-bg;
198
+ }
199
+ }
200
+
201
+ // Indeterminate state interactions
202
+ &:indeterminate:not(:disabled):not([readonly]) {
203
+ &:hover {
204
+ border-color: $form-check-neutral-indeterminate-hover-border;
205
+ background-color: $form-check-neutral-indeterminate-hover-bg;
206
+ }
207
+
208
+ &:active {
209
+ border-color: $form-check-neutral-indeterminate-active-border;
210
+ background-color: $form-check-neutral-indeterminate-active-bg;
211
+ }
212
+ }
213
+ }
214
+ }
215
+
216
+ // ============================================
217
+ // SIZE VARIANTS
218
+ // ============================================
219
+
220
+ // Size on wrapper (affects input and label)
221
+ .form-check {
222
+ &.form-check-md {
223
+ .form-check-input {
224
+ width: $form-check-input-width-md;
225
+ height: $form-check-input-width-md;
226
+ }
227
+ }
228
+
229
+ &.form-check-sm {
230
+ .form-check-input {
231
+ width: $form-check-input-width-sm;
232
+ height: $form-check-input-width-sm;
233
+ }
234
+
235
+ .form-check-label {
236
+ font-size: .875rem;
237
+ }
238
+ }
239
+
240
+ &.form-check-xs {
241
+ .form-check-input {
242
+ width: $form-check-input-width-xs;
243
+ height: $form-check-input-width-xs;
244
+ }
245
+
246
+ .form-check-label {
247
+ font-size: .75rem;
248
+ }
249
+ }
250
+
251
+ // Variant + size combinations
252
+ &.form-check-neutral {
253
+ &.form-check-sm .form-check-input {
254
+ width: $form-check-input-width-sm;
255
+ height: $form-check-input-width-sm;
256
+ }
257
+
258
+ &.form-check-xs .form-check-input {
259
+ width: $form-check-input-width-xs;
260
+ height: $form-check-input-width-xs;
261
+ }
262
+ }
263
+ }
264
+
265
+ // Size directly on input (standalone usage without wrapper)
266
+ .form-check-input-md {
267
+ width: $form-check-input-width-md;
268
+ height: $form-check-input-width-md;
269
+ }
270
+
271
+ .form-check-input-sm {
272
+ width: $form-check-input-width-sm;
273
+ height: $form-check-input-width-sm;
274
+ }
275
+
276
+ .form-check-input-xs {
277
+ width: $form-check-input-width-xs;
278
+ height: $form-check-input-width-xs;
279
+ }
@@ -0,0 +1,9 @@
1
+ // Form Input Customizations - Text Controls
2
+
3
+ .form-control-lg {
4
+ min-height: calc(1.5em + 1.25rem + 2px);
5
+ }
6
+
7
+ .form-control-sm {
8
+ min-height: calc(1.5em + 0.75rem + 2px);
9
+ }
@@ -0,0 +1,91 @@
1
+ // Form Switch Customizations - RTL Support
2
+
3
+ // ============================================
4
+ // FORM SWITCH SPECIFIC STYLES
5
+ // ============================================
6
+
7
+ .form-switch {
8
+ // Override default box-shadow for switches
9
+ .form-check-input {
10
+ box-shadow: none;
11
+ }
12
+ }
13
+
14
+ // ============================================
15
+ // HOVER AND ACTIVE STATES FOR FORM SWITCH
16
+ // ============================================
17
+
18
+ .form-switch .form-check-input:not(:disabled):not([readonly]) {
19
+ // Unchecked hover
20
+ &:not(:checked):hover {
21
+ background-color: $form-switch-unchecked-hover-bg !important;
22
+ border-color: $form-switch-unchecked-hover-border !important;
23
+ $escaped-color: svg-encode-color($form-switch-unchecked-hover-color);
24
+ background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$escaped-color}'/></svg>") !important;
25
+ }
26
+
27
+ // Checked hover
28
+ &:checked:hover {
29
+ background-color: $form-switch-checked-hover-bg !important;
30
+ border-color: $form-switch-checked-hover-border !important;
31
+ $escaped-color: svg-encode-color($form-switch-checked-hover-color);
32
+ background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$escaped-color}'/></svg>") !important;
33
+ }
34
+
35
+ // Unchecked active/pressed
36
+ &:not(:checked):active {
37
+ background-color: $form-switch-unchecked-active-bg !important;
38
+ border-color: $form-switch-unchecked-active-border !important;
39
+ $escaped-color: svg-encode-color($form-switch-unchecked-active-color);
40
+ background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$escaped-color}'/></svg>") !important;
41
+ }
42
+
43
+ // Checked active/pressed
44
+ &:checked:active {
45
+ background-color: $form-switch-checked-active-bg !important;
46
+ border-color: $form-switch-checked-active-border !important;
47
+ $escaped-color: svg-encode-color($form-switch-checked-active-color);
48
+ background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$escaped-color}'/></svg>") !important;
49
+ }
50
+ }
51
+
52
+ // ============================================
53
+ // DISABLED STATE FOR FORM SWITCH
54
+ // ============================================
55
+
56
+ .form-switch .form-check-input:disabled {
57
+ background-color: $form-switch-unchecked-disabled-bg;
58
+ border-color: $form-switch-unchecked-disabled-border;
59
+ cursor: not-allowed;
60
+ $escaped-color: svg-encode-color($form-switch-unchecked-disabled-color);
61
+ background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$escaped-color}'/></svg>");
62
+
63
+ &:checked {
64
+ background-color: $form-switch-checked-disabled-bg;
65
+ border-color: $form-switch-checked-disabled-border;
66
+ $escaped-color: svg-encode-color($form-switch-checked-disabled-color);
67
+ background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$escaped-color}'/></svg>");
68
+ }
69
+ }
70
+
71
+ // ============================================
72
+ // RTL SUPPORT FOR FORM SWITCH
73
+ // ============================================
74
+
75
+ [dir="rtl"] {
76
+ .form-switch {
77
+ padding-left: 0;
78
+ padding-right: $form-switch-padding-start;
79
+
80
+ .form-check-input {
81
+ margin-left: 0;
82
+ margin-right: calc(#{$form-switch-padding-start} * -1);
83
+ background-position: right center;
84
+
85
+ // RTL: Flip background position for checked state
86
+ &:checked {
87
+ background-position: left center;
88
+ }
89
+ }
90
+ }
91
+ }
@@ -0,0 +1,5 @@
1
+ // Form Customizations - SDJA Custom Enhancements
2
+
3
+ @import 'forms-inputs';
4
+ @import 'forms-check';
5
+
@@ -0,0 +1,25 @@
1
+ // Global Customizations - SDGA Custom Enhancements
2
+ // ============================================
3
+ // GLOBAL FOCUS STYLING
4
+ // ============================================
5
+
6
+ // Global button focus styling - applies to all button variants
7
+ *:focus-visible {
8
+ outline-offset: 2px !important;
9
+ outline: 2px solid #161616 !important;
10
+ border-color: $border-color !important;
11
+ }
12
+
13
+ // ============================================
14
+ // SAFARI COMPATIBILITY
15
+ // ============================================
16
+
17
+ // Fix Safari compatibility for text-align in table headers
18
+ th {
19
+ text-align: match-parent;
20
+ }
21
+
22
+ // Fix text-size-adjust for modern browsers
23
+ html {
24
+ text-size-adjust: 100%;
25
+ }
@@ -0,0 +1,47 @@
1
+ // Links Customizations - SDGA Custom Enhancements
2
+
3
+ // ============================================
4
+ // LINK COLOR VARIANTS
5
+ // ============================================
6
+
7
+ .link-primary {
8
+ --#{$prefix}link-color: #{$primary-600};
9
+ --#{$prefix}link-color-rgb: #{red($primary-600)}, #{green($primary-600)}, #{blue($primary-600)};
10
+ --#{$prefix}link-hover-color: #{$primary-400};
11
+ --#{$prefix}link-hover-color-rgb: #{red($primary-400)}, #{green($primary-400)}, #{blue($primary-400)};
12
+ }
13
+
14
+ .link-secondary {
15
+ --#{$prefix}link-color: #{$secondary-600};
16
+ --#{$prefix}link-color-rgb: #{red($secondary-600)}, #{green($secondary-600)}, #{blue($secondary-600)};
17
+ --#{$prefix}link-hover-color: #{$secondary-400};
18
+ --#{$prefix}link-hover-color-rgb: #{red($secondary-400)}, #{green($secondary-400)}, #{blue($secondary-400)};
19
+ }
20
+
21
+ .link-success {
22
+ --#{$prefix}link-color: #{$success-600};
23
+ --#{$prefix}link-color-rgb: #{red($success-600)}, #{green($success-600)}, #{blue($success-600)};
24
+ --#{$prefix}link-hover-color: #{$success-400};
25
+ --#{$prefix}link-hover-color-rgb: #{red($success-400)}, #{green($success-400)}, #{blue($success-400)};
26
+ }
27
+
28
+ .link-danger {
29
+ --#{$prefix}link-color: #{$danger-600};
30
+ --#{$prefix}link-color-rgb: #{red($danger-600)}, #{green($danger-600)}, #{blue($danger-600)};
31
+ --#{$prefix}link-hover-color: #{$danger-400};
32
+ --#{$prefix}link-hover-color-rgb: #{red($danger-400)}, #{green($danger-400)}, #{blue($danger-400)};
33
+ }
34
+
35
+ .link-warning {
36
+ --#{$prefix}link-color: #{$warning-600};
37
+ --#{$prefix}link-color-rgb: #{red($warning-600)}, #{green($warning-600)}, #{blue($warning-600)};
38
+ --#{$prefix}link-hover-color: #{$warning-400};
39
+ --#{$prefix}link-hover-color-rgb: #{red($warning-400)}, #{green($warning-400)}, #{blue($warning-400)};
40
+ }
41
+
42
+ .link-info {
43
+ --#{$prefix}link-color: #{$info-600};
44
+ --#{$prefix}link-color-rgb: #{red($info-600)}, #{green($info-600)}, #{blue($info-600)};
45
+ --#{$prefix}link-hover-color: #{$info-400};
46
+ --#{$prefix}link-hover-color-rgb: #{red($info-400)}, #{green($info-400)}, #{blue($info-400)};
47
+ }
@@ -0,0 +1,68 @@
1
+ // Table Customizations - SDGA Custom Enhancements
2
+
3
+ // ============================================
4
+ // TABLE HOVER ENHANCEMENTS
5
+ // ============================================
6
+
7
+ // .table-hover-primary tbody tr:hover {
8
+ // background-color: rgba($primary, 0.1);
9
+ // }
10
+
11
+ // .table-hover-secondary tbody tr:hover {
12
+ // background-color: rgba($secondary, 0.1);
13
+ // }
14
+
15
+ .table {
16
+ border: $table-th-border-width solid $table-th-border-color;
17
+ border-radius: $table-thead-border-radius;
18
+ border-collapse: separate;
19
+ border-spacing: 0;
20
+ overflow: hidden;
21
+
22
+ &.side-borderless {
23
+ border-inline: none;
24
+ border-radius: 0;
25
+ }
26
+
27
+ thead {
28
+ background-color: $table-thead-bg;
29
+
30
+ th {
31
+ height: 3rem;
32
+ vertical-align: middle;
33
+ padding: $table-cell-padding-y $table-cell-padding-x;
34
+ background-color: transparent;
35
+ color: $table-th-color;
36
+ border-block-end: $table-thead-border-width solid $table-thead-border-color;
37
+ border-block-start: none;
38
+ border-inline-start: none;
39
+ border-inline-end: $table-thead-border-width solid $table-thead-border-color;
40
+
41
+ &:last-child {
42
+ border-inline-end: none;
43
+ }
44
+ }
45
+ }
46
+
47
+ tbody {
48
+ tr {
49
+ th, td {
50
+ height: 4rem;
51
+ vertical-align: middle;
52
+ border-inline: none;
53
+ border-block-start: none;
54
+ border-block-end: none;
55
+ }
56
+
57
+ th:first-child, td:first-child {
58
+ border-inline-end: $table-th-border-width solid $table-th-border-color;
59
+ }
60
+
61
+ &:not(:last-child) {
62
+ th, td {
63
+ border-block-end: $table-border-width solid $table-border-color;
64
+ }
65
+ }
66
+ }
67
+ }
68
+ }