File: //var/www/innodrive/src/scss/blocks/user-nav.scss
.user-nav {
display: flex;
justify-content: space-between;
padding: 0;
.user-nav__button {
margin-left: 35px;
@include media("tablet-s") {
margin-left: 20px;
}
&--search {
margin-left: 0;
}
}
}
.user-nav__button {
@include reset-button;
position: relative;
display: flex;
svg.icon {
width: 24px;
height: 24px;
}
span {
position: absolute;
top: -10px;
right: -10px;
display: flex;
justify-content: center;
align-items: center;
width: 21px;
height: 23px;
line-height: 18px;
border-radius: 50%;
background: #1db09a;
color: #fff;
font-size: 15px;
}
}
@include media("tablet-s") {
.user-nav {
margin: 4px 0 0 0;
}
.user-nav__button {
&--cart,
&--compare {
margin-left: 0;
}
span {
top: -10px;
right: -8px;
width: 19px;
height: 20px;
font-size: 12px;
}
}
}
@include media('pre-mobile') {
.user-nav__button {
&--cart {
margin-left: 12px;
}
}
}