@wwtdev/bsds-css 2.21.1 → 2.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/_alert.scss +27 -12
- package/dist/components/_horizontal-navigation-mobile.scss +75 -40
- package/dist/components/_horizontal-navigation.scss +1 -1
- package/dist/components/_inline-tabs.scss +86 -0
- package/dist/components/_modal.scss +134 -19
- package/dist/components/_vertical-navigation.scss +18 -13
- package/dist/components/alert.css +27 -12
- package/dist/components/horizontal-navigation-mobile.css +75 -40
- package/dist/components/horizontal-navigation.css +1 -1
- package/dist/components/inline-tabs.css +83 -0
- package/dist/components/modal.css +134 -19
- package/dist/components/vertical-navigation.css +18 -13
- package/dist/wwt-bsds.css +299 -81
- package/dist/wwt-bsds.min.css +1 -1
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
border: 2px solid var(--bs-ink-blue);
|
|
7
7
|
column-gap: 0.75rem;
|
|
8
8
|
display: grid;
|
|
9
|
-
grid-template-columns: 1.
|
|
9
|
+
grid-template-columns: 1.125rem 1fr 1rem;
|
|
10
10
|
grid-template-areas: "icon title close"
|
|
11
11
|
". description ."
|
|
12
12
|
". action .";
|
|
@@ -16,43 +16,57 @@
|
|
|
16
16
|
@media (min-width: 752px) {
|
|
17
17
|
.bs-alert {
|
|
18
18
|
padding: 1.5rem;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
.bs-alert:where([data-horizontal="true"]) {
|
|
23
|
-
grid-template-columns: 1.25rem 1fr 1rem;
|
|
24
|
-
grid-template-areas: "icon title close"
|
|
19
|
+
grid-template-columns: 1.25rem 1fr 1rem;
|
|
20
|
+
grid-template-areas: "icon title close"
|
|
21
|
+
". description ."
|
|
25
22
|
". action .";
|
|
23
|
+
}
|
|
26
24
|
}
|
|
27
25
|
|
|
28
26
|
@media (min-width: 752px) {
|
|
29
27
|
.bs-alert:where([data-horizontal="true"]) {
|
|
28
|
+
padding: 1rem 1.5rem;
|
|
30
29
|
grid-template-areas: "icon title action close";
|
|
31
|
-
grid-template-columns: 1.
|
|
30
|
+
grid-template-columns: 1.125rem max-content 1fr 1rem;
|
|
32
31
|
}
|
|
33
32
|
}
|
|
34
33
|
|
|
35
34
|
.bs-alert :where(.bs-alert-icon) {
|
|
36
|
-
|
|
35
|
+
margin-top: 0.25rem;
|
|
36
|
+
align-self: start;
|
|
37
37
|
color: var(--bs-ink-blue);
|
|
38
38
|
grid-area: icon;
|
|
39
|
-
height: 1.
|
|
40
|
-
width: 1.
|
|
39
|
+
height: 1.125rem;
|
|
40
|
+
width: 1.125rem;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.bs-alert :where(.bs-alert-title) {
|
|
44
44
|
font-size: 1.125rem;
|
|
45
|
+
line-height: 1.3;
|
|
46
|
+
color: var(--bs-ink-base);
|
|
45
47
|
grid-area: title;
|
|
46
48
|
}
|
|
47
49
|
|
|
48
50
|
@media (min-width: 752px) {
|
|
49
51
|
.bs-alert :where(.bs-alert-title) {
|
|
50
52
|
font-size: 1.25rem;
|
|
53
|
+
line-height: 1.3;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.bs-alert:where([data-horizontal="true"]) :where(.bs-alert-title) {
|
|
57
|
+
font-size: 1.125rem;
|
|
58
|
+
line-height: 1.5;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.bs-alert:where(:not([data-horizontal="true"])) :where(.bs-alert-icon) {
|
|
62
|
+
height: 1.25rem;
|
|
63
|
+
width: 1.25rem;
|
|
51
64
|
}
|
|
52
65
|
}
|
|
53
66
|
|
|
54
67
|
.bs-alert :where(.bs-alert-description) {
|
|
55
68
|
font-size: 0.875rem;
|
|
69
|
+
color: var(--bs-ink-medium);
|
|
56
70
|
grid-area: description;
|
|
57
71
|
margin-top: 0.5rem;
|
|
58
72
|
}
|
|
@@ -68,7 +82,8 @@
|
|
|
68
82
|
}
|
|
69
83
|
|
|
70
84
|
.bs-alert :where(.bs-alert-close) {
|
|
71
|
-
|
|
85
|
+
margin-top: 0.25rem;
|
|
86
|
+
align-self: start;
|
|
72
87
|
background-color: transparent;
|
|
73
88
|
cursor: pointer;
|
|
74
89
|
grid-area: close;
|
|
@@ -2,45 +2,25 @@
|
|
|
2
2
|
.bs-horizontal-nav-mobile {
|
|
3
3
|
--bg-color: var(--bs-bg-light);
|
|
4
4
|
--top-offset: 48px;
|
|
5
|
-
-ms-overflow-style: none; /* Internet Explorer 10+ */
|
|
6
|
-
background-color: var(--bg-color);
|
|
7
5
|
display: flex;
|
|
8
6
|
flex-direction: column;
|
|
9
|
-
height: auto;
|
|
10
7
|
left: 0;
|
|
11
|
-
max-height: calc(100vh - var(--top-offset));
|
|
12
|
-
overflow: scroll;
|
|
13
8
|
position: fixed;
|
|
14
9
|
right: 0;
|
|
15
|
-
scrollbar-width: none; /* Firefox */
|
|
16
10
|
top: var(--top-offset);
|
|
17
11
|
z-index: 1001;
|
|
18
12
|
}
|
|
19
13
|
|
|
20
|
-
|
|
21
|
-
height: 100vh;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
@media (min-width: 752px) {
|
|
14
|
+
@media (min-width: 1166px) {
|
|
25
15
|
.bs-horizontal-nav-mobile {
|
|
26
16
|
display: none;
|
|
27
17
|
}
|
|
28
18
|
}
|
|
29
19
|
|
|
30
|
-
/* ===== Nav List ===== */
|
|
31
|
-
.bs-horizontal-nav-mobile :where(ul) {
|
|
32
|
-
display: none;
|
|
33
|
-
flex-direction: column;
|
|
34
|
-
list-style: none;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.bs-horizontal-nav-mobile:where([data-shown="true"]) :where(ul) {
|
|
38
|
-
display: flex;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
20
|
/* ===== Toggle ===== */
|
|
42
21
|
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-toggle) {
|
|
43
22
|
align-items: center;
|
|
23
|
+
background-color: var(--bs-bg-light);
|
|
44
24
|
color: var(--bs-ink-light);
|
|
45
25
|
cursor: pointer;
|
|
46
26
|
display: flex;
|
|
@@ -53,6 +33,10 @@
|
|
|
53
33
|
width: 100%;
|
|
54
34
|
}
|
|
55
35
|
|
|
36
|
+
.bs-horizontal-nav-mobile:where([data-hide-toggle="true"]) :where(.bs-horizontal-nav-mobile-toggle) {
|
|
37
|
+
display: none;
|
|
38
|
+
}
|
|
39
|
+
|
|
56
40
|
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-toggle-title) {
|
|
57
41
|
align-items: center;
|
|
58
42
|
display: flex;
|
|
@@ -78,16 +62,51 @@
|
|
|
78
62
|
transform: rotate(180deg);
|
|
79
63
|
}
|
|
80
64
|
|
|
65
|
+
/* ===== Nav Menu Container ===== */
|
|
66
|
+
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-menu) {
|
|
67
|
+
-ms-overflow-style: none; /* Internet Explorer 10+ */
|
|
68
|
+
background-color: var(--bg-color);
|
|
69
|
+
display: flex;
|
|
70
|
+
flex-direction: column;
|
|
71
|
+
height: 100vh;
|
|
72
|
+
/* 100vh - top offset - toggle height */
|
|
73
|
+
max-height: calc(100vh - var(--top-offset) - 48px);
|
|
74
|
+
opacity: 0;
|
|
75
|
+
overflow: scroll;
|
|
76
|
+
scrollbar-width: none; /* Firefox */
|
|
77
|
+
transition-duration: 200ms;
|
|
78
|
+
transition-property: opacity;
|
|
79
|
+
transition-timing-function: ease;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.bs-horizontal-nav-mobile:where([data-hide-toggle="true"]) :where(.bs-horizontal-nav-mobile-menu) {
|
|
83
|
+
max-height: calc(100vh - var(--top-offset));
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.bs-horizontal-nav-mobile:where([data-shown="true"]) :where(.bs-horizontal-nav-mobile-menu) {
|
|
87
|
+
opacity: 1;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/* ===== Nav List ===== */
|
|
91
|
+
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-menu > ul) {
|
|
92
|
+
background-color: var(--bg-color);
|
|
93
|
+
display: flex;
|
|
94
|
+
flex-direction: column;
|
|
95
|
+
list-style: none;
|
|
96
|
+
}
|
|
97
|
+
|
|
81
98
|
/* ===== Nav Items ===== */
|
|
82
|
-
.bs-horizontal-nav-mobile :where(ul > li) {
|
|
99
|
+
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-menu > ul > li) {
|
|
83
100
|
border-top: 1px solid var(--bs-border-base);
|
|
84
101
|
}
|
|
85
102
|
|
|
86
|
-
.bs-horizontal-nav-mobile :where(
|
|
103
|
+
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-menu > ul > li:last-child) {
|
|
87
104
|
border-bottom: 1px solid var(--bs-border-base);
|
|
88
105
|
}
|
|
89
106
|
|
|
90
|
-
.bs-horizontal-nav-mobile :where(ul > li > a)
|
|
107
|
+
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-menu > ul > li > a),
|
|
108
|
+
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-nested-menu > li > a),
|
|
109
|
+
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-external-links > ul > li > a) {
|
|
91
110
|
color: var(--bs-ink-light);
|
|
92
111
|
cursor: pointer;
|
|
93
112
|
display: flex;
|
|
@@ -98,16 +117,20 @@
|
|
|
98
117
|
padding-top: 0.75rem;
|
|
99
118
|
}
|
|
100
119
|
|
|
101
|
-
.bs-horizontal-nav-mobile :where(ul > li > a:hover)
|
|
120
|
+
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-menu > ul > li > a:hover),
|
|
121
|
+
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-nested-menu > li > a:hover),
|
|
122
|
+
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-external-links > ul > li > a:hover) {
|
|
102
123
|
color: var(--bs-ink-blue);
|
|
103
124
|
}
|
|
104
125
|
|
|
105
|
-
.bs-horizontal-nav-mobile :where(ul > li > a[data-active="true"])
|
|
126
|
+
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-menu > ul > li > a[data-active="true"]),
|
|
127
|
+
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-nested-menu > li > a[data-active="true"]) {
|
|
106
128
|
color: var(--bs-ink-base);
|
|
107
129
|
font-weight: 600;
|
|
108
130
|
}
|
|
109
131
|
|
|
110
|
-
.bs-horizontal-nav-mobile :where(ul > li > a[data-active="true"]:hover)
|
|
132
|
+
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-menu > ul > li > a[data-active="true"]:hover),
|
|
133
|
+
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-nested-menu > li > a[data-active="true"]:hover) {
|
|
111
134
|
color: var(--bs-ink-blue);
|
|
112
135
|
}
|
|
113
136
|
|
|
@@ -125,11 +148,11 @@
|
|
|
125
148
|
width: 100%;
|
|
126
149
|
}
|
|
127
150
|
|
|
128
|
-
.bs-horizontal-nav-mobile :where(
|
|
151
|
+
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-nested-toggle[data-active="true"]) {
|
|
129
152
|
font-weight: 600;
|
|
130
153
|
}
|
|
131
154
|
|
|
132
|
-
.bs-horizontal-nav-mobile :where(ul li[data-expanded="true"] .bs-horizontal-nav-mobile-nested-toggle) {
|
|
155
|
+
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-menu > ul > li[data-expanded="true"] > .bs-horizontal-nav-mobile-nested-toggle) {
|
|
133
156
|
background-color: var(--bs-bg-medium);
|
|
134
157
|
color: var(--bs-ink-blue);
|
|
135
158
|
font-weight: 600;
|
|
@@ -148,7 +171,7 @@
|
|
|
148
171
|
width: 0.75rem;
|
|
149
172
|
}
|
|
150
173
|
|
|
151
|
-
.bs-horizontal-nav-mobile :where(ul li[data-expanded="true"] .bs-horizontal-nav-mobile-nested-toggle-caret) {
|
|
174
|
+
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-menu > ul > li[data-expanded="true"] .bs-horizontal-nav-mobile-nested-toggle-caret) {
|
|
152
175
|
transform: rotate(180deg);
|
|
153
176
|
}
|
|
154
177
|
|
|
@@ -157,18 +180,19 @@
|
|
|
157
180
|
display: none;
|
|
158
181
|
}
|
|
159
182
|
|
|
160
|
-
.bs-horizontal-nav-mobile :where(ul li[data-expanded="true"] .bs-horizontal-nav-mobile-nested-menu) {
|
|
183
|
+
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-menu > ul > li[data-expanded="true"] > .bs-horizontal-nav-mobile-nested-menu) {
|
|
161
184
|
display: block;
|
|
162
185
|
}
|
|
163
186
|
|
|
164
|
-
|
|
165
|
-
|
|
187
|
+
/* ===== External Links ===== */
|
|
188
|
+
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-external-links) {
|
|
189
|
+
margin-top: auto;
|
|
190
|
+
padding-top: 2.25rem;
|
|
166
191
|
}
|
|
167
192
|
|
|
168
|
-
|
|
169
|
-
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-external-link) {
|
|
170
|
-
align-items: center;
|
|
193
|
+
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-external-links > ul > li > a) {
|
|
171
194
|
display: flex;
|
|
195
|
+
align-items: center;
|
|
172
196
|
gap: 0.5rem;
|
|
173
197
|
}
|
|
174
198
|
|
|
@@ -179,15 +203,26 @@
|
|
|
179
203
|
|
|
180
204
|
/* ===== Slotted Items ===== */
|
|
181
205
|
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-slotted-items) {
|
|
182
|
-
display: none;
|
|
183
206
|
padding-bottom: 0.75rem;
|
|
184
207
|
padding-left: 2.25rem;
|
|
185
208
|
padding-right: 2.25rem;
|
|
186
209
|
padding-top: 0.75rem;
|
|
210
|
+
margin-top: auto;
|
|
187
211
|
}
|
|
188
212
|
|
|
189
|
-
.bs-horizontal-nav-mobile:where(
|
|
190
|
-
|
|
213
|
+
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-external-links ~ .bs-horizontal-nav-mobile-slotted-items) {
|
|
214
|
+
margin-top: 0;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
/* Vue Transition Styles - Only used in Vue component */
|
|
218
|
+
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-enter-from),
|
|
219
|
+
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-leave-to) {
|
|
220
|
+
opacity: 0;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-enter-to),
|
|
224
|
+
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-leave-from) {
|
|
225
|
+
opacity: 1;
|
|
191
226
|
}
|
|
192
227
|
|
|
193
228
|
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
@mixin inline-tabs() {
|
|
2
|
+
.bs-inline-tabs {
|
|
3
|
+
display: flex;
|
|
4
|
+
gap: var(--bs-space-2);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.bs-inline-tab {
|
|
8
|
+
display: inline-flex;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
align-items: center;
|
|
11
|
+
padding: var(--bs-space-2) var(--bs-space-3);
|
|
12
|
+
font-size: var(--bs-text-sm);
|
|
13
|
+
font-weight: 600;
|
|
14
|
+
line-height: 1.5;
|
|
15
|
+
color: var(--bs-ink-royal);
|
|
16
|
+
text-align: center; /* needed for "as link" wrap cases */
|
|
17
|
+
text-decoration: none;
|
|
18
|
+
background-color: var(--bs-bg-medium);
|
|
19
|
+
border-radius: var(--bs-space-1);
|
|
20
|
+
border: 1px solid transparent;
|
|
21
|
+
outline: none;
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
transition: all 100ms ease-in-out;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/* Variant */
|
|
27
|
+
.bs-inline-tab:where([data-variant="white"]) {
|
|
28
|
+
background-color: var(--bs-bg-base);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/* Hover */
|
|
32
|
+
.bs-inline-tab:where(:not([data-selected]):hover) {
|
|
33
|
+
border-color: var(--bs-ink-royal); /* "ink-royal" instead of "royal-base", matches Figma design */
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* Keyboard Focus */
|
|
37
|
+
.bs-inline-tab:where(:focus-visible) {
|
|
38
|
+
outline: 2px solid var(--bs-ink-royal);
|
|
39
|
+
|
|
40
|
+
&:where([data-selected]) {
|
|
41
|
+
outline-offset: 2px;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/* Selected */
|
|
46
|
+
.bs-inline-tab:where([data-selected]) {
|
|
47
|
+
color: var(--bs-ink-white);
|
|
48
|
+
background-color: var(--bs-royal-400); /* "400" instead of "base", matches Figma design */
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* Disabled (as button or link) */
|
|
52
|
+
.bs-inline-tab:where(:disabled, [aria-disabled="true"]) {
|
|
53
|
+
color: var(--bs-ink-light);
|
|
54
|
+
background-color: var(--bs-gray-light);
|
|
55
|
+
cursor: default;
|
|
56
|
+
pointer-events: none;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* Selected & Disabled */
|
|
60
|
+
.bs-inline-tab:where([data-selected]):where(:disabled, [aria-disabled="true"]) {
|
|
61
|
+
color: var(--bs-ink-white);
|
|
62
|
+
background-color: var(--bs-gray-base);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/* -- Dark Mode Overrides -- */
|
|
66
|
+
|
|
67
|
+
:where(.dark .bs-inline-tab) {
|
|
68
|
+
|
|
69
|
+
/* Ink */
|
|
70
|
+
&:not([data-selected], :disabled, [aria-disabled="true"]) {
|
|
71
|
+
color: var(--bs-ink-medium);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* Selected & Disabled */
|
|
75
|
+
&[data-selected]:where(:disabled, [aria-disabled="true"]) {
|
|
76
|
+
color: var(--bs-ink-invert-base);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* Keyboard Focus */
|
|
80
|
+
&[data-selected]:where(:focus-visible) {
|
|
81
|
+
outline-offset: 0;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
@mixin modal() {
|
|
2
2
|
.bs-modal {
|
|
3
|
+
--base-modal-width: 35rem;
|
|
4
|
+
--modal-padding: 1.5rem;
|
|
5
|
+
--sm-modal-width: 21.25rem;
|
|
6
|
+
--lg-modal-width: 45.3125rem;
|
|
7
|
+
--lg-modal-padding: 2rem;
|
|
3
8
|
background-color: var(--bs-bg-base-to-medium);
|
|
4
9
|
border-radius: 4px;
|
|
5
10
|
bottom: 0;
|
|
@@ -10,7 +15,7 @@
|
|
|
10
15
|
max-height: calc(100% - 3rem);
|
|
11
16
|
opacity: 0;
|
|
12
17
|
overflow: auto;
|
|
13
|
-
padding:
|
|
18
|
+
padding: var(--modal-padding);
|
|
14
19
|
position: fixed;
|
|
15
20
|
right: 0;
|
|
16
21
|
top: 0;
|
|
@@ -21,10 +26,20 @@
|
|
|
21
26
|
z-index: 9999;
|
|
22
27
|
}
|
|
23
28
|
|
|
29
|
+
.bs-modal:where([data-has-header-or-footer="true"]) {
|
|
30
|
+
padding: 0;
|
|
31
|
+
}
|
|
32
|
+
|
|
24
33
|
@media (min-width: 752px) {
|
|
25
34
|
.bs-modal {
|
|
26
35
|
max-height: min(calc(100vh - 3rem), 40.625rem);
|
|
27
|
-
width:
|
|
36
|
+
width: var(--base-modal-width);
|
|
37
|
+
}
|
|
38
|
+
.bs-modal:where([data-size="sm"]) {
|
|
39
|
+
width: var(--sm-modal-width);
|
|
40
|
+
}
|
|
41
|
+
.bs-modal:where([data-size="lg"]) {
|
|
42
|
+
width: var(--lg-modal-width);
|
|
28
43
|
}
|
|
29
44
|
}
|
|
30
45
|
|
|
@@ -32,48 +47,148 @@
|
|
|
32
47
|
opacity: 1;
|
|
33
48
|
}
|
|
34
49
|
|
|
35
|
-
.bs-modal:where(
|
|
36
|
-
padding
|
|
37
|
-
padding-right: 0;
|
|
50
|
+
.bs-modal :where(.bs-modal-header-container) {
|
|
51
|
+
padding: var(--modal-padding);
|
|
38
52
|
}
|
|
39
53
|
|
|
40
|
-
.bs-modal:where([data-
|
|
41
|
-
padding
|
|
42
|
-
padding-bottom: 0;
|
|
54
|
+
.bs-modal:where([data-size="lg"]) :where(.bs-modal-header-container) {
|
|
55
|
+
padding: var(--lg-modal-padding);
|
|
43
56
|
}
|
|
44
57
|
|
|
45
|
-
.bs-modal :where(.modal-header) {
|
|
46
|
-
align-items:
|
|
58
|
+
.bs-modal :where(.bs-modal-header) {
|
|
59
|
+
align-items: center;
|
|
47
60
|
display: flex;
|
|
48
61
|
justify-content: space-between;
|
|
49
|
-
margin-bottom:
|
|
62
|
+
margin-bottom: 0.5rem;
|
|
50
63
|
}
|
|
51
64
|
|
|
52
|
-
.bs-modal :where(.modal-title) {
|
|
65
|
+
.bs-modal :where(.bs-modal-title) {
|
|
53
66
|
flex-grow: 1;
|
|
54
|
-
font-size: var(--bs-text-
|
|
55
|
-
font-weight:
|
|
67
|
+
font-size: var(--bs-text-lg);
|
|
68
|
+
font-weight: 400;
|
|
69
|
+
margin-right: 2rem;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.bs-modal :where(.bs-modal-subtitle) {
|
|
73
|
+
font-size: var(--bs-text-sm);
|
|
74
|
+
font-weight: 400;
|
|
56
75
|
margin: 0;
|
|
76
|
+
width: 100%;
|
|
77
|
+
margin-bottom: 1.5rem;
|
|
57
78
|
}
|
|
58
79
|
|
|
59
|
-
.bs-modal :where(.only-close-button-modal-header) {
|
|
80
|
+
.bs-modal :where(.bs-modal-only-close-button-modal-header) {
|
|
60
81
|
display: flex;
|
|
61
82
|
justify-content: flex-end;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.bs-modal :where(.bs-modal-header-container):where(:has(.bs-modal-only-close-button-modal-header)) {
|
|
62
86
|
margin-bottom: 0;
|
|
87
|
+
padding-bottom: 0;
|
|
63
88
|
}
|
|
64
89
|
|
|
65
|
-
.bs-modal :where(.full-width-header-close-button) {
|
|
90
|
+
.bs-modal :where(.bs-modal-full-width-header-close-button) {
|
|
66
91
|
position: absolute;
|
|
67
92
|
right: 0.75rem;
|
|
68
93
|
top: 0.75rem;
|
|
69
94
|
}
|
|
70
95
|
|
|
71
|
-
.bs-modal :where(.close-button) {
|
|
96
|
+
.bs-modal :where(.bs-modal-close-button) {
|
|
72
97
|
cursor: pointer;
|
|
73
98
|
}
|
|
74
99
|
|
|
75
|
-
.bs-modal :where(.modal-
|
|
76
|
-
|
|
100
|
+
.bs-modal :where(.bs-modal-progress) {
|
|
101
|
+
width: 100%;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.bs-modal :where(.bs-modal-body) {
|
|
105
|
+
padding: 0 var(--modal-padding);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.bs-modal:where([data-header-border="true"]) :where(.bs-modal-body) {
|
|
109
|
+
padding-top: var(--modal-padding);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.bs-modal:where([data-footer-border="true"]) :where(.bs-modal-body) {
|
|
113
|
+
padding-bottom: var(--modal-padding);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.bs-modal:where([data-size="lg"]) :where(.bs-modal-body) {
|
|
117
|
+
padding: 0 var(--lg-modal-padding);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.bs-modal:where([data-body-background-contrast="true"]) :where(.bs-modal-body) {
|
|
121
|
+
background-color: var(--bs-bg-light);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.bs-modal:where([data-no-header-container="true"]):where([data-size="lg"]) :where(.bs-modal-body) {
|
|
125
|
+
padding-top: var(--lg-modal-padding);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.bs-modal:where([data-no-header-container="true"]) :where(.bs-modal-body) {
|
|
129
|
+
padding-top: var(--modal-padding);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.bs-modal:where([data-no-footer="true"]):where([data-size="lg"]) :where(.bs-modal-body) {
|
|
133
|
+
padding-bottom: var(--lg-modal-padding);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.bs-modal:where([data-no-footer="true"]) :where(.bs-modal-body) {
|
|
137
|
+
padding-bottom: var(--modal-padding);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.bs-modal:where([data-no-footer="true"]):where([data-full-height="true"]) :where(.bs-modal-body) {
|
|
141
|
+
padding-bottom: 0;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.bs-modal :where(.bs-modal-footer) {
|
|
145
|
+
padding: var(--modal-padding);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.bs-modal:where([data-size="lg"]) :where(.bs-modal-footer) {
|
|
149
|
+
padding: var(--lg-modal-padding);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.bs-modal:where([data-sticky-header="true"]) :where(.bs-modal-header-container) {
|
|
153
|
+
position: sticky;
|
|
154
|
+
top: 0;
|
|
155
|
+
z-index: 1;
|
|
156
|
+
background: inherit;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.bs-modal:where([data-sticky-footer="true"]) :where(.bs-modal-footer) {
|
|
160
|
+
position: sticky;
|
|
161
|
+
bottom: 0;
|
|
162
|
+
z-index: 1;
|
|
163
|
+
background: inherit;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.bs-modal:where([data-header-border="true"]) :where(.bs-modal-header-container) {
|
|
167
|
+
border-bottom: 1px solid var(--bs-border-base);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.bs-modal:where([data-footer-border="true"]) :where(.bs-modal-footer) {
|
|
171
|
+
border-top: 1px solid var(--bs-border-base);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.bs-modal:where([data-full-width="true"]) :where(.bs-modal-section) {
|
|
175
|
+
padding-left: 0;
|
|
176
|
+
padding-right: 0;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.bs-modal:where([data-full-height="true"]) :where(.bs-modal-section) {
|
|
180
|
+
padding-top: 0;
|
|
181
|
+
padding-bottom: 0;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.bs-modal:where([data-full-width="true"]) {
|
|
185
|
+
padding-left: 0;
|
|
186
|
+
padding-right: 0;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.bs-modal:where([data-full-height="true"]) {
|
|
190
|
+
padding-top: 0;
|
|
191
|
+
padding-bottom: 0;
|
|
77
192
|
}
|
|
78
193
|
|
|
79
194
|
/* Vue Transition Styles - Only used in Vue component */
|