sdga-ui 1.0.2 → 1.0.4

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 (119) hide show
  1. package/.editorconfig +23 -23
  2. package/.github/workflows/deploy.yml +57 -0
  3. package/.github/workflows/publish.yml +36 -33
  4. package/.prettierignore +73 -73
  5. package/.prettierrc +17 -17
  6. package/LICENSE +21 -21
  7. package/README.md +175 -167
  8. package/css/dga-ui.css +60 -30
  9. package/css/dga-ui.css.map +1 -1
  10. package/demo-angular/.editorconfig +17 -0
  11. package/demo-angular/.vscode/extensions.json +4 -0
  12. package/demo-angular/.vscode/launch.json +20 -0
  13. package/demo-angular/.vscode/tasks.json +42 -0
  14. package/demo-angular/README.md +59 -0
  15. package/demo-angular/angular.json +90 -0
  16. package/demo-angular/package-lock.json +10459 -0
  17. package/demo-angular/package.json +50 -0
  18. package/demo-angular/public/.nojekyll +0 -0
  19. package/demo-angular/public/favicon.ico +0 -0
  20. package/demo-angular/public/i18n/ar.json +239 -0
  21. package/demo-angular/public/i18n/en.json +239 -0
  22. package/demo-angular/src/app/app.config.ts +20 -0
  23. package/demo-angular/src/app/app.html +52 -0
  24. package/demo-angular/src/app/app.routes.ts +45 -0
  25. package/demo-angular/src/app/app.scss +430 -0
  26. package/demo-angular/src/app/app.spec.ts +23 -0
  27. package/demo-angular/src/app/app.ts +88 -0
  28. package/demo-angular/src/app/shared/code-example/code-example.component.html +30 -0
  29. package/demo-angular/src/app/shared/code-example/code-example.component.scss +183 -0
  30. package/demo-angular/src/app/shared/code-example/code-example.component.ts +78 -0
  31. package/demo-angular/src/app/views/alerts/alerts.component.html +155 -0
  32. package/demo-angular/src/app/views/alerts/alerts.component.scss +3 -0
  33. package/demo-angular/src/app/views/alerts/alerts.component.ts +134 -0
  34. package/demo-angular/src/app/views/bootstrap/bootstrap.component.html +14 -0
  35. package/demo-angular/src/app/views/bootstrap/bootstrap.component.scss +91 -0
  36. package/demo-angular/src/app/views/bootstrap/bootstrap.component.ts +23 -0
  37. package/demo-angular/src/app/views/buttons/buttons.component.html +289 -0
  38. package/demo-angular/src/app/views/buttons/buttons.component.scss +14 -0
  39. package/demo-angular/src/app/views/buttons/buttons.component.ts +155 -0
  40. package/demo-angular/src/app/views/cards/cards.component.html +156 -0
  41. package/demo-angular/src/app/views/cards/cards.component.html.backup +156 -0
  42. package/demo-angular/src/app/views/cards/cards.component.scss +11 -0
  43. package/demo-angular/src/app/views/cards/cards.component.ts +194 -0
  44. package/demo-angular/src/app/views/forms/forms.component.html +347 -0
  45. package/demo-angular/src/app/views/forms/forms.component.scss +3 -0
  46. package/demo-angular/src/app/views/forms/forms.component.ts +222 -0
  47. package/demo-angular/src/app/views/home/home.component.html +38 -0
  48. package/demo-angular/src/app/views/home/home.component.scss +35 -0
  49. package/demo-angular/src/app/views/home/home.component.ts +12 -0
  50. package/demo-angular/src/app/views/links/links.component.html +140 -0
  51. package/demo-angular/src/app/views/links/links.component.scss +60 -0
  52. package/demo-angular/src/app/views/links/links.component.ts +123 -0
  53. package/demo-angular/src/app/views/tables/tables.component.html +289 -0
  54. package/demo-angular/src/app/views/tables/tables.component.scss +3 -0
  55. package/demo-angular/src/app/views/tables/tables.component.ts +278 -0
  56. package/demo-angular/src/app/views/toasts/toasts.component.html +201 -0
  57. package/demo-angular/src/app/views/toasts/toasts.component.scss +0 -0
  58. package/demo-angular/src/app/views/toasts/toasts.component.ts +182 -0
  59. package/demo-angular/src/index.html +14 -0
  60. package/demo-angular/src/main.ts +6 -0
  61. package/demo-angular/src/styles.scss +4 -0
  62. package/demo-angular/tsconfig.app.json +15 -0
  63. package/demo-angular/tsconfig.json +33 -0
  64. package/demo-angular/tsconfig.spec.json +15 -0
  65. package/fonts/IBM_Plex_Sans_Arabic/OFL.txt +93 -93
  66. package/package.json +50 -47
  67. package/theme/_fonts.scss +58 -58
  68. package/theme/_functions.scss +11 -11
  69. package/theme/_variables.scss +50 -50
  70. package/theme/components/_accordion.scss +35 -35
  71. package/theme/components/_alerts.scss +11 -11
  72. package/theme/components/_badges.scss +8 -8
  73. package/theme/components/_breadcrumb.scss +13 -13
  74. package/theme/components/_buttons.scss +270 -270
  75. package/theme/components/_cards.scss +21 -21
  76. package/theme/components/_carousel.scss +33 -33
  77. package/theme/components/_content.scss +211 -211
  78. package/theme/components/_dropdowns.scss +45 -45
  79. package/theme/components/_forms-check.scss +124 -124
  80. package/theme/components/_forms-floating.scss +17 -17
  81. package/theme/components/_forms-inputs.scss +70 -70
  82. package/theme/components/_forms-range.scss +26 -26
  83. package/theme/components/_forms-select.scss +47 -47
  84. package/theme/components/_forms-switch.scss +63 -63
  85. package/theme/components/_forms-validation.scss +16 -16
  86. package/theme/components/_forms.scss +14 -14
  87. package/theme/components/_list-group.scss +26 -26
  88. package/theme/components/_modals.scss +42 -42
  89. package/theme/components/_navbar.scss +40 -40
  90. package/theme/components/_navigation.scss +151 -151
  91. package/theme/components/_offcanvas.scss +15 -15
  92. package/theme/components/_overlays.scss +112 -112
  93. package/theme/components/_pagination.scss +39 -39
  94. package/theme/components/_popovers.scss +26 -26
  95. package/theme/components/_progress.scss +11 -11
  96. package/theme/components/_spinners.scss +11 -11
  97. package/theme/components/_tables.scss +47 -47
  98. package/theme/components/_toasts.scss +16 -16
  99. package/theme/components/_tooltips.scss +15 -15
  100. package/theme/config/_base.scss +111 -111
  101. package/theme/config/_colors.scss +303 -303
  102. package/theme/config/_effects.scss +227 -227
  103. package/theme/config/_radius.scss +78 -78
  104. package/theme/config/_spacing.scss +155 -155
  105. package/theme/config/_typography.scss +118 -118
  106. package/theme/customizations/_alerts.scss +242 -242
  107. package/theme/customizations/_badges.scss +15 -15
  108. package/theme/customizations/_buttons.scss +209 -209
  109. package/theme/customizations/_cards.scss +117 -117
  110. package/theme/customizations/_forms-check.scss +278 -278
  111. package/theme/customizations/_forms-inputs.scss +9 -9
  112. package/theme/customizations/_forms-switch.scss +91 -91
  113. package/theme/customizations/_forms.scss +5 -5
  114. package/theme/customizations/_global.scss +25 -25
  115. package/theme/customizations/_links.scss +94 -46
  116. package/theme/customizations/_tables.scss +67 -67
  117. package/theme/customizations/_toasts.scss +221 -221
  118. package/theme/customizations/_utilities.scss +138 -138
  119. package/theme/dga-ui.scss +28 -28
