@wwtdev/bsds-css 2.24.0 → 2.26.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/_form-switches.scss +0 -1
- package/dist/components/_horizontal-navigation-mobile.scss +19 -10
- package/dist/components/_horizontal-navigation.scss +36 -31
- package/dist/components/_modal.scss +2 -1
- package/dist/components/_pagination.scss +1 -0
- package/dist/components/_tab-list.scss +18 -8
- package/dist/components/_vertical-navigation.scss +79 -29
- package/dist/components/form-switches.css +0 -1
- package/dist/components/horizontal-navigation-mobile.css +19 -10
- package/dist/components/horizontal-navigation.css +35 -30
- package/dist/components/modal.css +2 -1
- package/dist/components/pagination.css +1 -0
- package/dist/components/tab-list.css +18 -8
- package/dist/components/vertical-navigation.css +78 -28
- package/dist/wwt-bsds-wc-base.css +1 -1
- package/dist/wwt-bsds.css +147 -78
- package/dist/wwt-bsds.min.css +1 -1
- package/package.json +1 -1
package/dist/wwt-bsds.css
CHANGED
|
@@ -235,7 +235,7 @@ html:where(:focus-within) {
|
|
|
235
235
|
/* Set core body defaults */
|
|
236
236
|
body {
|
|
237
237
|
line-height: 1.5;
|
|
238
|
-
min-height:
|
|
238
|
+
min-height: 100dvh;
|
|
239
239
|
text-rendering: optimizeSpeed;
|
|
240
240
|
}
|
|
241
241
|
/* Elements that don't have a class get default styles */
|
|
@@ -3708,7 +3708,6 @@ label:where(.bs-label) {
|
|
|
3708
3708
|
transform: translate(0, -50%);
|
|
3709
3709
|
transition: inherit;
|
|
3710
3710
|
width: var(--ball-diameter);
|
|
3711
|
-
z-index: 2;
|
|
3712
3711
|
}
|
|
3713
3712
|
.bs-switch :where(input:checked) ~ :where(span)::before,
|
|
3714
3713
|
.bs-switch:where([aria-pressed]:not([aria-pressed="false"])) :where(span)::before {
|
|
@@ -3962,6 +3961,9 @@ select[multiple],
|
|
|
3962
3961
|
:where(button).bs-select:where([data-open="true"]) :where(.bs-icon) {
|
|
3963
3962
|
transform: rotate(180deg);
|
|
3964
3963
|
}
|
|
3964
|
+
:root {
|
|
3965
|
+
--bs-horizontal-nav-height: 48px;
|
|
3966
|
+
}
|
|
3965
3967
|
.bs-horizontal-nav {
|
|
3966
3968
|
--bg-color: var(--bs-bg-light);
|
|
3967
3969
|
--top-offset: 48px;
|
|
@@ -3969,12 +3971,12 @@ select[multiple],
|
|
|
3969
3971
|
background-color: var(--bg-color);
|
|
3970
3972
|
bottom: auto;
|
|
3971
3973
|
display: none;
|
|
3972
|
-
height:
|
|
3974
|
+
height: var(--bs-horizontal-nav-height);
|
|
3973
3975
|
left: 0;
|
|
3974
3976
|
position: fixed;
|
|
3975
3977
|
right: 0;
|
|
3976
3978
|
top: var(--top-offset);
|
|
3977
|
-
z-index:
|
|
3979
|
+
z-index: 1000;
|
|
3978
3980
|
}
|
|
3979
3981
|
@media (min-width: 1166px) {
|
|
3980
3982
|
.bs-horizontal-nav {
|
|
@@ -3993,8 +3995,7 @@ select[multiple],
|
|
|
3993
3995
|
width: 100%;
|
|
3994
3996
|
}
|
|
3995
3997
|
/* ===== Nav List ===== */
|
|
3996
|
-
.bs-horizontal-nav :where(nav > ul)
|
|
3997
|
-
.bs-horizontal-nav :where(nav > .bs-horizontal-nav-external-links > ul) {
|
|
3998
|
+
.bs-horizontal-nav :where(nav > ul) {
|
|
3998
3999
|
align-items: center;
|
|
3999
4000
|
display: flex;
|
|
4000
4001
|
flex-direction: row;
|
|
@@ -4015,18 +4016,15 @@ select[multiple],
|
|
|
4015
4016
|
padding-left: 0;
|
|
4016
4017
|
padding-right: 0;
|
|
4017
4018
|
padding-top: 0;
|
|
4018
|
-
width: auto;
|
|
4019
4019
|
}
|
|
4020
4020
|
/* ===== Nav Items ===== */
|
|
4021
|
-
.bs-horizontal-nav :where(nav > ul > li)
|
|
4022
|
-
.bs-horizontal-nav :where(nav > .bs-horizontal-nav-external-links > ul > li) {
|
|
4021
|
+
.bs-horizontal-nav :where(nav > ul > li) {
|
|
4023
4022
|
border-bottom: none;
|
|
4024
4023
|
display: list-item;
|
|
4025
4024
|
margin-left: 0;
|
|
4026
4025
|
width: auto;
|
|
4027
4026
|
}
|
|
4028
|
-
.bs-horizontal-nav :where(nav > ul > li:not(.bs-horizontal-nav-title) > a)
|
|
4029
|
-
.bs-horizontal-nav :where(nav > .bs-horizontal-nav-external-links > ul > li > a) {
|
|
4027
|
+
.bs-horizontal-nav :where(nav > ul > li:not(.bs-horizontal-nav-title) > a) {
|
|
4030
4028
|
align-items: center;
|
|
4031
4029
|
border-radius: 4px;
|
|
4032
4030
|
color: var(--bs-ink-light);
|
|
@@ -4041,17 +4039,14 @@ select[multiple],
|
|
|
4041
4039
|
padding-top: 0.5rem;
|
|
4042
4040
|
width: 100%;
|
|
4043
4041
|
}
|
|
4044
|
-
.bs-horizontal-nav :where(nav > ul > li
|
|
4045
|
-
.bs-horizontal-nav :where(nav > .bs-horizontal-nav-external-links > ul > li > a:hover) {
|
|
4042
|
+
.bs-horizontal-nav :where(nav > ul > li > a:hover) {
|
|
4046
4043
|
color: var(--bs-ink-blue);
|
|
4047
4044
|
}
|
|
4048
|
-
.bs-horizontal-nav :where(nav > ul > li > a[data-active="true"])
|
|
4049
|
-
.bs-horizontal-nav :where(nav > .bs-horizontal-nav-external-links > ul > li > a[data-active="true"]) {
|
|
4045
|
+
.bs-horizontal-nav :where(nav > ul > li > a[data-active="true"]) {
|
|
4050
4046
|
color: var(--bs-ink-base);
|
|
4051
4047
|
font-weight: 600;
|
|
4052
4048
|
}
|
|
4053
|
-
.bs-horizontal-nav :where(nav > ul > li > a[data-active="true"]:hover)
|
|
4054
|
-
.bs-horizontal-nav :where(nav > .bs-horizontal-nav-external-links > ul > li > a[data-active="true"]:hover) {
|
|
4049
|
+
.bs-horizontal-nav :where(nav > ul > li > a[data-active="true"]:hover) {
|
|
4055
4050
|
color: var(--bs-ink-blue);
|
|
4056
4051
|
}
|
|
4057
4052
|
.bs-horizontal-nav :where(.bs-horizontal-nav-first-link-icon) {
|
|
@@ -4101,9 +4096,11 @@ select[multiple],
|
|
|
4101
4096
|
--dropdown-top: 100%;
|
|
4102
4097
|
border-radius: 8px;
|
|
4103
4098
|
padding: 1.5rem;
|
|
4104
|
-
width: 10.5rem;
|
|
4105
4099
|
}
|
|
4106
4100
|
.bs-horizontal-nav :where(.bs-horizontal-nav-nested-menu > ul) {
|
|
4101
|
+
display: inline-flex;
|
|
4102
|
+
flex-direction: column;
|
|
4103
|
+
gap: 0.5rem;
|
|
4107
4104
|
list-style: none;
|
|
4108
4105
|
}
|
|
4109
4106
|
.bs-horizontal-nav :where(.bs-horizontal-nav-nested-menu > ul > li) {
|
|
@@ -4123,23 +4120,29 @@ select[multiple],
|
|
|
4123
4120
|
.bs-horizontal-nav :where(.bs-horizontal-nav-nested-menu > ul > li > a[data-active="true"]:hover) {
|
|
4124
4121
|
color: var(--bs-ink-blue);
|
|
4125
4122
|
}
|
|
4126
|
-
/* =====
|
|
4127
|
-
.bs-horizontal-nav :where(.bs-horizontal-nav-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
}
|
|
4131
|
-
/* ===== Slotted Items ===== */
|
|
4132
|
-
.bs-horizontal-nav :where(.bs-horizontal-nav-slotted-items) {
|
|
4123
|
+
/* ===== End Items ===== */
|
|
4124
|
+
.bs-horizontal-nav :where(.bs-horizontal-nav-end-items) {
|
|
4125
|
+
display: flex;
|
|
4126
|
+
gap: 1.5rem;
|
|
4133
4127
|
margin-left: auto;
|
|
4128
|
+
white-space: nowrap;
|
|
4134
4129
|
}
|
|
4135
|
-
.bs-horizontal-nav :where(.bs-horizontal-nav-
|
|
4136
|
-
|
|
4130
|
+
.bs-horizontal-nav :where(.bs-horizontal-nav-end-items > *) {
|
|
4131
|
+
font-size: 0.75rem;
|
|
4132
|
+
font-weight: 600;
|
|
4137
4133
|
}
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
padding:
|
|
4142
|
-
|
|
4134
|
+
.bs-horizontal-nav :where(.bs-horizontal-nav-end-items > *:not(button)) {
|
|
4135
|
+
color: var(--bs-ink-light);
|
|
4136
|
+
padding-bottom: 0.5rem;
|
|
4137
|
+
padding-left: 0rem;
|
|
4138
|
+
padding-right: 0rem;
|
|
4139
|
+
padding-top: 0.5rem;
|
|
4140
|
+
}
|
|
4141
|
+
.bs-horizontal-nav :where(.bs-horizontal-nav-end-items > button) {
|
|
4142
|
+
margin-bottom: 0.5rem;
|
|
4143
|
+
margin-left: 0rem;
|
|
4144
|
+
margin-right: 0rem;
|
|
4145
|
+
margin-top: 0.5rem;
|
|
4143
4146
|
}
|
|
4144
4147
|
.bs-horizontal-nav-mobile {
|
|
4145
4148
|
--bg-color: var(--bs-bg-light);
|
|
@@ -4150,7 +4153,7 @@ select[multiple],
|
|
|
4150
4153
|
position: fixed;
|
|
4151
4154
|
right: 0;
|
|
4152
4155
|
top: var(--top-offset);
|
|
4153
|
-
z-index:
|
|
4156
|
+
z-index: 1000;
|
|
4154
4157
|
}
|
|
4155
4158
|
@media (min-width: 1166px) {
|
|
4156
4159
|
.bs-horizontal-nav-mobile {
|
|
@@ -4164,7 +4167,7 @@ select[multiple],
|
|
|
4164
4167
|
color: var(--bs-ink-light);
|
|
4165
4168
|
cursor: pointer;
|
|
4166
4169
|
display: flex;
|
|
4167
|
-
height:
|
|
4170
|
+
height: var(--bs-horizontal-nav-height);
|
|
4168
4171
|
justify-content: space-between;
|
|
4169
4172
|
padding-bottom: 0.5rem;
|
|
4170
4173
|
padding-left: 2.25rem;
|
|
@@ -4202,9 +4205,9 @@ select[multiple],
|
|
|
4202
4205
|
background-color: var(--bg-color);
|
|
4203
4206
|
display: flex;
|
|
4204
4207
|
flex-direction: column;
|
|
4205
|
-
height:
|
|
4208
|
+
height: 100dvh;
|
|
4206
4209
|
/* 100vh - top offset - toggle height */
|
|
4207
|
-
max-height: calc(
|
|
4210
|
+
max-height: calc(100dvh - var(--top-offset) - 48px);
|
|
4208
4211
|
opacity: 0;
|
|
4209
4212
|
overflow: scroll;
|
|
4210
4213
|
scrollbar-width: none; /* Firefox */
|
|
@@ -4213,7 +4216,7 @@ select[multiple],
|
|
|
4213
4216
|
transition-timing-function: ease;
|
|
4214
4217
|
}
|
|
4215
4218
|
.bs-horizontal-nav-mobile:where([data-hide-toggle="true"]) :where(.bs-horizontal-nav-mobile-menu) {
|
|
4216
|
-
max-height: calc(
|
|
4219
|
+
max-height: calc(100dvh - var(--top-offset));
|
|
4217
4220
|
}
|
|
4218
4221
|
.bs-horizontal-nav-mobile:where([data-shown="true"]) :where(.bs-horizontal-nav-mobile-menu) {
|
|
4219
4222
|
opacity: 1;
|
|
@@ -4314,16 +4317,24 @@ select[multiple],
|
|
|
4314
4317
|
height: 1rem;
|
|
4315
4318
|
width: 1rem;
|
|
4316
4319
|
}
|
|
4317
|
-
/* =====
|
|
4318
|
-
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-
|
|
4320
|
+
/* ===== End Items ===== */
|
|
4321
|
+
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-end-items) {
|
|
4322
|
+
display: flex;
|
|
4323
|
+
flex-direction: column;
|
|
4324
|
+
margin-bottom: 1.5rem;
|
|
4325
|
+
margin-top: auto;
|
|
4326
|
+
}
|
|
4327
|
+
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-end-items > *:not(button)) {
|
|
4319
4328
|
padding-bottom: 0.75rem;
|
|
4320
4329
|
padding-left: 2.25rem;
|
|
4321
4330
|
padding-right: 2.25rem;
|
|
4322
4331
|
padding-top: 0.75rem;
|
|
4323
|
-
margin-top: auto;
|
|
4324
4332
|
}
|
|
4325
|
-
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-
|
|
4326
|
-
margin-
|
|
4333
|
+
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-end-items > button) {
|
|
4334
|
+
margin-bottom: 0.75rem;
|
|
4335
|
+
margin-left: 2.25rem;
|
|
4336
|
+
margin-right: 2.25rem;
|
|
4337
|
+
margin-top: 0.75rem;
|
|
4327
4338
|
}
|
|
4328
4339
|
/* Vue Transition Styles - Only used in Vue component */
|
|
4329
4340
|
.bs-horizontal-nav-mobile :where(.bs-horizontal-nav-mobile-enter-from),
|
|
@@ -4533,7 +4544,7 @@ select[multiple],
|
|
|
4533
4544
|
}
|
|
4534
4545
|
@media (min-width: 752px) {
|
|
4535
4546
|
.bs-modal {
|
|
4536
|
-
max-height: min(calc(
|
|
4547
|
+
max-height: min(calc(100dvh - 3rem), 40.625rem);
|
|
4537
4548
|
width: var(--base-modal-width);
|
|
4538
4549
|
}
|
|
4539
4550
|
|
|
@@ -4586,6 +4597,7 @@ select[multiple],
|
|
|
4586
4597
|
.bs-modal :where(.bs-modal-close-button) {
|
|
4587
4598
|
background-color: transparent;
|
|
4588
4599
|
cursor: pointer;
|
|
4600
|
+
z-index: 10000;
|
|
4589
4601
|
}
|
|
4590
4602
|
.bs-modal:where(:not(:has(.bs-modal-header-container))) :where(.bs-modal-close-button) {
|
|
4591
4603
|
position: absolute;
|
|
@@ -4717,6 +4729,7 @@ select[multiple],
|
|
|
4717
4729
|
}
|
|
4718
4730
|
.bs-pagination button:where(:disabled) {
|
|
4719
4731
|
color: var(--bs-ink-disabled);
|
|
4732
|
+
cursor: default;
|
|
4720
4733
|
}
|
|
4721
4734
|
.bs-pagination button:where([data-selected]:not([data-selected="false"])) {
|
|
4722
4735
|
background-color: var(--bs-blue-base);
|
|
@@ -5197,33 +5210,40 @@ a.bs-profile:where([data-layout]):hover {
|
|
|
5197
5210
|
}
|
|
5198
5211
|
}
|
|
5199
5212
|
/* ------------- Tabs and Toggle ------------- */
|
|
5200
|
-
|
|
5213
|
+
.bs-tab-list-toggle,
|
|
5214
|
+
:is(bs-tab-list, .bs-tab-list) :where([role="tab"]) {
|
|
5215
|
+
font-size: var(--tab-text-size, .875rem);
|
|
5216
|
+
font-weight: var(--tab-weight, 400);
|
|
5217
|
+
display: inline-flex;
|
|
5201
5218
|
align-items: center;
|
|
5219
|
+
gap: 0.375rem;
|
|
5202
5220
|
color: var(--tab-color, var(--bs-ink-light));
|
|
5203
5221
|
-moz-column-gap: .5rem;
|
|
5204
5222
|
column-gap: .5rem;
|
|
5205
5223
|
cursor: var(--tab-cursor);
|
|
5206
|
-
display: var(--tab-display);
|
|
5207
5224
|
flex-basis: var(--tab-basis, content);
|
|
5208
5225
|
flex-grow: var(--tab-grow, 1);
|
|
5209
5226
|
flex-shrink: var(--tab-shrink, 0);
|
|
5210
|
-
font-size: inherit;
|
|
5211
|
-
font-weight: var(--tab-weight, var(--bs-font-normal));
|
|
5212
5227
|
height: 2.5rem;
|
|
5213
5228
|
justify-content: var(--tab-justify-self, center);
|
|
5214
5229
|
padding: .5rem;
|
|
5215
5230
|
outline-color: var(--bs-blue-base);
|
|
5216
5231
|
outline-offset: -1px;
|
|
5217
5232
|
text-decoration: none;
|
|
5233
|
+
border-bottom: 1px solid var(--bs-border-base);
|
|
5234
|
+
border-top: none;
|
|
5235
|
+
border-left: none;
|
|
5236
|
+
border-right: none;
|
|
5237
|
+
border-radius: 0;
|
|
5238
|
+
background: none;
|
|
5218
5239
|
}
|
|
5219
5240
|
:is(bs-tab-list, .bs-tab-list) :where([role="tab"]):where([tabindex="-1"]) {
|
|
5220
5241
|
--tab-cursor: default;
|
|
5221
5242
|
}
|
|
5222
|
-
:is(bs-tab-list, .bs-tab-list) :where([role="tab"], .bs-tab-list-toggle):where([data-hidden]:not([data-hidden="false"])) {
|
|
5223
|
-
|
|
5243
|
+
:is(bs-tab-list, .bs-tab-list) :where([role="tab"][data-hidden]:not([data-hidden="false"])), :is(bs-tab-list-toggle, .bs-tab-list-toggle):where([data-hidden]:not([data-hidden="false"])) {
|
|
5244
|
+
display: none;
|
|
5224
5245
|
}
|
|
5225
|
-
:is(bs-tab-list, .bs-tab-list) :where([role="tab"]):where([aria-selected]:not([aria-selected="false"])),
|
|
5226
|
-
:is(bs-tab-list, .bs-tab-list) :where(.bs-tab-list-toggle):where([data-active]:not([data-active="false"])) {
|
|
5246
|
+
:is(bs-tab-list, .bs-tab-list) :where([role="tab"][data-hidden]:not([data-hidden="false"])):where([aria-selected]:not([aria-selected="false"])), :is(bs-tab-list-toggle, .bs-tab-list-toggle):where([data-hidden]:not([data-hidden="false"])):where([data-active]:not([data-active="false"])) {
|
|
5227
5247
|
--tab-color: var(--bs-ink-base);
|
|
5228
5248
|
--tab-weight: var(--bs-font-bold);
|
|
5229
5249
|
}
|
|
@@ -6008,21 +6028,24 @@ This must go last to properly override the other classes
|
|
|
6008
6028
|
opacity: 0;
|
|
6009
6029
|
transform: translateY(-50%) scale(0.5);
|
|
6010
6030
|
}
|
|
6031
|
+
:root {
|
|
6032
|
+
--bs-vertical-nav-width: 9.875rem;
|
|
6033
|
+
--bs-vertical-nav-narrow-width: 4.5rem;
|
|
6034
|
+
}
|
|
6011
6035
|
.bs-vertical-nav {
|
|
6012
6036
|
--active-color: rgba(255, 255, 255, 0.25);
|
|
6013
6037
|
--bg-color: var(--bs-navy-base);
|
|
6014
6038
|
--border-color: var(--bs-border-dark);
|
|
6015
6039
|
--expand-y-transform: translateY(calc(-1 * var(--top-offset)));
|
|
6016
6040
|
--top-offset: 48px;
|
|
6017
|
-
--width: auto;
|
|
6018
6041
|
-ms-overflow-style: none; /* Internet Explorer 10+ */
|
|
6019
6042
|
background-color: var(--bg-color);
|
|
6020
6043
|
color: var(--bs-white);
|
|
6021
6044
|
display: flex;
|
|
6022
6045
|
flex-direction: column;
|
|
6023
|
-
height:
|
|
6046
|
+
height: 100dvh;
|
|
6024
6047
|
left: 0;
|
|
6025
|
-
max-height: calc(
|
|
6048
|
+
max-height: calc(100dvh - var(--top-offset));
|
|
6026
6049
|
opacity: 0;
|
|
6027
6050
|
overflow: scroll;
|
|
6028
6051
|
padding-bottom: 1.5rem;
|
|
@@ -6036,8 +6059,8 @@ This must go last to properly override the other classes
|
|
|
6036
6059
|
/* Slight delay for visibility to change prior to opacity */
|
|
6037
6060
|
transition: opacity 200ms ease 10ms;
|
|
6038
6061
|
visibility: hidden;
|
|
6039
|
-
width:
|
|
6040
|
-
z-index:
|
|
6062
|
+
width: auto;
|
|
6063
|
+
z-index: 1000;
|
|
6041
6064
|
}
|
|
6042
6065
|
.bs-vertical-nav:where([data-mobile-shown="true"]) {
|
|
6043
6066
|
opacity: 1;
|
|
@@ -6051,7 +6074,6 @@ This must go last to properly override the other classes
|
|
|
6051
6074
|
}
|
|
6052
6075
|
@media (min-width: 1166px) {
|
|
6053
6076
|
.bs-vertical-nav {
|
|
6054
|
-
--width: 9.875rem;
|
|
6055
6077
|
border-right: 1px solid var(--bg-color);
|
|
6056
6078
|
opacity: 1;
|
|
6057
6079
|
padding-bottom: 1rem;
|
|
@@ -6061,10 +6083,11 @@ This must go last to properly override the other classes
|
|
|
6061
6083
|
right: auto;
|
|
6062
6084
|
transition: max-height 200ms ease, transform 200ms ease;
|
|
6063
6085
|
visibility: visible;
|
|
6086
|
+
width: var(--bs-vertical-nav-width);
|
|
6064
6087
|
}
|
|
6065
6088
|
|
|
6066
6089
|
.bs-vertical-nav:where([data-narrow="true"]) {
|
|
6067
|
-
|
|
6090
|
+
width: var(--bs-vertical-nav-narrow-width);
|
|
6068
6091
|
}
|
|
6069
6092
|
}
|
|
6070
6093
|
.bs-vertical-nav::-webkit-scrollbar {
|
|
@@ -6072,7 +6095,7 @@ This must go last to properly override the other classes
|
|
|
6072
6095
|
}
|
|
6073
6096
|
.bs-vertical-nav:where([data-y-expand="true"]) {
|
|
6074
6097
|
transform: var(--expand-y-transform);
|
|
6075
|
-
max-height:
|
|
6098
|
+
max-height: 100dvh;
|
|
6076
6099
|
}
|
|
6077
6100
|
/* ===== Sections ===== */
|
|
6078
6101
|
.bs-vertical-nav :where(.bs-vertical-nav-section) {
|
|
@@ -6104,6 +6127,20 @@ This must go last to properly override the other classes
|
|
|
6104
6127
|
padding-top: 0.5rem;
|
|
6105
6128
|
width: 100%;
|
|
6106
6129
|
}
|
|
6130
|
+
@media (min-width: 1166px) {
|
|
6131
|
+
.bs-vertical-nav :where(.bs-vertical-nav-section-toggle) {
|
|
6132
|
+
/* nav width - nav left padding - nav right padding */
|
|
6133
|
+
width: calc(var(--bs-vertical-nav-width) - 0.5rem - 0.5rem);
|
|
6134
|
+
}
|
|
6135
|
+
|
|
6136
|
+
.bs-vertical-nav :where(.bs-vertical-nav-section-toggle span:first-child) {
|
|
6137
|
+
overflow: hidden;
|
|
6138
|
+
text-align: start;
|
|
6139
|
+
text-overflow: ellipsis;
|
|
6140
|
+
/* nav width - nav left padding - nav right padding - link left padding - link right padding - caret width */
|
|
6141
|
+
width: calc(var(--bs-vertical-nav-width) - 0.5rem - 0.5rem - 0.75rem - 0.75rem - 0.75rem);
|
|
6142
|
+
}
|
|
6143
|
+
}
|
|
6107
6144
|
.bs-vertical-nav :where(.bs-vertical-nav-section-toggle-caret) {
|
|
6108
6145
|
height: 0.75rem;
|
|
6109
6146
|
transform: none;
|
|
@@ -6150,18 +6187,47 @@ This must go last to properly override the other classes
|
|
|
6150
6187
|
font-size: 0.875rem;
|
|
6151
6188
|
padding-bottom: 0.5rem;
|
|
6152
6189
|
padding-top: 0.5rem;
|
|
6190
|
+
/* nav width - nav left padding - nav right padding */
|
|
6191
|
+
width: calc(var(--bs-vertical-nav-width) - 0.5rem - 0.5rem);
|
|
6192
|
+
}
|
|
6193
|
+
|
|
6194
|
+
/* Text overflow - normal width - no icon */
|
|
6195
|
+
.bs-vertical-nav :where(ul li a:not(:has(.bs-vertical-nav-link-icon)) span:first-child) {
|
|
6196
|
+
overflow: hidden;
|
|
6197
|
+
text-overflow: ellipsis;
|
|
6198
|
+
/* nav width - nav left padding - nav right padding - link left padding - link right padding */
|
|
6199
|
+
width: calc(var(--bs-vertical-nav-width) - 0.5rem - 0.5rem - 0.75rem - 0.75rem);
|
|
6200
|
+
}
|
|
6201
|
+
|
|
6202
|
+
/* Text overflow - normal width - with icon */
|
|
6203
|
+
.bs-vertical-nav :where(ul li a:has(.bs-vertical-nav-link-icon) span:nth-child(2)) {
|
|
6204
|
+
overflow: hidden;
|
|
6205
|
+
text-overflow: ellipsis;
|
|
6206
|
+
/* nav width - nav left padding - nav right padding - link left padding - link right padding - icon width - icon gap */
|
|
6207
|
+
width: calc(var(--bs-vertical-nav-width) - 0.5rem - 0.5rem - 0.75rem - 0.75rem - 0.875rem - 0.5rem);
|
|
6153
6208
|
}
|
|
6154
6209
|
|
|
6155
6210
|
.bs-vertical-nav:where([data-narrow="true"]) :where(ul li a) {
|
|
6156
6211
|
flex-direction: column;
|
|
6157
6212
|
font-size: 0.6875rem;
|
|
6158
6213
|
gap: 0.25rem;
|
|
6159
|
-
line-height:
|
|
6214
|
+
line-height: 1.3;
|
|
6160
6215
|
padding-bottom: 0.75rem;
|
|
6161
6216
|
padding-left: 0.25rem;
|
|
6162
6217
|
padding-right: 0.25rem;
|
|
6163
6218
|
padding-top: 0.75rem;
|
|
6164
6219
|
text-align: center;
|
|
6220
|
+
/* nav width - nav left padding - nav right padding */
|
|
6221
|
+
width: calc(var(--bs-vertical-nav-narrow-width) - 0.5rem - 0.5rem);
|
|
6222
|
+
}
|
|
6223
|
+
|
|
6224
|
+
/* Text overflow - narrow width */
|
|
6225
|
+
.bs-vertical-nav:where([data-narrow="true"]) :where(ul li a:not(:has(.bs-vertical-nav-link-icon)) span:first-child),
|
|
6226
|
+
.bs-vertical-nav:where([data-narrow="true"]) :where(ul li a:has(.bs-vertical-nav-link-icon) span:nth-child(2)) {
|
|
6227
|
+
overflow: hidden;
|
|
6228
|
+
text-overflow: ellipsis;
|
|
6229
|
+
/* nav width - nav left padding - nav right padding - link left padding */
|
|
6230
|
+
width: calc(var(--bs-vertical-nav-narrow-width) - 0.5rem - 0.5rem);
|
|
6165
6231
|
}
|
|
6166
6232
|
}
|
|
6167
6233
|
.bs-vertical-nav :where(ul li a:hover) {
|
|
@@ -6186,31 +6252,34 @@ This must go last to properly override the other classes
|
|
|
6186
6252
|
width: 1rem;
|
|
6187
6253
|
}
|
|
6188
6254
|
}
|
|
6189
|
-
/* =====
|
|
6190
|
-
.bs-vertical-nav :where(.bs-vertical-nav-
|
|
6255
|
+
/* ===== End Items ===== */
|
|
6256
|
+
.bs-vertical-nav :where(.bs-vertical-nav-end-items) {
|
|
6257
|
+
display: flex;
|
|
6258
|
+
flex-direction: column;
|
|
6259
|
+
gap: 0.25rem;
|
|
6191
6260
|
margin-top: auto;
|
|
6192
|
-
padding-top: 2.25rem;
|
|
6193
6261
|
}
|
|
6194
|
-
.bs-vertical-nav
|
|
6195
|
-
|
|
6262
|
+
.bs-vertical-nav :where(.bs-vertical-nav-end-items > *) {
|
|
6263
|
+
color: var(--bs-white);
|
|
6196
6264
|
}
|
|
6197
|
-
.bs-vertical-nav :where(.bs-vertical-nav-
|
|
6198
|
-
|
|
6199
|
-
|
|
6265
|
+
.bs-vertical-nav :where(.bs-vertical-nav-end-items > *:not(button)) {
|
|
6266
|
+
color: var(--bs-white);
|
|
6267
|
+
padding-bottom: 0.5rem;
|
|
6268
|
+
padding-left: 0.75rem;
|
|
6269
|
+
padding-right: 0.75rem;
|
|
6270
|
+
padding-top: 0.5rem;
|
|
6200
6271
|
}
|
|
6201
6272
|
@media (min-width: 1166px) {
|
|
6202
|
-
.bs-vertical-nav :where(.bs-vertical-nav-
|
|
6203
|
-
|
|
6204
|
-
width: 0.875rem;
|
|
6273
|
+
.bs-vertical-nav :where(.bs-vertical-nav-end-items > *:not(button)) {
|
|
6274
|
+
font-size: 0.875rem;
|
|
6205
6275
|
}
|
|
6206
6276
|
}
|
|
6207
|
-
|
|
6208
|
-
|
|
6209
|
-
margin-
|
|
6210
|
-
|
|
6211
|
-
|
|
6212
|
-
margin-top: 1rem;
|
|
6277
|
+
.bs-vertical-nav :where(.bs-vertical-nav-end-items > button) {
|
|
6278
|
+
margin-bottom: 0.5rem;
|
|
6279
|
+
margin-left: 0.75rem;
|
|
6280
|
+
margin-right: 0.75rem;
|
|
6281
|
+
margin-top: 0.5rem;
|
|
6213
6282
|
}
|
|
6214
|
-
.bs-vertical-nav:where([data-narrow="true"]) :where(.bs-vertical-nav-
|
|
6283
|
+
.bs-vertical-nav:where([data-narrow="true"]) :where(.bs-vertical-nav-end-items) {
|
|
6215
6284
|
display: none;
|
|
6216
6285
|
}
|