sdga-ui 1.0.26 → 1.0.28
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/css/dga-ui.css +444 -12
- package/css/dga-ui.css.map +1 -1
- package/package.json +1 -1
- package/theme/components/_progress.scss +4 -0
- package/theme/components/_spinners.scss +25 -2
- package/theme/customizations/_badges.scss +3 -1
- package/theme/customizations/_buttons.scss +124 -14
- package/theme/customizations/_cards.scss +178 -0
- package/theme/customizations/_custom-styles.scss +5 -0
- package/theme/customizations/_pagination.scss +121 -0
- package/theme/customizations/_spinners.scss +39 -0
- package/theme/dga-ui.scss +2 -0
package/package.json
CHANGED
|
@@ -1,11 +1,34 @@
|
|
|
1
1
|
// Bootstrap 5.3 - Spinner Component Variables
|
|
2
2
|
|
|
3
|
+
// Spinner diameter scale (rem)
|
|
4
|
+
// xxs: 20px, xs: 24px, s: 28px, m: 32px, l: 36px, xl: 40px, xxl: 44px
|
|
5
|
+
$spinner-diameters: (
|
|
6
|
+
"xxs": 1.25rem,
|
|
7
|
+
"xs": 1.5rem,
|
|
8
|
+
"s": 1.75rem,
|
|
9
|
+
"m": 2rem,
|
|
10
|
+
"l": 2.25rem,
|
|
11
|
+
"xl": 2.5rem,
|
|
12
|
+
"xxl": 2.75rem
|
|
13
|
+
);
|
|
14
|
+
|
|
3
15
|
$spinner-width: 2rem;
|
|
4
16
|
$spinner-height: $spinner-width;
|
|
5
17
|
$spinner-vertical-align: -0.125em;
|
|
6
|
-
$spinner-border-width: 0.
|
|
18
|
+
$spinner-border-width: 0.15em;
|
|
7
19
|
$spinner-animation-speed: 0.75s;
|
|
8
20
|
|
|
9
21
|
$spinner-width-sm: 1rem;
|
|
10
22
|
$spinner-height-sm: $spinner-width-sm;
|
|
11
|
-
$spinner-border-width-sm: 0.
|
|
23
|
+
$spinner-border-width-sm: 0.1em;
|
|
24
|
+
|
|
25
|
+
// Spinner size utilities
|
|
26
|
+
@each $name, $diameter in $spinner-diameters {
|
|
27
|
+
.spinner-border.spinner-border-#{$name},
|
|
28
|
+
.spinner-grow.spinner-grow-#{$name} {
|
|
29
|
+
--dga-spinner-width: #{$diameter};
|
|
30
|
+
--dga-spinner-height: #{$diameter};
|
|
31
|
+
width: #{$diameter};
|
|
32
|
+
height: #{$diameter};
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -19,9 +19,9 @@ $button-variants: (
|
|
|
19
19
|
active-color: $white,
|
|
20
20
|
active-bg: $neutral-600,
|
|
21
21
|
active-border-color: $neutral-600,
|
|
22
|
-
disabled-color: $
|
|
23
|
-
disabled-bg: $
|
|
24
|
-
disabled-border-color: $
|
|
22
|
+
disabled-color: $gray-400,
|
|
23
|
+
disabled-bg: $gray-200,
|
|
24
|
+
disabled-border-color: $gray-200
|
|
25
25
|
),
|
|
26
26
|
"primary": (
|
|
27
27
|
color: $white,
|
|
@@ -33,9 +33,9 @@ $button-variants: (
|
|
|
33
33
|
active-color: $white,
|
|
34
34
|
active-bg: $primary-800,
|
|
35
35
|
active-border-color: $primary-800,
|
|
36
|
-
disabled-color: $
|
|
37
|
-
disabled-bg: $
|
|
38
|
-
disabled-border-color: $
|
|
36
|
+
disabled-color: $gray-400,
|
|
37
|
+
disabled-bg: $gray-200,
|
|
38
|
+
disabled-border-color: $gray-200
|
|
39
39
|
),
|
|
40
40
|
"secondary": (
|
|
41
41
|
color: $black,
|
|
@@ -47,9 +47,9 @@ $button-variants: (
|
|
|
47
47
|
active-color: $black,
|
|
48
48
|
active-bg: $secondary-200,
|
|
49
49
|
active-border-color: $secondary-400,
|
|
50
|
-
disabled-color: $
|
|
51
|
-
disabled-bg: $
|
|
52
|
-
disabled-border-color: $
|
|
50
|
+
disabled-color: $gray-400,
|
|
51
|
+
disabled-bg: $gray-200,
|
|
52
|
+
disabled-border-color: $gray-200
|
|
53
53
|
),
|
|
54
54
|
"success": (
|
|
55
55
|
color: $white,
|
|
@@ -79,14 +79,98 @@ $button-variants: (
|
|
|
79
79
|
disabled-bg: $danger-100,
|
|
80
80
|
disabled-border-color: $danger-100
|
|
81
81
|
),
|
|
82
|
+
"outline-danger": (
|
|
83
|
+
color: $danger-700,
|
|
84
|
+
bg: transparent,
|
|
85
|
+
border-color: $danger-300,
|
|
86
|
+
hover-color: $danger-700,
|
|
87
|
+
hover-bg: $danger-50,
|
|
88
|
+
hover-border-color: $danger-300,
|
|
89
|
+
active-color: $danger-700,
|
|
90
|
+
active-bg: $danger-100,
|
|
91
|
+
active-border-color: $danger-400,
|
|
92
|
+
disabled-color: $gray-400,
|
|
93
|
+
disabled-bg: $gray-200,
|
|
94
|
+
disabled-border-color: $gray-200
|
|
95
|
+
),
|
|
96
|
+
"outline-danger-secondary": (
|
|
97
|
+
color: $danger-700,
|
|
98
|
+
bg: transparent,
|
|
99
|
+
border-color: $danger-200,
|
|
100
|
+
hover-color: $danger-700,
|
|
101
|
+
hover-bg: $danger-50,
|
|
102
|
+
hover-border-color: $danger-200,
|
|
103
|
+
active-color: $danger-700,
|
|
104
|
+
active-bg: $danger-100,
|
|
105
|
+
active-border-color: $danger-300,
|
|
106
|
+
disabled-color: $gray-400,
|
|
107
|
+
disabled-bg: $gray-200,
|
|
108
|
+
disabled-border-color: $gray-200
|
|
109
|
+
),
|
|
110
|
+
"danger-transparent": (
|
|
111
|
+
color: $danger-600,
|
|
112
|
+
bg: transparent,
|
|
113
|
+
border-color: transparent,
|
|
114
|
+
hover-color: $danger-700,
|
|
115
|
+
hover-bg: transparent,
|
|
116
|
+
hover-border-color: transparent,
|
|
117
|
+
active-color: $danger-800,
|
|
118
|
+
active-bg: transparent,
|
|
119
|
+
active-border-color: transparent,
|
|
120
|
+
disabled-color: $gray-400,
|
|
121
|
+
disabled-bg: transparent,
|
|
122
|
+
disabled-border-color: transparent
|
|
123
|
+
),
|
|
124
|
+
"danger-subtle": (
|
|
125
|
+
color: $danger-700,
|
|
126
|
+
bg: transparent,
|
|
127
|
+
border-color: transparent,
|
|
128
|
+
hover-color: $danger-700,
|
|
129
|
+
hover-bg: $danger-50,
|
|
130
|
+
hover-border-color: transparent,
|
|
131
|
+
active-color: $danger-700,
|
|
132
|
+
active-bg: $danger-100,
|
|
133
|
+
active-border-color: transparent,
|
|
134
|
+
disabled-color: $gray-400,
|
|
135
|
+
disabled-bg: transparent,
|
|
136
|
+
disabled-border-color: transparent
|
|
137
|
+
),
|
|
138
|
+
"danger-secondary": (
|
|
139
|
+
color: $danger-700,
|
|
140
|
+
bg: $danger-50,
|
|
141
|
+
border-color: transparent,
|
|
142
|
+
hover-color: $danger-700,
|
|
143
|
+
hover-bg: $danger-100,
|
|
144
|
+
hover-border-color: transparent,
|
|
145
|
+
active-color: $danger-700,
|
|
146
|
+
active-bg: $danger-200,
|
|
147
|
+
active-border-color: transparent,
|
|
148
|
+
disabled-color: $gray-400,
|
|
149
|
+
disabled-bg: $gray-200,
|
|
150
|
+
disabled-border-color: $gray-200
|
|
151
|
+
),
|
|
152
|
+
"danger-primary": (
|
|
153
|
+
color: $white,
|
|
154
|
+
bg: $danger-600,
|
|
155
|
+
border-color: $danger-600,
|
|
156
|
+
hover-color: $white,
|
|
157
|
+
hover-bg: $danger-700,
|
|
158
|
+
hover-border-color: $danger-700,
|
|
159
|
+
active-color: $white,
|
|
160
|
+
active-bg: $danger-800,
|
|
161
|
+
active-border-color: $danger-800,
|
|
162
|
+
disabled-color: $neutral-500,
|
|
163
|
+
disabled-bg: $danger-100,
|
|
164
|
+
disabled-border-color: $danger-100
|
|
165
|
+
),
|
|
82
166
|
"warning": (
|
|
83
|
-
color: $
|
|
167
|
+
color: $white,
|
|
84
168
|
bg: $warning-400,
|
|
85
169
|
border-color: $warning-400,
|
|
86
|
-
hover-color: $
|
|
170
|
+
hover-color: $white,
|
|
87
171
|
hover-bg: $warning-500,
|
|
88
172
|
hover-border-color: $warning-500,
|
|
89
|
-
active-color: $
|
|
173
|
+
active-color: $white,
|
|
90
174
|
active-bg: $warning-600,
|
|
91
175
|
active-border-color: $warning-600,
|
|
92
176
|
disabled-color: $neutral-500,
|
|
@@ -156,8 +240,8 @@ $button-variants: (
|
|
|
156
240
|
hover-bg: transparent,
|
|
157
241
|
hover-border-color: transparent,
|
|
158
242
|
active-color: $black,
|
|
159
|
-
active-bg:
|
|
160
|
-
active-border-color:
|
|
243
|
+
active-bg: $secondary-200,
|
|
244
|
+
active-border-color: $secondary-300,
|
|
161
245
|
disabled-color: $neutral-400,
|
|
162
246
|
disabled-bg: transparent,
|
|
163
247
|
disabled-border-color: transparent
|
|
@@ -477,6 +561,32 @@ $on-primary-button-variants: (
|
|
|
477
561
|
}
|
|
478
562
|
}
|
|
479
563
|
|
|
564
|
+
// RTL support for horizontal button groups:
|
|
565
|
+
// keep natural RTL ordering and align edge radii/separators correctly.
|
|
566
|
+
[dir="rtl"] .btn-group {
|
|
567
|
+
direction: rtl;
|
|
568
|
+
|
|
569
|
+
> :not(.btn-check) + .btn,
|
|
570
|
+
> .btn-group:not(:first-child) {
|
|
571
|
+
margin-right: calc(-1 * var(--#{$prefix}border-width));
|
|
572
|
+
margin-left: 0;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
> .btn:first-child {
|
|
576
|
+
border-top-left-radius: 0;
|
|
577
|
+
border-bottom-left-radius: 0;
|
|
578
|
+
border-top-right-radius: var(--#{$prefix}border-radius);
|
|
579
|
+
border-bottom-right-radius: var(--#{$prefix}border-radius);
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
> .btn:last-child {
|
|
583
|
+
border-top-right-radius: 0;
|
|
584
|
+
border-bottom-right-radius: 0;
|
|
585
|
+
border-top-left-radius: var(--#{$prefix}border-radius);
|
|
586
|
+
border-bottom-left-radius: var(--#{$prefix}border-radius);
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
|
|
480
590
|
// ============================================
|
|
481
591
|
// Dropdown
|
|
482
592
|
// ============================================
|
|
@@ -7,6 +7,184 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
+
// ============================================
|
|
11
|
+
// EXPANDABLE CARD
|
|
12
|
+
// ============================================
|
|
13
|
+
|
|
14
|
+
.card-expandable {
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
border: 1px solid $gray-200 !important;
|
|
17
|
+
transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
|
|
18
|
+
|
|
19
|
+
&:hover:not(.disabled),
|
|
20
|
+
&.card-expandable-hover {
|
|
21
|
+
background-color: $gray-50;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&:focus-visible,
|
|
25
|
+
&.card-expandable-focused {
|
|
26
|
+
outline: none;
|
|
27
|
+
border-color: $gray-900 !important;
|
|
28
|
+
box-shadow: 0 0 0 2px $gray-900 !important;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.form-check-input:focus {
|
|
32
|
+
box-shadow: none;
|
|
33
|
+
border-color: $gray-300;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&.disabled {
|
|
37
|
+
background-color: $gray-100;
|
|
38
|
+
cursor: not-allowed;
|
|
39
|
+
pointer-events: none;
|
|
40
|
+
|
|
41
|
+
.dga-featured-icon {
|
|
42
|
+
background-color: $gray-200;
|
|
43
|
+
|
|
44
|
+
svg, i {
|
|
45
|
+
fill: $gray-400;
|
|
46
|
+
color: $gray-400;
|
|
47
|
+
stroke: $gray-400;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.card-subtitle,
|
|
52
|
+
.card-text {
|
|
53
|
+
color: $gray-400 !important;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.card-expanded-icon {
|
|
57
|
+
color: $gray-400;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.form-check-input {
|
|
61
|
+
border-color: $gray-300;
|
|
62
|
+
background-color: $gray-200;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// ============================================
|
|
68
|
+
// SELECT CARD (checkbox selection)
|
|
69
|
+
// ============================================
|
|
70
|
+
|
|
71
|
+
.card-select {
|
|
72
|
+
cursor: pointer;
|
|
73
|
+
border: 1px solid $gray-200 !important;
|
|
74
|
+
transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
|
|
75
|
+
|
|
76
|
+
.form-check-input:focus {
|
|
77
|
+
box-shadow: none;
|
|
78
|
+
border-color: $gray-300;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&:hover:not(.disabled),
|
|
82
|
+
&.card-select-hover {
|
|
83
|
+
background-color: $gray-50;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&:focus-visible,
|
|
87
|
+
&.card-select-focused {
|
|
88
|
+
outline: none;
|
|
89
|
+
border-color: $gray-900 !important;
|
|
90
|
+
box-shadow: 0 0 0 2px $gray-900 !important;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&.disabled {
|
|
94
|
+
background-color: $gray-100;
|
|
95
|
+
cursor: not-allowed;
|
|
96
|
+
pointer-events: none;
|
|
97
|
+
|
|
98
|
+
.dga-featured-icon {
|
|
99
|
+
background-color: $gray-200;
|
|
100
|
+
|
|
101
|
+
svg, i {
|
|
102
|
+
fill: $gray-400;
|
|
103
|
+
color: $gray-400;
|
|
104
|
+
stroke: $gray-400;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.card-subtitle,
|
|
109
|
+
.card-text {
|
|
110
|
+
color: $gray-400 !important;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.form-check-input {
|
|
114
|
+
border-color: $gray-300;
|
|
115
|
+
background-color: $gray-200;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
// ============================================
|
|
121
|
+
// SELECTABLE CARD
|
|
122
|
+
// ============================================
|
|
123
|
+
|
|
124
|
+
.card-selectable {
|
|
125
|
+
cursor: pointer;
|
|
126
|
+
border: 1px solid $gray-200 !important;
|
|
127
|
+
transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
|
|
128
|
+
|
|
129
|
+
.card-selectable-icon {
|
|
130
|
+
width: 2.5rem;
|
|
131
|
+
height: 2.5rem;
|
|
132
|
+
border-radius: $radius-full;
|
|
133
|
+
background-color: $primary-50;
|
|
134
|
+
color: $primary;
|
|
135
|
+
display: flex;
|
|
136
|
+
align-items: center;
|
|
137
|
+
justify-content: center;
|
|
138
|
+
font-size: 1.125rem;
|
|
139
|
+
flex-shrink: 0;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.card-title {
|
|
143
|
+
margin-bottom: 0.25rem;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.form-check-input:focus {
|
|
147
|
+
box-shadow: none;
|
|
148
|
+
border-color: $gray-300;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
&:hover:not(.disabled),
|
|
152
|
+
&.card-selectable-hover {
|
|
153
|
+
background-color: $gray-50;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
&:focus-visible,
|
|
157
|
+
&.card-selectable-focused {
|
|
158
|
+
outline: none;
|
|
159
|
+
border-color: $gray-900 !important;
|
|
160
|
+
box-shadow: 0 0 0 2px $gray-900 !important;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
&.disabled {
|
|
164
|
+
background-color: $gray-100;
|
|
165
|
+
cursor: not-allowed;
|
|
166
|
+
pointer-events: none;
|
|
167
|
+
|
|
168
|
+
.card-selectable-icon {
|
|
169
|
+
background-color: $gray-200;
|
|
170
|
+
color: $gray-400;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.card-title {
|
|
174
|
+
color: $gray-400;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.card-text {
|
|
178
|
+
color: $gray-400 !important;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.form-check-input {
|
|
182
|
+
border-color: $gray-300;
|
|
183
|
+
background-color: $gray-200;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
10
188
|
// ============================================
|
|
11
189
|
// CARD BASE STYLES
|
|
12
190
|
// ============================================
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
// Pagination Customizations - SDGA Custom Enhancements
|
|
2
|
+
|
|
3
|
+
// Keep page number controls visually square by enforcing fixed heights
|
|
4
|
+
// and matching minimum widths across all pagination sizes.
|
|
5
|
+
.pagination {
|
|
6
|
+
gap: 0.5rem;
|
|
7
|
+
|
|
8
|
+
.page-item:not(:first-child) .page-link {
|
|
9
|
+
margin-left: 0;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.page-link {
|
|
13
|
+
align-items: center;
|
|
14
|
+
background-color: transparent;
|
|
15
|
+
border: 0;
|
|
16
|
+
border-radius: $radius-md;
|
|
17
|
+
color: $black;
|
|
18
|
+
display: inline-flex;
|
|
19
|
+
font-size: 0.875rem;
|
|
20
|
+
height: 32px;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
line-height: 1;
|
|
23
|
+
min-width: 32px;
|
|
24
|
+
padding-inline: 0.5rem;
|
|
25
|
+
position: relative;
|
|
26
|
+
transition: background-color 0.2s ease, color 0.2s ease, outline-color 0.2s ease;
|
|
27
|
+
|
|
28
|
+
&:hover {
|
|
29
|
+
background-color: $neutral-100;
|
|
30
|
+
color: $black;
|
|
31
|
+
z-index: 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&:focus,
|
|
35
|
+
&:focus-visible {
|
|
36
|
+
background-color: transparent;
|
|
37
|
+
box-shadow: none;
|
|
38
|
+
color: $black;
|
|
39
|
+
outline: 2px solid $black;
|
|
40
|
+
outline-offset: -2px;
|
|
41
|
+
z-index: 1;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
// Pressed style aligns with button/dropdown pressed behavior.
|
|
45
|
+
&:active {
|
|
46
|
+
background-color: $neutral-200 !important;
|
|
47
|
+
box-shadow: none !important;
|
|
48
|
+
color: $black;
|
|
49
|
+
outline: 0 !important;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.page-item.active .page-link,
|
|
54
|
+
.page-link[aria-current='page'] {
|
|
55
|
+
background-color: transparent;
|
|
56
|
+
border: 0;
|
|
57
|
+
color: $black;
|
|
58
|
+
font-weight: 500;
|
|
59
|
+
|
|
60
|
+
&::after {
|
|
61
|
+
background-color: $primary-600;
|
|
62
|
+
border-radius: 999px;
|
|
63
|
+
bottom: -2px;
|
|
64
|
+
content: '';
|
|
65
|
+
height: 4px;
|
|
66
|
+
left: 50%;
|
|
67
|
+
position: absolute;
|
|
68
|
+
transform: translateX(-50%);
|
|
69
|
+
width: 65%;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&:hover {
|
|
73
|
+
background-color: transparent;
|
|
74
|
+
color: $black;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&:focus,
|
|
78
|
+
&:focus-visible {
|
|
79
|
+
outline: 2px solid $black;
|
|
80
|
+
outline-offset: -2px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&:active {
|
|
84
|
+
background-color: $primary-50 !important;
|
|
85
|
+
color: $primary-700;
|
|
86
|
+
outline: 0 !important;
|
|
87
|
+
|
|
88
|
+
&::after {
|
|
89
|
+
background-color: $primary-700;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.page-item.disabled .page-link,
|
|
95
|
+
.page-link.disabled {
|
|
96
|
+
background-color: transparent;
|
|
97
|
+
color: $neutral-400;
|
|
98
|
+
opacity: 1;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.page-link > .bi {
|
|
102
|
+
font-size: 1rem;
|
|
103
|
+
line-height: 1;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&.pagination-sm {
|
|
107
|
+
.page-link {
|
|
108
|
+
height: 24px;
|
|
109
|
+
min-width: 24px;
|
|
110
|
+
padding-inline: 0.375rem;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&.pagination-lg {
|
|
115
|
+
.page-link {
|
|
116
|
+
height: 40px;
|
|
117
|
+
min-width: 40px;
|
|
118
|
+
padding-inline: 0.75rem;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// Spinner customizations
|
|
2
|
+
// Apply a full-track ring spinner with a 25% colored arc.
|
|
3
|
+
|
|
4
|
+
$spinner-track-color: $neutral-200;
|
|
5
|
+
$spinner-arc-angle: 90deg;
|
|
6
|
+
|
|
7
|
+
.spinner-border {
|
|
8
|
+
border: 0;
|
|
9
|
+
border-radius: 50%;
|
|
10
|
+
background: conic-gradient(
|
|
11
|
+
from -90deg,
|
|
12
|
+
currentColor 0deg $spinner-arc-angle,
|
|
13
|
+
$spinner-track-color $spinner-arc-angle 360deg
|
|
14
|
+
);
|
|
15
|
+
-webkit-mask: radial-gradient(
|
|
16
|
+
farthest-side,
|
|
17
|
+
transparent calc(100% - #{$spinner-border-width}),
|
|
18
|
+
$black calc(100% - #{$spinner-border-width})
|
|
19
|
+
);
|
|
20
|
+
mask: radial-gradient(
|
|
21
|
+
farthest-side,
|
|
22
|
+
transparent calc(100% - #{$spinner-border-width}),
|
|
23
|
+
$black calc(100% - #{$spinner-border-width})
|
|
24
|
+
);
|
|
25
|
+
animation: $spinner-animation-speed linear infinite spinner-border;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.spinner-border-sm {
|
|
29
|
+
-webkit-mask: radial-gradient(
|
|
30
|
+
farthest-side,
|
|
31
|
+
transparent calc(100% - #{$spinner-border-width-sm}),
|
|
32
|
+
$black calc(100% - #{$spinner-border-width-sm})
|
|
33
|
+
);
|
|
34
|
+
mask: radial-gradient(
|
|
35
|
+
farthest-side,
|
|
36
|
+
transparent calc(100% - #{$spinner-border-width-sm}),
|
|
37
|
+
$black calc(100% - #{$spinner-border-width-sm})
|
|
38
|
+
);
|
|
39
|
+
}
|
package/theme/dga-ui.scss
CHANGED
|
@@ -30,6 +30,8 @@
|
|
|
30
30
|
@import './customizations/navbar';
|
|
31
31
|
@import './customizations/navs';
|
|
32
32
|
@import './customizations/tabs';
|
|
33
|
+
@import './customizations/pagination';
|
|
33
34
|
@import './customizations/progress-indicator';
|
|
34
35
|
@import './customizations/breadcrumb';
|
|
36
|
+
@import './customizations/spinners';
|
|
35
37
|
@import './customizations/custom-styles';
|