@bi-digital/css 0.0.0-experimental-f4bb806 → 0.0.0-experimental-510f80a
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.css +2 -2
- package/dist/components/field.css +4 -0
- package/dist/components/filter-group.css +8 -2
- package/dist/components/footer.css +6 -0
- package/dist/components/link.css +4 -0
- package/dist/components/navbar.css +1 -1
- package/dist/components/sticky-header.css +1 -1
- package/dist/components/sub-navbar.css +1 -1
- package/dist/components.css +27 -7
- package/package.json +2 -2
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.bi-alert > .bi-button {
|
|
41
|
-
margin
|
|
42
|
-
margin-top: calc(var(--bic-alert-padding) * -1);
|
|
41
|
+
margin: calc(var(--bic-alert-padding) * -1);
|
|
43
42
|
grid-area: 1 / 3;
|
|
43
|
+
margin-left: 0;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
.bi-alert[data-size="small"] {
|
|
@@ -74,6 +74,10 @@
|
|
|
74
74
|
--bic-field-toggle-background: var(--bic-field-disabled-color);
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
+
.bi-field[data-fullwidth="true"] {
|
|
78
|
+
width: 100%;
|
|
79
|
+
}
|
|
80
|
+
|
|
77
81
|
.bi-field:has(.bi-input:-webkit-any([type="radio"], [type="checkbox"])) {
|
|
78
82
|
border-radius: var(--bi-radius-medium);
|
|
79
83
|
grid-template-areas: "input content";
|
|
@@ -31,6 +31,8 @@
|
|
|
31
31
|
background: var(--bic-filter-group-background-color);
|
|
32
32
|
cursor: pointer;
|
|
33
33
|
border-radius: var(--bi-radius-small) var(--bi-radius-small) 0 0;
|
|
34
|
+
-webkit-user-select: none;
|
|
35
|
+
user-select: none;
|
|
34
36
|
flex-direction: row;
|
|
35
37
|
display: flex;
|
|
36
38
|
}
|
|
@@ -64,7 +66,7 @@
|
|
|
64
66
|
|
|
65
67
|
.bi-filter-group > div {
|
|
66
68
|
gap: var(--bi-scale-2x);
|
|
67
|
-
padding: var(--bi-scale-
|
|
69
|
+
padding: var(--bi-scale-2x) 0 var(--bi-scale-8x);
|
|
68
70
|
flex-direction: column;
|
|
69
71
|
display: none;
|
|
70
72
|
}
|
|
@@ -73,10 +75,14 @@
|
|
|
73
75
|
width: 100%;
|
|
74
76
|
}
|
|
75
77
|
|
|
78
|
+
.bi-filter-group:last-of-type > div {
|
|
79
|
+
padding: var(--bi-scale-2x) 0;
|
|
80
|
+
}
|
|
81
|
+
|
|
76
82
|
.bi-filter-group[data-expanded="true"] > button {
|
|
77
83
|
--bic-filter-group-background-color: var(--bic-filter-group-background-color-expanded);
|
|
78
84
|
border-radius: var(--bi-radius-small);
|
|
79
|
-
border-bottom:
|
|
85
|
+
border-bottom-color: #0000;
|
|
80
86
|
}
|
|
81
87
|
|
|
82
88
|
.bi-filter-group[data-expanded="true"] > div {
|
|
@@ -91,6 +91,12 @@
|
|
|
91
91
|
display: flex;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
+
@media not (min-width: 600px) {
|
|
95
|
+
.bi-footer .bi-footer--accreditations {
|
|
96
|
+
gap: var(--bi-scale-1x);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
94
100
|
.bi-footer .bi-footer--accreditations .bi-footer--aacsb {
|
|
95
101
|
background-position: center;
|
|
96
102
|
background-repeat: no-repeat;
|
package/dist/components/link.css
CHANGED
package/dist/components.css
CHANGED
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.bi-alert > .bi-button {
|
|
41
|
-
margin
|
|
42
|
-
margin-top: calc(var(--bic-alert-padding) * -1);
|
|
41
|
+
margin: calc(var(--bic-alert-padding) * -1);
|
|
43
42
|
grid-area: 1 / 3;
|
|
43
|
+
margin-left: 0;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
.bi-alert[data-size="small"] {
|
|
@@ -1430,6 +1430,10 @@ body:has(.bi-dialog:modal) {
|
|
|
1430
1430
|
--bic-field-toggle-background: var(--bic-field-disabled-color);
|
|
1431
1431
|
}
|
|
1432
1432
|
|
|
1433
|
+
.bi-field[data-fullwidth="true"] {
|
|
1434
|
+
width: 100%;
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1433
1437
|
.bi-field:has(.bi-input:-webkit-any([type="radio"], [type="checkbox"])) {
|
|
1434
1438
|
border-radius: var(--bi-radius-medium);
|
|
1435
1439
|
grid-template-areas: "input content";
|
|
@@ -1760,6 +1764,8 @@ body:has(.bi-dialog:modal) {
|
|
|
1760
1764
|
background: var(--bic-filter-group-background-color);
|
|
1761
1765
|
cursor: pointer;
|
|
1762
1766
|
border-radius: var(--bi-radius-small) var(--bi-radius-small) 0 0;
|
|
1767
|
+
-webkit-user-select: none;
|
|
1768
|
+
user-select: none;
|
|
1763
1769
|
flex-direction: row;
|
|
1764
1770
|
display: flex;
|
|
1765
1771
|
}
|
|
@@ -1793,7 +1799,7 @@ body:has(.bi-dialog:modal) {
|
|
|
1793
1799
|
|
|
1794
1800
|
.bi-filter-group > div {
|
|
1795
1801
|
gap: var(--bi-scale-2x);
|
|
1796
|
-
padding: var(--bi-scale-
|
|
1802
|
+
padding: var(--bi-scale-2x) 0 var(--bi-scale-8x);
|
|
1797
1803
|
flex-direction: column;
|
|
1798
1804
|
display: none;
|
|
1799
1805
|
}
|
|
@@ -1802,10 +1808,14 @@ body:has(.bi-dialog:modal) {
|
|
|
1802
1808
|
width: 100%;
|
|
1803
1809
|
}
|
|
1804
1810
|
|
|
1811
|
+
.bi-filter-group:last-of-type > div {
|
|
1812
|
+
padding: var(--bi-scale-2x) 0;
|
|
1813
|
+
}
|
|
1814
|
+
|
|
1805
1815
|
.bi-filter-group[data-expanded="true"] > button {
|
|
1806
1816
|
--bic-filter-group-background-color: var(--bic-filter-group-background-color-expanded);
|
|
1807
1817
|
border-radius: var(--bi-radius-small);
|
|
1808
|
-
border-bottom:
|
|
1818
|
+
border-bottom-color: #0000;
|
|
1809
1819
|
}
|
|
1810
1820
|
|
|
1811
1821
|
.bi-filter-group[data-expanded="true"] > div {
|
|
@@ -1905,6 +1915,12 @@ body:has(.bi-dialog:modal) {
|
|
|
1905
1915
|
display: flex;
|
|
1906
1916
|
}
|
|
1907
1917
|
|
|
1918
|
+
@media not (min-width: 600px) {
|
|
1919
|
+
.bi-footer .bi-footer--accreditations {
|
|
1920
|
+
gap: var(--bi-scale-1x);
|
|
1921
|
+
}
|
|
1922
|
+
}
|
|
1923
|
+
|
|
1908
1924
|
.bi-footer .bi-footer--accreditations .bi-footer--aacsb {
|
|
1909
1925
|
background-position: center;
|
|
1910
1926
|
background-repeat: no-repeat;
|
|
@@ -2389,6 +2405,10 @@ body:has(.bi-dialog:modal) {
|
|
|
2389
2405
|
--bic-link-color: var(--bi-neutral-5);
|
|
2390
2406
|
}
|
|
2391
2407
|
|
|
2408
|
+
.bi-link[data-underline="hover"]:not(:hover) {
|
|
2409
|
+
text-decoration: none;
|
|
2410
|
+
}
|
|
2411
|
+
|
|
2392
2412
|
.bi-link:visited {
|
|
2393
2413
|
color: var(--bic-link-color);
|
|
2394
2414
|
}
|
|
@@ -2520,7 +2540,7 @@ body:has(.bi-dialog:modal) {
|
|
|
2520
2540
|
}
|
|
2521
2541
|
|
|
2522
2542
|
.bi-navbar[data-fixed="true"] > header {
|
|
2523
|
-
z-index:
|
|
2543
|
+
z-index: 110;
|
|
2524
2544
|
position: fixed;
|
|
2525
2545
|
top: 0;
|
|
2526
2546
|
left: 0;
|
|
@@ -2552,7 +2572,7 @@ body:has(.bi-dialog:modal) {
|
|
|
2552
2572
|
}
|
|
2553
2573
|
|
|
2554
2574
|
.bi-sub-navbar--wrapper .bi-sub-navbar[data-fixed="true"] {
|
|
2555
|
-
z-index:
|
|
2575
|
+
z-index: 120;
|
|
2556
2576
|
position: fixed;
|
|
2557
2577
|
}
|
|
2558
2578
|
|
|
@@ -2784,7 +2804,7 @@ body:has(.bi-dialog:modal) {
|
|
|
2784
2804
|
}
|
|
2785
2805
|
|
|
2786
2806
|
.bi-sticky-header {
|
|
2787
|
-
z-index:
|
|
2807
|
+
z-index: 100;
|
|
2788
2808
|
position: -webkit-sticky;
|
|
2789
2809
|
position: sticky;
|
|
2790
2810
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bi-digital/css",
|
|
3
|
-
"version": "0.0.0-experimental-
|
|
3
|
+
"version": "0.0.0-experimental-510f80a",
|
|
4
4
|
"description": "CSS for the BI Design System",
|
|
5
5
|
"author": "BI Digital",
|
|
6
6
|
"license": "ISC",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"lightningcss": "^1.30.1",
|
|
24
24
|
"modern-normalize": "^3.0.1",
|
|
25
25
|
"rimraf": "^6.0.1",
|
|
26
|
-
"@bi-digital/tokens": "0.0.0-experimental-
|
|
26
|
+
"@bi-digital/tokens": "0.0.0-experimental-510f80a"
|
|
27
27
|
},
|
|
28
28
|
"scripts": {
|
|
29
29
|
"build": "rimraf dist && node config.js",
|