/
home
/
obinna
/
html
/
mixchief_app
/
public
/
scss
/
Upload File
HOME
* { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: "Poppins", sans-serif; height: 100vh; width: 70%; margin: 0px auto; color: #4E5150; nav { margin-bottom: 20px; padding-top: 10px; .nav-content { display: flex; justify-content: space-between; align-items: center; img { width: 60px; object-fit: fill; } } } header { height: 5%; margin-bottom: 30px; > h3 { font-size: 25px; color: #4E5150; font-weight: 500; } } .error-message { background-color: firebrick; color: white; padding: 10px; border-radius: 5px; margin-bottom: 10px; } main { height: 85%; display: flex; column-gap: 100px; .checkout-form { width: 50%; form { h6 { font-size: 12px; font-weight: 500; } .form-control { margin: 10px 0px; position: relative; label:not([for="checkout-checkbox"]) { display: block; font-size: 12px; font-weight: 500; margin-bottom: 5px; } input:not([type="checkbox"]) { width: 100%; padding: 10px 10px 10px 10px; border-radius: 5px; outline: none; border: .2px solid #4e515085; font-size: 12px; font-weight: 700; &::placeholder { font-size: 10px; font-weight: 500; } } label[for="checkout-checkbox"] { font-size: 9px; font-weight: 500; line-height: 10px; } > div { position: relative; span.fa { position: absolute; top: 50%; left: 0%; transform: translate(15px, -50%); } } } .form-group { display: flex; column-gap: 25px; } .checkbox-control { display: flex; align-items: center; column-gap: 10px; } .form-control-btn { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; button, a { padding: 10px 25px; font-size: 10px; color: #fff; background: #F2994A; border: 0; border-radius: 7px; letter-spacing: .5px; font-weight: 200; cursor: pointer; text-decoration: none; } } .delivery-notice { font-size: 12px; padding: 10px 0; } } } .checkout-details { width: 40%; .checkout-details-inner { background: #F2F2F2; border-radius: 10px; padding: 20px; .checkout-lists { display: flex; flex-direction: column; row-gap: 15px; margin-bottom: 40px; max-height: 300px; overflow-y: scroll; .card { width: 100%; display: flex; column-gap: 15px; align-items: center; .card-image { width: 80px; img { width: 100%; object-fit: fill; border-radius: 10px; } } .card-details { display: flex; flex-direction: column; .card-name { font-size: 14px; font-weight: 400; } .card-price { font-size: 14px; font-weight: 500; color: #F2994A; margin-top: 5px; span { color: #4E5150; text-decoration: line-through; margin-left: 10px; } } .card-wheel { margin-top: 17px; border: .2px solid #4e515085; width: 90px; padding: 8px 8px; border-radius: 10px; font-size: 12px; display: flex; justify-content: space-between; button { background: #E0E0E0; color: #828282; width: 15px; height: 15px; display: flex; justify-content: center; align-items: center; border: 0; cursor: pointer; border-radius: 3px; font-weight: 500; } } } .delete-item { position: absolute; top: 5px; right: 5px; font-size: 13px; border: none; display: flex; align-items: center; gap: 5px; cursor: pointer; } } } .checkout-shipping, .checkout-total { display: flex; // font-size: 16px; padding: 5px 0px; border-top: 1px solid #BDBDBD; justify-content: space-between; p { font-size: 14px; font-weight: 500; } } } } } footer { height: 5%; color: #BDBDBD; display: -ms-grid; display: grid; place-items: center; font-size: 12px; a { text-decoration: none; color: inherit; } } } @media screen and (max-width: 1024px) { body { width: 80%; main { column-gap: 70px; } } } @media screen and (max-width: 768px) { body { width: 92%; main { flex-direction: column-reverse; height: auto; margin-bottom: 50px; .checkout-form { width: 100%; margin-top: 35px; } .checkout-details { width: 100%; } } footer { height: 10%; } } }