@primer/brand-css 0.68.0-rc.0963e67e → 0.68.0-rc.485a3446

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.
@@ -30,26 +30,6 @@
30
30
  }
31
31
  }
32
32
 
33
- .SectionIntroStacked--variant-gridline::before,
34
- .SectionIntroStacked--variant-gridline::after {
35
- content: '';
36
- position: absolute;
37
- left: 50%;
38
- transform: translateX(-50%);
39
- width: 100vw;
40
- height: 0;
41
- border-top: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);
42
- z-index: 1;
43
- }
44
-
45
- .SectionIntroStacked--variant-gridline::before {
46
- top: 0;
47
- }
48
-
49
- .SectionIntroStacked--variant-gridline::after {
50
- bottom: 0;
51
- }
52
-
53
33
  @media screen and (min-width: 80rem) {
54
34
  .SectionIntroStacked--variant-gridline {
55
35
  border-inline: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);
@@ -37,29 +37,6 @@
37
37
  }
38
38
  }
39
39
 
40
- .Tiles--variant-gridlines {
41
- position: relative;
42
- }
43
-
44
- .Tiles--variant-gridlines::before,
45
- .Tiles--variant-gridlines::after {
46
- content: '';
47
- position: absolute;
48
- left: 50%;
49
- transform: translateX(-50%);
50
- width: 100vw;
51
- height: 0;
52
- border-top: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);
53
- }
54
-
55
- .Tiles--variant-gridlines::before {
56
- top: 0;
57
- }
58
-
59
- .Tiles--variant-gridlines::after {
60
- bottom: 0;
61
- }
62
-
63
40
  .Tiles--variant-gridlines .Tiles-grid {
64
41
  position: relative;
65
42
  padding-right: var(--brand-borderWidth-thin);
@@ -0,0 +1,32 @@
1
+ /*
2
+ * .gridline: horizontal gridlines that span the visible viewport, breaking
3
+ * out of constrained-width parents. Uses border-image-outset to extend the
4
+ * line visually without affecting layout or causing scrollbar overflow.
5
+ */
6
+
7
+ .gridline {
8
+ position: relative;
9
+ }
10
+
11
+ .gridline::before,
12
+ .gridline::after {
13
+ content: '';
14
+ position: absolute;
15
+ left: 0;
16
+ right: 0;
17
+ height: 0;
18
+ border-top: var(--brand-borderWidth-thin) solid;
19
+ -o-border-image: linear-gradient(var(--brand-color-border-muted), var(--brand-color-border-muted)) 1;
20
+ border-image: linear-gradient(var(--brand-color-border-muted), var(--brand-color-border-muted)) 1;
21
+ border-image-outset: 0 100vw;
22
+ z-index: 1;
23
+ pointer-events: none;
24
+ }
25
+
26
+ .gridline::before {
27
+ top: 0;
28
+ }
29
+
30
+ .gridline::after {
31
+ bottom: 0;
32
+ }
@@ -40,26 +40,6 @@
40
40
  padding-block: var(--brand-RiverAccordion-variant-gridline-spacing-outerBlock);
41
41
  }
42
42
 
43
- .RiverAccordion--variant-gridline::before,
44
- .RiverAccordion--variant-gridline::after {
45
- content: '';
46
- position: absolute;
47
- left: 50%;
48
- transform: translateX(-50%);
49
- width: 100vw;
50
- height: 0;
51
- border-top: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);
52
- z-index: 1;
53
- }
54
-
55
- .RiverAccordion--variant-gridline::before {
56
- top: 0;
57
- }
58
-
59
- .RiverAccordion--variant-gridline::after {
60
- bottom: 0;
61
- }
62
-
63
43
  @media (min-width: 48rem) {
64
44
  .RiverAccordion--variant-gridline {
65
45
  --gap-width: var(--brand-RiverAccordion-variant-gridline-spacing-contentGap);
@@ -20,26 +20,6 @@
20
20
  }
21
21
  }
22
22
 
23
- .River--variant-gridline::before,
24
- .River--variant-gridline::after {
25
- content: '';
26
- position: absolute;
27
- left: 50%;
28
- transform: translateX(-50%);
29
- width: 100vw;
30
- height: 0;
31
- border-top: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);
32
- z-index: 1;
33
- }
34
-
35
- .River--variant-gridline::before {
36
- top: 0;
37
- }
38
-
39
- .River--variant-gridline::after {
40
- bottom: 0;
41
- }
42
-
43
23
  @media screen and (min-width: 80rem) {
44
24
  .River--variant-gridline {
45
25
  border-inline: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);
@@ -475,25 +455,6 @@
475
455
  }
476
456
  }
477
457
 
478
- .RiverBreakout--variant-gridline::before,
479
- .RiverBreakout--variant-gridline::after {
480
- content: '';
481
- position: absolute;
482
- left: 50%;
483
- transform: translateX(-50%);
484
- width: 100vw;
485
- height: 0;
486
- border-top: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);
487
- }
488
-
489
- .RiverBreakout--variant-gridline::before {
490
- top: 0;
491
- }
492
-
493
- .RiverBreakout--variant-gridline::after {
494
- bottom: 0;
495
- }
496
-
497
458
  @media screen and (min-width: 618px) {
498
459
  .RiverBreakout--variant-gridline {
499
460
  border-inline: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/brand-css",
3
- "version": "0.68.0-rc.0963e67e",
3
+ "version": "0.68.0-rc.485a3446",
4
4
  "description": "CSS stylesheets for Primer Brand components",
5
5
  "keywords": [
6
6
  "primer",