@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,48 @@
|
|
|
1
|
+
.spacingContainer {
|
|
2
|
+
flex-wrap: wrap;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.paddingItem {
|
|
6
|
+
display: inline-block;
|
|
7
|
+
border: 1px solid var(--base-color-scale-red-2);
|
|
8
|
+
background-image: linear-gradient(
|
|
9
|
+
45deg,
|
|
10
|
+
var(--base-color-scale-red-0) 12.5%,
|
|
11
|
+
#ffb5b380 12.5%,
|
|
12
|
+
#ffb5b380 50%,
|
|
13
|
+
var(--base-color-scale-red-0) 50%,
|
|
14
|
+
var(--base-color-scale-red-0) 62.5%,
|
|
15
|
+
#ffb5b380 62.5%,
|
|
16
|
+
#ffb5b380 100%
|
|
17
|
+
);
|
|
18
|
+
background-size: 5.66px 5.66px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.paddingInnerItem {
|
|
22
|
+
background-color: #ffb5b380;
|
|
23
|
+
padding: var(--base-size-4) var(--base-size-8);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.marginOuterItem {
|
|
27
|
+
width: unset !important;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.marginInnerItem {
|
|
31
|
+
background-color: var(--base-color-scale-white-0);
|
|
32
|
+
padding: var(--base-size-4) var(--base-size-8);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.borderRadiusItem {
|
|
36
|
+
border: 1px solid var(--base-color-scale-red-2);
|
|
37
|
+
background-image: linear-gradient(
|
|
38
|
+
45deg,
|
|
39
|
+
var(--base-color-scale-red-0) 12.5%,
|
|
40
|
+
#ffb5b380 12.5%,
|
|
41
|
+
#ffb5b380 50%,
|
|
42
|
+
var(--base-color-scale-red-0) 50%,
|
|
43
|
+
var(--base-color-scale-red-0) 62.5%,
|
|
44
|
+
#ffb5b380 62.5%,
|
|
45
|
+
#ffb5b380 100%
|
|
46
|
+
);
|
|
47
|
+
background-size: 5.66px 5.66px;
|
|
48
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
.Breadcrumbs {
|
|
2
|
+
font-family: var(--brand-fontStack-sansSerif);
|
|
3
|
+
display: flex;
|
|
4
|
+
justify-content: space-between;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
@media screen and (max-width: 63.25rem) {
|
|
8
|
+
.Breadcrumbs {
|
|
9
|
+
overflow-x: auto;
|
|
10
|
+
-webkit-overflow-scrolling: touch;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.Breadcrumbs--default {
|
|
15
|
+
--brand-InlineLink-color-rest: var(--brand-color-text-default);
|
|
16
|
+
--brand-InlineLink-color-pressed: var(--brand-color-text-default);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.Breadcrumbs__list {
|
|
20
|
+
margin: 0;
|
|
21
|
+
padding-inline-start: 0;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@media screen and (max-width: 63.25rem) {
|
|
25
|
+
.Breadcrumbs__list {
|
|
26
|
+
display: inline-flex;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.Breadcrumbs__item {
|
|
31
|
+
display: inline-block;
|
|
32
|
+
white-space: nowrap;
|
|
33
|
+
list-style: none;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.Breadcrumbs__item::after {
|
|
37
|
+
content: '';
|
|
38
|
+
display: inline-block;
|
|
39
|
+
height: 0.8em;
|
|
40
|
+
margin: 0 var(--base-size-12);
|
|
41
|
+
border-right: var(--brand-borderWidth-thin) solid var(--brand-breadcrumbs-separator-borderColor);
|
|
42
|
+
transform: rotate(15deg) translateY(0.0625em);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.Breadcrumbs__item:first-child {
|
|
46
|
+
margin-left: 0;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.Breadcrumbs__item:last-child::after {
|
|
50
|
+
content: none;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.Breadcrumbs__link {
|
|
54
|
+
font-size: var(--brand-text-size-100);
|
|
55
|
+
display: inline-block;
|
|
56
|
+
text-decoration: none;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@media screen and (max-width: 63.25rem) {
|
|
60
|
+
.Breadcrumbs__link {
|
|
61
|
+
white-space: nowrap;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.Breadcrumbs__link:hover,
|
|
66
|
+
.Breadcrumbs__link:focus {
|
|
67
|
+
text-decoration: underline;
|
|
68
|
+
}
|
|
69
|
+
.Breadcrumbs__link--selected {
|
|
70
|
+
color: var(--brand-color-text-default);
|
|
71
|
+
pointer-events: none;
|
|
72
|
+
font-weight: inherit;
|
|
73
|
+
letter-spacing: inherit;
|
|
74
|
+
}
|
|
75
|
+
.Breadcrumbs--default .Breadcrumbs__link--selected {
|
|
76
|
+
color: var(--brand-color-text-muted);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.Breadcrumbs__link--selected:focus {
|
|
80
|
+
text-decoration: none;
|
|
81
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
.BreakoutBanner {
|
|
2
|
+
position: relative;
|
|
3
|
+
margin: 0 auto;
|
|
4
|
+
display: flex;
|
|
5
|
+
max-width: var(--brand-breakpoint-xlarge);
|
|
6
|
+
width: 100%;
|
|
7
|
+
border-radius: var(--brand-borderRadius-large);
|
|
8
|
+
background-repeat: no-repeat;
|
|
9
|
+
background-color: var(--brand-BreakoutBanner-narrow-background-color, var(--brand-BreakoutBanner-background-color));
|
|
10
|
+
background-image: var(
|
|
11
|
+
--brand-BreakoutBanner-narrow-background-image-src,
|
|
12
|
+
var(--brand-BreakoutBanner-background-image-src)
|
|
13
|
+
);
|
|
14
|
+
background-size: var(
|
|
15
|
+
--brand-BreakoutBanner-narrow-background-image-size,
|
|
16
|
+
var(--brand-BreakoutBanner-background-image-size)
|
|
17
|
+
);
|
|
18
|
+
|
|
19
|
+
background-position: var(
|
|
20
|
+
--brand-BreakoutBanner-narrow-background-image-position,
|
|
21
|
+
var(--brand-BreakoutBanner-background-image-position, center)
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.BreakoutBanner-container {
|
|
26
|
+
border-radius: var(--brand-borderRadius-xlarge);
|
|
27
|
+
padding: var(--base-size-40) var(--base-size-24) var(--base-size-128);
|
|
28
|
+
z-index: 1;
|
|
29
|
+
width: 100%;
|
|
30
|
+
box-sizing: border-box;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.BreakoutBanner-content {
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
align-items: flex-start;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.BreakoutBanner-container--background {
|
|
40
|
+
background: var(--brand-BreakoutBanner-bgColor);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.BreakoutBanner-content--center {
|
|
44
|
+
align-items: center;
|
|
45
|
+
text-align: center;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.BreakoutBanner__heading {
|
|
49
|
+
max-width: 20ch;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.BreakoutBanner-description {
|
|
53
|
+
max-width: 54ch;
|
|
54
|
+
margin-block-start: var(--base-size-16);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.BreakoutBanner-linkGroup {
|
|
58
|
+
margin-block-start: var(--base-size-48);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.BreakoutBanner-leadingVisual {
|
|
62
|
+
margin-block-end: var(--base-size-48);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/* Regular */
|
|
66
|
+
@media screen and (min-width: 48rem) {
|
|
67
|
+
.BreakoutBanner {
|
|
68
|
+
background-color: var(
|
|
69
|
+
--brand-BreakoutBanner-regular-background-color,
|
|
70
|
+
var(--brand-BreakoutBanner-background-color)
|
|
71
|
+
);
|
|
72
|
+
background-image: var(
|
|
73
|
+
--brand-BreakoutBanner-regular-background-image-src,
|
|
74
|
+
var(--brand-BreakoutBanner-background-image-src)
|
|
75
|
+
);
|
|
76
|
+
background-size: var(
|
|
77
|
+
--brand-BreakoutBanner-regular-background-image-size,
|
|
78
|
+
var(--brand-BreakoutBanner-background-image-size)
|
|
79
|
+
);
|
|
80
|
+
background-position: var(
|
|
81
|
+
--brand-BreakoutBanner-regular-background-image-position,
|
|
82
|
+
var(--brand-BreakoutBanner-background-image-position)
|
|
83
|
+
);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.BreakoutBanner-container {
|
|
87
|
+
padding: var(--base-size-48);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/* Wide */
|
|
92
|
+
@media screen and (min-width: 80rem) {
|
|
93
|
+
.BreakoutBanner {
|
|
94
|
+
background-color: var(--brand-BreakoutBanner-wide-background-color, var(--brand-BreakoutBanner-background-color));
|
|
95
|
+
background-image: var(
|
|
96
|
+
--brand-BreakoutBanner-wide-background-image-src,
|
|
97
|
+
var(--brand-BreakoutBanner-background-image-src)
|
|
98
|
+
);
|
|
99
|
+
background-size: var(
|
|
100
|
+
--brand-BreakoutBanner-wide-background-image-size,
|
|
101
|
+
var(--brand-BreakoutBanner-background-image-size)
|
|
102
|
+
);
|
|
103
|
+
|
|
104
|
+
background-position: var(
|
|
105
|
+
--brand-BreakoutBanner-wide-background-image-position,
|
|
106
|
+
var(--brand-BreakoutBanner-background-image-position)
|
|
107
|
+
);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
.Button {
|
|
2
|
+
-webkit-appearance: none;
|
|
3
|
+
-moz-appearance: none;
|
|
4
|
+
appearance: none;
|
|
5
|
+
-webkit-user-select: none;
|
|
6
|
+
-moz-user-select: none;
|
|
7
|
+
user-select: none;
|
|
8
|
+
vertical-align: middle;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
transition: box-shadow var(--brand-animation-duration-faster);
|
|
12
|
+
text-decoration: none;
|
|
13
|
+
border-radius: var(--brand-borderRadius-medium);
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
border: solid var(--brand-borderWidth-thick) transparent;
|
|
16
|
+
background: none;
|
|
17
|
+
display: inline-flex;
|
|
18
|
+
gap: var(--brand-control-medium-gap);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.Button:hover {
|
|
22
|
+
text-decoration: none;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.Button:focus-visible {
|
|
26
|
+
transition: none;
|
|
27
|
+
outline: 4px solid var(--brand-color-focus);
|
|
28
|
+
outline-offset: 2px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.Button--disabled,
|
|
32
|
+
.Button--disabled:hover,
|
|
33
|
+
.Button--disabled:focus {
|
|
34
|
+
cursor: not-allowed;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.Button__text {
|
|
38
|
+
position: relative;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.Button__icon-visual {
|
|
42
|
+
display: flex;
|
|
43
|
+
align-self: center;
|
|
44
|
+
height: var(--base-size-16);
|
|
45
|
+
width: auto;
|
|
46
|
+
fill: currentcolor;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.Button__trailing-visual,
|
|
50
|
+
.Button__leading-visual {
|
|
51
|
+
display: flex;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* optically adjust arrow to align with the end (right) padding */
|
|
55
|
+
/* reduce gap between label and arrow */
|
|
56
|
+
.Button-arrow {
|
|
57
|
+
margin-inline-end: calc(var(--base-size-4) * -1);
|
|
58
|
+
margin-inline-start: calc(var(--base-size-8) * -1);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* primary */
|
|
62
|
+
|
|
63
|
+
.Button--primary {
|
|
64
|
+
color: var(--brand-button-primary-fgColor-rest);
|
|
65
|
+
background-color: var(--brand-button-primary-bgColor-rest);
|
|
66
|
+
border: solid var(--brand-borderWidth-thin) var(--brand-button-primary-borderColor-rest);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.Button--primary:not(.Button[disabled], .Button[aria-disabled='true'], [aria-expanded='true']):hover {
|
|
70
|
+
background-color: var(--brand-button-primary-bgColor-hover);
|
|
71
|
+
border-color: var(--brand-button-primary-borderColor-hover);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.Button--primary:not(.Button[disabled], .Button[aria-disabled='true']):active,
|
|
75
|
+
.Button--primary[aria-expanded='true'] {
|
|
76
|
+
background-color: var(--brand-button-primary-bgColor-active);
|
|
77
|
+
border-color: var(--brand-button-primary-borderColor-active);
|
|
78
|
+
box-shadow: var(--brand-button-primary-shadow-active);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.Button--label-primary {
|
|
82
|
+
color: var(--brand-button-primary-fgColor-rest);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.Button--primary:disabled,
|
|
86
|
+
.Button--primary[aria-disabled='true'],
|
|
87
|
+
.Button--primary.Button--disabled {
|
|
88
|
+
background-color: var(--brand-button-primary-bgColor-disabled);
|
|
89
|
+
border-color: var(--brand-button-primary-borderColor-disabled);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.Button--primary:disabled .Button-arrow--disabled,
|
|
93
|
+
.Button--primary[aria-disabled='true'] .Button-arrow--disabled,
|
|
94
|
+
.Button--primary.Button--disabled .Button-arrow--disabled,
|
|
95
|
+
.Button--primary:disabled .Button__icon-visual--disabled,
|
|
96
|
+
.Button--primary[aria-disabled='true'] .Button__icon-visual--disabled,
|
|
97
|
+
.Button--primary.Button--disabled .Button__icon-visual--disabled,
|
|
98
|
+
.Button--label-primary.Button-label--disabled {
|
|
99
|
+
color: var(--brand-button-primary-fgColor-disabled);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/* secondary */
|
|
103
|
+
|
|
104
|
+
.Button--secondary {
|
|
105
|
+
transition: background-color, border-color 200ms;
|
|
106
|
+
border-color: var(--brand-button-secondary-borderColor-rest);
|
|
107
|
+
color: var(--brand-button-secondary-fgColor-rest);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.Button--secondary:not(.Button[disabled], .Button[aria-disabled='true'], [aria-expanded='true']):hover {
|
|
111
|
+
background-color: var(--brand-button-secondary-bgColor-hover);
|
|
112
|
+
border-color: var(--brand-button-secondary-borderColor-hover);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.Button--secondary:not(.Button[disabled], .Button[aria-disabled='true']):active,
|
|
116
|
+
.Button--secondary[aria-expanded='true'] {
|
|
117
|
+
background-color: var(--brand-button-secondary-bgColor-active);
|
|
118
|
+
border-color: var(--brand-button-secondary-borderColor-active);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.Button--secondary:disabled {
|
|
122
|
+
border-color: var(--brand-button-secondary-fgColor-disabled);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.Button--secondary:disabled .Button-arrow--disabled,
|
|
126
|
+
.Button--secondary[aria-disabled='true'] .Button-arrow--disabled,
|
|
127
|
+
.Button--secondary.Button--disabled .Button-arrow--disabled,
|
|
128
|
+
.Button--secondary:disabled .Button__icon-visual--disabled,
|
|
129
|
+
.Button--secondary[aria-disabled='true'] .Button__icon-visual--disabled,
|
|
130
|
+
.Button--secondary.Button--disabled .Button__icon-visual--disabled,
|
|
131
|
+
.Button--label-secondary.Button-label--disabled {
|
|
132
|
+
color: var(--brand-button-secondary-fgColor-disabled);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/* subtle */
|
|
136
|
+
|
|
137
|
+
.Button--subtle {
|
|
138
|
+
color: var(--brand-color-text-default);
|
|
139
|
+
border-color: var(--brand-button-subtle-borderColor-rest);
|
|
140
|
+
transition: background-color, border-color var(--brand-animation-duration-faster);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.Button--subtle:hover:not(.Button[disabled]) {
|
|
144
|
+
border-color: var(--brand-button-subtle-borderColor-hover);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.Button--label-subtle {
|
|
148
|
+
color: var(--brand-button-subtle-fgColor-rest);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.Button--subtle:disabled .Button-arrow--disabled,
|
|
152
|
+
.Button--subtle[aria-disabled='true'] .Button-arrow--disabled,
|
|
153
|
+
.Button--subtle.Button--disabled .Button-arrow--disabled,
|
|
154
|
+
.Button--subtle:disabled .Button__icon-visual--disabled,
|
|
155
|
+
.Button--subtle[aria-disabled='true'] .Button__icon-visual--disabled,
|
|
156
|
+
.Button--subtle.Button--disabled .Button__icon-visual--disabled,
|
|
157
|
+
.Button--label-subtle.Button-label--disabled {
|
|
158
|
+
color: var(--brand-button-subtle-fgColor-disabled);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/* size */
|
|
162
|
+
|
|
163
|
+
.Button--size-small {
|
|
164
|
+
min-height: var(--brand-control-small-size);
|
|
165
|
+
padding-inline: var(--brand-control-small-paddingInline-normal);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.Button--size-medium {
|
|
169
|
+
min-height: var(--brand-control-medium-size);
|
|
170
|
+
padding: var(--brand-control-medium-paddingBlock-condensed) var(--brand-control-medium-paddingInline-spacious);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.Button--size-large {
|
|
174
|
+
min-height: var(--brand-control-large-size);
|
|
175
|
+
padding: var(--brand-control-large-paddingBlock-condensed) var(--brand-control-large-paddingInline-spacious);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.Button--size-large .Button__icon-visual,
|
|
179
|
+
.Button--size-large .Button-arrow {
|
|
180
|
+
height: var(--base-size-20);
|
|
181
|
+
width: var(--base-size-20);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.Button--label-medium {
|
|
185
|
+
font-size: var(--brand-text-subhead-size-medium);
|
|
186
|
+
line-height: var(--brand-text-subhead-lineHeight-medium);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.Button--label-large {
|
|
190
|
+
font-size: var(--brand-text-subhead-size-large);
|
|
191
|
+
line-height: var(--brand-text-subhead-lineHeight-large);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.Button--block {
|
|
195
|
+
width: 100%;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
@media (forced-colors: active) {
|
|
199
|
+
.Button--disabled {
|
|
200
|
+
outline-color: GrayText;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/* Indicates disabled state in WHCM */
|
|
204
|
+
.Button--label.Button-label--disabled {
|
|
205
|
+
color: GrayText;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
.CTABanner {
|
|
2
|
+
position: relative;
|
|
3
|
+
margin: 0 auto;
|
|
4
|
+
display: flex;
|
|
5
|
+
max-width: var(--brand-breakpoint-xlarge);
|
|
6
|
+
width: 100%;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.CTABanner--shadow::before {
|
|
10
|
+
content: '';
|
|
11
|
+
position: absolute;
|
|
12
|
+
inset: var(--base-size-16);
|
|
13
|
+
filter: blur(var(--base-size-96));
|
|
14
|
+
transform: translateZ(0);
|
|
15
|
+
background: linear-gradient(
|
|
16
|
+
to right,
|
|
17
|
+
var(--brand-CTABanner-shadow-color-start),
|
|
18
|
+
var(--brand-CTABanner-shadow-color-end)
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.CTABanner-container {
|
|
23
|
+
border-radius: var(--brand-borderRadius-xlarge);
|
|
24
|
+
padding: var(--base-size-40) var(--base-size-32);
|
|
25
|
+
z-index: 1;
|
|
26
|
+
width: 100%;
|
|
27
|
+
box-sizing: border-box;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.CTABanner-content {
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
gap: var(--base-size-16);
|
|
34
|
+
align-items: flex-start;
|
|
35
|
+
max-width: 800px;
|
|
36
|
+
margin: 0 auto;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.CTABanner-container--background {
|
|
40
|
+
border-radius: var(--brand-borderRadius-xlarge);
|
|
41
|
+
background-repeat: no-repeat;
|
|
42
|
+
background-color: var(--brand-CTABanner-narrow-background-color, var(--brand-CTABanner-background-color));
|
|
43
|
+
background-image: var(--brand-CTABanner-narrow-background-image-src, var(--brand-CTABanner-background-image-src));
|
|
44
|
+
background-size: var(--brand-CTABanner-narrow-background-image-size, var(--brand-CTABanner-background-image-size));
|
|
45
|
+
|
|
46
|
+
background-position: var(
|
|
47
|
+
--brand-CTABanner-narrow-background-image-position,
|
|
48
|
+
var(--brand-CTABanner-background-image-position, center)
|
|
49
|
+
);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.CTABanner-container--border {
|
|
53
|
+
border: var(--brand-borderWidth-thin) solid var(--brand-color-border-default);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.CTABanner-content--center {
|
|
57
|
+
align-items: center;
|
|
58
|
+
text-align: center;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.CTABanner-description {
|
|
62
|
+
margin-bottom: var(--base-size-16);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/* Medium breakpoint and up */
|
|
66
|
+
@media screen and (min-width: 48rem) {
|
|
67
|
+
.CTABanner-container {
|
|
68
|
+
padding: var(--base-size-80) var(--base-size-64);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/* Large breakpoint and up */
|
|
73
|
+
@media screen and (min-width: 63.25rem) {
|
|
74
|
+
.CTABanner-container {
|
|
75
|
+
padding: var(--base-size-128) var(--base-size-64);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* Regular */
|
|
80
|
+
@media screen and (min-width: 48rem) {
|
|
81
|
+
.CTABanner-container--background {
|
|
82
|
+
background-color: var(--brand-CTABanner-regular-background-color, var(--brand-CTABanner-background-color));
|
|
83
|
+
background-image: var(--brand-CTABanner-regular-background-image-src, var(--brand-CTABanner-background-image-src));
|
|
84
|
+
background-size: var(--brand-CTABanner-regular-background-image-size, var(--brand-CTABanner-background-image-size));
|
|
85
|
+
background-position: var(
|
|
86
|
+
--brand-CTABanner-regular-background-image-position,
|
|
87
|
+
var(--brand-CTABanner-background-image-position)
|
|
88
|
+
);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* Wide */
|
|
93
|
+
@media screen and (min-width: 80rem) {
|
|
94
|
+
.CTABanner-container--background {
|
|
95
|
+
background-color: var(--brand-CTABanner-wide-background-color, var(--brand-CTABanner-background-color));
|
|
96
|
+
background-image: var(--brand-CTABanner-wide-background-image-src, var(--brand-CTABanner-background-image-src));
|
|
97
|
+
background-size: var(--brand-CTABanner-wide-background-image-size, var(--brand-CTABanner-background-image-size));
|
|
98
|
+
|
|
99
|
+
background-position: var(
|
|
100
|
+
--brand-CTABanner-wide-background-image-position,
|
|
101
|
+
var(--brand-CTABanner-background-image-position)
|
|
102
|
+
);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
.CTAForm {
|
|
2
|
+
display: grid;
|
|
3
|
+
gap: var(--base-size-16);
|
|
4
|
+
grid-template-columns: 2fr auto;
|
|
5
|
+
align-items: flex-end;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.CTAForm > * {
|
|
9
|
+
grid-column: span 2;
|
|
10
|
+
width: 100%;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.CTAForm-input {
|
|
14
|
+
order: 1;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.CTAForm-confirm {
|
|
18
|
+
order: 2;
|
|
19
|
+
grid-column: span 2;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.CTAForm-button {
|
|
23
|
+
order: 4;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.CTAForm > *:not(.CTAForm-input, .CTAForm-button, .CTAForm-confirm) {
|
|
27
|
+
order: 3;
|
|
28
|
+
grid-column: span 2;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@media screen and (min-width: 48rem) {
|
|
32
|
+
.CTAForm > * {
|
|
33
|
+
grid-column: span 1;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.CTAForm-confirm {
|
|
37
|
+
order: 3;
|
|
38
|
+
grid-column: span 2;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.CTAForm-button {
|
|
42
|
+
order: 2;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.CTAForm > *:not(.CTAForm-input, .CTAForm-button, .CTAForm-confirm) {
|
|
46
|
+
order: 4;
|
|
47
|
+
}
|
|
48
|
+
}
|