Change Cart button naming
This commit is contained in:
27
src/style/atoms/_button-cart.scss
Normal file
27
src/style/atoms/_button-cart.scss
Normal file
@@ -0,0 +1,27 @@
|
||||
// Cart
|
||||
.button-cart {
|
||||
display: none;
|
||||
position: relative;
|
||||
|
||||
@include bp (sm) {
|
||||
display: flex;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.quantity {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: -12px;
|
||||
transform: translateY(-50%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
font-size: rem(11px);
|
||||
font-weight: 600;
|
||||
color: #fff;
|
||||
background-color: $color-secondary;
|
||||
border-radius: 100%;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user