@import url('https://use.fontawesome.com/releases/v6.0.0/css/all.css'); @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,700;1,400;1,700&display=swap'); *{ margin: 0; padding: 0; font-family: 'Roboto', sans-serif; color: #4B4B4B; } .wrapper{ width: 100vw; height: 100vh; display: none; justify-content: center; align-items: center; background-color: rgba(0, 0, 0, 0.1); background-image: linear-gradient(132deg, rgba(15, 13, 59, .72) 0%, rgba(15, 13, 59, .1217261905) 50%, rgba(15, 13, 59, .72) 100%); } .app{ width: 1500px; height: 800px; border-radius: 12px; display: flex; background-color: #F3F3F3; box-shadow: 0px 5px 20px 10px rgba(0, 0, 0, 0.1); } .menu{ width: 200px; height: 100%; border-radius: 10px 0 0 10px; background-image: linear-gradient(132deg, rgba(143, 112, 192, 0.8) 0%, rgba(15, 13, 59, .1217261905) 50%, rgba(15, 13, 59, .72) 100%); } .menu-header{ user-select: none; display: flex; align-items: center; justify-content: center; height: 60px; margin-bottom: 30px; } .shop-logo{ display: flex; justify-content: center; align-items: center; margin-right: 10px; width: 50px; height: 50px; } .shop-logo>img{ max-width: 50px; max-height: 50px; } #shoptitle{ font-size: 20px; color: #fff } .listmenu { display: flex; flex-direction: column; width: 100%; } .elements-menu{ cursor: pointer; user-select: none; width: calc(100% - 80px); margin: 5px 20px; padding: 10px 20px; display: flex; align-items: center; color: #fff; border-radius: 19px; transition: .2s background-color; } .elements-menu i{ margin-right: 10px; color: #fff; } .elements-menu.active{ background-color: #1271be; } .elements-menu:not(.active):hover{ background-color: rgba(255, 82, 177, 0.3); } .elements-menu:not(.active):active{ background-color: #1271be; } .mainlista{ flex: 1; height: 100%; display: flex; flex-direction: column; } .header{ width: calc(100% - 60px); height: 60px; display: flex; justify-content: flex-end; align-items: center; padding: 0 30px; border-radius: 0 10px 0 0; background-image: linear-gradient(90deg, rgba(199,182,230,1) 15%, rgba(135,135,186,1) 56%, rgba(94,87,213,1) 92%); } #exit-button{ cursor: pointer; font-size: 1.6rem; } #exit-button i{ color: #fff; } .container{ display: flex; height: calc(100% - 60px); } .details{ user-select: none; display: flex; justify-content: center; flex-direction: column; border-left: 1px solid #ccc; height: 100%; width: 250px; background-color: darkgrey; } .details-list{ height: calc(100% - 160px); width: 100%; display: flex; flex-direction: column; overflow: auto; } .details-list::-webkit-scrollbar { display: none; } .details-list-title{ margin: 20px; font-size: 1.2rem; font-weight: bold; } .details-list-product{ display: flex; width: calc(100% - 20px); align-items: center; padding: 0 10px; margin-bottom: 7px; justify-content: space-between; } .details-total{ display: flex; width: calc(100% - 20px); align-items: center; padding: 10px 10px; justify-content: space-between; font-weight: bold; } .details-totalprice{ color:#22A703; } .details-action{ display: flex; align-items: center; justify-content: center; height: 100px; width: 100%; border-top: 1px solid #ccc; } #pay-button{ cursor: pointer; background-color: #22A703; border-radius: 20px; color: #fff; padding: 10px 30px; max-width: 70px; transition: 0.2s background-color; } #pay-button:hover{ background-color: #33ca11; } #pay-button:active{ background-color: #22A703; } .grid-container { display: flex; align-items: flex-start; justify-content: center; flex: 1; padding: 20px; overflow: auto; background-color: darkgrey; background-image: url("https://media.discordapp.net/attachments/1197000714937962536/1255810625943371808/logo_gta.png?ex=667e7c49&is=667d2ac9&hm=97edf0c5057e488c6ea4c675ad03631723db9ee6ffc145eb8203d620dea9bf90&=&format=webp&quality=lossless&width=835&height=835"); background-size: cover; background-position: center; background-repeat: no-repeat; background-attachment: fixed; background-size: 60vh; } .grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 150px; grid-column-gap: 0px; grid-row-gap: 0px; grid-gap: 10px; /* Add gap between grid items */ height: 100%; overflow: auto; } .grid::-webkit-scrollbar { display: none; } .card-container { width: 100%; display: flex; height: 100%; align-items: center; border: 1px solid rgba(55, 55, 55, 1); background: linear-gradient(90deg, rgba(199,182,230,1) 15%, rgba(135,135,186,1) 56%, rgba(94,87,213,1) 92%); box-shadow: 0.0rem 0.0rem 50px 5px rgba(10, 10, 10, 0.808) inset; background-repeat: no-repeat; background-position: center; border-radius: 0.5rem; } .card-background { display: flex; width: 90%; height: 88%; margin: 10px; /* Adds 10px margin around each .card-background */ } .product-image{ user-select: none; display: flex; padding: 0 5px; align-items: center; width: 40%; } .product-image img{ width: 100%; } .product-data{ user-select: none; display: flex; padding-right: 10px; flex-direction: column; justify-content: space-evenly; flex: 1; } .product-count{ display: flex; justify-content: space-between; } .price-count-max{ color: white; text-shadow: -1px -1px 0 #080808, 1px -1px 0 #080808, -1px 1px 0 #080808, 1px 1px 0 #080808; } .product-name{ font-weight: bold; font-size: 1.1rem; color: white; text-shadow: -1px -1px 0 #080808, 1px -1px 0 #080808, -1px 1px 0 #080808, 1px 1px 0 #080808; } .product-name.blackmoney{ color: rgb(102, 66, 185); } .product-buy{ display: flex; align-items: center; justify-content: center; } .product-price{ font-weight: bold; color:#22A703; text-shadow: -1px -1px 0 #080808, 1px -1px 0 #080808, -1px 1px 0 #080808, 1px 1px 0 #080808; } .product-price.blackmoney { color: rgb(102, 66, 185); } .buy-button{ width: 28px; height: 28px; display: flex; justify-content: center; align-items: center; cursor: pointer; border-radius: 14px; margin: 0; background-color: #1271be; transition: 0.2s background-color; } .buy-button:hover{ background-color: #ff52b1 } .buy-button:active{ background-color: #1271be } .buy-button.disabled{ cursor: default; background-color: #969696 } .buy-button i{ font-size: 0.9rem; color: #fff; } .buy-minus{ margin: 0; margin-right: 5px; } .buy-plus{ margin: 0; margin-left: 5px; } .product-price-input::-webkit-outer-spin-button, .product-price-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } .product-price-input{ height: 30px; border: none; outline: none; width: 150px; font-size: 1.2rem; text-align: center; border-bottom: 2px solid #1271be; border-radius: 4px; box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.1); } .product-price-input.disabled{ border-bottom: 2px solid #969696; color: #969696; } .modal-wrapper{ position: fixed; top: 0; display: none; align-items: center; justify-content: center; left: 0; height: 100vh; width: 100vw; background-color: rgba(0, 0, 0, 0.1); } .modal{ width: 700px; background-color: #fff; display: flex; border-radius: 10px; flex-direction: column; } .modal-title{ font-size: 1.2rem; font-weight: bold; width: calc(100% - 30px); padding: 15px; border-radius: 10px 10px 0 0; background-color: #1E1E1E; color: white; } .modal-content{ flex: 1; padding: 70px 50px; display: flex; align-items: center; } .modal-button-container{ display: flex; justify-content: flex-end; } .modal-button{ padding: 10px 40px; margin: 5px; height: 40px; display: flex; justify-content: center; align-items: center; color: #fff; font-size: 1.1rem; border: none; cursor: pointer; border-radius: 20px; transition: .2s background-color; } .modal-ok{ background-color: #22A703; } .modal-ok:hover{ background-color: #33ca11; } .modal-ok:active{ background-color: #22A703; } .modal-cancel{ background-color: #a70303; } .modal-cancel:hover{ background-color: #cf1818; } .modal-cancel:active{ background-color: #a70303; }