@primer/brand-css 0.78.0-rc.6fbe9fb5 → 0.78.0-rc.e0204c62
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.
|
@@ -12,10 +12,11 @@
|
|
|
12
12
|
.SubdomainNavBar::after {
|
|
13
13
|
content: '';
|
|
14
14
|
position: absolute;
|
|
15
|
+
z-index: 3;
|
|
15
16
|
inset-inline: 0;
|
|
16
17
|
inset-block-start: 100%;
|
|
17
18
|
height: var(--brand-borderWidth-thin);
|
|
18
|
-
background-color: var(--brand-
|
|
19
|
+
background-color: var(--brand-SubdomainNavBar-border-nav-default);
|
|
19
20
|
pointer-events: none;
|
|
20
21
|
}
|
|
21
22
|
|
|
@@ -124,7 +125,7 @@
|
|
|
124
125
|
.SubdomainNavBar-title {
|
|
125
126
|
line-height: var(--base-size-32);
|
|
126
127
|
text-decoration: none;
|
|
127
|
-
padding-
|
|
128
|
+
padding-inline-end: var(--base-size-16);
|
|
128
129
|
white-space: nowrap;
|
|
129
130
|
}
|
|
130
131
|
|
|
@@ -234,6 +235,7 @@
|
|
|
234
235
|
background-color: var(--brand-color-canvas-default);
|
|
235
236
|
width: 100%;
|
|
236
237
|
max-height: calc(100vh - var(--SubdomainNavBar-height) - var(--SubdomainNavBar-menu-offset-block-start, 0px));
|
|
238
|
+
border-block-end: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);
|
|
237
239
|
animation: fade-in-down 500ms;
|
|
238
240
|
animation-timing-function: var(--brand-animation-easing-default);
|
|
239
241
|
}
|
|
@@ -810,7 +812,9 @@
|
|
|
810
812
|
|
|
811
813
|
.SubdomainNavBar--variant-default .SubdomainNavBar-menu-wrapper {
|
|
812
814
|
inset-inline-start: auto;
|
|
813
|
-
|
|
815
|
+
inset-inline-end: 0;
|
|
816
|
+
width: max(100%, calc(var(--base-size-128) * 3));
|
|
817
|
+
min-width: 0;
|
|
814
818
|
}
|
|
815
819
|
|
|
816
820
|
.SubdomainNavBar-menu-wrapper--close {
|
|
@@ -1183,6 +1187,18 @@
|
|
|
1183
1187
|
border-inline-end: 0;
|
|
1184
1188
|
}
|
|
1185
1189
|
|
|
1190
|
+
.SubdomainNavBar--variant-default.SubdomainNavBar--has-title .SubdomainNavBar-title-area > li:first-child {
|
|
1191
|
+
padding-inline-end: 0;
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
.SubdomainNavBar--variant-default.SubdomainNavBar--has-title .SubdomainNavBar-title-area > li:first-child::after {
|
|
1195
|
+
margin-inline-end: 0;
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
.SubdomainNavBar--variant-default.SubdomainNavBar--has-title .SubdomainNavBar-title-item {
|
|
1199
|
+
padding-inline: var(--base-size-24);
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1186
1202
|
.SubdomainNavBar .SubdomainNavBar-logo-mark {
|
|
1187
1203
|
justify-content: center;
|
|
1188
1204
|
}
|
|
@@ -1466,6 +1482,7 @@
|
|
|
1466
1482
|
width: 100%;
|
|
1467
1483
|
block-size: 100%;
|
|
1468
1484
|
padding-inline: var(--base-size-16);
|
|
1485
|
+
border-radius: 0;
|
|
1469
1486
|
}
|
|
1470
1487
|
}
|
|
1471
1488
|
|