.checkout {
$this: &;
&__payment {
}
//==
//== Payment by bank
//== ========================
&__payment_bank {
#{$this} {
&__payment-img { }
&__other-el { }
&__third-el { }
}
}
//==
//== Payment by paypal
//== ========================
&__payment_paypal {
#{$this} {
&__payment-img { }
&__other-el { }
&__third-el { }
}
}
}
//
// Component: checkout
// --------------------------------------------------
.checkout {
text-align: center;
max-width: 800px;
&__payment {
text-align: center;
flex: 0 0 45%;
max-width: 45%;
border: 1px solid transparent;
border-radius: 3px;
padding: .6rem 0;
line-height: 1;
margin-top: 1rem;
@include transition();
@include media-breakpoint-up(sm) {
max-width: none;
flex: 0 0 120px;
}
// bank
&_bank {
border-color: #4487c6;
&:hover {
background: #4487c6;
}
.checkout__payment-img {
background: url('../img/general/bank_creditCard.svg') no-repeat;
width: 18px;
height: 20px;
}
&:hover .checkout__payment-img {
background: url('../img/general/bank_creditCard_white.svg') no-repeat;
width: 18px;
height: 20px;
}
span {
color: #4487c6;
}
}
// paypal
&_paypal {
border-color: #09348f;
&:hover {
background: #09348f;
}
.checkout__payment-img {
background: url('../img/general/bank_paypal.svg') no-repeat;
width: 18px;
height: 20px;
}
&:hover .checkout__payment-img {
background: url('../img/general/bank_paypal_white.svg') no-repeat;
width: 18px;
height: 20px;
}
span {
color: #09348f;
}
}
}
}
// Reset and dependencies
//@import "normalize.less";
@import "print.less";
//@import "glyphicons.less";
.btn, .pagination, .breadcrumbs
очень удобно