Skip to content

Instantly share code, notes, and snippets.

@jcarlos7121
Created December 12, 2016 20:25
Show Gist options
  • Save jcarlos7121/75d26ba94c8b5785957dbfaa5db265dd to your computer and use it in GitHub Desktop.
Save jcarlos7121/75d26ba94c8b5785957dbfaa5db265dd to your computer and use it in GitHub Desktop.
.checkout-cart {
border: 1px solid rgba(0, 0, 0, 0.13);
background-color: white;
border-radius: 3px;
position: fixed;
width: 20%;
min-width: 300px;
min-height: 380px;
z-index: 199;
right: 1%;
// right: 20px;
top: 200px;
.provider-logo {
display: inline-block;
height: 65px;
background-size: 75%;
background-position: center;
background-repeat: no-repeat;
}
.cart-header {
height: 50px;
position: relative;
border-bottom: 1px solid rgba(0, 0, 0, 0.13);
h4 {
top: 50%;
margin: 0;
color: #364146;
margin-left: 20px;
position: absolute;
transform: translateY(-50%);
&:after {
content: '\f07a';
margin-left: 10px;
font-family: FontAwesome;
}
}
a {
position: absolute;
transform: translateY(-50%);
top: 50%;
right: 10%;
}
}
.cart-content {
min-height: 267px;
max-height: 50vh;
overflow-y: scroll;
padding-bottom: 30px;
.panel-default {
border:none;
}
.panel-body {
padding: 5px;
.remove-from-cart {
cursor: pointer;
color: #d44141;
}
}
.panel-group {
position: relative;
h5 {
font-size: 12px;
}
p {
color: #b6babd;
}
.price-display {
font-size: 16px;
color: #576064;
span {
font-size: 14px;
}
}
}
.panel-heading {
background-color: #FFF;
}
}
.checkout {
display: inline-block;
position: absolute;
height: 50px;
width: 100%;
bottom: 0;
background: #fff;
border-top: solid 1px #eee;
// .button-control {
// transform: translateY(-50%);
// position: absolute;
// right: 10px;
// top: 50%;
// }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment