¨4.0.1¨
This commit is contained in:
@@ -9,29 +9,29 @@
|
||||
.shopping-cart-table {
|
||||
margin-bottom: 10px;
|
||||
|
||||
thead th,
|
||||
tbody td {
|
||||
&:first-child {
|
||||
width: 120px;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
width: 70px;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
thead {
|
||||
th {
|
||||
white-space: nowrap;
|
||||
|
||||
&:last-child {
|
||||
width: 70px;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tbody {
|
||||
td {
|
||||
vertical-align: middle;
|
||||
|
||||
&:last-child {
|
||||
width: 70px;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -46,8 +46,8 @@
|
||||
overflow: hidden;
|
||||
|
||||
.image-placeholder {
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
height: 45px;
|
||||
width: 45px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -68,61 +68,6 @@
|
||||
.product-price {
|
||||
color: $color-black;
|
||||
}
|
||||
|
||||
.number-picker {
|
||||
position: relative;
|
||||
width: 57px;
|
||||
|
||||
.input-quantity {
|
||||
height: auto;
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.btn-number {
|
||||
position: absolute;
|
||||
padding: 0;
|
||||
top: 50%;
|
||||
background: $color-white;
|
||||
transform: translateY(-50%);
|
||||
|
||||
&:hover {
|
||||
color: $color-default;
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
&[disabled] {
|
||||
opacity: 1;
|
||||
|
||||
> i {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: $color-black;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.btn-minus {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.btn-plus {
|
||||
right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.rtl {
|
||||
.shopping-cart-table {
|
||||
.number-picker {
|
||||
.btn-number {
|
||||
transform: translateY(-50%) rotateY(180deg) #{'/*rtl:ignore*/'};
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1281px) {
|
||||
@@ -195,10 +140,6 @@
|
||||
.product-price {
|
||||
display: inline-flex;
|
||||
}
|
||||
|
||||
.number-picker {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user