@wwtdev/bsds-css 2.1.5 → 2.3.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/_dropdown-options.scss +73 -13
- package/dist/components/_dropdown.scss +57 -69
- package/dist/components/_form-input-composite.scss +4 -3
- package/dist/components/_form-input-phone.scss +16 -0
- package/dist/components/_modal.scss +0 -1
- package/dist/components/_profile-img.scss +3 -2
- package/dist/components/dropdown-options.css +73 -13
- package/dist/components/dropdown.css +57 -69
- package/dist/components/form-input-composite.css +4 -3
- package/dist/components/form-input-phone.css +12 -0
- package/dist/components/modal.css +1 -1
- package/dist/components/profile-img.css +3 -2
- package/dist/wwt-bsds-preset.js +6 -8
- package/dist/wwt-bsds-wc-base.css +4 -0
- package/dist/wwt-bsds.css +136 -84
- package/dist/wwt-bsds.min.css +1 -1
- package/package.json +2 -2
|
@@ -99,8 +99,8 @@ and issues with box-sizing
|
|
|
99
99
|
|
|
100
100
|
/* -------- Inner-bordered styles -------- */
|
|
101
101
|
/** Inner borders should be straight; shown only if variant: "inner-bordered" */
|
|
102
|
-
|
|
103
|
-
.bs-input-addon:where([data-variant="inner-bordered"])
|
|
102
|
+
|
|
103
|
+
.bs-input-addon:where([data-variant="inner-bordered"]) {
|
|
104
104
|
--input-addon-nested-border: var(--bs-violet-lightest);
|
|
105
105
|
}
|
|
106
106
|
|
|
@@ -164,7 +164,7 @@ and issues with box-sizing
|
|
|
164
164
|
z-index: 1;
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
.bs-input-addon:where([data-multifocus]:not([data-multifocus="false"])) > :where(:not(.bs-input-addon)) > :
|
|
167
|
+
.bs-input-addon:where([data-multifocus]:not([data-multifocus="false"])) > :where(:not(.bs-input-addon)) > :is(input, select, button):where(:focus),
|
|
168
168
|
.bs-input-addon:where([data-multifocus]:not([data-multifocus="false"])) > :is(input, select):where(.bs-input, .bs-select):where(:focus),
|
|
169
169
|
.bs-input-addon:where([data-multifocus]:not([data-multifocus="false"])) > :is(bs-input, bs-select) :where(input:focus, select:focus),
|
|
170
170
|
.bs-input-addon:where([data-multifocus]:not([data-multifocus="false"])) > :where(input:focus, select:focus, button:focus) {
|
|
@@ -198,6 +198,7 @@ and issues with box-sizing
|
|
|
198
198
|
.bs-input-addon:where([data-disabled]:not([data-disabled="false"])) .bs-button {
|
|
199
199
|
--input-bg: var(--bs-bg-disabled);
|
|
200
200
|
--input-border: var(--bs-ink-disabled);
|
|
201
|
+
--input-addon-nested-border: var(--bs-ink-disabled);
|
|
201
202
|
color: var(--bs-ink-disabled);
|
|
202
203
|
}
|
|
203
204
|
.bs-input-addon:where([data-disabled]:not([data-disabled="false"])) * {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
.bs-input-phone :where(.bs-input-addon) > button {
|
|
2
|
+
align-items: center;
|
|
3
|
+
column-gap: .5rem;
|
|
4
|
+
cursor: pointer;
|
|
5
|
+
display: grid;
|
|
6
|
+
grid-template-columns: 1.25rem auto .75rem;
|
|
7
|
+
min-width: 6rem;
|
|
8
|
+
padding: 0 1rem;
|
|
9
|
+
}
|
|
10
|
+
.bs-input-phone ul:where(.bs-dropdown-options) {
|
|
11
|
+
min-width: 7.5rem;
|
|
12
|
+
}
|
|
@@ -39,13 +39,14 @@
|
|
|
39
39
|
}
|
|
40
40
|
/* Initials */
|
|
41
41
|
.bs-profile-img:where([data-no-img]:not([data-no-img="false"]))::after {
|
|
42
|
+
align-items: center;
|
|
42
43
|
border: 1px solid currentColor;
|
|
43
44
|
color: var(--bs-blue-500);
|
|
44
45
|
content: attr(data-initials);
|
|
46
|
+
display: flex;
|
|
45
47
|
font-size: var(--profile-text);
|
|
48
|
+
justify-content: center;
|
|
46
49
|
text-transform: uppercase;
|
|
47
|
-
display: grid;
|
|
48
|
-
place-items: center;
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
/* Profile Sizes */
|
package/dist/wwt-bsds-preset.js
CHANGED
|
@@ -138,14 +138,6 @@ module.exports = {
|
|
|
138
138
|
"f-3xl": "clamp(2.00rem, calc(1.88rem + 0.50vw), 2.25rem)",
|
|
139
139
|
"f-4xl": "clamp(2.25rem, calc(1.88rem + 1.50vw), 3.00rem)"
|
|
140
140
|
},
|
|
141
|
-
minHeight: {
|
|
142
|
-
...defaultTheme.minHeight,
|
|
143
|
-
...defaultTheme.spacing,
|
|
144
|
-
"half-screen": "50vh",
|
|
145
|
-
"13": "3.25rem",
|
|
146
|
-
"15": "3.75rem",
|
|
147
|
-
"18": "4.5rem",
|
|
148
|
-
},
|
|
149
141
|
extend: {
|
|
150
142
|
animation: {
|
|
151
143
|
'spin-2': 'spin 2s linear infinite',
|
|
@@ -262,6 +254,12 @@ module.exports = {
|
|
|
262
254
|
"5xl": "90rem",
|
|
263
255
|
"6xl": "100rem",
|
|
264
256
|
},
|
|
257
|
+
minHeight: {
|
|
258
|
+
"half-screen": "50vh",
|
|
259
|
+
"13": "3.25rem",
|
|
260
|
+
"15": "3.75rem",
|
|
261
|
+
"18": "4.5rem",
|
|
262
|
+
},
|
|
265
263
|
screens: {
|
|
266
264
|
// these are pretty wwt.com-specific, but they're additive/non-standard so should be fine to include here
|
|
267
265
|
wm: "752px",
|
package/dist/wwt-bsds.css
CHANGED
|
@@ -821,6 +821,9 @@ a:where(.bs-link):where(:focus:not(:focus-visible)) {
|
|
|
821
821
|
.measure-long {
|
|
822
822
|
max-width: 70ch;
|
|
823
823
|
}
|
|
824
|
+
*:where([data-scroll="false"]) {
|
|
825
|
+
overflow: hidden;
|
|
826
|
+
}
|
|
824
827
|
/* Component Styles */
|
|
825
828
|
.bs-accordion {
|
|
826
829
|
--accordion-link-color: var(--bs-purple-400);
|
|
@@ -1386,13 +1389,15 @@ a.bs-circle-button {
|
|
|
1386
1389
|
top: 0;
|
|
1387
1390
|
z-index: 998;
|
|
1388
1391
|
}
|
|
1389
|
-
/* Content
|
|
1392
|
+
/* Content */
|
|
1390
1393
|
.bs-dropdown {
|
|
1391
1394
|
--dropdown-bottom: 0;
|
|
1392
1395
|
--dropdown-left: 0;
|
|
1393
1396
|
--dropdown-right: auto;
|
|
1394
1397
|
--dropdown-top: auto;
|
|
1395
1398
|
--dropdown-width: 100%;
|
|
1399
|
+
--dropdown-transform: translate(0, 100%);
|
|
1400
|
+
|
|
1396
1401
|
background-color: var(--bs-bg-base-elevated);
|
|
1397
1402
|
border-radius: 4px;
|
|
1398
1403
|
bottom: var(--dropdown-bottom);
|
|
@@ -1406,15 +1411,14 @@ a.bs-circle-button {
|
|
|
1406
1411
|
right: var(--dropdown-right);
|
|
1407
1412
|
top: var(--dropdown-top);
|
|
1408
1413
|
transform-origin: center bottom;
|
|
1409
|
-
transform:
|
|
1414
|
+
transform: var(--dropdown-transform);
|
|
1410
1415
|
transition-duration: 75ms;
|
|
1411
1416
|
transition-property: opacity, transform;
|
|
1412
1417
|
transition-timing-function: ease-in-out;
|
|
1413
1418
|
width: var(--dropdown-width);
|
|
1414
|
-
z-index:
|
|
1419
|
+
z-index: 999;
|
|
1415
1420
|
}
|
|
1416
|
-
/*
|
|
1417
|
-
/* TODO: h3 may not be the right tag to use here... label, possibly? */
|
|
1421
|
+
/* Mobile Header */
|
|
1418
1422
|
.bs-dropdown > :where(header) {
|
|
1419
1423
|
border-bottom: 1px solid var(--bs-border-base);
|
|
1420
1424
|
display: flex;
|
|
@@ -1432,23 +1436,52 @@ a.bs-circle-button {
|
|
|
1432
1436
|
height: 1rem;
|
|
1433
1437
|
width: 1rem;
|
|
1434
1438
|
}
|
|
1435
|
-
/* mobile search input */
|
|
1436
|
-
.bs-dropdown :where(.bs-dropdown-search) {
|
|
1437
|
-
padding: 1.5rem 1.5rem 0 1.5rem;
|
|
1438
|
-
}
|
|
1439
|
-
.bs-dropdown :where(.bs-dropdown-search bs-input-search) {
|
|
1440
|
-
margin-bottom: 1rem;
|
|
1441
|
-
margin-left: -0.75rem;
|
|
1442
|
-
width: calc(100% + 1.5rem);
|
|
1443
|
-
}
|
|
1444
|
-
.bs-dropdown:where([data-search]:not([data-search="false"])) :where(.bs-dropdown-options) {
|
|
1445
|
-
--options-height-max: 11.5rem;
|
|
1446
|
-
}
|
|
1447
1439
|
/* data-shown */
|
|
1448
1440
|
.bs-dropdown:where([data-shown]:not([data-shown="false"])) {
|
|
1441
|
+
--dropdown-transform: translate(0, 0);
|
|
1449
1442
|
opacity: 1;
|
|
1450
|
-
|
|
1451
|
-
|
|
1443
|
+
}
|
|
1444
|
+
/* Sizing */
|
|
1445
|
+
.bs-dropdown:where([data-width="sm"]) {
|
|
1446
|
+
--dropdown-wscreen-width: 10rem;
|
|
1447
|
+
}
|
|
1448
|
+
.bs-dropdown:where([data-width="md"]),
|
|
1449
|
+
.bs-dropdown:where(:not([data-width])) {
|
|
1450
|
+
--dropdown-wscreen-width: 20rem;
|
|
1451
|
+
}
|
|
1452
|
+
.bs-dropdown:where([data-width="lg"]) {
|
|
1453
|
+
--dropdown-wscreen-width: 40rem;
|
|
1454
|
+
}
|
|
1455
|
+
.bs-dropdown:where([data-width="content"]) {
|
|
1456
|
+
--dropdown-wscreen-width: auto;
|
|
1457
|
+
}
|
|
1458
|
+
.bs-dropdown-parent:where([data-width="toggle"]) :where(.bs-dropdown),
|
|
1459
|
+
.bs-dropdown-parent:where([data-width="anchor"]) :where(.bs-dropdown) {
|
|
1460
|
+
--dropdown-wscreen-width: 100%;
|
|
1461
|
+
}
|
|
1462
|
+
/* data-top */
|
|
1463
|
+
.bs-dropdown:where([data-top]:not([data-top="false"])) {
|
|
1464
|
+
--dropdown-wscreen-bottom: calc(100% + 0.5rem);
|
|
1465
|
+
--dropdown-wscreen-top: auto;
|
|
1466
|
+
}
|
|
1467
|
+
/* data-center */
|
|
1468
|
+
.bs-dropdown-parent:where([data-center]:not([data-center="false"])) :where(.bs-dropdown) {
|
|
1469
|
+
--dropdown-transform: translate(-50%, 0);
|
|
1470
|
+
--dropdown-wscreen-left: 50%;
|
|
1471
|
+
}
|
|
1472
|
+
/* Overrides mobile style when not min-width 752 */
|
|
1473
|
+
.bs-dropdown:where([data-no-mobile="true"]) {
|
|
1474
|
+
--dropdown-bottom: var(--dropdown-wscreen-bottom, auto);
|
|
1475
|
+
--dropdown-left: var(--dropdown-wscreen-left, initial);
|
|
1476
|
+
--dropdown-right: var(--dropdown-wscreen-right, initial);
|
|
1477
|
+
--dropdown-top: var(--dropdown-wscreen-top, calc(100% + 0.5rem));
|
|
1478
|
+
--dropdown-width: var(--dropdown-wscreen-width, initial);
|
|
1479
|
+
--dropdown-transform: initial;
|
|
1480
|
+
|
|
1481
|
+
position: absolute;
|
|
1482
|
+
}
|
|
1483
|
+
.bs-dropdown:where([data-no-mobile="true"]) > :where(header) {
|
|
1484
|
+
display: none;
|
|
1452
1485
|
}
|
|
1453
1486
|
@media (min-width: 752px) {
|
|
1454
1487
|
.bs-dropdown-backdrop {
|
|
@@ -1461,60 +1494,15 @@ a.bs-circle-button {
|
|
|
1461
1494
|
--dropdown-right: var(--dropdown-wscreen-right, initial);
|
|
1462
1495
|
--dropdown-top: var(--dropdown-wscreen-top, calc(100% + 0.5rem));
|
|
1463
1496
|
--dropdown-width: var(--dropdown-wscreen-width, initial);
|
|
1497
|
+
--dropdown-transform: initial;
|
|
1498
|
+
|
|
1464
1499
|
position: absolute;
|
|
1465
|
-
transform: initial;
|
|
1466
1500
|
}
|
|
1467
1501
|
|
|
1468
1502
|
/* Hide the header */
|
|
1469
1503
|
.bs-dropdown > :where(header) {
|
|
1470
1504
|
display: none;
|
|
1471
1505
|
}
|
|
1472
|
-
|
|
1473
|
-
/* Sizing */
|
|
1474
|
-
.bs-dropdown:where([data-width="sm"]) {
|
|
1475
|
-
--dropdown-wscreen-width: 10rem;
|
|
1476
|
-
}
|
|
1477
|
-
|
|
1478
|
-
.bs-dropdown:where([data-width="md"]),
|
|
1479
|
-
.bs-dropdown:where(:not([data-width])) {
|
|
1480
|
-
--dropdown-wscreen-width: 20rem;
|
|
1481
|
-
}
|
|
1482
|
-
|
|
1483
|
-
.bs-dropdown:where([data-width="lg"]) {
|
|
1484
|
-
--dropdown-wscreen-width: 40rem;
|
|
1485
|
-
}
|
|
1486
|
-
|
|
1487
|
-
.bs-dropdown:where([data-width="content"]) {
|
|
1488
|
-
--dropdown-wscreen-width: auto;
|
|
1489
|
-
}
|
|
1490
|
-
|
|
1491
|
-
.bs-dropdown-parent:where([data-width="toggle"]) :where(.bs-dropdown) {
|
|
1492
|
-
--dropdown-wscreen-width: 100%;
|
|
1493
|
-
}
|
|
1494
|
-
|
|
1495
|
-
/* data-shown */
|
|
1496
|
-
.bs-dropdown:where([data-shown]:not([data-shown="false"])) {
|
|
1497
|
-
opacity: 1;
|
|
1498
|
-
}
|
|
1499
|
-
|
|
1500
|
-
/* data-top */
|
|
1501
|
-
.bs-dropdown:where([data-top]:not([data-top="false"])) {
|
|
1502
|
-
--dropdown-wscreen-bottom: calc(100% + 0.5rem);
|
|
1503
|
-
--dropdown-wscreen-top: auto;
|
|
1504
|
-
}
|
|
1505
|
-
|
|
1506
|
-
/* data-justify="center" */
|
|
1507
|
-
.bs-dropdown-parent:where([data-center]:not([data-center="false"])) :where(.bs-dropdown) {
|
|
1508
|
-
--dropdown-wscreen-left: 50%;
|
|
1509
|
-
transform: translateX(-50%);
|
|
1510
|
-
}
|
|
1511
|
-
|
|
1512
|
-
.bs-dropdown :where(.bs-dropdown-options) {
|
|
1513
|
-
--options-height-max: 20rem;
|
|
1514
|
-
}
|
|
1515
|
-
.bs-dropdown:where([data-search]:not([data-search="false"])) :where(.bs-dropdown-options) {
|
|
1516
|
-
--options-height-max: 17.25rem;
|
|
1517
|
-
}
|
|
1518
1506
|
}
|
|
1519
1507
|
/* Option list */
|
|
1520
1508
|
.bs-dropdown-options {
|
|
@@ -1552,8 +1540,14 @@ a.bs-circle-button {
|
|
|
1552
1540
|
.bs-dropdown-options :where(li[data-variant~="2-col"]) {
|
|
1553
1541
|
grid-template-columns: min-content 1fr;
|
|
1554
1542
|
}
|
|
1543
|
+
/* Variant: 3-col */
|
|
1544
|
+
.bs-dropdown-options :where(li[data-variant~="3-col"]) {
|
|
1545
|
+
grid-template-columns: min-content min-content 1fr;
|
|
1546
|
+
}
|
|
1555
1547
|
/* Variant: description */
|
|
1556
|
-
.bs-dropdown-options :where(li:not([data-variant
|
|
1548
|
+
.bs-dropdown-options :where(li:not([data-variant*="-col"])[data-variant~="description"] > :nth-child(2)),
|
|
1549
|
+
.bs-dropdown-options :where(li[data-variant~="2-col"][data-variant~="description"] > :nth-child(3)),
|
|
1550
|
+
.bs-dropdown-options :where(li[data-variant~="3-col"][data-variant~="description"] > :nth-child(4)) {
|
|
1557
1551
|
color: var(--bs-ink-light);
|
|
1558
1552
|
font-size: var(--bs-text-xs);
|
|
1559
1553
|
min-height: 1.125rem;
|
|
@@ -1561,11 +1555,11 @@ a.bs-circle-button {
|
|
|
1561
1555
|
}
|
|
1562
1556
|
/* Variant: 2-col description */
|
|
1563
1557
|
.bs-dropdown-options :where(li[data-variant~="2-col"][data-variant~="description"] > :nth-child(3)) {
|
|
1564
|
-
color: var(--bs-ink-light);
|
|
1565
|
-
font-size: var(--bs-text-xs);
|
|
1566
1558
|
grid-column-start: 2;
|
|
1567
|
-
|
|
1568
|
-
|
|
1559
|
+
}
|
|
1560
|
+
/* Variant: 3-col description */
|
|
1561
|
+
.bs-dropdown-options :where(li[data-variant~="3-col"][data-variant~="description"] > :nth-child(4)) {
|
|
1562
|
+
grid-column-start: 3;
|
|
1569
1563
|
}
|
|
1570
1564
|
/* Hover or data-selected */
|
|
1571
1565
|
.bs-dropdown-options :where(li:not([role="separator"]):hover),
|
|
@@ -1584,18 +1578,22 @@ a.bs-circle-button {
|
|
|
1584
1578
|
border-left: 4px solid var(--bs-red-500);
|
|
1585
1579
|
color: var(--bs-red-500);
|
|
1586
1580
|
}
|
|
1587
|
-
/* Hover or data-selected for 2-col/description variants */
|
|
1588
|
-
.bs-dropdown-options :where(li:not([data-variant
|
|
1581
|
+
/* Hover or data-selected for 2-col/3-col/description variants */
|
|
1582
|
+
.bs-dropdown-options :where(li:not([data-variant*="-col"])[data-variant~="description"]:hover > :nth-child(2)),
|
|
1589
1583
|
.bs-dropdown-options :where(li[data-variant~="2-col"][data-variant~="description"]:hover > :nth-child(3)),
|
|
1590
|
-
.bs-dropdown-options :where(li
|
|
1591
|
-
.bs-dropdown-options :where(li[data-variant
|
|
1584
|
+
.bs-dropdown-options :where(li[data-variant~="3-col"][data-variant~="description"]:hover > :nth-child(4)),
|
|
1585
|
+
.bs-dropdown-options :where(li:not([data-variant*="-col"])[data-variant~="description"][data-selected] > :nth-child(2)),
|
|
1586
|
+
.bs-dropdown-options :where(li[data-variant~="2-col"][data-variant~="description"][data-selected] > :nth-child(3)),
|
|
1587
|
+
.bs-dropdown-options :where(li[data-variant~="3-col"][data-variant~="description"][data-selected] > :nth-child(4)) {
|
|
1592
1588
|
color: var(--bs-blue-base);
|
|
1593
1589
|
}
|
|
1594
|
-
/* Hover or data-selected for negative + 2-col/description variants */
|
|
1595
|
-
.bs-dropdown-options :where(li[data-variant~="negative"]:not([data-variant
|
|
1590
|
+
/* Hover or data-selected for negative + 2-col/3-col/description variants */
|
|
1591
|
+
.bs-dropdown-options :where(li[data-variant~="negative"]:not([data-variant*="-col"])[data-variant~="description"]:hover > :nth-child(2)),
|
|
1596
1592
|
.bs-dropdown-options :where(li[data-variant~="negative"][data-variant~="2-col"][data-variant~="description"]:hover > :nth-child(3)),
|
|
1597
|
-
.bs-dropdown-options :where(li[data-variant~="negative"]
|
|
1598
|
-
.bs-dropdown-options :where(li[data-variant~="negative"][data-variant
|
|
1593
|
+
.bs-dropdown-options :where(li[data-variant~="negative"][data-variant~="3-col"][data-variant~="description"]:hover > :nth-child(4)),
|
|
1594
|
+
.bs-dropdown-options :where(li[data-variant~="negative"]:not([data-variant*="-col"])[data-variant~="description"][data-selected] > :nth-child(2)),
|
|
1595
|
+
.bs-dropdown-options :where(li[data-variant~="negative"][data-variant~="2-col"][data-variant~="description"][data-selected] > :nth-child(3)),
|
|
1596
|
+
.bs-dropdown-options :where(li[data-variant~="negative"][data-variant~="3-col"][data-variant~="description"][data-selected] > :nth-child(4)) {
|
|
1599
1597
|
color: var(--bs-red-500);
|
|
1600
1598
|
}
|
|
1601
1599
|
/* List option mouse click focus (do not show) */
|
|
@@ -1628,12 +1626,52 @@ a.bs-circle-button {
|
|
|
1628
1626
|
padding-block: 0.125rem;
|
|
1629
1627
|
padding-right: 1.375rem;
|
|
1630
1628
|
}
|
|
1629
|
+
/* Multi-select divider line */
|
|
1631
1630
|
.bs-dropdown-options :where(hr) {
|
|
1632
1631
|
background-color: var(--bs-navy-light);
|
|
1633
1632
|
height: .0625rem;
|
|
1634
1633
|
margin-block: 0;
|
|
1635
1634
|
margin-inline: 0;
|
|
1636
1635
|
}
|
|
1636
|
+
/* Disable hover styles */
|
|
1637
|
+
.bs-dropdown-options :where(li[data-no-hover]:hover) {
|
|
1638
|
+
background-color: transparent;
|
|
1639
|
+
border-left-color: transparent;
|
|
1640
|
+
color: var(--bs-ink-base);
|
|
1641
|
+
cursor: default;
|
|
1642
|
+
}
|
|
1643
|
+
/* Style label to look like other options */
|
|
1644
|
+
.bs-dropdown-options :where(li label) {
|
|
1645
|
+
cursor: pointer;
|
|
1646
|
+
font-size: 1rem;
|
|
1647
|
+
font-weight: 400;
|
|
1648
|
+
}
|
|
1649
|
+
/* Don't change option color when checkbox is present */
|
|
1650
|
+
.bs-dropdown-options :where(li[data-variant~="checkbox"]):hover,
|
|
1651
|
+
.bs-dropdown-options :where(li[data-variant~="checkbox"][data-selected]) {
|
|
1652
|
+
color: var(--bs-ink-base);
|
|
1653
|
+
}
|
|
1654
|
+
/* Don't change description color when checkbox is present */
|
|
1655
|
+
.bs-dropdown-options :where(li[data-variant~="checkbox"][data-variant~="2-col"][data-variant~="description"]):hover > :nth-child(3),
|
|
1656
|
+
.bs-dropdown-options :where(li[data-variant~="checkbox"][data-variant~="2-col"][data-variant~="description"][data-selected]) > :nth-child(3),
|
|
1657
|
+
.bs-dropdown-options :where(li[data-variant~="checkbox"][data-variant~="3-col"][data-variant~="description"]):hover > :nth-child(4),
|
|
1658
|
+
.bs-dropdown-options :where(li[data-variant~="checkbox"][data-variant~="3-col"][data-variant~="description"][data-selected]) > :nth-child(4) {
|
|
1659
|
+
color: var(--bs-ink-light);
|
|
1660
|
+
}
|
|
1661
|
+
/* Overrides mobile style when not min-width 752 */
|
|
1662
|
+
.bs-dropdown:where([data-no-mobile="true"]) :where(.bs-dropdown-options) :where(li) {
|
|
1663
|
+
padding-left: 0.5rem;
|
|
1664
|
+
padding-right: 0.75rem;
|
|
1665
|
+
}
|
|
1666
|
+
.bs-dropdown:where([data-no-mobile="true"]) :where(.bs-dropdown-options) :where(li[role="separator"]) {
|
|
1667
|
+
padding-right: 0.625rem;
|
|
1668
|
+
}
|
|
1669
|
+
.bs-dropdown:where([data-no-mobile="true"]) :where(.bs-dropdown-options) :where(li:focus-visible) {
|
|
1670
|
+
padding-left: 0.625rem;
|
|
1671
|
+
}
|
|
1672
|
+
.bs-dropdown:where([data-no-mobile="true"]) :where(.bs-dropdown-options) :where(li[data-selected]:focus-visible) {
|
|
1673
|
+
padding-left: 0.5rem;
|
|
1674
|
+
}
|
|
1637
1675
|
@media (min-width: 752px) {
|
|
1638
1676
|
.bs-dropdown-options :where(li) {
|
|
1639
1677
|
padding-left: 0.5rem;
|
|
@@ -2019,8 +2057,7 @@ and issues with box-sizing
|
|
|
2019
2057
|
}
|
|
2020
2058
|
/* -------- Inner-bordered styles -------- */
|
|
2021
2059
|
/** Inner borders should be straight; shown only if variant: "inner-bordered" */
|
|
2022
|
-
.bs-input-addon:where([data-variant="inner-bordered"])
|
|
2023
|
-
.bs-input-addon:where([data-variant="inner-bordered"]) :where(.bs-input-addon) {
|
|
2060
|
+
.bs-input-addon:where([data-variant="inner-bordered"]) {
|
|
2024
2061
|
--input-addon-nested-border: var(--bs-violet-lightest);
|
|
2025
2062
|
}
|
|
2026
2063
|
.bs-input-addon > :where(.bs-input-addon:not(:last-child, :focus-within)),
|
|
@@ -2073,7 +2110,7 @@ and issues with box-sizing
|
|
|
2073
2110
|
.bs-input-addon :where(.bs-input-addon:focus-within)::after {
|
|
2074
2111
|
z-index: 1;
|
|
2075
2112
|
}
|
|
2076
|
-
.bs-input-addon:where([data-multifocus]:not([data-multifocus="false"])) > :where(:not(.bs-input-addon)) > :
|
|
2113
|
+
.bs-input-addon:where([data-multifocus]:not([data-multifocus="false"])) > :where(:not(.bs-input-addon)) > :is(input, select, button):where(:focus),
|
|
2077
2114
|
.bs-input-addon:where([data-multifocus]:not([data-multifocus="false"])) > :is(input, select):where(.bs-input, .bs-select):where(:focus),
|
|
2078
2115
|
.bs-input-addon:where([data-multifocus]:not([data-multifocus="false"])) > :is(bs-input, bs-select) :where(input:focus, select:focus),
|
|
2079
2116
|
.bs-input-addon:where([data-multifocus]:not([data-multifocus="false"])) > :where(input:focus, select:focus, button:focus) {
|
|
@@ -2103,6 +2140,7 @@ and issues with box-sizing
|
|
|
2103
2140
|
.bs-input-addon:where([data-disabled]:not([data-disabled="false"])) .bs-button {
|
|
2104
2141
|
--input-bg: var(--bs-bg-disabled);
|
|
2105
2142
|
--input-border: var(--bs-ink-disabled);
|
|
2143
|
+
--input-addon-nested-border: var(--bs-ink-disabled);
|
|
2106
2144
|
color: var(--bs-ink-disabled);
|
|
2107
2145
|
}
|
|
2108
2146
|
.bs-input-addon:where([data-disabled]:not([data-disabled="false"])) * {
|
|
@@ -2122,6 +2160,19 @@ and issues with box-sizing
|
|
|
2122
2160
|
:where(label, .bs-label, bs-label) + .bs-input-addon {
|
|
2123
2161
|
margin-top: 0.25rem;
|
|
2124
2162
|
}
|
|
2163
|
+
.bs-input-phone :where(.bs-input-addon) > button {
|
|
2164
|
+
align-items: center;
|
|
2165
|
+
-moz-column-gap: .5rem;
|
|
2166
|
+
column-gap: .5rem;
|
|
2167
|
+
cursor: pointer;
|
|
2168
|
+
display: grid;
|
|
2169
|
+
grid-template-columns: 1.25rem auto .75rem;
|
|
2170
|
+
min-width: 6rem;
|
|
2171
|
+
padding: 0 1rem;
|
|
2172
|
+
}
|
|
2173
|
+
.bs-input-phone ul:where(.bs-dropdown-options) {
|
|
2174
|
+
min-width: 7.5rem;
|
|
2175
|
+
}
|
|
2125
2176
|
:where(.bs-input-search) {
|
|
2126
2177
|
display: inline-block;
|
|
2127
2178
|
width: 100%;
|
|
@@ -2995,13 +3046,14 @@ input:where([type='checkbox'], [type='radio'])[data-error]:where(:not([data-erro
|
|
|
2995
3046
|
}
|
|
2996
3047
|
/* Initials */
|
|
2997
3048
|
.bs-profile-img:where([data-no-img]:not([data-no-img="false"]))::after {
|
|
3049
|
+
align-items: center;
|
|
2998
3050
|
border: 1px solid currentColor;
|
|
2999
3051
|
color: var(--bs-blue-500);
|
|
3000
3052
|
content: attr(data-initials);
|
|
3053
|
+
display: flex;
|
|
3001
3054
|
font-size: var(--profile-text);
|
|
3055
|
+
justify-content: center;
|
|
3002
3056
|
text-transform: uppercase;
|
|
3003
|
-
display: grid;
|
|
3004
|
-
place-items: center;
|
|
3005
3057
|
}
|
|
3006
3058
|
/* Profile Sizes */
|
|
3007
3059
|
.bs-profile-img:where([data-img-size^='xs']) {
|