Newer
Older

Ekaterina Kondareva
committed
.hy-cta-button-container {

Ekaterina Kondareva
committed
.hy-cta-button {
cursor: pointer;
font-family: var(--main-font-family);
Ekaterina Kondareva
committed
font-weight: 600;
position: relative;
text-decoration: none;
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
&.transparent-background {
background-color: var(--grayscale-white);
color: var(--grayscale-black);
.link-icon svg {
background-color: var(--grayscale-white);
fill: var(--grayscale-black);
}
.text {
color: var(--grayscale-black);
}
}
&.black-background {
background-color: var(--grayscale-black);
color: var(--grayscale-white);
.link-icon svg {
background-color: var(--grayscale-black);
fill: var(--grayscale-white);
}
.text {
color: var(--grayscale-white);
}
}
&.blue-background {
background-color: var(--brand-main-light);
color: var(--grayscale-white);
.link-icon svg {
background-color: var(--brand-main-light);
fill: var(--grayscale-white);
}
.text {
color: var(--grayscale-white);
}
}
&.white-background {
background-color: var(--brand-main-light);
color: var(--grayscale-white);
.link-icon svg {
background-color: var(--brand-main-light);
fill: var(--grayscale-white);
}
.text {
color: var(--grayscale-white);
}
}
&.transparent-background,
&.black-background,
&.blue-background,
&.white-background {
align-items: center;
box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
box-sizing: border-box;
display: flex;
justify-content: center;
height: 100%;
max-width: 278px;
padding: 14px 12px;
@include breakpoint($narrow) {
padding: 15px 16px;
}
@include breakpoint($extrawide) {
// with sidebar on page
padding: 15px 16px;
}
// with sidebar on page
padding: 17px 16px;
}
@include font-size(16px, 16px); //button small
@include breakpoint($narrow) {
@include font-size(18px, 18px); //button medium
}
@include breakpoint($extrawide) {
// with sidebar on page
@include font-size(18px, 18px); //button medium
}
// with sidebar on page
@include font-size(20px, 20px); //button large
}
margin-left: 8px; //button small
@include breakpoint($narrow) {
margin-left: 10px; //button medium
}
@include breakpoint($extrawide) {
margin-left: 10px; //button medium
}
margin-left: 12px; //button large
}
height: 16px;
width: 16px;
@include breakpoint($narrow) {
//button medium
height: 18px;
width: 18px;
}
@include breakpoint($extrawide) {
//button medium
height: 18px;
width: 18px;
}
//button large
height: 22px;
width: 22px;
}
&.blue-background,
&.black-background {
border: 3px solid var(--grayscale-white);
border: 4px solid var(--grayscale-white);
}
&.transparent-background {
border: 3px solid var(--grayscale-black);
border: 4px solid var(--grayscale-black);
}
}
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
.hy-cta-button.large {
@include breakpoint($extrawide) {
padding: 17px 16px;
}
.text {
@include breakpoint($extrawide) {
@include font-size(20px, 20px); //button large
}
}
.link-icon {
@include breakpoint($extrawide) {
margin-left: 12px; //button large
}
svg {
@include breakpoint($extrawide) {
//button large
height: 22px;
width: 22px;
}
}
}
&.blue-background,
&.black-background {
@include breakpoint($extrawide) {
border: 4px solid var(--grayscale-white);
}
}
&.transparent-background {
@include breakpoint($extrawide) {
border: 4px solid var(--grayscale-black);
}
}