@deque/cauldron-styles 6.7.0-canary.b2cf09f3 → 6.7.0-canary.d64ab15b
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/index.css +62 -9
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -128,6 +128,7 @@
|
|
|
128
128
|
--z-index-top-bar: 25;
|
|
129
129
|
/* ensure this is 1 higher than the top bar z-index */
|
|
130
130
|
--z-index-skip-container: calc(var(--z-index-top-bar) + 1);
|
|
131
|
+
--z-index-drawer: calc(var(--z-index-top-bar) + 1);
|
|
131
132
|
|
|
132
133
|
/* radio card */
|
|
133
134
|
--radio-card-width: 255px;
|
|
@@ -267,7 +268,6 @@ button,
|
|
|
267
268
|
|
|
268
269
|
a {
|
|
269
270
|
color: var(--link-text-color);
|
|
270
|
-
font-weight: var(--font-weight-medium);
|
|
271
271
|
}
|
|
272
272
|
|
|
273
273
|
p {
|
|
@@ -1238,6 +1238,7 @@ textarea.Field--has-error:focus:hover,
|
|
|
1238
1238
|
button.Link {
|
|
1239
1239
|
cursor: pointer;
|
|
1240
1240
|
font-size: inherit;
|
|
1241
|
+
font-weight: var(--font-weight-normal);
|
|
1241
1242
|
}
|
|
1242
1243
|
|
|
1243
1244
|
.Button--primary:focus,
|
|
@@ -2026,8 +2027,6 @@ a.IconButton {
|
|
|
2026
2027
|
.Link {
|
|
2027
2028
|
text-decoration: underline;
|
|
2028
2029
|
color: var(--link-text-color);
|
|
2029
|
-
font-weight: var(--font-weight-medium);
|
|
2030
|
-
display: inline-block;
|
|
2031
2030
|
padding: var(--space-quarter);
|
|
2032
2031
|
background: transparent;
|
|
2033
2032
|
vertical-align: baseline;
|
|
@@ -2043,12 +2042,11 @@ a.IconButton {
|
|
|
2043
2042
|
outline-offset: 0;
|
|
2044
2043
|
}
|
|
2045
2044
|
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
font-weight: var(--font-weight-normal);
|
|
2045
|
+
.Link:has(.Icon) {
|
|
2046
|
+
display: inline-flex;
|
|
2047
|
+
align-items: center;
|
|
2048
|
+
gap: var(--space-half);
|
|
2049
|
+
flex-wrap: wrap;
|
|
2052
2050
|
}
|
|
2053
2051
|
|
|
2054
2052
|
:root {
|
|
@@ -5640,3 +5638,58 @@ button.Accordion__trigger {
|
|
|
5640
5638
|
--badge-background-color: var(--impact-badge-minor-background-color);
|
|
5641
5639
|
--badge-border-color: var(--impact-badge-minor-border-color);
|
|
5642
5640
|
}
|
|
5641
|
+
|
|
5642
|
+
.Drawer {
|
|
5643
|
+
position: fixed;
|
|
5644
|
+
max-height: var(--drawer-height, 100vh);
|
|
5645
|
+
max-width: var(--drawer-height, 100vw);
|
|
5646
|
+
z-index: var(--z-index-drawer);
|
|
5647
|
+
transition: transform ease-in-out 250ms;
|
|
5648
|
+
}
|
|
5649
|
+
|
|
5650
|
+
.Drawer--top,
|
|
5651
|
+
.Drawer--bottom {
|
|
5652
|
+
max-height: var(--drawer-height, auto);
|
|
5653
|
+
min-width: 100%;
|
|
5654
|
+
}
|
|
5655
|
+
|
|
5656
|
+
.Drawer--left,
|
|
5657
|
+
.Drawer--right {
|
|
5658
|
+
max-width: var(--drawer-width, auto);
|
|
5659
|
+
min-height: var(--drawer-height, 100%);
|
|
5660
|
+
}
|
|
5661
|
+
|
|
5662
|
+
.Drawer--top {
|
|
5663
|
+
top: var(--drawer-top, 0);
|
|
5664
|
+
transform: translateY(-100%);
|
|
5665
|
+
}
|
|
5666
|
+
|
|
5667
|
+
.Drawer--bottom {
|
|
5668
|
+
bottom: var(--drawer-bottom, 0);
|
|
5669
|
+
transform: translateY(100%);
|
|
5670
|
+
}
|
|
5671
|
+
|
|
5672
|
+
.Drawer--left {
|
|
5673
|
+
top: var(--drawer-top, 0);
|
|
5674
|
+
transform: translateX(-100%);
|
|
5675
|
+
}
|
|
5676
|
+
|
|
5677
|
+
.Drawer--right {
|
|
5678
|
+
top: var(--drawer-top, 0);
|
|
5679
|
+
right: 0;
|
|
5680
|
+
transform: translateX(100%);
|
|
5681
|
+
}
|
|
5682
|
+
|
|
5683
|
+
.Drawer--open:is(.Drawer--top, .Drawer--bottom) {
|
|
5684
|
+
transform: translateX(0);
|
|
5685
|
+
}
|
|
5686
|
+
|
|
5687
|
+
.Drawer--open:is(.Drawer--left, .Drawer--right) {
|
|
5688
|
+
transform: translateY(0);
|
|
5689
|
+
}
|
|
5690
|
+
|
|
5691
|
+
@media (prefers-reduced-motion: reduce) {
|
|
5692
|
+
.Drawer {
|
|
5693
|
+
transition: none !important;
|
|
5694
|
+
}
|
|
5695
|
+
}
|
package/package.json
CHANGED