Untitled
unknown
plain_text
a year ago
9.6 kB
2
Indexable
body { font-family: Arial, sans-serif; margin: 0; padding: 0; background-color: #f4f4f4; overflow-x: hidden; /* Prevent horizontal scrolling */ } /* Sticky header */ header { background-color: #f56c42; color: white; text-align: center; padding: 1em 0; position: sticky; top: 0; z-index: 1000; position: fixed; } /* Additional styles for the new pages */ .login-container, .register-container, .order-history-container { max-width: 500px; margin: auto; padding: 2em; background: #fff; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } .login-container h2, .register-container h2, .order-history-container h2 { margin-bottom: 1.5em; } .form-group { margin-bottom: 1.5em; } .order-card { border: 1px solid #ddd; border-radius: 8px; margin-bottom: 1em; padding: 1em; background: #fff; } .order-card h5 { margin-bottom: 0.5em; } .order-card p { margin: 0.2em 0; } .order-total { text-align: right; font-weight: bold; margin-top: 1em; } .search-and-icons { display: flex; align-items: center; justify-content: space-between; top: 10px; left: 10px; right: 10px; } .search-and-icons .form-control { width: 70%; margin-right: 10px; } .search-and-icons .icons { display: flex; align-items: center; } .search-and-icons .badge { font-size: 0.8em; transform: translate(50%, -50%); } .banner img { width: 100%; height: auto; } .center-overlay { position: absolute; bottom: -55px; /* Adjusted for smaller height */ left: 50%; transform: translateX(-50%); background: #ffffff; padding: 20px; /* Adjusted for smaller height */ border-radius: 10px; width: 95%; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); display: flex; align-items: center; } .overlay-text { margin: 0; font-size: 1em; font-weight: bold; color: #333; margin-left: 10px; } .categories { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; text-align: center; margin: 2em 0; padding: 0.5em; /* Add padding for better spacing */ /*background: #faead9; /* Add background color for overlay effect */ border-radius: 10px; /* Rounded corners */ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow for overlay effect */ padding-left: 10px; padding-right: 10px; background-color: rgba(250, 234, 217, 0.5); transition: background-color 0.3s ease; z-index: 999; } .category-item { padding: 0em 0; } .category-item i { transition: color 0.3s ease; font-size: 1.5em; /* Make icons smaller */ } .category-item i:hover, .category-item i:focus { color: #ff4500; } .products .card { border: none; } .products .card-body { padding: 0em; } .products .btn { margin-top: 0.5em; } .blue-border { border: 3px solid #ff4500; border-radius: 10px; padding: 20px; } .navigation { display: flex; justify-content: space-around; background-color: #fff; padding: 0.5em 0; border-top: 1px solid #ddd; position: fixed; bottom: 0; width: 100%; } .nav-item { flex: 1; text-align: center; } .nav-link { color: #000; display: flex; flex-direction: column; align-items: center; text-decoration: none; font-size: 1.2em; } .nav-link i { margin-bottom: 0.2em; } .nav-link:hover, .nav-link:focus { color: #ff4500; } .footer { text-align: center; padding: 1em 0; background-color: #ff4500; color: white; margin-top: 1em; } .small-banner { margin: 1em 0; } .alert { font-weight: bold; } .static-div { position: static; /*background-color: rgba(255, 69, 0, 0.1);*/ /*background-color: #ff4500;*/ transition: background-color 0.3s ease; z-index: 999; padding: 10px; width: 100%; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); height: 60px; display: flex; align-items: center; top: 0; } .sticky { position: fixed; background-color: #ff4500; } .text-category { font-weight: bold; font-size: 8px; top:2px; } .text-navigasi { font-weight: bold; font-size: 10px; top:2px; } .text-right { font-weight: bold; font-size: 10px; color: #900C3F; text-align: right; } .text-produk-harga { font-weight: bold; font-size: 12px; color: #900C3F; padding: 0; } .card-body p { margin-top: 5px; /* Atur jarak atas */ margin-bottom: 5px; /* Atur jarak bawah */ } /*Downline*/ /* Styles for the downline member list */ .downline-container { max-width: 600px; margin: auto; padding: 2em; background: #fff; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } .downline-header { text-align: center; margin-bottom: 1.5em; } .member-list { list-style-type: none; padding: 0; margin: 0; } .member-item { display: flex; align-items: center; border-bottom: 1px solid #ddd; padding: 1em 0; } .member-item:last-child { border-bottom: none; } .member-number { font-weight: bold; margin-right: 1em; font-size: 1.2em; color: #ff4500; } .member-photo { border-radius: 50%; width: 50px; height: 50px; object-fit: cover; margin-right: 1em; } .member-details { flex: 1; } .member-name { font-size: 1.1em; font-weight: bold; margin: 0; } .member-info { margin: 0.2em 0 0; color: #666; } /*sticker*/ .sticker { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: rgba(255, 255, 255, 0.7); /* Atur transparansi sesuai kebutuhan */ border-radius: 50%; padding: 10px; } .sticker { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: rgba(0, 0, 0, 0.7); /* Hitam dengan transparansi 0.7 */ border-radius: 50%; /* Untuk membuat sticker bundar */ padding: 10px; } /*gambar-kategori*/ .icon-category { width: 55%; height: auto; } /*brand slide*/ .brand-marquee { overflow: hidden; position: relative; width: 90%; } .marquee { display: flex; align-items: center; } .marquee-inner { display: flex; animation: marquee 15s linear infinite; } .brand-icon { width: 25%; /* Adjust this value to show 4 icons in a row */ height: auto; padding: 10px; box-sizing: border-box; } @keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } } /*------------------------------------- 52.Tabbar CSS -------------------------------------*/ nav { display: flex; align-items: center; background: #FF4C3B; width: 100%; height: 56px; border-radius:28px; justify-content: space-between; column-gap: 24px; box-shadow: 0px 24px 12px -20px rgba(255, 76, 59, 0.80); } .bottom-tabbar a { color: inherit; text-decoration: none; display: flex; align-items: center; justify-content: center; position: relative; width: 100%; height: 40px; border-radius: 20px; } .bottom-tabbar a svg { width: 18px; height: 18px; transition: margin 0.2s ease-out; } .bottom-tabbar a span { opacity: 0; display: none; } .bottom-tabbar a.active { background: white; color:#FF4C3B; padding-left: 12px; padding-right: 22px; } .bottom-tabbar a.active svg { margin-right: 0; } .bottom-tabbar a.active span { visibility: visible; opacity: 1; transition: all 0.2s ease-out; color:#FF4C3B; font-family: Lato; font-size: 14px; font-style: normal; font-weight: 500; line-height: 18px; margin-left: 12px; display:block; } .bottom-tabbar a.active svg path { stroke: #FF4C3B; } .bottom-tabbar a:first-child { margin-left: 24px; } .bottom-tabbar a:last-child { margin-right: 24px; } .bottom-tabbar-full { position: fixed; bottom: 0; width: 100%; left: 0; right: 0; max-width: 600px; margin: auto; padding-bottom: 16px; padding-left: 16px; padding-right: 16px; z-index: 99; background: white; } /* Additional styles for profile page */ .profile-container { max-width: 500px; margin: auto; padding: 2em; background: #fff; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } .profile-title { font-size: 24px; margin-bottom: 20px; text-align: center; color: #333; } .profile-item { margin-bottom: 15px; } .profile-label { font-weight: bold; display: block; margin-bottom: 5px; color: #ff4500; } .profile-image { display: block; margin: auto; width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 2px solid #ff4500; } .edit-buttons { display: flex; justify-content: space-between; margin-top: 20px; }
Editor is loading...
Leave a Comment