@wwtdev/bsds-css 3.0.0-rc.43 → 3.0.0-rc.44
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/wwt-bsds.css
CHANGED
|
@@ -5195,6 +5195,7 @@ label:where(.bs-label) {
|
|
|
5195
5195
|
.bs-option {
|
|
5196
5196
|
padding: var(--bs-space-1) var(--bs-space-2);
|
|
5197
5197
|
color: var(--bs-ink-base);
|
|
5198
|
+
--description-color: var(--bs-ink-light);
|
|
5198
5199
|
cursor: pointer;
|
|
5199
5200
|
border-left: 4px solid transparent;
|
|
5200
5201
|
border-right: 4px solid transparent;
|
|
@@ -5212,12 +5213,14 @@ label:where(.bs-label) {
|
|
|
5212
5213
|
/* Don't disable via pointer-events, so tooltips still work in a disabled menu item. */
|
|
5213
5214
|
.bs-option:where([aria-disabled="true"]) {
|
|
5214
5215
|
color: var(--bs-ink-disabled);
|
|
5216
|
+
--description-color: var(--bs-ink-disabled);
|
|
5215
5217
|
cursor: default;
|
|
5216
5218
|
}
|
|
5217
5219
|
/* -- SELECTED -- */
|
|
5218
|
-
.bs-option:where(:not([aria-disabled="true"])):hover,
|
|
5219
|
-
.bs-
|
|
5220
|
+
.bs-option:where(:not([aria-disabled="true"], [data-negative="true"])):hover,
|
|
5221
|
+
.bs-option:where(:not([data-multiple="true"])[aria-selected="true"]) {
|
|
5220
5222
|
color: var(--bs-ink-primary);
|
|
5223
|
+
--description-color: var(--bs-ink-primary);
|
|
5221
5224
|
background: var(--bs-bg-medium-to-light);
|
|
5222
5225
|
border-left-color: var(--bs-ink-primary);
|
|
5223
5226
|
}
|
|
@@ -5230,16 +5233,62 @@ label:where(.bs-label) {
|
|
|
5230
5233
|
.bs-option:where([data-active="true"]) {
|
|
5231
5234
|
box-shadow: inset 0 0 0 2px var(--bs-primary-base);
|
|
5232
5235
|
}
|
|
5233
|
-
/* --
|
|
5234
|
-
.bs-
|
|
5236
|
+
/* -- NEGATIVE -- */
|
|
5237
|
+
.bs-option:where([data-negative="true"]:hover),
|
|
5238
|
+
.bs-option:where(:not([data-multiple="true"])[data-negative="true"][aria-selected="true"]) {
|
|
5239
|
+
color: var(--bs-ink-negative);
|
|
5240
|
+
background: var(--bs-negative-highlight);
|
|
5241
|
+
border-left-color: var(--bs-negative-base);
|
|
5242
|
+
--description-color: var(--bs-ink-negative);
|
|
5243
|
+
}
|
|
5244
|
+
.bs-option:where([data-negative="true"][aria-selected="true"]) :where(.bs-checkbox):before {
|
|
5245
|
+
--fill-bg-color: var(--bs-negative-base);
|
|
5246
|
+
}
|
|
5247
|
+
.bs-option:where([data-negative="true"][data-active="true"]) {
|
|
5248
|
+
box-shadow: inset 0 0 0 2px var(--bs-negative-base);
|
|
5249
|
+
}
|
|
5250
|
+
/* -- MULTIPLE -- */
|
|
5251
|
+
.bs-option:where([data-multiple="true"]) {
|
|
5235
5252
|
display: grid;
|
|
5236
5253
|
grid-template-columns: auto 1fr;
|
|
5237
5254
|
align-items: start;
|
|
5238
5255
|
gap: var(--bs-space-2);
|
|
5239
5256
|
}
|
|
5240
|
-
.bs-
|
|
5257
|
+
.bs-option:where([data-multiple="true"]) :where(.bs-checkbox) {
|
|
5241
5258
|
margin-top: var(--bs-space-1);
|
|
5242
5259
|
}
|
|
5260
|
+
/* -- VARIANTS -- */
|
|
5261
|
+
.bs-option-grid:where([data-icon-col="true"]) {
|
|
5262
|
+
display: grid;
|
|
5263
|
+
grid-template:
|
|
5264
|
+
"icon label"
|
|
5265
|
+
". description"
|
|
5266
|
+
/ auto 1fr;
|
|
5267
|
+
grid-column-gap: var(--bs-space-2);
|
|
5268
|
+
}
|
|
5269
|
+
.bs-option-grid:where(:not([data-icon-col="true"])) {
|
|
5270
|
+
display: grid;
|
|
5271
|
+
grid-template:
|
|
5272
|
+
"label"
|
|
5273
|
+
"description";
|
|
5274
|
+
}
|
|
5275
|
+
.bs-option-grid:where([data-icon-col="true"]) :where(:nth-child(1)) {
|
|
5276
|
+
grid-area: icon;
|
|
5277
|
+
align-self: center;
|
|
5278
|
+
max-width: 1.5rem;
|
|
5279
|
+
max-height: 1.5rem;
|
|
5280
|
+
}
|
|
5281
|
+
.bs-option-grid:where([data-icon-col="true"]) :where(:nth-child(2)),
|
|
5282
|
+
.bs-option-grid:where(:not([data-icon-col="true"])) :where(:nth-child(1)) {
|
|
5283
|
+
grid-area: label;
|
|
5284
|
+
}
|
|
5285
|
+
.bs-option-grid:where([data-icon-col="true"]) :where(:nth-child(3)),
|
|
5286
|
+
.bs-option-grid:where(:not([data-icon-col="true"])) :where(:nth-child(2)) {
|
|
5287
|
+
grid-area: description;
|
|
5288
|
+
font-size: var(--bs-text-xs);
|
|
5289
|
+
padding-top: 0.125rem;
|
|
5290
|
+
color: var(--description-color);
|
|
5291
|
+
}
|
|
5243
5292
|
.bs-overlay {
|
|
5244
5293
|
-webkit-backdrop-filter: blur(4px);
|
|
5245
5294
|
backdrop-filter: blur(4px);
|