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,26 +1,26 @@
|
|
|
1
|
-
// Bootstrap 5.3 - Popover Component Variables
|
|
2
|
-
|
|
3
|
-
$popover-font-size: $font-size-sm;
|
|
4
|
-
$popover-bg: $white;
|
|
5
|
-
$popover-max-width: 276px;
|
|
6
|
-
$popover-border-width:
|
|
7
|
-
$popover-border-color: rgba($black, 0.2);
|
|
8
|
-
$popover-border-radius: $radius-lg;
|
|
9
|
-
$popover-inner-border-radius: calc(#{$popover-border-radius} - #{$popover-border-width});
|
|
10
|
-
$popover-box-shadow: 0 0.5rem 1rem rgba($black, 0.15);
|
|
11
|
-
|
|
12
|
-
$popover-header-font-size: $font-size-base;
|
|
13
|
-
$popover-header-bg: $gray-100;
|
|
14
|
-
$popover-header-color: $headings-color;
|
|
15
|
-
$popover-header-padding-y: 0.5rem;
|
|
16
|
-
$popover-header-padding-x: 0.75rem;
|
|
17
|
-
|
|
18
|
-
$popover-body-color: $body-color;
|
|
19
|
-
$popover-body-padding-y: 0.5rem;
|
|
20
|
-
$popover-body-padding-x: 0.75rem;
|
|
21
|
-
|
|
22
|
-
$popover-arrow-width: 1rem;
|
|
23
|
-
$popover-arrow-height: 0.5rem;
|
|
24
|
-
$popover-arrow-color: $popover-bg;
|
|
25
|
-
|
|
26
|
-
$popover-arrow-outer-color: rgba($black, 0.25);
|
|
1
|
+
// Bootstrap 5.3 - Popover Component Variables
|
|
2
|
+
|
|
3
|
+
$popover-font-size: $font-size-sm;
|
|
4
|
+
$popover-bg: $white;
|
|
5
|
+
$popover-max-width: 276px;
|
|
6
|
+
$popover-border-width: 1px;
|
|
7
|
+
$popover-border-color: rgba($black, 0.2);
|
|
8
|
+
$popover-border-radius: $radius-lg;
|
|
9
|
+
$popover-inner-border-radius: calc(#{$popover-border-radius} - #{$popover-border-width});
|
|
10
|
+
$popover-box-shadow: 0 0.5rem 1rem rgba($black, 0.15);
|
|
11
|
+
|
|
12
|
+
$popover-header-font-size: $font-size-base;
|
|
13
|
+
$popover-header-bg: $gray-100;
|
|
14
|
+
$popover-header-color: $headings-color;
|
|
15
|
+
$popover-header-padding-y: 0.5rem;
|
|
16
|
+
$popover-header-padding-x: 0.75rem;
|
|
17
|
+
|
|
18
|
+
$popover-body-color: $body-color;
|
|
19
|
+
$popover-body-padding-y: 0.5rem;
|
|
20
|
+
$popover-body-padding-x: 0.75rem;
|
|
21
|
+
|
|
22
|
+
$popover-arrow-width: 1rem;
|
|
23
|
+
$popover-arrow-height: 0.5rem;
|
|
24
|
+
$popover-arrow-color: $popover-bg;
|
|
25
|
+
|
|
26
|
+
$popover-arrow-outer-color: rgba($black, 0.25);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
// Bootstrap 5.3 - Progress Bar Component Variables
|
|
2
|
-
|
|
3
|
-
$progress-height: 1rem;
|
|
4
|
-
$progress-font-size: $font-size-base * 0.75;
|
|
5
|
-
$progress-bg: $gray-200;
|
|
6
|
-
$progress-border-radius: $radius-sm;
|
|
7
|
-
$progress-box-shadow: inset 0 0.1rem 0.1rem rgba($black, 0.1);
|
|
8
|
-
$progress-bar-color: $white;
|
|
9
|
-
$progress-bar-bg: $primary;
|
|
10
|
-
$progress-bar-animation-timing: 1s linear infinite;
|
|
11
|
-
$progress-bar-transition: width 0.6s ease;
|
|
1
|
+
// Bootstrap 5.3 - Progress Bar Component Variables
|
|
2
|
+
|
|
3
|
+
$progress-height: 1rem;
|
|
4
|
+
$progress-font-size: $font-size-base * 0.75;
|
|
5
|
+
$progress-bg: $gray-200;
|
|
6
|
+
$progress-border-radius: $radius-sm;
|
|
7
|
+
$progress-box-shadow: inset 0 0.1rem 0.1rem rgba($black, 0.1);
|
|
8
|
+
$progress-bar-color: $white;
|
|
9
|
+
$progress-bar-bg: $primary;
|
|
10
|
+
$progress-bar-animation-timing: 1s linear infinite;
|
|
11
|
+
$progress-bar-transition: width 0.6s ease;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
// Bootstrap 5.3 - Spinner Component Variables
|
|
2
|
-
|
|
3
|
-
$spinner-width: 2rem;
|
|
4
|
-
$spinner-height: $spinner-width;
|
|
5
|
-
$spinner-vertical-align: -0.125em;
|
|
6
|
-
$spinner-border-width: 0.25em;
|
|
7
|
-
$spinner-animation-speed: 0.75s;
|
|
8
|
-
|
|
9
|
-
$spinner-width-sm: 1rem;
|
|
10
|
-
$spinner-height-sm: $spinner-width-sm;
|
|
11
|
-
$spinner-border-width-sm: 0.2em;
|
|
1
|
+
// Bootstrap 5.3 - Spinner Component Variables
|
|
2
|
+
|
|
3
|
+
$spinner-width: 2rem;
|
|
4
|
+
$spinner-height: $spinner-width;
|
|
5
|
+
$spinner-vertical-align: -0.125em;
|
|
6
|
+
$spinner-border-width: 0.25em;
|
|
7
|
+
$spinner-animation-speed: 0.75s;
|
|
8
|
+
|
|
9
|
+
$spinner-width-sm: 1rem;
|
|
10
|
+
$spinner-height-sm: $spinner-width-sm;
|
|
11
|
+
$spinner-border-width-sm: 0.2em;
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
$table-cell-padding-y: .5rem;
|
|
2
|
-
$table-cell-padding-x: 1rem;
|
|
3
|
-
$table-cell-padding-y-sm: .25rem;
|
|
4
|
-
$table-cell-padding-x-sm: .5rem;
|
|
5
|
-
|
|
6
|
-
$table-cell-vertical-align: top;
|
|
7
|
-
|
|
8
|
-
$table-color: $black;
|
|
9
|
-
$table-bg: var(--#{$prefix}body-bg);
|
|
10
|
-
$table-accent-bg: transparent;
|
|
11
|
-
$table-border: $neutral-300;
|
|
12
|
-
$table-border-width: 1px;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
$table-thead-bg: $neutral-100;
|
|
16
|
-
$table-thead-border-width: $table-border-width;
|
|
17
|
-
$table-thead-border-radius: $radius-md;
|
|
18
|
-
$table-thead-border-color: $table-border;
|
|
19
|
-
|
|
20
|
-
$table-th-font-weight: $font-weight-medium;
|
|
21
|
-
$table-th-color: $neutral-700;
|
|
22
|
-
$table-th-border-width: $table-border-width;
|
|
23
|
-
$table-th-border-color: $table-border;
|
|
24
|
-
|
|
25
|
-
$table-striped-color: $table-color;
|
|
26
|
-
$table-striped-bg-factor: 1;
|
|
27
|
-
$table-striped-bg: rgba($neutral-50, $table-striped-bg-factor);
|
|
28
|
-
|
|
29
|
-
$table-active-color: $table-color;
|
|
30
|
-
$table-active-bg-factor: 1;
|
|
31
|
-
$table-active-bg: rgba($neutral-50, $table-active-bg-factor);
|
|
32
|
-
|
|
33
|
-
$table-hover-color: $table-color;
|
|
34
|
-
$table-hover-bg-factor: 1;
|
|
35
|
-
$table-hover-bg: rgba($neutral-50, $table-hover-bg-factor);
|
|
36
|
-
|
|
37
|
-
$table-border-factor: .2;
|
|
38
|
-
$table-border-width: var(--#{$prefix}border-width);
|
|
39
|
-
$table-border-color: $table-border;
|
|
40
|
-
|
|
41
|
-
$table-striped-order: even;
|
|
42
|
-
$table-striped-columns-order: even;
|
|
43
|
-
|
|
44
|
-
$table-group-separator-color: currentcolor;
|
|
45
|
-
|
|
46
|
-
$table-caption-color: var(--#{$prefix}secondary-color);
|
|
47
|
-
|
|
1
|
+
$table-cell-padding-y: .5rem;
|
|
2
|
+
$table-cell-padding-x: 1rem;
|
|
3
|
+
$table-cell-padding-y-sm: .25rem;
|
|
4
|
+
$table-cell-padding-x-sm: .5rem;
|
|
5
|
+
|
|
6
|
+
$table-cell-vertical-align: top;
|
|
7
|
+
|
|
8
|
+
$table-color: $black;
|
|
9
|
+
$table-bg: var(--#{$prefix}body-bg);
|
|
10
|
+
$table-accent-bg: transparent;
|
|
11
|
+
$table-border: $neutral-300;
|
|
12
|
+
$table-border-width: 1px;
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
$table-thead-bg: $neutral-100;
|
|
16
|
+
$table-thead-border-width: $table-border-width;
|
|
17
|
+
$table-thead-border-radius: $radius-md;
|
|
18
|
+
$table-thead-border-color: $table-border;
|
|
19
|
+
|
|
20
|
+
$table-th-font-weight: $font-weight-medium;
|
|
21
|
+
$table-th-color: $neutral-700;
|
|
22
|
+
$table-th-border-width: $table-border-width;
|
|
23
|
+
$table-th-border-color: $table-border;
|
|
24
|
+
|
|
25
|
+
$table-striped-color: $table-color;
|
|
26
|
+
$table-striped-bg-factor: 1;
|
|
27
|
+
$table-striped-bg: rgba($neutral-50, $table-striped-bg-factor);
|
|
28
|
+
|
|
29
|
+
$table-active-color: $table-color;
|
|
30
|
+
$table-active-bg-factor: 1;
|
|
31
|
+
$table-active-bg: rgba($neutral-50, $table-active-bg-factor);
|
|
32
|
+
|
|
33
|
+
$table-hover-color: $table-color;
|
|
34
|
+
$table-hover-bg-factor: 1;
|
|
35
|
+
$table-hover-bg: rgba($neutral-50, $table-hover-bg-factor);
|
|
36
|
+
|
|
37
|
+
$table-border-factor: .2;
|
|
38
|
+
$table-border-width: var(--#{$prefix}border-width);
|
|
39
|
+
$table-border-color: $table-border;
|
|
40
|
+
|
|
41
|
+
$table-striped-order: even;
|
|
42
|
+
$table-striped-columns-order: even;
|
|
43
|
+
|
|
44
|
+
$table-group-separator-color: currentcolor;
|
|
45
|
+
|
|
46
|
+
$table-caption-color: var(--#{$prefix}secondary-color);
|
|
47
|
+
|
|
48
48
|
$table-bg-scale: -80%;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
$toast-max-width: 30.25rem;
|
|
2
|
-
$toast-padding-y: $spacer;
|
|
3
|
-
$toast-padding-x: $spacer * 1.5;
|
|
4
|
-
$toast-font-size: 1rem;
|
|
5
|
-
$toast-color: $gray-700;
|
|
6
|
-
$toast-background-color: $white;
|
|
7
|
-
$toast-border-width: var(--#{$prefix}border-width);
|
|
8
|
-
$toast-border-color: var(--#{$prefix}border-color-translucent);
|
|
9
|
-
$toast-border-radius: $radius-md;
|
|
10
|
-
$toast-box-shadow: $box-shadow-lg;
|
|
11
|
-
$toast-spacing:
|
|
12
|
-
$toast-icon-bg: var(--#{$prefix}toast-icon-bg);
|
|
13
|
-
$toast-icon-color: var(--#{$prefix}toast-icon-color);
|
|
14
|
-
$toast-title-color: var(--#{$prefix}toast-title-color);
|
|
15
|
-
$toast-header-color: var(--#{$prefix}secondary-color);
|
|
16
|
-
$toast-header-background-color: transparent;
|
|
1
|
+
$toast-max-width: 30.25rem;
|
|
2
|
+
$toast-padding-y: $spacer;
|
|
3
|
+
$toast-padding-x: $spacer * 1.5;
|
|
4
|
+
$toast-font-size: 1rem;
|
|
5
|
+
$toast-color: $gray-700;
|
|
6
|
+
$toast-background-color: $white;
|
|
7
|
+
$toast-border-width: var(--#{$prefix}border-width);
|
|
8
|
+
$toast-border-color: var(--#{$prefix}border-color-translucent);
|
|
9
|
+
$toast-border-radius: $radius-md;
|
|
10
|
+
$toast-box-shadow: $box-shadow-lg;
|
|
11
|
+
$toast-spacing: 1rem;
|
|
12
|
+
$toast-icon-bg: var(--#{$prefix}toast-icon-bg);
|
|
13
|
+
$toast-icon-color: var(--#{$prefix}toast-icon-color);
|
|
14
|
+
$toast-title-color: var(--#{$prefix}toast-title-color);
|
|
15
|
+
$toast-header-color: var(--#{$prefix}secondary-color);
|
|
16
|
+
$toast-header-background-color: transparent;
|
|
17
17
|
$toast-header-border-color: transparent;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
// Bootstrap 5.3 - Tooltip Component Variables
|
|
2
|
-
|
|
3
|
-
$tooltip-font-size: $font-size-sm;
|
|
4
|
-
$tooltip-max-width: 200px;
|
|
5
|
-
$tooltip-color: $white;
|
|
6
|
-
$tooltip-bg: $black;
|
|
7
|
-
$tooltip-border-radius: $radius-sm;
|
|
8
|
-
$tooltip-opacity: 0.9;
|
|
9
|
-
$tooltip-padding-y: 0.25rem;
|
|
10
|
-
$tooltip-padding-x: 0.5rem;
|
|
11
|
-
$tooltip-margin: null;
|
|
12
|
-
|
|
13
|
-
$tooltip-arrow-width: 0.8rem;
|
|
14
|
-
$tooltip-arrow-height: 0.4rem;
|
|
15
|
-
$tooltip-arrow-color: null;
|
|
1
|
+
// Bootstrap 5.3 - Tooltip Component Variables
|
|
2
|
+
|
|
3
|
+
$tooltip-font-size: $font-size-sm;
|
|
4
|
+
$tooltip-max-width: 200px;
|
|
5
|
+
$tooltip-color: $white;
|
|
6
|
+
$tooltip-bg: $black;
|
|
7
|
+
$tooltip-border-radius: $radius-sm;
|
|
8
|
+
$tooltip-opacity: 0.9;
|
|
9
|
+
$tooltip-padding-y: 0.25rem;
|
|
10
|
+
$tooltip-padding-x: 0.5rem;
|
|
11
|
+
$tooltip-margin: null;
|
|
12
|
+
|
|
13
|
+
$tooltip-arrow-width: 0.8rem;
|
|
14
|
+
$tooltip-arrow-height: 0.4rem;
|
|
15
|
+
$tooltip-arrow-color: null;
|
package/theme/config/_base.scss
CHANGED
|
@@ -1,112 +1,112 @@
|
|
|
1
|
-
// Bootstrap 5.3 - Component Base Variables
|
|
2
|
-
// Body, Links, Borders, Shadows, Focus, Layout, and Utilities
|
|
3
|
-
|
|
4
|
-
@use 'sass:color';
|
|
5
|
-
|
|
6
|
-
// ============================================
|
|
7
|
-
// PREFIX
|
|
8
|
-
// ============================================
|
|
9
|
-
|
|
10
|
-
$prefix: dga-;
|
|
11
|
-
|
|
12
|
-
// ============================================
|
|
13
|
-
// BODY
|
|
14
|
-
// ============================================
|
|
15
|
-
|
|
16
|
-
$body-bg: $white;
|
|
17
|
-
$body-color: $black;
|
|
18
|
-
$body-text-align: start;
|
|
19
|
-
|
|
20
|
-
// ============================================
|
|
21
|
-
// LINKS
|
|
22
|
-
// ============================================
|
|
23
|
-
|
|
24
|
-
$link-color: $primary;
|
|
25
|
-
$link-decoration: none;
|
|
26
|
-
$link-hover-color: color.scale($primary, $lightness: -32%);
|
|
27
|
-
$link-hover-decoration: underline;
|
|
28
|
-
|
|
29
|
-
// ============================================
|
|
30
|
-
// COMPONENTS BASE
|
|
31
|
-
// ============================================
|
|
32
|
-
|
|
33
|
-
$component-active-color: $white;
|
|
34
|
-
$component-active-bg: $primary;
|
|
35
|
-
|
|
36
|
-
// Border
|
|
37
|
-
$border-width: 1px;
|
|
38
|
-
$border-widths: (
|
|
39
|
-
0: 0,
|
|
40
|
-
1: 1px,
|
|
41
|
-
2: 2px,
|
|
42
|
-
3: 3px,
|
|
43
|
-
4: 4px,
|
|
44
|
-
5: 5px
|
|
45
|
-
);
|
|
46
|
-
// Shadow base color (using SDGA neutral-900 shade)
|
|
47
|
-
$shadow-color: $gray-900;
|
|
48
|
-
$border-color: $gray-500;
|
|
49
|
-
|
|
50
|
-
// Focus
|
|
51
|
-
$focus-ring-width: 0.25rem;
|
|
52
|
-
$focus-ring-opacity: 0.25;
|
|
53
|
-
$focus-ring-color: rgba($shadow-color, $focus-ring-opacity);
|
|
54
|
-
$focus-ring-blur: 0;
|
|
55
|
-
$focus-ring-box-shadow: 0 0 $focus-ring-blur $focus-ring-width $focus-ring-color;
|
|
56
|
-
|
|
57
|
-
// ============================================
|
|
58
|
-
// UTILITIES
|
|
59
|
-
// ============================================
|
|
60
|
-
|
|
61
|
-
$enable-shadows: true;
|
|
62
|
-
$enable-negative-margins: true;
|
|
63
|
-
$enable-smooth-scroll: true;
|
|
64
|
-
$enable-rfs: true;
|
|
65
|
-
$enable-important-utilities: true;
|
|
66
|
-
$enable-ripple-effect: true !default;
|
|
67
|
-
|
|
68
|
-
// ============================================
|
|
69
|
-
// CONTAINER
|
|
70
|
-
// ============================================
|
|
71
|
-
|
|
72
|
-
$container-max-widths: (
|
|
73
|
-
sm: 540px,
|
|
74
|
-
md: 720px,
|
|
75
|
-
lg: 960px,
|
|
76
|
-
xl: 1140px,
|
|
77
|
-
xxl: 1320px
|
|
78
|
-
);
|
|
79
|
-
|
|
80
|
-
$container-padding-x: 1rem;
|
|
81
|
-
|
|
82
|
-
// ============================================
|
|
83
|
-
// GRID
|
|
84
|
-
// ============================================
|
|
85
|
-
|
|
86
|
-
$grid-columns: 12;
|
|
87
|
-
$grid-gutter-width: 1.5rem;
|
|
88
|
-
$grid-row-columns: 6;
|
|
89
|
-
|
|
90
|
-
// ============================================
|
|
91
|
-
// Z-INDEX
|
|
92
|
-
// ============================================
|
|
93
|
-
|
|
94
|
-
$zindex-dropdown: 1000;
|
|
95
|
-
$zindex-sticky: 1020;
|
|
96
|
-
$zindex-fixed: 1030;
|
|
97
|
-
$zindex-offcanvas-backdrop: 1040;
|
|
98
|
-
$zindex-offcanvas: 1045;
|
|
99
|
-
$zindex-modal-backdrop: 1050;
|
|
100
|
-
$zindex-modal: 1055;
|
|
101
|
-
$zindex-popover: 1070;
|
|
102
|
-
$zindex-tooltip: 1080;
|
|
103
|
-
$zindex-toast: 1090;
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
// ============================================
|
|
107
|
-
// Responsive Variables
|
|
108
|
-
// ============================================
|
|
109
|
-
|
|
110
|
-
$mobile: 48rem;
|
|
111
|
-
$tablet: 63.9375rem;
|
|
1
|
+
// Bootstrap 5.3 - Component Base Variables
|
|
2
|
+
// Body, Links, Borders, Shadows, Focus, Layout, and Utilities
|
|
3
|
+
|
|
4
|
+
@use 'sass:color';
|
|
5
|
+
|
|
6
|
+
// ============================================
|
|
7
|
+
// PREFIX
|
|
8
|
+
// ============================================
|
|
9
|
+
|
|
10
|
+
$prefix: dga-;
|
|
11
|
+
|
|
12
|
+
// ============================================
|
|
13
|
+
// BODY
|
|
14
|
+
// ============================================
|
|
15
|
+
|
|
16
|
+
$body-bg: $white;
|
|
17
|
+
$body-color: $black;
|
|
18
|
+
$body-text-align: start;
|
|
19
|
+
|
|
20
|
+
// ============================================
|
|
21
|
+
// LINKS
|
|
22
|
+
// ============================================
|
|
23
|
+
|
|
24
|
+
$link-color: $primary;
|
|
25
|
+
$link-decoration: none;
|
|
26
|
+
$link-hover-color: color.scale($primary, $lightness: -32%);
|
|
27
|
+
$link-hover-decoration: underline;
|
|
28
|
+
|
|
29
|
+
// ============================================
|
|
30
|
+
// COMPONENTS BASE
|
|
31
|
+
// ============================================
|
|
32
|
+
|
|
33
|
+
$component-active-color: $white;
|
|
34
|
+
$component-active-bg: $primary;
|
|
35
|
+
|
|
36
|
+
// Border
|
|
37
|
+
$border-width: 1px;
|
|
38
|
+
$border-widths: (
|
|
39
|
+
0: 0,
|
|
40
|
+
1: 1px,
|
|
41
|
+
2: 2px,
|
|
42
|
+
3: 3px,
|
|
43
|
+
4: 4px,
|
|
44
|
+
5: 5px
|
|
45
|
+
);
|
|
46
|
+
// Shadow base color (using SDGA neutral-900 shade)
|
|
47
|
+
$shadow-color: $gray-900;
|
|
48
|
+
$border-color: $gray-500;
|
|
49
|
+
|
|
50
|
+
// Focus
|
|
51
|
+
$focus-ring-width: 0.25rem;
|
|
52
|
+
$focus-ring-opacity: 0.25;
|
|
53
|
+
$focus-ring-color: rgba($shadow-color, $focus-ring-opacity);
|
|
54
|
+
$focus-ring-blur: 0;
|
|
55
|
+
$focus-ring-box-shadow: 0 0 $focus-ring-blur $focus-ring-width $focus-ring-color;
|
|
56
|
+
|
|
57
|
+
// ============================================
|
|
58
|
+
// UTILITIES
|
|
59
|
+
// ============================================
|
|
60
|
+
|
|
61
|
+
$enable-shadows: true;
|
|
62
|
+
$enable-negative-margins: true;
|
|
63
|
+
$enable-smooth-scroll: true;
|
|
64
|
+
$enable-rfs: true;
|
|
65
|
+
$enable-important-utilities: true;
|
|
66
|
+
$enable-ripple-effect: true !default;
|
|
67
|
+
|
|
68
|
+
// ============================================
|
|
69
|
+
// CONTAINER
|
|
70
|
+
// ============================================
|
|
71
|
+
|
|
72
|
+
$container-max-widths: (
|
|
73
|
+
sm: 540px,
|
|
74
|
+
md: 720px,
|
|
75
|
+
lg: 960px,
|
|
76
|
+
xl: 1140px,
|
|
77
|
+
xxl: 1320px
|
|
78
|
+
);
|
|
79
|
+
|
|
80
|
+
$container-padding-x: 1rem;
|
|
81
|
+
|
|
82
|
+
// ============================================
|
|
83
|
+
// GRID
|
|
84
|
+
// ============================================
|
|
85
|
+
|
|
86
|
+
$grid-columns: 12;
|
|
87
|
+
$grid-gutter-width: 1.5rem;
|
|
88
|
+
$grid-row-columns: 6;
|
|
89
|
+
|
|
90
|
+
// ============================================
|
|
91
|
+
// Z-INDEX
|
|
92
|
+
// ============================================
|
|
93
|
+
|
|
94
|
+
$zindex-dropdown: 1000;
|
|
95
|
+
$zindex-sticky: 1020;
|
|
96
|
+
$zindex-fixed: 1030;
|
|
97
|
+
$zindex-offcanvas-backdrop: 1040;
|
|
98
|
+
$zindex-offcanvas: 1045;
|
|
99
|
+
$zindex-modal-backdrop: 1050;
|
|
100
|
+
$zindex-modal: 1055;
|
|
101
|
+
$zindex-popover: 1070;
|
|
102
|
+
$zindex-tooltip: 1080;
|
|
103
|
+
$zindex-toast: 1090;
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
// ============================================
|
|
107
|
+
// Responsive Variables
|
|
108
|
+
// ============================================
|
|
109
|
+
|
|
110
|
+
$mobile: 48rem;
|
|
111
|
+
$tablet: 63.9375rem;
|
|
112
112
|
$desktop: 64rem;
|