@@ -1,91 +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
- }
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
+ }
@@ -1,5 +1,5 @@
1
- // Form Customizations - SDJA Custom Enhancements
2
-
3
- @import 'forms-inputs';
4
- @import 'forms-check';
5
-
1
+ // Form Customizations - SDJA Custom Enhancements
2
+
3
+ @import 'forms-inputs';
4
+ @import 'forms-check';
5
+
@@ -1,25 +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
- }
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
+ }
@@ -1,47 +1,95 @@
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)};
1
+ // Links Customizations - SDGA Custom Enhancements
2
+
3
+ // ============================================
4
+ // LINK COLOR VARIANTS
5
+ // ============================================
6
+
7
+ .link-primary {
8
+ color: $primary-600 !important;
9
+
10
+ &:hover,
11
+ &:focus {
12
+ color: $primary-400 !important;
13
+ text-decoration-color: $primary-400 !important;
14
+ }
15
+
16
+ &:active {
17
+ color: $primary-300 !important;
18
+ text-decoration-color: $primary-300 !important;
19
+ }
20
+ }
21
+
22
+ .link-secondary {
23
+ color: $secondary-600 !important;
24
+
25
+ &:hover,
26
+ &:focus {
27
+ color: $secondary-400 !important;
28
+ text-decoration-color: $secondary-400 !important;
29
+ }
30
+
31
+ &:active {
32
+ color: $secondary-300 !important;
33
+ text-decoration-color: $secondary-300 !important;
34
+ }
35
+ }
36
+
37
+ .link-success {
38
+ color: $success-600 !important;
39
+
40
+ &:hover,
41
+ &:focus {
42
+ color: $success-400 !important;
43
+ text-decoration-color: $success-400 !important;
44
+ }
45
+
46
+ &:active {
47
+ color: $success-300 !important;
48
+ text-decoration-color: $success-300 !important;
49
+ }
50
+ }
51
+
52
+ .link-danger {
53
+ color: $danger-600 !important;
54
+
55
+ &:hover,
56
+ &:focus {
57
+ color: $danger-400 !important;
58
+ text-decoration-color: $danger-400 !important;
59
+ }
60
+
61
+ &:active {
62
+ color: $danger-300 !important;
63
+ text-decoration-color: $danger-300 !important;
64
+ }
65
+ }
66
+
67
+ .link-warning {
68
+ color: $warning-600 !important;
69
+
70
+ &:hover,
71
+ &:focus {
72
+ color: $warning-400 !important;
73
+ text-decoration-color: $warning-400 !important;
74
+ }
75
+
76
+ &:active {
77
+ color: $warning-300 !important;
78
+ text-decoration-color: $warning-300 !important;
79
+ }
80
+ }
81
+
82
+ .link-info {
83
+ color: $info-600 !important;
84
+
85
+ &:hover,
86
+ &:focus {
87
+ color: $info-400 !important;
88
+ text-decoration-color: $info-400 !important;
89
+ }
90
+
91
+ &:active {
92
+ color: $info-300 !important;
93
+ text-decoration-color: $info-300 !important;
94
+ }
47
95
  }
@@ -1,68 +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
- }
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
68
  }