File: //var/www/innodrive/src/scss/elements/button-link.scss
.button-link {
display: inline-block;
min-width: 240px;
margin: 0 auto;
padding: 0 14.5px;
font-size: 12.5px;
line-height: 33px;
font-weight: 700;
letter-spacing: 0.05em;
text-align: center;
text-transform: uppercase;
background-color: #fff;
color: $color-primary-blue;
border: 1px solid $color-primary-blue;
border-radius: 17px;
cursor: pointer;
svg {
fill: #fff;
}
&:not(.compare-filter__button--active):hover {
background-color: $color-primary-blue;
color: #fff !important;
border: 1px solid transparent;
svg {
fill: $color-primary-blue;
}
}
&.compare-filter__button--active {
position: relative;
z-index: 1;
}
&--with-icon {
position: relative;
padding-left: 38px;
svg {
position: absolute;
left: 12px;
top: 50%;
transform: translateY(-50%);
}
}
&--inverse:not(.compare-filter__button--active) {
background-color: #fff;
color: $color-primary-blue;
border: 1px solid $color-primary-blue;
svg {
fill: $color-primary-blue;
}
&:hover {
background-color: $color-primary-blue;
color: #fff;
border: 1px solid transparent;
svg {
fill: #fff;
}
}
}
&--pale {
min-width: 100px;
background-color: #fff;
color: $color-pale-grey;
border: 1px solid $color-pale-grey;
&:hover {
background-color: $color-primary-blue;
color: #fff;
border: 1px solid transparent;
}
}
}
.download_link {
height: 33px;
display: inline-block;
align-items: center;
justify-items: center;
border: 1px solid $color-primary-blue;
color: $color-primary-blue;
border-radius: 26px;
text-align: left;
padding: 0 12px;
stroke: $color-primary-blue;
font-size: 10px;
line-height: 33px;
font-weight: 600;
margin: 0 0 26px auto;
/* @include media('mobile') {
height: 50px;
line-height: 50px;
font-size: 13px;
padding: 0 16px;
margin: 0 auto 25px;
} */
&:hover {
background: $color-primary-blue;
color: white;
svg {
fill: white;
}
}
svg {
transform: scale(0.7) translateY(0);
fill: $color-primary-blue;
float: left;
/* @include media('mobile') {
transform: scale(0.7) translateY(10px);
} */
}
span {
text-transform: uppercase;
margin-left: 3px;
@include media('mobile') {
margin-left: 2px;
}
}
}
@include media('tablet-s') {
.button-link {
min-width: 180px;
padding: 0 10.5px;
font-size: 9.3px;
line-height: 24px;
&--with-icon {
padding-left: 30px;
svg {
left: 9px;
}
}
}
}