| Current Path : /home/rtorresani/www/app/design/frontend/Magento/indaco/web/css/source/components/ |
| Current File : //home/rtorresani/www/app/design/frontend/Magento/indaco/web/css/source/components/_minicart.less |
.minicart-wrapper {
.action.showcart {
&,
&.active {
vertical-align: middle;
&:before {
content: "\f290";
font-family: @fa-style-family;
font-weight: @fa-style;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
display: @fa-display;
font-style: normal;
font-variant: normal;
line-height: 1;
text-rendering: auto;
color: @text__color;
vertical-align: middle;
}
}
.counter.qty {
background: @theme__color__primary;
border-radius: 50%;
width: 2rem;
height: 2rem;
font-size: 1.2rem;
line-height: 2rem;
padding: 0;
margin: 0;
position: absolute;
top: -0.6rem;
right: -1.3rem;
color: @text__color;
.counter-number {
text-shadow: none;
color: @text__color;
}
}
}
& when (@media-common = false) {
margin-right: 1.2rem;
}
.action.close{
position: static;
width: auto;
right: auto;
top: auto;
height: auto;
&:before{
content: "\f00d";
font-family: @fa-style-family;
font-weight: @fa-style;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
display: var(--fa-display, inline-block);
font-style: normal;
font-variant: normal;
line-height: 1;
text-rendering: auto;
color: @theme__color__primary;
font-size: 1.3rem;
vertical-align: middle;
}
}
.block-minicart {
padding: 2rem;
box-shadow: none;
width: 380px;
z-index: 102;
top: 59px;
right: -190px;
&:before,
&:after{
content: none;
}
.block-title {
display: block;
margin-bottom: 1.1rem;
}
.items-total {
float: none;
font-weight: bold;
font-size: 1.4rem;
line-height: 2.2rem;
margin: 0;
}
.subtotal{
text-align: left;
display: flex;
justify-content: space-between;
margin: 1.7rem 0;
align-items: center;
.label{
font-size: 1.4rem;
font-weight: @font-weight__bold;
}
.price-container{
font-size: 2rem;
line-height: 2.4rem;
}
}
.block-content{
> .actions{
margin-top: 2.5rem;
> .primary{
margin-left: 0;
margin-right: 0;
.action.primary{
padding-top: 1rem;
padding-bottom: 1rem;
font-size: 1.4rem;
line-height: 1.8rem;
}
}
.secondary{
.button{
display: block;
text-transform: uppercase;
font-size: 1.4rem;
line-height: 1.8rem;
padding-top: 1rem;
padding-bottom: 1rem;
span{
line-height: inherit;
font-size: inherit;
}
}
}
}
}
}
.minicart-widgets{
display: none;
}
}
.minicart-items-wrapper{
margin: 0;
padding: 5px 0 0 0;
.product{
.actions{
float: none;
margin: 0;
}
.product-item-name{
font-size: @font-size__s;
a{
color: @text__color;
text-decoration: none;
}
}
}
}
.minicart-items{
.product-item{
margin-bottom: 0;
padding: 5px 0;
.product-item-details{
padding-left: 98px;
.price{
font-weight: @font-weight__regular;
font-size: 1.6rem;
line-height: 2.2rem;
}
}
}
.action{
&.delete,
&.edit{
&:before{
font-family: @fa-style-family;
font-weight: @fa-style;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
display: var(--fa-display, inline-block);
font-style: normal;
font-variant: normal;
line-height: 1;
text-rendering: auto;
color: @theme__color__primary;
font-size: 1.5rem;
vertical-align: middle;
}
}
&.delete{
&:before{
content: '\f1f8';
}
}
}
}
.product-item-pricing{
display: flex;
align-items: baseline;
justify-content: space-between;
.price-container{
order: 2;
}
}