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