first commit
This commit is contained in:
Executable
+297
@@ -0,0 +1,297 @@
|
||||
/*---------------------------------------
|
||||
10. Checkout CSS
|
||||
-----------------------------------------*/
|
||||
|
||||
/*-- Checkout Title --*/
|
||||
.checkout-title {
|
||||
font-size: 20px;
|
||||
line-height: 23px;
|
||||
text-decoration: underline;
|
||||
text-transform: capitalize;
|
||||
font-weight: 700;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
/*-- Checkout Form --*/
|
||||
.checkout-form {
|
||||
& label {
|
||||
display: block;
|
||||
font-size: 14px;
|
||||
margin-bottom: 12px;
|
||||
font-weight: 600;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
& .nice-select {
|
||||
width: 100%;
|
||||
background-color: transparent;
|
||||
border: 1px solid #999999;
|
||||
border-radius: 0;
|
||||
line-height: 23px;
|
||||
padding: 10px 20px;
|
||||
font-size: 14px;
|
||||
height: 45px;
|
||||
color: $body-color;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
& input {
|
||||
width: 100%;
|
||||
background-color: transparent;
|
||||
border: 1px solid #999999;
|
||||
border-radius: 0;
|
||||
line-height: 23px;
|
||||
padding: 10px 20px;
|
||||
font-size: 14px;
|
||||
color: $body-color;
|
||||
margin-bottom: 15px;
|
||||
&[type="checkbox"] {
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
& .check-box {
|
||||
float: left;
|
||||
margin-right: 70px;
|
||||
// Responsive
|
||||
@media #{$small-mobile}{
|
||||
margin-right: 20px;
|
||||
}
|
||||
@media #{$extra-small-mobile}{
|
||||
margin-right: 0;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
&:last-child {
|
||||
margin-right: 0;
|
||||
// Responsive
|
||||
@media #{$small-mobile}{
|
||||
margin-right: 0px;
|
||||
}
|
||||
@media #{$extra-small-mobile}{
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
}
|
||||
& input[type="checkbox"] {
|
||||
display: none;
|
||||
& + label {
|
||||
position: relative;
|
||||
padding-left: 30px;
|
||||
line-height: 20px;
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: $heading-color;
|
||||
margin: 0;
|
||||
&::before {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
display: block;
|
||||
border: 2px solid #999999;
|
||||
content: "";
|
||||
transition: all 0.3s ease 0s;
|
||||
}
|
||||
&::after {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
display: block;
|
||||
content: "\f00c";
|
||||
font-family: Fontawesome;
|
||||
font-size: 12px;
|
||||
line-height: 20px;
|
||||
opacity: 0;
|
||||
color: $heading-color;
|
||||
width: 20px;
|
||||
text-align: center;
|
||||
transition: all 0.3s ease 0s;
|
||||
}
|
||||
}
|
||||
&:checked + label {
|
||||
&::before {
|
||||
border: 2px solid $heading-color;
|
||||
}
|
||||
&::after {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*-- Shipping Form --*/
|
||||
#shipping-form {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/*-- Checkout Cart Total --*/
|
||||
.checkout-cart-total {
|
||||
background-color: $heading-color;
|
||||
padding: 45px;
|
||||
// Responsive
|
||||
@media #{$small-mobile}{
|
||||
padding: 30px;
|
||||
}
|
||||
& h4 {
|
||||
flex-basis: 18px;
|
||||
line-height: 23px;
|
||||
font-weight: 700;
|
||||
color: $white;
|
||||
&:first-child {
|
||||
margin-top: 0;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
&:last-child {
|
||||
margin-top: 15px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
& span {
|
||||
float: right;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
& ul {
|
||||
border-bottom: 1px solid $white;
|
||||
& li {
|
||||
color: $white;
|
||||
font-size: 14px;
|
||||
line-height: 23px;
|
||||
font-weight: 600;
|
||||
display: block;
|
||||
margin-bottom: 16px;
|
||||
& span {
|
||||
color: $white;
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
}
|
||||
& p {
|
||||
font-size: 14px;
|
||||
line-height: 30px;
|
||||
font-weight: 600;
|
||||
color: $white;
|
||||
padding: 10px 0;
|
||||
border-bottom: 1px solid $white;
|
||||
margin: 0;
|
||||
& span {
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*-- Checkout Payment Method --*/
|
||||
.checkout-payment-method {
|
||||
background-color: $heading-color;
|
||||
padding: 45px;
|
||||
// Responsive
|
||||
@media #{$small-mobile}{
|
||||
padding: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
/*-- Single Payment Method --*/
|
||||
.single-method {
|
||||
margin-bottom: 20px;
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
& input[type="radio"] {
|
||||
display: none;
|
||||
& + label {
|
||||
position: relative;
|
||||
padding-left: 30px;
|
||||
line-height: 20px;
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: $white;
|
||||
margin: 0;
|
||||
&::before {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
display: block;
|
||||
border: 2px solid $white;
|
||||
content: "";
|
||||
transition: all 0.3s ease 0s;
|
||||
}
|
||||
&::after {
|
||||
position: absolute;
|
||||
left: 5px;
|
||||
top: 5px;
|
||||
display: block;
|
||||
content: "";
|
||||
opacity: 0;
|
||||
background-color: $theme-color;
|
||||
width: 10px;
|
||||
text-align: center;
|
||||
height: 10px;
|
||||
transition: all 0.3s ease 0s;
|
||||
}
|
||||
}
|
||||
&:checked + label {
|
||||
&::before {
|
||||
border: 2px solid $white;
|
||||
}
|
||||
&::after {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
& input[type="checkbox"] {
|
||||
display: none;
|
||||
& + label {
|
||||
position: relative;
|
||||
padding-left: 30px;
|
||||
line-height: 20px;
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: $white;
|
||||
margin: 0;
|
||||
&::before {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
display: block;
|
||||
border: 2px solid $white;
|
||||
content: "";
|
||||
transition: all 0.3s ease 0s;
|
||||
}
|
||||
&::after {
|
||||
position: absolute;
|
||||
left: 4px;
|
||||
top: 4px;
|
||||
display: block;
|
||||
content: "";
|
||||
opacity: 0;
|
||||
background-color: $theme-color;
|
||||
width: 8px;
|
||||
text-align: center;
|
||||
height: 8px;
|
||||
transition: all 0.3s ease 0s;
|
||||
}
|
||||
}
|
||||
&:checked + label {
|
||||
&::before {
|
||||
border: 2px solid $white;
|
||||
}
|
||||
&::after {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
& p {
|
||||
display: none;
|
||||
margin-top: 8px;
|
||||
font-size: 14px;
|
||||
color: $white;
|
||||
line-height: 23px;
|
||||
}
|
||||
}
|
||||
|
||||
/*-- Place Order --*/
|
||||
.place-order {
|
||||
margin-top: 40px;
|
||||
float: left;
|
||||
}
|
||||
Reference in New Issue
Block a user