@charset "UTF-8"; /* Circular Progressbar Styles */ .CircularProgressbar { width: 100%; vertical-align: middle; } .CircularProgressbar .CircularProgressbar-path { stroke: #3e98c7; stroke-linecap: round; -webkit-transition: stroke-dashoffset 0.5s ease 0s; transition: stroke-dashoffset 0.5s ease 0s; } .CircularProgressbar .CircularProgressbar-trail { stroke: #d6d6d6; stroke-linecap: round; } .CircularProgressbar .CircularProgressbar-text { fill: #3e98c7; font-size: 20px; dominant-baseline: middle; text-anchor: middle; } .CircularProgressbar .CircularProgressbar-background { fill: #d6d6d6; } .CircularProgressbar.CircularProgressbar-inverted .CircularProgressbar-background { fill: #3e98c7; } .CircularProgressbar.CircularProgressbar-inverted .CircularProgressbar-text { fill: #fff; } .CircularProgressbar.CircularProgressbar-inverted .CircularProgressbar-path { stroke: #fff; } .CircularProgressbar.CircularProgressbar-inverted .CircularProgressbar-trail { stroke: transparent; } /* Font Face for Roboto */ @font-face { font-family: Roboto; font-style: normal; font-weight: 300; font-display: swap; src: url(https://fonts.gstatic.com/s/roboto/v32/KFOlCnqEu92Fr1MmSU5fCRc4EsA.woff2) format("woff2"); unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; } /* General Body and Root Styles */ body { margin: 0; font-family: Roboto, sans-serif; height: 100vh; overflow: hidden !important; user-select: none; color: #d0d0d0; } #root { height: 100%; } code { font-family: source-code-pro, Menlo, Monaco, Consolas, Courier New, monospace; } p { margin: 0; padding: 0; } /* Scrollbar Removal */ ::-webkit-scrollbar { display: none; } /* Input Number Styling */ input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; -moz-appearance: none; appearance: none; } /* App Wrapper */ .app-wrapper { height: 100%; width: 100%; color: #d0d0d0; } /* Context Menu */ .context-menu-list { min-width: 200px; color: #d0d0d0; padding: 4px; background-color: #00000080; border: 0.5px solid rgba(0, 0, 0, 0.3); border-radius: 4%; outline: none; display: flex; flex-direction: column; } .context-menu-item { padding: 8px; border-radius: 4%; background-color: transparent; outline: none; border: none; color: #d0d0d0; display: flex; justify-content: space-between; align-items: center; transition: background-color 0.3s ease, color 0.3s ease; } .context-menu-item:hover { cursor: pointer; } .context-menu-item:active { transform: none; } /* Tooltip Description */ .tooltip-description { padding-top: 5px; } .tooltip-markdown > p { margin: 0; } /* Button Styles */ button:active { transform: translateY(3px); } /* Inventory Wrapper */ .inventory-wrapper { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100%; gap: 40px; } .inventory-wrapper2 { display: flex; flex-direction: row; justify-content: center; align-items: center; animation: OpenMenu 0.6s; height: 70%; } /* Inventory Controls */ .inventory-control { display: flex; align-self: center; } .inventory-control .inventory-control-wrapper { display: flex; flex-direction: column; gap: 10px; justify-content: center; align-items: center; } .inventory-control .inventory-control-input { transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease; padding: 8px 12px; font-size: 12px; text-align: center; outline: none; color: #d0d0d0; background-color: #00000080; border: 1px solid rgba(0, 0, 0, 0.3); border-radius: 4%; width: 8vw; } .inventory-control .inventory-control-input:hover { border-color: #0006; background-color: #0009; } .inventory-control .inventory-control-input:focus { transform: scale(1.02); } /* Buttons */ .inventory-control .inventory-control-button { font-size: 10px; color: #d0d0d0; background-color: #00000080; border-radius: 4%; border: 1px solid rgba(0, 0, 0, 0.1); transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.2s ease; padding: 12px 16px; text-transform: uppercase; width: 8vw; } .inventory-control .inventory-control-button:hover { background-color: #0009; border-color: #0000004d; color: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px #0003; } .inventory-control .inventory-control-button:active { background-color: #000000b3; border-color: #0003; transform: translateY(0); box-shadow: 0 2px 8px #0003; } .inventory-control-wrapper-bar { display: flex; flex-direction: row; gap: 5px; align-items: center; } /* Drag Preview */ .item-drag-preview { width: 7.7vh; height: 7.7vh; z-index: 1; position: fixed; pointer-events: none; top: 0; left: 0; background-repeat: no-repeat; background-position: center; background-size: 7vh; image-rendering: -webkit-optimize-contrast; } /* Inventory Wrappers */ .inventory-wrapper { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100%; gap: 40px; } .inventory-wrapper2 { display: flex; flex-direction: row; justify-content: center; align-items: center; animation: OpenMenu 0.6s; height: 70%; } .ButtonRow { display: flex; flex-direction: row; gap: 15px; } /* Inventory Controls */ .inventory-control { display: flex; align-self: center; } .inventory-control .inventory-control-wrapper { display: flex; flex-direction: column; gap: 10px; justify-content: center; align-items: center; } .inventory-control .inventory-control-input { transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease; padding: 8px 12px; font-size: 12px; text-align: center; outline: none; color: #d0d0d0; background-color: #00000080; border: 1px solid rgba(0, 0, 0, 0.3); border-radius: 0%; width: 5vw; height: 2rem; /* Augmente la hauteur */ font-size: 25px; /* Augmente la taille du texte */ margin: 0; /* Supprime les marges */ } .inventory-control .inventory-control-input:hover { border-color: #0006; background-color: #0009; } .inventory-control .inventory-control-input:focus { transform: scale(1.02); } .inventory-control .inventory-control-input.active { border-color: #0006; background-color: #0009; } /* Inventory Control Buttons */ .inventory-control { margin-top: 30px; /* Ajustez cette valeur pour descendre davantage */ } .inventory-control .inventory-control-button { font-size: 10px; color: #d0d0d0; background-color: #00000080; border-radius: 0%; border: 1px solid rgba(0, 0, 0, 0.1); transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.2s ease; padding: 12px 16px; text-transform: uppercase; width: 8vw; } .inventory-control .inventory-control-button:hover { background-color: #0009; border-color: #0000004d; color: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px #0003; } .inventory-control .inventory-control-button:active { background-color: #000000b3; border-color: #0003; transform: translateY(0); box-shadow: 0 2px 8px #0003; } .inventory-control .inventory-control-button.active { background-color: #000000b3; border-color: #0000004d; color: #fff; } .inventory-control-wrapper-bar { display: flex; flex-direction: row; gap: 0px; /* Aucun espace entre les éléments */ align-items: center; margin-left: 45px; /* Décale l'ensemble vers la droite */ } .inventory-control-button-2 { justify-content: center; align-items: center; background-color: #00000080; color: #fff; border: none; border-radius: 0%; width: 30px; height: 50px; cursor: pointer; transition: background-color 0.3s ease; margin: 0; /* Supprime les marges */ } .inventory-control-button-2:hover { background-color: #505050; } /* Useful Controls Dialog */ .useful-controls-dialog { background-color: #00000080; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #d0d0d0; width: 450px; display: flex; flex-direction: column; padding: 16px; border-radius: 4%; gap: 16px; } .useful-controls-dialog-overlay { background-color: #000c; } .useful-controls-dialog-title { display: flex; width: 100%; justify-content: space-between; align-items: center; font-size: 10px; } .useful-controls-dialog-close { width: 25px; height: 25px; padding: 6px; display: flex; justify-content: center; align-items: center; border-radius: 4%; fill: #d0d0d0; } .useful-controls-content-wrapper { display: flex; flex-direction: column; gap: 20px; } .divider { width: 100%; height: 1px; background-color: #0000001a; } /* Useful Controls Button */ .useful-controls-button { position: absolute !important; bottom: 25px; right: 25px; transition: 0.2s !important; border: none; color: #d0d0d0; width: 52px; height: 52px; display: flex; justify-content: center; align-items: center; fill: #d0d0d0; border-radius: 4%; background-color: #00000080 !important; } .useful-controls-button:hover { background-color: #0009 !important; cursor: pointer; } .useful-controls-exit-button { position: absolute !important; right: 8px; top: 8px; border-radius: 4%; color: gray !important; } /* Inventory Grid */ .inventory-grid-wrapper { display: flex; flex-direction: column; gap: 7px; margin-bottom: -5px; margin-left: 2vw; } .inventory-grid-wrapper-user { display: flex; flex-direction: column; gap: 7px; } .inventory-grid-header-wrapper, .inventory-grid-header-wrapper-user { display: flex; flex-direction: row; justify-content: space-between; align-items: flex-end; padding-bottom: 10px; width: 50%; } .inventory-grid-container-name-inventory { } .inventory-grid-container-name-inventory h1 { font-size: 15px; padding: 10px; color: #ffffffa2; } .inventory-grid-container-user { display: grid; height: calc(57.1vh + 96px); grid-template-columns: repeat(5, 95px); grid-auto-rows: 95px; gap: 0; overflow-y: scroll; width: 65rem; } /* Inventory Grid */ .inventory-grid-container { display: grid; height: calc(57.1vh + 96px); grid-template-columns: repeat(5, 95px); grid-auto-rows: 95px; gap: 10px; overflow-y: scroll; } /* Slots and Notifications */ .inventory-slot, .item-notification-item-box, .hotbar-item-slot { background-color: #00000067; background-repeat: no-repeat; background-position: center; background-size: 6.5vh; image-rendering: crisp-edges; position: relative; color: #d0d0d0; border-radius: 0%; border: 1px solid rgba(0, 0, 0, 0.3); transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease; } .inventory-slot:hover, .item-notification-item-box:hover, .hotbar-item-slot:hover { transform: scale(1.05); box-shadow: 0 6px 20px #0006; background-color: #0009; border-color: #0003; } .inventory-slot:active, .item-notification-item-box:active, .hotbar-item-slot:active { transform: scale(0.98); box-shadow: 0 2px 8px #0003; } /* Appear Animation */ .inventory-slot.appear, .item-notification-item-box.appear, .hotbar-item-slot.appear { opacity: 0; transform: translateY(20px); animation: fadeInUp 0.5s forwards; } @keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } } /* Clothing Slot */ .inventory-slot-clothing { background-color: #00000067; background-repeat: no-repeat; background-position: center; background-size: 6.5vh; image-rendering: crisp-edges; position: relative; color: #d0d0d0; border-radius: 0%; border: 1px solid rgba(0, 0, 0, 0.3); transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease; } .inventory-slot-clothing:hover { background-color: #0009; border-color: #0003; } .inventory-slot-clothing:active { background-color: #000000a6; border-color: #0000004d; transform: scale(0.98); } .inventory-slot-clothing.appear { opacity: 0; transform: translateY(20px); animation: fadeInUp 0.5s forwards; } /* Slot Labels */ .inventory-slot-label-box { background-color: #00000080; color: #d0d0d0a6; text-align: center; } .inventory-slot-label-box-no { display: none; } .inventory-slot-label-text { text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 2px 3px; font-size: 10px; } .inventory-slot-number { background-color: #5a0ee680; color: #fff; height: 13px; width: 15px; padding: 3px; font-size: 8px; left: 72px; text-align: center; top: 0; position: absolute; border-radius: 0%; font-size: 10px; /* Augmente la taille du texte */ } .inventory-slot:nth-child(-n+5)::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background-color: #5a0ee680; border-top-left-radius: 0px; border-top-right-radius: 0px; } /* Item Slot Wrappers */ .item-slot-wrapper { display: flex; flex-direction: column; justify-content: space-between; height: 100%; } .item-slot-wrapper p { font-size: 8px; } .item-slot-header-wrapper, .item-hotslot-header-wrapper { display: flex; flex-direction: row; justify-content: flex-end; } .item-hotslot-header-wrapper { justify-content: space-between !important; } .item-slot-info-wrapper { display: flex; flex-direction: row; align-self: flex-end; padding: 5px; gap: 3px; } .item-slot-info-wrapper p { font-size: 12px; } .item-slot-currency-wrapper, .item-slot-price-wrapper { display: flex; flex-direction: row; justify-content: flex-end; align-items: center; padding-right: 3px; } .item-slot-currency-wrapper p, .item-slot-price-wrapper p { font-size: 14px; text-shadow: 0.1vh 0.1vh 0 rgba(0, 0, 0, 0.7); } /* Tooltip Styles */ .tooltip-wrapper { pointer-events: none; display: flex; width: 200px; padding: 8px; flex-direction: column; min-width: 200px; color: #d0d0d0; border-color: #0000004d; border-radius: 4%; background: linear-gradient(358deg, rgba(21, 53, 80, 0.15) 0%, rgba(0, 0, 0, 0.4) 100%); border: 1px solid rgba(0, 0, 0, 0.11); } .tooltip-wrapper p { font-size: 12px; font-weight: 400; } .tooltip-header-wrapper { display: flex; flex-direction: row; justify-content: space-between; align-items: center; } .tooltip-header-wrapper p { font-size: 15px; font-weight: 400; } .tooltip-crafting-duration { display: flex; flex-direction: row; align-items: center; justify-content: center; } .tooltip-crafting-duration svg { padding-right: 3px; } .tooltip-crafting-duration p { font-size: 14px; } .tooltip-ingredients { padding-top: 5px; } .tooltip-ingredient { display: flex; flex-direction: row; align-items: center; } .tooltip-ingredient img { width: 28px; height: 28px; padding-right: 5px; } /* Item Notifications */ .item-notification-container { display: flex; overflow-x: scroll; flex-wrap: nowrap; gap: 2px; position: absolute; bottom: 2vh; left: 50%; width: 100%; margin-left: calc(50% - 5.1vh); transform: translate(-50%); } .item-notification-action-box { width: 100%; color: #d0d0d0; background-color: #00000080; text-transform: uppercase; text-align: center; border-top-left-radius: 0.25vh; border-top-right-radius: 0.25vh; } .item-notification-action-box p { font-size: 11px; padding: 2px; font-weight: 600; } .item-notification-item-box { height: 10.2vh; width: 10.2vh; } /* Bars */ .durability-bar { background: rgba(0, 0, 0, 0.5); height: 3px; overflow: hidden; } .weight-bar { background: rgba(0, 0, 0, 0.4); border: 1px inset rgba(0, 0, 0, 0.1); height: 0.8vh; border-radius: 10px; overflow: hidden; width: 100.5%; } /* Transitions */ .transition-fade-enter { opacity: 0; } .transition-fade-enter-active { opacity: 1; transition: opacity 0.2s; } /* Transitions */ .transition-fade-exit { opacity: 1; } .transition-fade-exit-active { opacity: 0; transition: opacity 0.2s; } .transition-slide-up-enter { transform: translateY(200px); } .transition-slide-up-enter-active { transform: translateY(0); transition: all 0.2s; } .transition-slide-up-exit { transform: translateY(0); } .transition-slide-up-exit-active { transform: translateY(200px); transition: all 0.2s; } /* Slots */ .RegularSlots { display: grid; height: calc(52.1vh + 10px); grid-template-columns: repeat(5, 95px); grid-auto-rows: 95px; gap: 10px; } .ClothingSlots { display: flex; overflow: auto; position: fixed; margin-left: 34.2em; margin-top: -6.5em; flex-direction: column-reverse; } .ColumnClothings { display: flex; flex-direction: row; } .Clothing1, .Clothing2 { display: grid; grid-template-columns: 8.67vh; grid-auto-rows: 8.857vh; gap: 8px; } .Clothing3 { margin-left: 30%; display: grid; grid-template-columns: repeat(5, 8.67vh); grid-auto-rows: 8.857vh; gap: 8px; } /* Weight Text */ .WeightText { font-size: 1rem; padding-left: 1rem; margin-bottom: -0.2rem; color: #fff; font-weight: 600; display: flex; align-items: center; transition: color 0.3s ease, font-size 0.3s ease; } .WeightText:hover { color: #fff; font-size: 1.1rem; } /* Labels */ .LabelText { font-size: 20px; padding-right: 10px; } .HotSlotLabel { position: absolute; bottom: 34.4vh; font-size: 8px; } .iconWrapper svg { font-size: 10px; } /* Weight Bars */ .WeightBarWrap, .WeightBarWrap2 { height: 4px; flex: 1; padding-bottom: 8px; } .WeightBarWrap2 { width: 100%; } /* Label Name */ .LabelName { display: flex; align-items: center; width: 6.5vw; font-size: 18px; padding-left: 6px; } /* Media Queries */ @media screen and (max-width: 1700px) { .RegularSlots { margin-left: 32.5vw; } .LabelName { width: 32.5vw; } } @media screen and (max-width: 1400px) { .RegularSlots { grid-template-columns: repeat(5, 65px); grid-auto-rows: 65px; margin-left: 31.5vw; } .LabelName { width: 31.5vw; } .Clothing1, .Clothing2 { grid-template-columns: 58px; grid-auto-rows: 58px; } .inventory-grid-container { grid-template-columns: repeat(5, 65px); grid-auto-rows: 65px; } .inventory-grid-container-user { width: 53rem; } .inventory-slot-number { height: 7px; width: 7px; font-size: 6px; } } @media screen and (min-width: 2500px) { .RegularSlots { margin-left: 20.5vw; } .LabelName { width: 20.5vw; } } @media screen and (min-width: 3400px) { .RegularSlots { margin-left: 15vw; } .LabelName { width: 15vw; } } /* Filter Buttons */ .filter-buttons { display: flex; gap: 10px; align-items: center; } .filter-buttons button { background-color: #00000080; color: #fff; border: none; padding: 7px; /* Légèrement augmenté */ border-radius: 10%; /* Coins carrés */ cursor: pointer; font-size: 14px; /* Taille de police ajustée */ width: 35px; /* Largeur légèrement augmentée */ height: 35px; /* Hauteur légèrement augmentée */ transition: background-color 0.3s ease, transform 0.3s ease; } .filter-buttons button:hover { background-color: #505050; transform: scale(1.1); /* Légère augmentation de taille au survol */ } .filter-buttons button:focus { outline: none; box-shadow: 0 0 8px #ffffff4d; /* Ajout d'une lueur blanche */ } /* Use Item Visibility */ .use-itemvisible { width: 19em; margin-top: 0.5em; margin-left: 0.4em; background-color: #00000080; transition: ease 0.3s; } .use-itemvisible:hover { transform: scale(1.02); background-color: #0009; } .use-item-text { font-size: 2.5em; padding-left: 30%; padding-top: 100%; color: #ffffff80; } /* Animations */ @keyframes zoom-in { 0% { transform: scale(0); } 70% { transform: scale(1.2); } 90% { transform: scale(0.95); } to { transform: scale(1); } } @keyframes zoom-out { 0% { transform: scale(1); } 30% { transform: scale(1.3); } 70% { transform: scale(0.8); } to { transform: scale(0); } }