@primer/brand-css 0.56.3-rc.ea64afd9 → 0.56.3
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.
|
@@ -320,7 +320,8 @@
|
|
|
320
320
|
|
|
321
321
|
.Prose video,
|
|
322
322
|
.Prose iframe[src*='youtube.com'],
|
|
323
|
-
.Prose iframe[src*='youtu.be']
|
|
323
|
+
.Prose iframe[src*='youtu.be'],
|
|
324
|
+
.Prose iframe[src*='youtube-nocookie.com'] {
|
|
324
325
|
--spacing: var(--brand-Prose-img-spacing);
|
|
325
326
|
|
|
326
327
|
border-radius: var(--brand-borderRadius-medium);
|
|
@@ -336,7 +337,8 @@
|
|
|
336
337
|
}
|
|
337
338
|
|
|
338
339
|
.Prose iframe[src*='youtube.com'],
|
|
339
|
-
.Prose iframe[src*='youtu.be']
|
|
340
|
+
.Prose iframe[src*='youtu.be'],
|
|
341
|
+
.Prose iframe[src*='youtube-nocookie.com'] {
|
|
340
342
|
width: 100%;
|
|
341
343
|
aspect-ratio: 16 / 9;
|
|
342
344
|
}
|
|
@@ -104,6 +104,7 @@
|
|
|
104
104
|
background-color var(--brand-animation-duration-default) var(--brand-animation-easing-default);
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
+
.SubNav__anchor-menu-outer-container:focus-within .SubNav__anchor-menu-container,
|
|
107
108
|
.SubNav__anchor-menu-outer-container--stuck .SubNav__anchor-menu-container {
|
|
108
109
|
transform: translateY(0);
|
|
109
110
|
opacity: 1;
|
|
@@ -115,19 +116,20 @@
|
|
|
115
116
|
transition: height var(--brand-animation-duration-default) var(--brand-animation-easing-default);
|
|
116
117
|
}
|
|
117
118
|
|
|
119
|
+
.SubNav__anchor-menu-outer-container:focus-within,
|
|
118
120
|
.SubNav__anchor-menu-outer-container--stuck {
|
|
119
121
|
height: auto;
|
|
120
122
|
}
|
|
121
123
|
|
|
122
124
|
.SubNav__sub-menu--anchor {
|
|
123
125
|
opacity: 0;
|
|
124
|
-
visibility: hidden;
|
|
125
126
|
transform: translateY(var(--brand-animation-variant-slideInDown-distance));
|
|
126
127
|
transition: opacity var(--brand-animation-duration-default) var(--brand-animation-easing-default),
|
|
127
128
|
height var(--brand-animation-duration-default) var(--brand-animation-easing-default),
|
|
128
129
|
transform var(--brand-animation-duration-default) var(--brand-animation-easing-default);
|
|
129
130
|
}
|
|
130
131
|
|
|
132
|
+
.SubNav__anchor-menu-outer-container:focus-within .SubNav__sub-menu--anchor,
|
|
131
133
|
.SubNav__anchor-menu-outer-container--stuck .SubNav__sub-menu--anchor {
|
|
132
134
|
visibility: visible;
|
|
133
135
|
opacity: 1;
|