@primer/brand-css 0.80.0 → 0.80.1-rc.bcf1e5f2
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.
|
@@ -282,6 +282,10 @@ details[open] > .Accordion__summary .Accordion__summary-toggleIcon {
|
|
|
282
282
|
}
|
|
283
283
|
|
|
284
284
|
.Accordion--default > .Accordion__content {
|
|
285
|
+
/* Important: we use negative space to ensure overflow content (like link underlines) don't get clipped */
|
|
286
|
+
box-sizing: content-box;
|
|
287
|
+
padding-block-end: var(--base-size-12);
|
|
288
|
+
margin-block-end: calc(var(--base-size-12) * -1);
|
|
285
289
|
top: calc(var(--base-size-2) - var(--base-size-24));
|
|
286
290
|
}
|
|
287
291
|
|
|
@@ -5,21 +5,37 @@
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
.IconButton.IconButton {
|
|
8
|
-
min-width: var(--brand-IconButton-control-size
|
|
9
|
-
width: var(--brand-IconButton-control-size
|
|
10
|
-
height: var(--brand-IconButton-control-size
|
|
8
|
+
min-width: var(--brand-IconButton-control-size);
|
|
9
|
+
width: var(--brand-IconButton-control-size);
|
|
10
|
+
min-height: var(--brand-IconButton-control-size);
|
|
11
|
+
height: var(--brand-IconButton-control-size);
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
.IconButton--small.IconButton--small {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
--brand-IconButton-control-size: var(--brand-IconButton-control-size-small);
|
|
16
|
+
--brand-IconButton-icon-size: var(--brand-IconButton-icon-size-small);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.IconButton--medium.IconButton--medium {
|
|
20
|
+
--brand-IconButton-control-size: var(--brand-IconButton-control-size-medium);
|
|
21
|
+
--brand-IconButton-icon-size: var(--brand-IconButton-icon-size-medium);
|
|
17
22
|
}
|
|
18
23
|
|
|
19
24
|
.IconButton--large.IconButton--large {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
25
|
+
--brand-IconButton-control-size: var(--brand-IconButton-control-size-large);
|
|
26
|
+
--brand-IconButton-icon-size: var(--brand-IconButton-icon-size-large);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.IconButton--variant-secondary.IconButton--variant-secondary {
|
|
30
|
+
color: var(--brand-IconButton-secondary-fgColor);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.IconButton--variant-subtle.IconButton--variant-subtle {
|
|
34
|
+
color: var(--brand-IconButton-subtle-fgColor);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.IconButton--variant-invisible.IconButton--variant-invisible {
|
|
38
|
+
color: var(--brand-IconButton-invisible-fgColor);
|
|
23
39
|
}
|
|
24
40
|
|
|
25
41
|
.IconButton--rounded.IconButton--rounded {
|
|
@@ -69,38 +85,18 @@
|
|
|
69
85
|
color: inherit;
|
|
70
86
|
}
|
|
71
87
|
|
|
72
|
-
.IconButton
|
|
73
|
-
width: var(--brand-IconButton-icon-size
|
|
74
|
-
height: var(--brand-IconButton-icon-size
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.IconButton--medium .IconButton__icon {
|
|
78
|
-
width: var(--brand-IconButton-icon-size-medium);
|
|
79
|
-
height: var(--brand-IconButton-icon-size-medium);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.IconButton--large .IconButton__icon {
|
|
83
|
-
width: var(--brand-IconButton-icon-size-large);
|
|
84
|
-
height: var(--brand-IconButton-icon-size-large);
|
|
88
|
+
.IconButton .IconButton__icon {
|
|
89
|
+
width: var(--brand-IconButton-icon-size);
|
|
90
|
+
height: var(--brand-IconButton-icon-size);
|
|
85
91
|
}
|
|
86
92
|
|
|
87
93
|
.IconButton__spinner.IconButton__spinner {
|
|
88
94
|
display: block;
|
|
89
|
-
width: var(--brand-IconButton-icon-size
|
|
90
|
-
height: var(--brand-IconButton-icon-size
|
|
95
|
+
width: var(--brand-IconButton-icon-size);
|
|
96
|
+
height: var(--brand-IconButton-icon-size);
|
|
91
97
|
animation-duration: var(--brand-IconButton-spinner-animationDuration-default);
|
|
92
98
|
}
|
|
93
99
|
|
|
94
|
-
.IconButton--small .IconButton__spinner {
|
|
95
|
-
width: var(--brand-IconButton-icon-size-small);
|
|
96
|
-
height: var(--brand-IconButton-icon-size-small);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.IconButton--large .IconButton__spinner {
|
|
100
|
-
width: var(--brand-IconButton-icon-size-large);
|
|
101
|
-
height: var(--brand-IconButton-icon-size-large);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
100
|
.IconButton__loadingAnnouncement {
|
|
105
101
|
position: absolute;
|
|
106
102
|
width: var(--base-size-1);
|
|
@@ -728,8 +728,8 @@
|
|
|
728
728
|
|
|
729
729
|
/* Adjust content paddings */
|
|
730
730
|
.PricingOptions__feature-list-accordion .PricingOptions__feature-list-accordion-content {
|
|
731
|
-
padding: 0;
|
|
732
731
|
padding-block-start: var(--base-size-8);
|
|
732
|
+
padding-inline: 0;
|
|
733
733
|
padding-inline-start: 0 !important;
|
|
734
734
|
}
|
|
735
735
|
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
.TestimonialGroup {
|
|
2
2
|
width: 100%;
|
|
3
3
|
min-width: 0;
|
|
4
|
-
padding-block: calc(var(--base-size-48) + var(--base-size-8));
|
|
5
|
-
padding-inline: var(--base-size-32);
|
|
6
4
|
}
|
|
7
5
|
|
|
8
6
|
.TestimonialGroup__content {
|
|
@@ -102,10 +100,3 @@
|
|
|
102
100
|
transition: none;
|
|
103
101
|
}
|
|
104
102
|
}
|
|
105
|
-
|
|
106
|
-
@media screen and (min-width: 63.25rem) {
|
|
107
|
-
.TestimonialGroup {
|
|
108
|
-
padding-block: var(--base-size-60);
|
|
109
|
-
padding-inline: var(--base-size-60);
|
|
110
|
-
}
|
|
111
|
-
}
|