@import 'tailwindcss'; @config "../../tailwind.config.js"; @font-face { font-family: Ubuntu; src: url("@/assets/webfonts/Ubuntu-C.ttf"); } html, body { padding: 0; width: 100%; height: 100%; overflow: hidden; background-color: #000; -webkit-user-select: none; user-select: none; scrollbar-width: thin; } .image-rendering-pixelated { image-rendering: pixelated; } *, *:focus, *:hover { @apply outline-0; } ::-webkit-scrollbar { width: .625rem; } ::-webkit-scrollbar:horizontal { height: .625rem; } ::-webkit-scrollbar:not(:horizontal) { width: .625rem; } ::-webkit-scrollbar-track { background: rgba(0, 0, 0, .08); border-radius: .5rem; } ::-webkit-scrollbar-thumb { background: rgba(30, 114, 149, .35); border-radius: .5rem; border: 2px solid transparent; background-clip: padding-box; } ::-webkit-scrollbar-thumb:hover { background: rgba(30, 114, 149, .6); border-radius: .5rem; border: 2px solid transparent; background-clip: padding-box; } ::-webkit-scrollbar-thumb:active { background: #185D79; border-radius: .5rem; border: 2px solid transparent; background-clip: padding-box; } ::-webkit-scrollbar-corner { background: rgba(0, 0, 0, .08); } @layer components { @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } } @keyframes scale { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.5); } } .dot { position: absolute; width: 2px; height: 2px; background-color: white; animation: blink 2s infinite; } .star { position: absolute; width: 10px; height: 10px; color: #ffffff; &:after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: currentColor; width: 5px; height: 5px; -webkit-animation: blink 1s linear infinite; animation: blink 1s linear infinite; } .star-part { position: absolute; background-color: currentColor; &:nth-child(1) { top: 0; left: 50%; width: 1px; height: 100%; transform: translateX(-50%); } &:nth-child(2) { top: 50%; left: 0; width: 100%; height: 1px; transform: translateY(-50%); } } } .toolbar { @apply relative; background: rgb(33, 33, 33); background: linear-gradient(0deg, rgba(33, 33, 33, 0.9) 0%, rgba(51, 51, 51, 0.9) 100%); &::before { content: ""; display: block; position: absolute; top: 1px; left: 0; right: 0; height: 2px; background-color: rgba(255, 255, 255, 0.05); } &::after { content: ""; display: block; position: absolute; bottom: 2px; left: 0; right: 0; height: 2px; background-color: rgba(0, 0, 0, 0.1); } } .avatar-image { @apply pointer-events-none relative h-[130px] w-[90px] bg-position-[center_-8px] bg-no-repeat; } .ubuntu-close-button { @apply inline-block h-[20px] w-[19px] bg-transparent bg-position-[0px_0px] bg-no-repeat outline-0; background-image: url("@/assets/images/ui/ubuntu-close-buttons.png"); &:hover { @apply bg-position-[-38px]; } &:active { @apply bg-position-[-19px]; } } } .unique-item { .unique-bg-override { @apply z-2 bg-center bg-no-repeat; } &:before { @apply absolute z-1 size-full bg-center bg-no-repeat [content:""]; background-image: url("@/assets/images/unique/grid-bg.png"); } &:after { @apply absolute bottom-0 z-4 size-full bg-center bg-no-repeat [content:""]; background-image: url("@/assets/images/unique/grid-bg-glass.png"); } &.sold-out:after { @apply bg-center bg-no-repeat; background-image: url("@/assets/images/unique/grid-bg-sold-out.png"), url("@/assets/images/unique/grid-bg-glass.png"); } .unique-item-counter { background-image: url("@/assets/images/unique/grid-count-bg.png"); @apply bottom-px z-3 mx-auto my-0 flex h-[9px] w-full items-center justify-center bg-center bg-no-repeat; } } .unique-sold-out-blocker { width: 364px; height: 30px; background: url("@/assets/images/unique/catalog-info-sold-out.png"); div { float: right; width: 140px; text-align: center; font-weight: bold; margin-top: 5px; margin-right: 17px; color: #000; } } .unique-compact-plate { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; right: 16px; width: 34px; height: 37px; background: url("@/assets/images/unique/inventory-info-amount-bg.png"); div { display: flex; justify-content: center; align-items: center; height: 9.5px; } } .unique-complete-plate { width: 170px; height: 29px; background: url("@/assets/images/unique/catalog-info-amount-bg.png") no-repeat center; z-index: 1; padding-top: 3px; .plate-container { margin-left: 45px; width: 100px; font-size: 10px; color: black; > :first-child { margin-bottom: 2px; } } } .limited-edition-number { display: inline-block; outline: 0; height: 5px; margin-right: 1px; background-image: url("@/assets/images/unique/numbers.png"); background-repeat: no-repeat; &:last-child { margin-right: 0px; } &.n-0 { width: 4px; baseackground-position: -1px 0px; } &.n-1 { width: 2px; background-position: -6px 0px; } &.n-2 { width: 4px; background-position: -9px 0px; } &.n-3 { width: 4px; background-position: -14px 0px; } &.n-4 { width: 4px; background-position: -19px 0px; } &.n-5 { width: 4px; background-position: -24px 0px; } &.n-6 { width: 4px; background-position: -29px 0px; } &.n-7 { width: 4px; background-position: -34px 0px; } &.n-8 { width: 4px; background-position: -39px 0px; } &.n-9 { width: 4px; background-position: -44px 0px; } } .layout-grid-item { height: var(--nitro-grid-column-min-height, unset); background-position: center; background-repeat: no-repeat; background-color: #cdd3d9; } .nitro-friends-spritesheet { background: url('@/assets/images/friends/friends-spritesheet.png') transparent no-repeat; &.icon-friendbar-visit { width: 21px; height: 21px; background-position: -38px -5px; } &.icon-heart { width: 16px; height: 14px; background-position: -5px -67px; } &.icon-new-message { width: 14px; height: 14px; background-position: -96px -53px; } &.icon-none { width: 16px; height: 14px; background-position: -31px -67px; } &.icon-profile { width: 21px; height: 21px; background-position: -5px -36px; } &.icon-profile-sm { width: 13px; height: 11px; background-position: -51px -91px; &:hover { width: 13px; height: 11px; background-position: -74px -91px; } } &.icon-smile { width: 16px; height: 14px; background-position: -57px -67px; } &.icon-warning { width: 23px; height: 21px; background-position: -5px -5px; } &.icon-accept { width: 13px; height: 14px; background-position: -5px -91px; } &.icon-add { width: 16px; height: 15px; background-position: -69px -31px; } &.icon-bobba { width: 16px; height: 14px; background-position: -96px -5px; } &.icon-chat { width: 17px; height: 16px; background-position: -69px -5px; } &.icon-deny { width: 13px; height: 14px; background-position: -28px -91px; } &.icon-follow { width: 16px; height: 14px; background-position: -96px -29px; } &.icon-friendbar-chat { width: 20px; height: 21px; background-position: -36px -36px; } } /* Avatar editor icons are now rendered as tags via AvatarEditorIcon.tsx */ .nitro-avatar-editor-wardrobe-figure-preview { background-color: #677181; overflow: hidden; z-index: 1; .avatar-image { position: absolute; bottom: 15px; margin: 0 auto; z-index: 4; } .avatar-shadow { position: absolute; left: 0; right: 0; bottom: 25px; width: 40px; height: 20px; margin: 0 auto; border-radius: 100%; background-color: rgba(0, 0, 0, 0.20); z-index: 2; } &:after { position: absolute; content: ''; top: 75%; bottom: 0; left: 0; right: 0; border-radius: 50%; background-color: #677181; box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.6); transform: scale(2); } .button-container { position: absolute; bottom: 0; z-index: 5; } } .nitro-avatar-editor { .category-item { height: 32px; } .figure-preview-container { position: relative; height: 100%; background-color: #677181; overflow: hidden; z-index: 1; .arrow-container { position: absolute; width: 100%; margin: 0 auto; padding: 0 10px; display: flex; justify-content: space-between; bottom: 12px; z-index: 5; .icon { cursor: pointer; } } .avatar-image { position: absolute; left: 0; right: 0; bottom: 50px; margin: 0 auto; z-index: 4; } .avatar-spotlight { position: absolute; top: -10px; left: 0; right: 0; margin: 0 auto; opacity: 0.3; pointer-events: none; z-index: 3; } .avatar-shadow { position: absolute; left: 0; right: 0; bottom: 15px; width: 70px; height: 30px; margin: 0 auto; border-radius: 100%; background-color: rgba(0, 0, 0, 0.20); z-index: 2; } &:after { position: absolute; content: ''; top: 75%; bottom: 0; left: 0; right: 0; border-radius: 50%; background-color: #677181; box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.6); transform: scale(2); } } } /* Font Size */ .fs-custom { font-size: var(--font-size, 16px); /* Fallback to 16px if not set */ } /* Header and Tab Colors */ .bg-card-header { background-color: #1e7295; /* e.g., #2c3e50 */ } .bg-card-tabs { background-color: #185d79; /* Match bg-card-header */ } .nitro-wired { background: #d5d5d5; border: 1px solid #8f8f8f !important; border-radius: 6px !important; box-shadow: inset 0 1px 0 #ffffff, 0 2px 0 rgba(0, 0, 0, 0.18) !important; color: #000; overflow: hidden; .nitro-wired__header { min-height: 22px !important; max-height: 22px !important; background: linear-gradient(180deg, #f1f1f1 0%, #dfdfdf 45%, #c8c8c8 46%, #d7d7d7 100%) !important; border-bottom: 1px solid #9b9b9b; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95) !important; padding-top: 0 !important; span { color: #000 !important; font-size: 12px !important; font-weight: 700; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) !important; letter-spacing: 0.01em; } } .ubuntu-close-button { transform: scale(0.82); transform-origin: center; } .nitro-wired__content { background: #d9d9d9 !important; padding: 4px !important; gap: 4px !important; } .nitro-wired__section { display: flex; flex-direction: column; gap: 3px; } .nitro-wired__section .font-bold { width: 100%; font-weight: 400 !important; text-align: center; } .nitro-wired__summary-description, .nitro-wired__furni-selector-description, .nitro-wired__picker-label { line-height: 1.15; } .nitro-wired__divider, hr { height: 1px; border: 0; background: #a6a6a6; box-shadow: 0 1px 0 #f8f8f8; margin: 0 !important; } .form-check-input, input[type='checkbox'], input[type='radio'] { width: 18px; height: 18px; min-width: 18px; appearance: none; -webkit-appearance: none; border: 1px solid #8e8e8e; border-radius: 5px; background: linear-gradient(180deg, #fcfcfc 0%, #ececec 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9); cursor: pointer; position: relative; } input[type='radio'] { border-radius: 50%; } .form-check-input:focus, input[type='checkbox']:focus, input[type='radio']:focus { outline: 1px solid #4b7ea1; outline-offset: 1px; } .form-check-input[type='radio']:checked, input[type='radio']:checked { background: radial-gradient(circle at center, #4a4a4a 0 34%, transparent 38%), linear-gradient(180deg, #fcfcfc 0%, #ececec 100%); border-color: #767676; } .form-check-input[type='checkbox']:checked, input[type='checkbox']:checked { background: linear-gradient(135deg, transparent 0 46%, #ffffff 46% 54%, transparent 54% 100%), linear-gradient(45deg, transparent 0 30%, #4a4a4a 30% 42%, transparent 42% 100%), linear-gradient(180deg, #d9d9d9 0%, #c8c8c8 100%); border-color: #767676; } .form-control, input[type='text'], input[type='number'], textarea { min-height: 24px; border: 1px solid #8d8d8d !important; border-radius: 4px !important; background: #f6f6f6 !important; color: #000 !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95); font-size: 11px; padding: 3px 6px; } .nitro-wired__button, .nitro-wired__picker-button, .nitro-slider-button { display: inline-flex !important; align-items: center !important; justify-content: center !important; min-height: 20px !important; border: 1px solid #8e8e8e !important; border-radius: 5px !important; background: linear-gradient(180deg, #f6f6f6 0%, #e4e4e4 49%, #d0d0d0 50%, #ececec 100%) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92) !important; color: #000 !important; padding-top: 0 !important; padding-bottom: 0 !important; } .nitro-wired__button:hover, .nitro-wired__picker-button:hover, .nitro-slider-button:hover { filter: brightness(0.98); } .nitro-wired__button--primary, .nitro-wired__button--secondary { font-weight: 700; } .nitro-slider-wrapper { align-items: center; gap: 2px; } .nitro-wired__advanced-toggle { width: 100%; padding: 0 !important; border: 0; background: transparent; color: #000; font: inherit; text-align: center; text-decoration: underline; } .nitro-wired__advanced-body, .nitro-wired__source-detail { display: flex; flex-direction: column; gap: 4px; } .nitro-wired__source-row { display: flex; flex-direction: column; gap: 3px; } .nitro-wired__selection-toggle { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; padding: 0; border: 1px solid #8e8e8e; border-radius: 4px; background: linear-gradient(180deg, #f6f6f6 0%, #e4e4e4 49%, #d0d0d0 50%, #ececec 100%); color: #7b7b7b; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92); } .nitro-wired__selection-toggle.is-active.nitro-wired__selection-toggle--primary { border-color: #66793c; background: linear-gradient(180deg, #a5b56e 0%, #8ea25a 100%); color: #fff; } .nitro-wired__selection-toggle.is-active.nitro-wired__selection-toggle--secondary { border-color: #6172b7; background: linear-gradient(180deg, #8d9bdd 0%, #7383cb 100%); color: #fff; } .nitro-wired__selection-toggle:disabled { opacity: 0.55; } .nitro-wired__selection-toggle svg { font-size: 10px; margin: 0; } .nitro-wired__actions { gap: 4px !important; } .nitro-wired__picker-button, .nitro-slider-button { width: 22px; min-width: 22px !important; flex: 0 0 22px; padding-left: 0 !important; padding-right: 0 !important; } .nitro-wired__picker-button svg, .nitro-slider-button svg { margin: 0; } .nitro-wired__picker-label { min-width: 0; text-align: center; word-break: break-word; } .nitro-slider { height: 16px; } .nitro-slider .track { height: 4px; border-radius: 999px; border: 1px solid #9a9a9a; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95); &.track-0 { background: linear-gradient(180deg, #7f9fb1 0%, #64889e 100%); } &.track-1 { background: linear-gradient(180deg, #e9e9e9 0%, #d5d5d5 100%); } } .nitro-slider .thumb { width: 12px; height: 12px; margin-top: 3px; border-radius: 50%; border: 1px solid #7f7f7f; background: linear-gradient(180deg, #fefefe 0%, #dadada 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.9); } } /* ── Avatar Editor ─────────────────────────────────────────────────────── */ .color-picker-frame { border-image-source: url('@/assets/images/avatareditor/color_frame.png'); border-image-slice: 6 6 6 6 fill; border-image-width: 6px 6px 6px 6px; width: 14px; height: 21px; border-radius: 4px; &.active, &:hover { border-image-source: url('@/assets/images/avatareditor/color_frame_active.png'); height: 21px; margin-top: -2px; } } .hc-icon { background-image: url('@/assets/images/avatareditor/hc_icon.png'); height: 9px; width: 10px; bottom: 2px; left: 2px; } .avatar-parts { border: none !important; position: relative; aspect-ratio: 1; width: 100%; max-width: 42px; border-radius: 2rem !important; overflow: hidden !important; background-color: transparent; &:hover { box-shadow: 0 0 0 3px #dbdad5 !important; background-color: #cecdc8 !important; } &:active, &.part-selected { box-shadow: 0 0 0 3px #c5c3c0 !important; background-color: #b1b1b1 !important; } } .avatar-container { padding: 3px; height: 50px; border-radius: 0.3rem; background-color: #a7a6a2; width: 48px; } .avatar-parts-container { height: 70%; } .avatar-color-palette-container { height: 30%; width: 100% !important; } .dual-palette { display: flex !important; flex-direction: row !important; } .avatar-editor-palette-set-view { padding-right: 15px !important; flex-grow: 1; } .action-buttons { gap: 5px; } /* ── Avatar Editor tab icons ───────────────────────────────────────────── */ .avatar-editor-tabs { position: relative; .tab { background-position-x: center; background-position-y: center; background-repeat: no-repeat; width: 34px; height: 22px; } .hd { background-image: url('@/assets/images/wardrobe/hd.png'); } .head { background-image: url('@/assets/images/wardrobe/head.png'); } .torso { background-image: url('@/assets/images/wardrobe/torso.png'); } .legs { background-image: url('@/assets/images/wardrobe/legs.png'); } .tab-wardrobe { width: 40px; height: 28px; background-size: 38px 28px; background-image: url('@/assets/images/wardrobe/wardrobe.png'); background-repeat: no-repeat; background-position: center; filter: contrast(1.2) brightness(1.05); } .tab-pets { width: 34px; height: 22px; background-image: url('@/assets/images/wardrobe/pets.png'); background-repeat: no-repeat; background-position: center; background-size: 22px 22px; } .tab-nft { width: 34px; height: 22px; background-image: url('@/assets/images/wardrobe/nft.png'); background-repeat: no-repeat; background-position: center; background-size: 22px 22px; } } /* ── Avatar Editor misc ─────────────────────────────────────────────────── */ /* ── Pet Companion ─────────────────────────────────────────────────────── */ .pet-equipped-bar { display: flex; align-items: center; gap: 10px; padding: 6px 10px; background-color: rgba(0, 0, 0, 0.25); border-radius: 0.3rem; margin: 0 2px; min-height: 48px; } .pet-equipped-preview { width: 42px; height: 42px; border-radius: 4px; background-color: rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; } .pet-equipped-thumb { width: 100%; height: 100%; background-repeat: no-repeat; background-position: center; background-size: contain; } .pet-paw-icon { width: 24px; height: 24px; background-image: url('@/assets/images/wardrobe/pets.png'); background-repeat: no-repeat; background-position: center; background-size: contain; } .pet-grid-container .avatar-parts { background-size: contain; overflow: hidden !important; } .pet-sellable-locked { opacity: 0.5; cursor: not-allowed !important; position: relative; } .pet-sellable-badge { position: absolute; bottom: 2px; right: 2px; display: flex; align-items: center; gap: 1px; background-color: rgba(0, 0, 0, 0.6); border-radius: 3px; padding: 1px 3px; font-size: 9px; color: #ffd700; font-weight: bold; } .pet-remove-btn { background: none; border: none; color: #e57373; font-size: 11px; cursor: pointer; padding: 0; text-align: left; width: fit-content; &:hover { color: #ff5252; text-decoration: underline; } } .saved-outfits-title { color: #a7a6a2; font-weight: bold; } .nitro-avatar-editor-wardrobe-container { background-color: #cacaca; border-radius: 0.3rem; border: solid 1px #000; width: 100%; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 10px 12px 10px 0; overflow-y: auto; } .nitro-avatar-editor-wardrobe-figure-preview { border-image-source: url('@/assets/images/avatareditor/wardrobe_user_bg.png'); border-image-slice: 4 4 4 4 fill; border-image-width: 4px 4px 4px 4px; background-color: transparent; overflow: hidden; position: relative; .avatar-shadow { position: absolute; left: 0; right: 0; bottom: 25px; width: 40px; height: 20px; margin: 0 auto; border-radius: 100%; background-color: rgba(0, 0, 0, 0.20); z-index: 2; } .button-container { position: absolute; bottom: 0; z-index: 5; width: 100%; } }