Editing: client_style.css
Kembali
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600;700&display=swap"); :root { --main-color: #599ecc; --orange: #f39c12; --red: #e74c3c; --black: #333; --white: #fff; --light-color: #666; --light-bg: #eee; --border: 0.2rem solid var(--black); --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1); } * { font-family: "Nunito", sans-serif; margin: 0; padding: 0; box-sizing: border-box; outline: none; border: none; text-decoration: none; } *::selection { background-color: var(--main-color); color: var(--white); } ::-webkit-scrollbar { height: 0.5rem; width: 1rem; } ::-webkit-scrollbar-track { background-color: transparent; } ::-webkit-scrollbar-thumb { background-color: var(--main-color); } html { font-size: 62.5%; overflow-x: hidden; } body { background-color: var(--light-bg); } section { padding: 2rem; max-width: 1200px; margin: 0 auto; } .heading { font-size: 4rem; color: var(--black); margin-bottom: 2rem; text-align: center; text-transform: uppercase; } .btn, .delete-btn, .option-btn { display: block; width: 100%; margin-top: 1rem; border-radius: 0.5rem; padding: 1rem 3rem; font-size: 1.7rem; text-transform: capitalize; color: var(--white); cursor: pointer; text-align: center; } .btn:hover, .delete-btn:hover, .option-btn:hover { background-color: var(--black); } .btn { background-color: var(--main-color); } .option-btn { background-color: var(--orange); } .delete-btn { background-color: var(--red); } .flex-btn { display: flex; gap: 1rem; } @keyframes fadeIn { 0% { transform: translateY(1rem); } } .header { position: sticky; top: 0; left: 0; right: 0; background-color: var(--white); box-shadow: var(--box-shadow); z-index: 1000; } .header .flex { display: flex; align-items: center; justify-content: space-between; position: relative; padding: 1rem; } .header .flex .logo { font-size: 2.5rem; color: var(--black); } .header .flex .logo span { color: var(--main-color); } .header .flex .navbar a { margin: 0 1rem; font-size: 2rem; color: var(--black); } .header .flex .navbar a:hover { color: var(--main-color); text-decoration: underline; } .header .flex .icons > * { margin-left: 1rem; font-size: 2.5rem; cursor: pointer; color: var(--black); } .header .flex .icons > *:hover { color: var(--main-color); } .header .flex .icons a span { font-size: 2rem; } .header .flex .profile { position: absolute; top: 120%; right: 2rem; background-color: var(--white); border-radius: 0.5rem; box-shadow: var(--box-shadow); border: var(--border); padding: 2rem; width: 30rem; padding-top: 1.2rem; display: none; animation: fadeIn 0.2s linear; } .header .flex .profile.active { display: inline-block; } .header .flex .profile p { text-align: center; color: var(--black); font-size: 2rem; margin-bottom: 1rem; } /* .product-wrapper { display: grid; grid-template-columns: repeat(auto-fit, 35rem); gap: 1.5rem; justify-content: center; align-items: flex-start; } */ a { text-decoration: none; color: var(--black); } .positions .box-container { /* display: grid; */ /* grid-template-columns: repeat(auto-fit, 50rem); */ display: flex; flex-direction: column; gap: 1.5rem; justify-content: center; align-items: flex-start; width: 100%; } .positions .box-container .box { position: relative; background-color: var(--white); box-shadow: var(--box-shadow); border-radius: 0.5rem; /* border:var(--border); */ padding: 2rem; overflow: hidden; width: 100%; } .positions .box-container .box a { width: 10rem; float: right; } .positions .box-container .box .name { font-size: 3rem; font-weight: 700; color: var(--black); } .positions .box-container .box .flex { display: flex; align-items: center; gap: 1rem; font-size: 1.5rem; flex-wrap: nowrap; overflow: visible; } .positions .box-container .box .flex .qty { width: 7rem; padding: 1rem; border: var(--border); font-size: 1.8rem; color: var(--black); border-radius: 0.5rem; } .positions .box-container .box .flex .price { font-size: 2rem; color: var(--red); margin-right: auto; } .box{ display: flex; justify-content: space-between; } @media (max-width: 991px) { html { font-size: 55%; } } @media (max-width: 768px) { #menu-btn { display: inline-block; } .header .flex .navbar { position: absolute; top: 99%; left: 0; right: 0; border-top: var(--border); border-bottom: var(--border); background-color: var(--white); transition: 0.2s linear; clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); } .header .flex .navbar.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%); } .header .flex .navbar a { display: block; margin: 2rem; } .home-bg .home .slide .content { text-align: center; } .home-bg .home .slide .content h3 { font-size: 3rem; } } @media (max-width: 450px) { html { font-size: 50%; } .heading { font-size: 3rem; } .flex-btn { flex-flow: column; gap: 0; width: 80%; } /* .quick-view form .row .image-container .sub-image img { width: 8rem; } */ .checkout-orders form .flex .inputBox { width: 100%; } } .active { border: 2px solid blue; } /* The Modal (background) */ .modal { display: none; /* Hidden by default */ position: fixed; /* Stay in place */ z-index: 1; /* Sit on top */ left: 0; top: 0; width: 100%; /* Full width */ height: 100%; /* Full height */ overflow: auto; /* Enable scroll if needed */ background-color: rgb(0, 0, 0); /* Fallback color */ background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */ } /* Modal Content/Box */ .modal-content { background-color: white; margin: 12rem auto; padding: 20px; border: 1px solid #888; /* width: 50rem; */ /* height: 50rem; */ border-radius: 16px; } /* The Close Button */ .close { color: #aaa; float: right; font-size: 28px; font-weight: bold; } .close:hover, .close:focus { color: black; text-decoration: none; cursor: pointer; } .quote-form { /* border: 1px solid black; */ width: 40rem; height: 40rem; display: flex; flex-direction: column; margin: 1rem auto; align-items: center; } .quote-form h2 { font-size: 3rem; margin: 2rem; } .qlabel { display: flex; font-weight: bold; font-size: 14px; color: #07074d; margin-left: 0.1rem; /* margin: auto */ } .quote-form input { align-items: center; width: 80%; padding: 10px 24px; border-radius: 6px; border: 1px solid #e0e0e0; background: white; font-weight: 500; font-size: 16px; color: #6b7280; margin: 0.5rem 0rem; } .quote-form input:focus { border-color: #6a64f1; box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05); } #msg { align-items: center; width: 80%; height: 10rem; padding: 5px 24px; border-radius: 6px; border: 1px solid #e0e0e0; background: white; font-weight: 600; font-size: 16px; color: #6b7280; margin: 0.5rem 0rem; } #msg:focus { border-color: #6a64f1; box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05); } .quote-form .btn { background-color: var(--main-color); color: white; margin-top: 1rem; border-radius: 0.5rem; padding: 1rem 3rem; font-size: 1.7rem; text-transform: capitalize; color: var(--white); cursor: pointer; text-align: center; } .btn:hover { background-color: black; color: white; } /* form css */ @media (max-width: 1025) { .modal-content { background-color: white; margin: 12rem auto; padding: 20px; border: 1px solid #888; width: 45rem; height: 50%; border-radius: 16px; } } @media (max-width: 760) { .modal-content { background-color: white; margin: 12rem auto; padding: 20px; border: 1px solid #888; width: 30rem; height: 50%; border-radius: 16px; } } /* @media (max-width:400) { .custome-modal { background-color: white; margin: 12rem auto; padding: 20px; border: 1px solid #888; width: 20rem; height: 50%; border-radius: 16px; } .modal-content input{ } } */ @media screen and (max-width: 350px) { .modal-content { background-color: white; margin: 12rem auto; /* padding: 20px; */ border: 1px solid #888; width: 38rem; height: 60%; border-radius: 16px; } .quote-form { width: 31rem; } } @media screen and (max-width: 300px) { .modal-content { background-color: white; margin: 12rem auto; /* padding: 20px; */ border: 1px solid #888; width: 30rem; height: 60%; border-radius: 16px; } .quote-form { width: 26rem; } }
SIMPAN PERUBAHAN