Something went wrong on our end
cta-link.scss 1.58 KiB
:host {
display: block;
}
.hy-cta-link-container {
display: flex;
}
.hy-cta-link {
background-color: transparent;
color: var(--brand-main);
cursor: pointer;
display: flex;
font-family: var(--main-font-family);
font-weight: 600;
height: 100%;
position: relative;
text-decoration: none;
&.default {
align-items: right;
font-size: 20px;
letter-spacing: -0.67px;
line-height: 20px;
.text {
padding: 14px 0;
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.link-icon {
margin-left: 16px;
svg {
background-color: var(--brand-main-light);
box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
fill: var(--grayscale-white);
padding: 10.29px;
}
}
}
&.link-list {
align-items: center;
font-size: 15px;
justify-content: center;
letter-spacing: -0.5px;
line-height: 20px;
@include breakpoint($medium) {
font-size: 16px;
letter-spacing: -0.53px;
}
.text {
background-color: var(--grayscale-background-box);
margin-left: -36px;
padding: 10px 10px 10px 48px;
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.hy-icon-wrapper {
background-color: var(--brand-main-light);
z-index: 10;
.link-icon {
position: relative;
overflow: hidden;
svg {
background-color: transparent;
box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
fill: var(--grayscale-white);
padding: 10.29px;
}
&--external {
transform: rotate(-45deg);
}
}
}
}
}