@primer/brand-css 0.0.0-20250212132611
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.
- package/components/Accordion/Accordion.css +305 -0
- package/components/ActionMenu/ActionMenu.css +187 -0
- package/components/AnchorNav/AnchorNav.css +427 -0
- package/components/Avatar/Avatar.css +115 -0
- package/components/Bento/Bento.css +2157 -0
- package/components/Box/Box.css +2795 -0
- package/components/Box/Box.features.css +48 -0
- package/components/Breadcrumbs/Breadcrumbs.css +81 -0
- package/components/BreakoutBanner/BreakoutBanner.css +109 -0
- package/components/Button/Button.css +207 -0
- package/components/ButtonGroup/ButtonGroup.css +10 -0
- package/components/CTABanner/CTABanner.css +104 -0
- package/components/CTAForm/CTAForm.css +48 -0
- package/components/Card/Card.css +183 -0
- package/components/ComparisonTable/ComparisonTable.css +290 -0
- package/components/ExpandableArrow/ExpandableArrow.css +26 -0
- package/components/EyebrowBanner/EyebrowBanner.css +320 -0
- package/components/FAQ/FAQ.css +51 -0
- package/components/FAQ/FAQGroup.css +51 -0
- package/components/Footnotes/Footnotes.css +35 -0
- package/components/FrostedGlassVFX/FrostedGlassVFX.css +50 -0
- package/components/Grid/Grid.css +741 -0
- package/components/Heading/Heading.css +284 -0
- package/components/Hero/Hero.css +87 -0
- package/components/IDE/IDE.css +392 -0
- package/components/Icon/Icon.css +121 -0
- package/components/Image/Image.css +54 -0
- package/components/InlineLink/InlineLink.css +30 -0
- package/components/Label/Label.css +167 -0
- package/components/Link/Link.css +84 -0
- package/components/LogoSuite/LogoSuite.css +165 -0
- package/components/MinimalFooter/MinimalFooter.css +116 -0
- package/components/MonaSans/MonaSans.css +4 -0
- package/components/Pagination/Pagination.css +117 -0
- package/components/Pillar/Pillar.css +106 -0
- package/components/PricingOptions/PricingOptions.css +357 -0
- package/components/Prose/Prose.css +332 -0
- package/components/Section/Section.css +156 -0
- package/components/Section/Section.features.css +33 -0
- package/components/SectionIntro/SectionIntro.css +48 -0
- package/components/Stack/Stack.css +793 -0
- package/components/Statistic/Statistic.css +91 -0
- package/components/SubNav/SubNav.css +678 -0
- package/components/SubdomainNavBar/SubdomainNavBar.css +728 -0
- package/components/Testimonial/Testimonial.css +228 -0
- package/components/Text/Text.css +195 -0
- package/components/Timeline/Timeline.css +79 -0
- package/components/Tooltip/Tooltip.css +170 -0
- package/components/VideoPlayer/VideoPlayer.css +348 -0
- package/components/VideoPlayer/components/Captions/Captions.css +17 -0
- package/components/VideoPlayer/components/VolumeControl/VolumeControl.css +3 -0
- package/components/animation/Animation.css +192 -0
- package/components/animation/TextRevealAnimation/TextRevealAnimation.css +38 -0
- package/components/forms/Checkbox/Checkbox.css +88 -0
- package/components/forms/ControlGroup/ControlGroup.css +59 -0
- package/components/forms/FormControl/FormControl.css +113 -0
- package/components/forms/Radio/Radio.css +111 -0
- package/components/forms/Select/Select.css +143 -0
- package/components/forms/TextInput/TextInput.css +266 -0
- package/components/forms/Textarea/Textarea.css +129 -0
- package/components/list/ListItem/ListItem.css +29 -0
- package/components/list/OrderedList/OrderedList.css +3 -0
- package/components/list/list-shared.css +10 -0
- package/components/recipes/FeaturePreviewLPs/FeaturePreviewLevelOne/FeaturePreviewLevelOne.css +204 -0
- package/components/recipes/FeaturePreviewLPs/FeaturePreviewLevelTwo/FeaturePreviewLevelTwo.css +57 -0
- package/components/recipes/FeaturePreviewLPs/FeaturePreviewLevelZero/FeaturePreviewLevelZero.css +3 -0
- package/components/recipes/SolutionTemplates/CategoryPage/CategoryPage.css +83 -0
- package/components/recipes/SolutionTemplates/SolutionPage/SolutionPage.css +119 -0
- package/components/recipes/SolutionTemplates/SolutionsOverview/SolutionsOverview.css +35 -0
- package/components/recipes/SolutionTemplates/parallax.css +165 -0
- package/components/recipes/seo/Article/Article.css +289 -0
- package/components/recipes/seo/Category/CategoryPage.css +43 -0
- package/components/river/RiverStoryScroll/RiverStoryScroll.css +470 -0
- package/components/river/river-shared.css +205 -0
- package/package.json +42 -0
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
.Card {
|
|
2
|
+
text-decoration: none;
|
|
3
|
+
color: var(--brand-color-text-default);
|
|
4
|
+
border-radius: var(--brand-borderRadius-xlarge);
|
|
5
|
+
transition: transform var(--brand-Card-animation-duration) var(--brand-Card-animation-easing);
|
|
6
|
+
padding: var(--base-size-32);
|
|
7
|
+
display: grid;
|
|
8
|
+
grid-template-columns: 1fr 1fr;
|
|
9
|
+
grid-template-areas:
|
|
10
|
+
'image image'
|
|
11
|
+
'icon icon'
|
|
12
|
+
'label label'
|
|
13
|
+
'heading heading'
|
|
14
|
+
'description description'
|
|
15
|
+
'action action';
|
|
16
|
+
flex: auto;
|
|
17
|
+
grid-template-rows: auto auto auto auto 1fr;
|
|
18
|
+
position: relative;
|
|
19
|
+
height: 100%;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.Card--maxWidth {
|
|
23
|
+
max-width: var(--brand-Card-maxWidth);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.Card--fullWidth {
|
|
27
|
+
max-width: unset;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.Card--variant-minimal {
|
|
31
|
+
padding: 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.Card--colorMode-light {
|
|
35
|
+
background-color: var(--brand-Card-background-default);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.Card:hover {
|
|
39
|
+
text-decoration: none;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.Card__link {
|
|
43
|
+
color: currentColor;
|
|
44
|
+
text-decoration: none !important;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.Card--disableAnimation:hover .Card__link {
|
|
48
|
+
text-decoration: underline !important;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* The focus outline will appear around the entire card, not just the title */
|
|
52
|
+
.Card__link:focus {
|
|
53
|
+
outline: none;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.Card__link::before {
|
|
57
|
+
content: '';
|
|
58
|
+
position: absolute;
|
|
59
|
+
inset: 0;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.Card--border {
|
|
63
|
+
border: var(--brand-borderWidth-thin) solid var(--brand-color-border-default);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.Card__outer {
|
|
67
|
+
height: 100%;
|
|
68
|
+
border-radius: var(--brand-borderRadius-xlarge);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.Card__outer:focus-within {
|
|
72
|
+
outline: var(--brand-borderWidth-thick) solid var(--brand-color-focus);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.Card__outer:has(.Card--variant-minimal):focus-within {
|
|
76
|
+
outline-offset: var(--base-size-16);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.Card--icon {
|
|
80
|
+
grid-template-areas:
|
|
81
|
+
'image image'
|
|
82
|
+
'icon label'
|
|
83
|
+
'heading heading'
|
|
84
|
+
'description description'
|
|
85
|
+
'action action';
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.Card--icon .Card__label {
|
|
89
|
+
justify-self: flex-end;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.Card--icon .Card__label,
|
|
93
|
+
.Card--icon .Card__icon {
|
|
94
|
+
align-self: center;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.Card:not(.Card--disableAnimation, .Card--variant-default.Card--colorMode-dark):hover {
|
|
98
|
+
transform: scale3d(1.025, 1.025, 1);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.Card__image {
|
|
102
|
+
margin-bottom: var(--base-size-28);
|
|
103
|
+
border-radius: var(--brand-borderRadius-medium);
|
|
104
|
+
overflow: hidden;
|
|
105
|
+
grid-area: image;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.Card__image img,
|
|
109
|
+
.Card__image span {
|
|
110
|
+
display: block;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.Card__icon {
|
|
114
|
+
margin-bottom: var(--base-size-24);
|
|
115
|
+
grid-area: icon;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.Card__label {
|
|
119
|
+
margin-bottom: var(--base-size-24);
|
|
120
|
+
grid-area: label;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.Card__heading {
|
|
124
|
+
margin-bottom: var(--base-size-20);
|
|
125
|
+
grid-area: heading;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.Card__description {
|
|
129
|
+
margin-bottom: var(--base-size-32);
|
|
130
|
+
grid-area: description;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.Card__action {
|
|
134
|
+
grid-area: action;
|
|
135
|
+
margin-top: auto;
|
|
136
|
+
display: inline-flex;
|
|
137
|
+
align-items: center;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.Card__action,
|
|
141
|
+
.Card__action span {
|
|
142
|
+
color: var(--brand-Link-color-accent);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.Card--skew {
|
|
146
|
+
height: 100%;
|
|
147
|
+
border-radius: var(--brand-borderRadius-xlarge);
|
|
148
|
+
overflow: hidden;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.Card--skew:focus-within {
|
|
152
|
+
outline: var(--brand-borderWidth-thick) solid var(--brand-color-focus);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.Card--skew:hover .Card__torch {
|
|
156
|
+
opacity: 0.85;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.Card__skew-bounding {
|
|
160
|
+
border-radius: var(--brand-borderRadius-xlarge);
|
|
161
|
+
position: relative;
|
|
162
|
+
overflow: hidden;
|
|
163
|
+
z-index: 1;
|
|
164
|
+
height: 100%;
|
|
165
|
+
background-color: var(--brand-Card-background-default);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.Card__torch {
|
|
169
|
+
width: 650px;
|
|
170
|
+
height: 650px;
|
|
171
|
+
background-color: var(--brand-color-accent-primary);
|
|
172
|
+
filter: blur(180px);
|
|
173
|
+
border-radius: 300px;
|
|
174
|
+
opacity: 0;
|
|
175
|
+
transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
|
|
176
|
+
mix-blend-mode: soft-light;
|
|
177
|
+
will-change: transform;
|
|
178
|
+
pointer-events: none;
|
|
179
|
+
position: absolute;
|
|
180
|
+
bottom: 0;
|
|
181
|
+
right: 0;
|
|
182
|
+
z-index: -1;
|
|
183
|
+
}
|
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Heading
|
|
3
|
+
*/
|
|
4
|
+
.ComparisonTable--heading {
|
|
5
|
+
text-align: left;
|
|
6
|
+
max-width: 18ch;
|
|
7
|
+
margin-bottom: var(--brand-ComparisonTable-heading-marginBottom);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/* Narrow breakpoint */
|
|
11
|
+
|
|
12
|
+
@media screen and (min-width: 34rem) {
|
|
13
|
+
.ComparisonTable--heading {
|
|
14
|
+
margin-left: auto;
|
|
15
|
+
margin-right: auto;
|
|
16
|
+
text-align: center;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Footnotes
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
.ComparisonTable-footnote {
|
|
25
|
+
text-align: left;
|
|
26
|
+
margin: var(--base-size-24) 0;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@media screen and (min-width: 34rem) {
|
|
30
|
+
.ComparisonTable-footnote {
|
|
31
|
+
text-align: center;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/*
|
|
36
|
+
* Table
|
|
37
|
+
*/
|
|
38
|
+
|
|
39
|
+
.ComparisonTable {
|
|
40
|
+
border-collapse: collapse;
|
|
41
|
+
border-spacing: 0;
|
|
42
|
+
font-family: var(--brand-body-fontFamily);
|
|
43
|
+
width: 100%;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.ComparisonTable tr {
|
|
47
|
+
display: flex;
|
|
48
|
+
flex-direction: column;
|
|
49
|
+
width: 100%;
|
|
50
|
+
text-align: left;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.ComparisonTable-cell {
|
|
54
|
+
color: var(--brand-color-text-default);
|
|
55
|
+
font-weight: var(--brand-text-weight-200);
|
|
56
|
+
font-size: var(--brand-text-size-200);
|
|
57
|
+
line-height: var(--brand-text-lineHeight-200);
|
|
58
|
+
padding-bottom: var(--base-size-24);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.ComparisonTable-cell-heading {
|
|
62
|
+
font-weight: var(--base-text-weight-semibold);
|
|
63
|
+
font-size: var(--brand-text-size-200);
|
|
64
|
+
line-height: var(--brand-text-lineHeight-200);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.ComparisonTable-cell-container {
|
|
68
|
+
display: block;
|
|
69
|
+
padding-top: var(--base-size-8);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/*
|
|
73
|
+
* Narrow viewport-only styles
|
|
74
|
+
*/
|
|
75
|
+
@media screen and (max-width: 34rem) {
|
|
76
|
+
.ComparisonTable thead .ComparisonTable-cell-heading {
|
|
77
|
+
display: none;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.ComparisonTable-cell {
|
|
81
|
+
margin-bottom: var(--base-size-32);
|
|
82
|
+
padding-bottom: 0;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.ComparisonTable tbody tr {
|
|
86
|
+
border-top: var(--brand-borderWidth-thin) solid var(--brand-color-border-default);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.ComparisonTable-inline-cell-label {
|
|
90
|
+
font-weight: var(--brand-heading-weight-400);
|
|
91
|
+
font-size: var(--brand-text-size-400);
|
|
92
|
+
line-height: var(--brand-heading-lineHeight-400);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.ComparisonTable tbody .ComparisonTable-cell-heading {
|
|
96
|
+
margin-top: var(--base-size-24);
|
|
97
|
+
margin-bottom: var(--base-size-16);
|
|
98
|
+
font-weight: var(--brand-heading-weight-300);
|
|
99
|
+
font-size: var(--brand-text-size-300);
|
|
100
|
+
line-height: var(--brand-heading-lineHeight-300);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/*
|
|
105
|
+
* Narrow landscape and above viewport styles
|
|
106
|
+
*/
|
|
107
|
+
@media screen and (min-width: 34rem) {
|
|
108
|
+
.ComparisonTable tr {
|
|
109
|
+
flex-direction: row;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.ComparisonTable-cell-container {
|
|
113
|
+
padding-top: var(--base-size-24);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.ComparisonTable-cell-heading {
|
|
117
|
+
text-align: left;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.ComparisonTable .ComparisonTable-cell-heading:first-child {
|
|
121
|
+
width: 25%;
|
|
122
|
+
margin-right: 40px;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.ComparisonTable tr td:nth-of-type(1):not(.ComparisonTable-cell-heading),
|
|
126
|
+
.ComparisonTable tr:nth-of-type(1) .ComparisonTable-cell-heading:nth-child(2) {
|
|
127
|
+
width: 40%;
|
|
128
|
+
}
|
|
129
|
+
.ComparisonTable tr td:nth-of-type(2):not(.ComparisonTable-cell-heading),
|
|
130
|
+
.ComparisonTable tr:nth-of-type(1) .ComparisonTable-cell-heading:nth-child(3) {
|
|
131
|
+
width: 35%;
|
|
132
|
+
margin-left: 40px;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.ComparisonTable--hide-element-on-narrow {
|
|
136
|
+
display: none;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.ComparisonTable-cell-container {
|
|
140
|
+
border-top: var(--brand-borderWidth-thick) solid var(--brand-color-border-default);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/*
|
|
145
|
+
* Default presentation
|
|
146
|
+
*/
|
|
147
|
+
:global(.ComparisonTable--default) .ComparisonTable-cell-heading--first {
|
|
148
|
+
color: var(--brand-color-text-muted);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
:global(.ComparisonTable--default) thead .ComparisonTable-cell-heading {
|
|
152
|
+
padding: var(--base-size-24) 0 var(--base-size-16);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
:global(.ComparisonTable--default) .ComparisonTable-cell-heading-label--featured {
|
|
156
|
+
position: relative;
|
|
157
|
+
z-index: 2;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/*
|
|
161
|
+
* Narrow viewport-only styles
|
|
162
|
+
*/
|
|
163
|
+
@media screen and (max-width: 34rem) {
|
|
164
|
+
:global(.ComparisonTable--default) .ComparisonTable-cell:not(.ComparisonTable-cell-heading) {
|
|
165
|
+
position: relative;
|
|
166
|
+
padding-left: 25px;
|
|
167
|
+
}
|
|
168
|
+
:global(.ComparisonTable--default) .ComparisonTable-cell::before {
|
|
169
|
+
content: '';
|
|
170
|
+
position: absolute;
|
|
171
|
+
top: 0;
|
|
172
|
+
bottom: 0;
|
|
173
|
+
left: 0;
|
|
174
|
+
width: 5px;
|
|
175
|
+
background: var(--brand-color-border-default);
|
|
176
|
+
}
|
|
177
|
+
:global(.ComparisonTable--default) .ComparisonTable-cell--featured::before {
|
|
178
|
+
background: linear-gradient(
|
|
179
|
+
180deg,
|
|
180
|
+
var(--brand-ComparisonTable-featured-color-start),
|
|
181
|
+
var(--brand-ComparisonTable-featured-color-end)
|
|
182
|
+
);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/*
|
|
187
|
+
* Narrow landscape and above viewport styles
|
|
188
|
+
*/
|
|
189
|
+
@media screen and (min-width: 34rem) {
|
|
190
|
+
:global(.ComparisonTable--default) .ComparisonTable-cell-heading-label--featured {
|
|
191
|
+
color: transparent;
|
|
192
|
+
background: linear-gradient(
|
|
193
|
+
89.46deg,
|
|
194
|
+
var(--brand-ComparisonTable-featured-color-start) 0.87%,
|
|
195
|
+
var(--brand-ComparisonTable-featured-color-end) 75.12%
|
|
196
|
+
);
|
|
197
|
+
-webkit-background-clip: text;
|
|
198
|
+
background-clip: text;
|
|
199
|
+
}
|
|
200
|
+
:global(.ComparisonTable--default) thead .ComparisonTable-cell-heading {
|
|
201
|
+
font-weight: var(--brand-heading-weight-400);
|
|
202
|
+
font-size: var(--brand-text-size-400);
|
|
203
|
+
line-height: var(--brand-heading-lineHeight-400);
|
|
204
|
+
display: inline-flex;
|
|
205
|
+
align-items: flex-end;
|
|
206
|
+
}
|
|
207
|
+
:global(.ComparisonTable--default) thead .ComparisonTable-cell-heading--first {
|
|
208
|
+
font-weight: var(--brand-heading-weight-400);
|
|
209
|
+
font-size: var(--brand-text-size-400);
|
|
210
|
+
line-height: var(--brand-heading-lineHeight-400);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
:global(.ComparisonTable--default) .ComparisonTable-cell--featured,
|
|
214
|
+
:global(.ComparisonTable--default) thead .ComparisonTable-cell-heading--featured {
|
|
215
|
+
padding-left: var(--base-size-24);
|
|
216
|
+
padding-right: var(--base-size-24);
|
|
217
|
+
border-right: 2px solid var(--brand-ComparisonTable-featured-color-end);
|
|
218
|
+
border-left: 2px solid var(--brand-ComparisonTable-featured-color-start);
|
|
219
|
+
}
|
|
220
|
+
:global(.ComparisonTable--default) thead .ComparisonTable-cell-heading--featured {
|
|
221
|
+
position: relative;
|
|
222
|
+
border-top-left-radius: 0.45rem;
|
|
223
|
+
border-top-right-radius: 0.45rem;
|
|
224
|
+
background: var(--brand-color-canvas-default);
|
|
225
|
+
}
|
|
226
|
+
:global(.ComparisonTable--default) thead .ComparisonTable-cell-heading--featured::before,
|
|
227
|
+
:global(.ComparisonTable--default) thead .ComparisonTable-cell-heading--featured::after {
|
|
228
|
+
position: absolute;
|
|
229
|
+
top: -2px;
|
|
230
|
+
right: -2px;
|
|
231
|
+
bottom: 0;
|
|
232
|
+
left: -2px;
|
|
233
|
+
z-index: 0;
|
|
234
|
+
content: '';
|
|
235
|
+
background: linear-gradient(
|
|
236
|
+
90deg,
|
|
237
|
+
var(--brand-ComparisonTable-featured-color-start),
|
|
238
|
+
var(--brand-ComparisonTable-featured-color-end)
|
|
239
|
+
);
|
|
240
|
+
border-top-left-radius: 0.45rem;
|
|
241
|
+
border-top-right-radius: 0.45rem;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
:global(.ComparisonTable--default) thead .ComparisonTable-cell-heading--featured::after {
|
|
245
|
+
z-index: 1;
|
|
246
|
+
background: var(--brand-color-canvas-default);
|
|
247
|
+
top: 0px;
|
|
248
|
+
left: 0;
|
|
249
|
+
right: 0;
|
|
250
|
+
border-top-right-radius: 0.35rem;
|
|
251
|
+
border-top-left-radius: 0.35rem;
|
|
252
|
+
}
|
|
253
|
+
:global(.ComparisonTable--default) .ComparisonTable-cell--featured.ComparisonTable-cell--lastrow {
|
|
254
|
+
position: relative;
|
|
255
|
+
background: var(--brand-color-canvas-default);
|
|
256
|
+
border-bottom-right-radius: 0.45rem;
|
|
257
|
+
border-bottom-left-radius: 0.45rem;
|
|
258
|
+
}
|
|
259
|
+
:global(.ComparisonTable--default) .ComparisonTable-cell--featured.ComparisonTable-cell--lastrow::after,
|
|
260
|
+
:global(.ComparisonTable--default) .ComparisonTable-cell--featured.ComparisonTable-cell--lastrow::before {
|
|
261
|
+
position: absolute;
|
|
262
|
+
top: 0;
|
|
263
|
+
right: -2px;
|
|
264
|
+
bottom: 0;
|
|
265
|
+
left: -2px;
|
|
266
|
+
z-index: 0;
|
|
267
|
+
content: '';
|
|
268
|
+
background: linear-gradient(
|
|
269
|
+
90deg,
|
|
270
|
+
var(--brand-ComparisonTable-featured-color-start),
|
|
271
|
+
var(--brand-ComparisonTable-featured-color-end)
|
|
272
|
+
);
|
|
273
|
+
border-bottom-right-radius: 0.5rem;
|
|
274
|
+
border-bottom-left-radius: 0.5rem;
|
|
275
|
+
}
|
|
276
|
+
:global(.ComparisonTable--default) .ComparisonTable-cell--featured.ComparisonTable-cell--lastrow::after {
|
|
277
|
+
z-index: 1;
|
|
278
|
+
background: var(--brand-color-canvas-default);
|
|
279
|
+
bottom: 2px;
|
|
280
|
+
left: 0;
|
|
281
|
+
right: 0;
|
|
282
|
+
border-bottom-right-radius: 0.35rem;
|
|
283
|
+
border-bottom-left-radius: 0.35rem;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
:global(.ComparisonTable--default) .ComparisonTable-cell-container--featured {
|
|
287
|
+
position: relative;
|
|
288
|
+
z-index: 2;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
.ExpandableArrow {
|
|
2
|
+
transition: transform 200ms;
|
|
3
|
+
transform: translateX(0);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.ExpandableArrow--expanded {
|
|
7
|
+
transform: translateX(4px);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.ExpandableArrow-stem {
|
|
11
|
+
stroke-dasharray: 10;
|
|
12
|
+
stroke-dashoffset: 10;
|
|
13
|
+
transition: stroke-dashoffset 200ms;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.ExpandableArrow-stem--expanded {
|
|
17
|
+
stroke-dashoffset: 20;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.ExpandableArrow--reversed {
|
|
21
|
+
transform: rotate(180deg);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.ExpandableArrow--reversed.ExpandableArrow--expanded {
|
|
25
|
+
transform: rotate(180deg) translateX(4px);
|
|
26
|
+
}
|