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.
- package/.editorconfig +23 -23
- package/.github/workflows/deploy.yml +57 -0
- package/.github/workflows/publish.yml +36 -33
- package/.prettierignore +73 -73
- package/.prettierrc +17 -17
- package/LICENSE +21 -21
- package/README.md +175 -167
- package/css/dga-ui.css +60 -30
- package/css/dga-ui.css.map +1 -1
- package/demo-angular/.editorconfig +17 -0
- package/demo-angular/.vscode/extensions.json +4 -0
- package/demo-angular/.vscode/launch.json +20 -0
- package/demo-angular/.vscode/tasks.json +42 -0
- package/demo-angular/README.md +59 -0
- package/demo-angular/angular.json +90 -0
- package/demo-angular/package-lock.json +10459 -0
- package/demo-angular/package.json +50 -0
- package/demo-angular/public/.nojekyll +0 -0
- package/demo-angular/public/favicon.ico +0 -0
- package/demo-angular/public/i18n/ar.json +239 -0
- package/demo-angular/public/i18n/en.json +239 -0
- package/demo-angular/src/app/app.config.ts +20 -0
- package/demo-angular/src/app/app.html +52 -0
- package/demo-angular/src/app/app.routes.ts +45 -0
- package/demo-angular/src/app/app.scss +430 -0
- package/demo-angular/src/app/app.spec.ts +23 -0
- package/demo-angular/src/app/app.ts +88 -0
- package/demo-angular/src/app/shared/code-example/code-example.component.html +30 -0
- package/demo-angular/src/app/shared/code-example/code-example.component.scss +183 -0
- package/demo-angular/src/app/shared/code-example/code-example.component.ts +78 -0
- package/demo-angular/src/app/views/alerts/alerts.component.html +155 -0
- package/demo-angular/src/app/views/alerts/alerts.component.scss +3 -0
- package/demo-angular/src/app/views/alerts/alerts.component.ts +134 -0
- package/demo-angular/src/app/views/bootstrap/bootstrap.component.html +14 -0
- package/demo-angular/src/app/views/bootstrap/bootstrap.component.scss +91 -0
- package/demo-angular/src/app/views/bootstrap/bootstrap.component.ts +23 -0
- package/demo-angular/src/app/views/buttons/buttons.component.html +289 -0
- package/demo-angular/src/app/views/buttons/buttons.component.scss +14 -0
- package/demo-angular/src/app/views/buttons/buttons.component.ts +155 -0
- package/demo-angular/src/app/views/cards/cards.component.html +156 -0
- package/demo-angular/src/app/views/cards/cards.component.html.backup +156 -0
- package/demo-angular/src/app/views/cards/cards.component.scss +11 -0
- package/demo-angular/src/app/views/cards/cards.component.ts +194 -0
- package/demo-angular/src/app/views/forms/forms.component.html +347 -0
- package/demo-angular/src/app/views/forms/forms.component.scss +3 -0
- package/demo-angular/src/app/views/forms/forms.component.ts +222 -0
- package/demo-angular/src/app/views/home/home.component.html +38 -0
- package/demo-angular/src/app/views/home/home.component.scss +35 -0
- package/demo-angular/src/app/views/home/home.component.ts +12 -0
- package/demo-angular/src/app/views/links/links.component.html +140 -0
- package/demo-angular/src/app/views/links/links.component.scss +60 -0
- package/demo-angular/src/app/views/links/links.component.ts +123 -0
- package/demo-angular/src/app/views/tables/tables.component.html +289 -0
- package/demo-angular/src/app/views/tables/tables.component.scss +3 -0
- package/demo-angular/src/app/views/tables/tables.component.ts +278 -0
- package/demo-angular/src/app/views/toasts/toasts.component.html +201 -0
- package/demo-angular/src/app/views/toasts/toasts.component.scss +0 -0
- package/demo-angular/src/app/views/toasts/toasts.component.ts +182 -0
- package/demo-angular/src/index.html +14 -0
- package/demo-angular/src/main.ts +6 -0
- package/demo-angular/src/styles.scss +4 -0
- package/demo-angular/tsconfig.app.json +15 -0
- package/demo-angular/tsconfig.json +33 -0
- package/demo-angular/tsconfig.spec.json +15 -0
- package/fonts/IBM_Plex_Sans_Arabic/OFL.txt +93 -93
- package/package.json +50 -47
- package/theme/_fonts.scss +58 -58
- package/theme/_functions.scss +11 -11
- package/theme/_variables.scss +50 -50
- package/theme/components/_accordion.scss +35 -35
- package/theme/components/_alerts.scss +11 -11
- package/theme/components/_badges.scss +8 -8
- package/theme/components/_breadcrumb.scss +13 -13
- package/theme/components/_buttons.scss +270 -270
- package/theme/components/_cards.scss +21 -21
- package/theme/components/_carousel.scss +33 -33
- package/theme/components/_content.scss +211 -211
- package/theme/components/_dropdowns.scss +45 -45
- package/theme/components/_forms-check.scss +124 -124
- package/theme/components/_forms-floating.scss +17 -17
- package/theme/components/_forms-inputs.scss +70 -70
- package/theme/components/_forms-range.scss +26 -26
- package/theme/components/_forms-select.scss +47 -47
- package/theme/components/_forms-switch.scss +63 -63
- package/theme/components/_forms-validation.scss +16 -16
- package/theme/components/_forms.scss +14 -14
- package/theme/components/_list-group.scss +26 -26
- package/theme/components/_modals.scss +42 -42
- package/theme/components/_navbar.scss +40 -40
- package/theme/components/_navigation.scss +151 -151
- package/theme/components/_offcanvas.scss +15 -15
- package/theme/components/_overlays.scss +112 -112
- package/theme/components/_pagination.scss +39 -39
- package/theme/components/_popovers.scss +26 -26
- package/theme/components/_progress.scss +11 -11
- package/theme/components/_spinners.scss +11 -11
- package/theme/components/_tables.scss +47 -47
- package/theme/components/_toasts.scss +16 -16
- package/theme/components/_tooltips.scss +15 -15
- package/theme/config/_base.scss +111 -111
- package/theme/config/_colors.scss +303 -303
- package/theme/config/_effects.scss +227 -227
- package/theme/config/_radius.scss +78 -78
- package/theme/config/_spacing.scss +155 -155
- package/theme/config/_typography.scss +118 -118
- package/theme/customizations/_alerts.scss +242 -242
- package/theme/customizations/_badges.scss +15 -15
- package/theme/customizations/_buttons.scss +209 -209
- package/theme/customizations/_cards.scss +117 -117
- package/theme/customizations/_forms-check.scss +278 -278
- package/theme/customizations/_forms-inputs.scss +9 -9
- package/theme/customizations/_forms-switch.scss +91 -91
- package/theme/customizations/_forms.scss +5 -5
- package/theme/customizations/_global.scss +25 -25
- package/theme/customizations/_links.scss +94 -46
- package/theme/customizations/_tables.scss +67 -67
- package/theme/customizations/_toasts.scss +221 -221
- package/theme/customizations/_utilities.scss +138 -138
- 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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
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
|
}
|