@primer/brand-css 0.65.0 → 0.65.1-rc.7ef81232
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.
|
@@ -280,6 +280,10 @@
|
|
|
280
280
|
z-index: 9998;
|
|
281
281
|
}
|
|
282
282
|
|
|
283
|
+
.SubNav__heading-container + .SubNav__heading-container {
|
|
284
|
+
padding-inline-start: var(--base-size-16);
|
|
285
|
+
}
|
|
286
|
+
|
|
283
287
|
.SubNav__heading-separator {
|
|
284
288
|
margin-inline-end: var(--base-size-16);
|
|
285
289
|
z-index: 9998;
|
|
@@ -705,6 +709,7 @@
|
|
|
705
709
|
.SubNav__links-overlay .SubNav__link[aria-current]:not([aria-current='false']) {
|
|
706
710
|
background-color: var(--brand-SubNav-color-link-bgColor);
|
|
707
711
|
line-height: 1.1em;
|
|
712
|
+
padding: var(--base-size-2) var(--base-size-12) var(--base-size-4);
|
|
708
713
|
}
|
|
709
714
|
|
|
710
715
|
/* Firefox optical alignment fix */
|
|
@@ -161,6 +161,15 @@
|
|
|
161
161
|
padding: var(--base-size-12) var(--base-size-16);
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
+
.Tiles--layout-compact .Tiles-item-media {
|
|
165
|
+
transition: transform var(--brand-animation-duration-fast) var(--brand-animation-easing-default);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.Tiles--layout-compact .Tiles-item-link:hover .Tiles-item-media,
|
|
169
|
+
.Tiles--layout-compact .Tiles-item-link:focus-visible .Tiles-item-media {
|
|
170
|
+
transform: translateY(calc(-1 * var(--base-size-4)));
|
|
171
|
+
}
|
|
172
|
+
|
|
164
173
|
.Tiles--layout-compact .Tiles-item-label {
|
|
165
174
|
opacity: 0;
|
|
166
175
|
transform: translateY(var(--base-size-4));
|
|
@@ -192,6 +201,10 @@
|
|
|
192
201
|
transition: none;
|
|
193
202
|
}
|
|
194
203
|
|
|
204
|
+
.Tiles--layout-compact .Tiles-item-media {
|
|
205
|
+
transition: none;
|
|
206
|
+
}
|
|
207
|
+
|
|
195
208
|
.Tiles--layout-compact .Tiles-item-label {
|
|
196
209
|
transition: none;
|
|
197
210
|
}
|