Please beutify the following CSS code for my FiveM Inventory Gui. Focus on improving…
- User
Please beutify the following CSS code for my FiveM Inventory Gui. Focus on improving visuals through small tweeks like rounded corners and avoid changes that would require HTML to be changed or break functionality.
:root { --text-color: #000000; --background-color: #c0c0c0; --font-size: 0.7vh; --hover-color: #bdbdbd; }
body { width: 100vw; height: 100vh; margin: 0; padding: 0; overflow: hidden; background: none !important; font-family: "Roboto", sans-serif; }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
::-webkit-scrollbar { width: 2px; }
::-webkit-scrollbar-thumb { background: none; }
#qbcore-inventory { width: 100%; height: 100%; display: none; }
.inv-container { position: absolute; width: 100%; height: 100%; }
.player-inv-info { position: absolute; top: 23%; left: 14.1%; width: 28%; height: fit-content; float: left; font-weight: bolder; color: white; display: flex; flex-direction: column; justify-content: center; background: rgba(22, 22, 22, 0.64); border: 0.11vw solid rgba(72, 72, 72, 0.38); border-bottom: none; height: 7vh; gap: 0.5vh; padding: 0 1vw 0 1vw; }
#player-inv-progressbar { height: 1.2vh; top: 27%; left: 14.2%; width: 100%; transition: width 0.2s; background: linear-gradient(180deg, rgba(22, 22, 22, 0.65) 0%, rgba(16, 16, 16, 0.75) 100%); border: 0.11vw solid rgba(72, 72, 72, 0.38); }
.other-inv-info { position: absolute; top: 23%; right: 14.1%; width: 28%; height: fit-content; float: left; font-weight: bolder; color: white; display: flex; flex-direction: column; justify-content: center; background: rgba(22, 22, 22, 0.64); border: 0.11vw solid rgba(72, 72, 72, 0.38); border-bottom: none; height: 7vh; gap: 0.5vh; padding: 0 1vw 0 1vw; }
#other-inv-progressbar { height: 1.2vh; top: 27%; right: 14.1%; width: 100%; transition: width 0.2s; background: linear-gradient(180deg, rgba(22, 22, 22, 0.65) 0%, rgba(16, 16, 16, 0.75) 100%); border: 0.11vw solid rgba(72, 72, 72, 0.38); }
.ui-progressbar.ui-widget.ui-widget-content { border: none; }
.ui-progressbar.ui-widget-content { border: none; }
.ui-progressbar .ui-widget-header { border: none; }
.ui-progressbar-value { transition: width 0.5s; -webkit-transition: width 0.5s; }
.ui-progressbar .ui-progressbar-value { background-color: green; }
.ui-progressbar-medium .ui-progressbar-value { background-color: yellow; }
.ui-progressbar-high .ui-progressbar-value { background-color: red; }
.player-inventory { display: flex; flex-wrap: wrap; justify-content: flex-start; align-content: flex-start; position: absolute; top: 30%; left: 14.1%; width: 28%; height: 47.16%; float: left; overflow-y: auto; background: rgba(22, 22, 22, 0.64); border: 0.11vw solid rgba(72, 72, 72, 0.38); border-top: none; padding: 0 1vw 1vw 1vw; }
- Assistant