5180 fichiers 38.5 Mo 0 téléchargements 191 vues mis à jour il y a 5 heures ui
nitro-v36-with-renderer-v36 / src / css / avatar-editor / AvatarEditorView.css
AvatarEditorView.css 31.2 Ko Télécharger le fichier
.octane-avatar-editor {
    width: 490px;
    min-width: 490px;
    max-width: 490px;
    height: 523px;
    min-height: 523px;
    max-height: 523px;
    resize: none !important;
}

.octane-avatar-editor.is-wardrobe-open {
    width: 669px;
    min-width: 669px;
    max-width: 669px;
}

.octane-avatar-editor > .octane-card-header-shell {
    min-height: 33px !important;
    max-height: 33px !important;
    flex: 0 0 33px;
}

.octane-avatar-editor .octane-avatar-editor-content.octane-card-content-shell {
    position: absolute;
    left: 0;
    top: 33px;
    z-index: 1;
    display: flex;
    width: 100%;
    height: 490px;
    max-height: 490px !important;
    min-height: 0;
    flex: 0 0 490px;
    flex-direction: row;
    padding: 0 !important;
    overflow: hidden !important;
}

.octane-avatar-editor-stage {
    position: relative;
    width: 490px;
    height: 490px;
    min-width: 490px;
    flex: 0 0 490px;
    overflow: hidden;
    background: #e9e9e1;
}

.octane-avatar-editor-stage::before {
    content: '';
    position: absolute;
    left: 1px;
    top: 109px;
    z-index: 1;
    width: 486px;
    height: 365px;
    background: url('@/assets/images/avatareditor/air/tab-content.png') 0 0 / 486px 365px no-repeat;
    image-rendering: var(--octane-pixel-art, pixelated);
    pointer-events: none;
}

.octane-avatar-editor-nameplate {
    position: absolute;
    /* name_background reaches the window's frame on both sides; no stage grey beside it. */
    left: 0;
    top: 0;
    z-index: 0;
    box-sizing: border-box;
    width: 100%;
    height: 110px;
    overflow: hidden;
    background: #0e3f52;
}

.octane-avatar-editor .octane-avatar-editor-nameplate span {
    position: absolute;
    left: 40px;
    top: 15px;
    width: 400px;
    height: 35px;
    overflow: hidden;
    color: #fff !important;
    font-family: HabboAirUbuntu, UbuntuRegular, sans-serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 35px !important;
    text-align: center;
    text-overflow: ellipsis;
    text-shadow: none !important;
    white-space: nowrap;
}

.octane-avatar-editor-tab-row {
    position: absolute;
    left: 9px;
    top: 79px;
    z-index: 4;
    width: 416px;
    height: 46px;
}

.octane-avatar-editor .avatar-editor-tabs.octane-card-tabs-shell {
    position: static;
    justify-content: flex-start !important;
    box-sizing: border-box;
    width: max-content;
    height: 46px;
    min-height: 46px;
    max-height: 46px;
    gap: 0 !important;
    padding: 0 !important;
    overflow: visible;
    border: 0;
    background: transparent;
}

.octane-avatar-editor .avatar-editor-tabs .octane-avatar-editor-main-tab {
    box-sizing: border-box;
    width: 52px;
    min-width: 52px;
    max-width: 52px;
    height: 46px;
    min-height: 46px !important;
    max-height: 46px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: url('@/assets/images/avatareditor/air/tab-default.png') 0 0 / 52px 32px no-repeat !important;
    box-shadow: none !important;
    image-rendering: var(--octane-pixel-art, pixelated);
}

.octane-avatar-editor .avatar-editor-tabs .octane-avatar-editor-main-tab:hover {
    background-image: url('@/assets/images/avatareditor/air/tab-hover.png') !important;
}

.octane-avatar-editor .avatar-editor-tabs .octane-avatar-editor-main-tab.octane-card-tab-item-active {
    z-index: 2;
    background-image: url('@/assets/images/avatareditor/air/tab-selected.png') !important;
    box-shadow: none !important;
}

.octane-avatar-editor .avatar-editor-tabs .octane-avatar-editor-main-tab > .flex {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 52px;
    height: 42px;
    align-items: stretch;
    padding: 0;
}

.octane-avatar-editor .octane-avatar-editor-main-tab-icon {
    position: absolute;
    left: 5px;
    top: 4px;
    display: block;
    width: auto;
    max-width: none;
    height: auto;
    max-height: none;
    object-fit: none;
    image-rendering: var(--octane-pixel-art, pixelated);
    pointer-events: none;
}

.octane-avatar-editor .octane-avatar-editor-main-tab.is-hd .octane-avatar-editor-main-tab-icon {
    left: 6px;
    top: 5px;
}

.octane-avatar-editor .octane-avatar-editor-main-tab.is-misc .octane-avatar-editor-main-tab-icon {
    left: 14px;
    top: 12px;
}

.octane-avatar-editor .octane-avatar-editor-main-tab.is-nft .octane-avatar-editor-main-tab-icon {
    left: 14px;
    top: 4px;
}

.octane-avatar-editor .octane-avatar-editor-main-tab.is-pets .octane-avatar-editor-main-tab-icon {
    left: 13px;
    top: 4px;
}

.octane-avatar-editor-wardrobe-toggle {
    appearance: none;
    position: absolute;
    left: 424px;
    top: 9px;
    z-index: 5;
    box-sizing: border-box;
    width: 55px;
    height: 30px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    border: 5px solid transparent;
    border-image-source: var(--habbo-skin-shiny);
    border-image-slice: 5 fill;
    border-image-width: 5px;
    border-image-repeat: stretch;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    image-rendering: var(--octane-pixel-art, pixelated);
}

.octane-avatar-editor-wardrobe-toggle > img {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    display: block;
    width: 29px;
    height: 21px;
    image-rendering: var(--octane-pixel-art, pixelated);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.octane-avatar-editor-wardrobe-toggle:hover {
    border-image-source: var(--habbo-skin-shiny-hover);
}

.octane-avatar-editor-wardrobe-toggle:active {
    border-image-source: var(--habbo-skin-shiny-pressed);
}

.octane-avatar-editor-wardrobe-toggle:focus-visible,
.octane-avatar-editor .category-item:focus-visible,
.octane-avatar-editor-rotate:focus-visible,
.octane-avatar-editor-advanced-color:focus-visible,
.octane-avatar-editor-secondary-actions > button:focus-visible,
.octane-avatar-editor-save:focus-visible {
    outline: 2px solid var(--octane-card-focus, #ffd95a);
    outline-offset: 1px;
}

.octane-avatar-editor-main,
.octane-avatar-editor-model {
    position: absolute;
    inset: 0;
}

.octane-avatar-editor-main {
    z-index: 2;
}

.octane-avatar-editor .octane-avatar-editor-subcategories {
    position: absolute;
    left: 23px;
    top: 120px;
    z-index: 2;
    display: flex;
    box-sizing: border-box;
    width: 310px;
    height: 35px;
    align-items: center;
    gap: 5px;
    padding-left: 6px;
    overflow-x: auto;
    overflow-y: hidden;
}

.octane-avatar-editor-subcategories.is-gender {
    gap: 0;
    padding-left: 0;
}

.octane-avatar-editor-subcategories.is-paged {
    width: 276px;
}

.octane-avatar-editor .category-item {
    appearance: none;
    display: flex;
    box-sizing: border-box;
    width: 47px;
    min-width: 47px;
    height: 35px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    border: 0;
    background: transparent;
}

.octane-avatar-editor .category-item.gender-category-item {
    position: relative;
    width: 100px;
    min-width: 100px;
    justify-content: flex-start;
    overflow: visible;
    /* tab_boy_title / tab_girl_title: style 3 text without a text_color, so u_bold black. */
    color: #000000;
    font-family: HabboAirUbuntu, UbuntuRegular, sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
}

.octane-avatar-editor .gender-category-item .avatar-editor-icon {
    position: absolute;
    left: 0;
    top: 0;
}

.octane-avatar-editor .gender-category-item:first-child .avatar-editor-icon {
    left: 6px;
}

.octane-avatar-editor .gender-category-item > span {
    position: absolute;
    left: 50px;
    top: 10px;
    width: 143px;
    overflow: hidden;
    color: #000000 !important;
    font-family: HabboAirUbuntu, UbuntuRegular, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 17px;
    text-overflow: ellipsis;
}

.octane-avatar-editor .avatar-editor-icon {
    width: 47px;
    min-width: 47px;
    height: 35px;
    image-rendering: var(--octane-pixel-art, pixelated);
}

.octane-avatar-editor .avatar-editor-icon img {
    display: block;
    width: auto !important;
    max-width: 47px;
    height: auto !important;
    max-height: 35px;
    object-fit: none;
    image-rendering: var(--octane-pixel-art, pixelated);
}

.octane-avatar-editor-parts-grid {
    position: absolute;
    left: 21px;
    top: 168px;
    width: 330px;
    height: 200px;
    overflow: hidden;
}

.octane-avatar-editor-parts-grid .octane-classic-scroll-area-viewport {
    box-sizing: border-box;
    padding-right: 17px;
}

.octane-avatar-editor-parts-grid [data-index] {
    grid-template-columns: repeat(6, 50px) !important;
    justify-content: start;
}

.octane-avatar-editor .avatar-parts {
    position: relative;
    box-sizing: border-box;
    width: 50px !important;
    min-width: 50px;
    max-width: 50px;
    height: 50px !important;
    min-height: 50px;
    max-height: 50px;
    aspect-ratio: auto;
    margin: 0 auto;
    padding: 0;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    box-shadow: none !important;
    image-rendering: var(--octane-pixel-art, pixelated);
}

.octane-avatar-editor .avatar-parts::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    display: none;
    background: url('@/assets/images/avatareditor/air/part-highlight.png') center no-repeat;
    image-rendering: var(--octane-pixel-art, pixelated);
    pointer-events: none;
}

.octane-avatar-editor .avatar-parts:hover::before {
    display: block;
    opacity: 0.5;
}

.octane-avatar-editor .avatar-parts.part-selected::before {
    display: block;
    opacity: 1;
}

.octane-avatar-editor .avatar-parts.is-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: url('@/assets/images/avatareditor/air/download.png') center no-repeat;
    background-size: auto;
    animation: none;
    image-rendering: var(--octane-pixel-art, pixelated);
    pointer-events: none;
}

.octane-avatar-editor .avatar-parts > * {
    position: relative;
    z-index: 1;
}

.octane-avatar-editor .avatar-parts > img {
    display: block;
    width: auto;
    max-width: none;
    height: auto;
    max-height: none;
    object-fit: none;
    image-rendering: var(--octane-pixel-art, pixelated);
}

.octane-avatar-editor .avatar-parts > .avatar-editor-face-thumbnail {
    width: auto;
    max-width: none;
    height: auto;
    max-height: none;
    object-fit: contain;
}

.octane-avatar-editor .avatar-parts > .avatar-editor-face-thumbnail.is-disabled {
    opacity: 0.2;
}

.octane-avatar-editor .avatar-parts > .avatar-editor-icon.absolute {
    position: absolute;
}

.octane-avatar-editor .avatar-parts .avatar-editor-icon {
    width: 50px;
    min-width: 50px;
    height: 50px;
}

.octane-avatar-editor .avatar-parts .avatar-editor-icon img {
    max-width: 50px;
    max-height: 50px;
}

.octane-avatar-editor .avatar-editor-part-hc {
    position: absolute;
    right: 0;
    bottom: 1px;
    z-index: 3;
    width: 10px;
    height: 9px;
}

.octane-avatar-editor .avatar-parts > .avatar-editor-sellable-icon {
    position: absolute;
    left: 0;
    right: auto;
    bottom: 0;
    width: 17px;
    min-width: 17px;
    height: 20px;
    align-items: flex-end;
}

.octane-avatar-editor .avatar-parts > .avatar-editor-sellable-icon img {
    width: 17px;
    height: 18px;
}

.octane-avatar-editor .pet-sellable-locked {
    cursor: not-allowed !important;
    opacity: 0.5;
}

.octane-avatar-editor .pet-sellable-badge {
    position: absolute;
    right: 1px;
    bottom: 1px;
    z-index: 3;
}

.octane-avatar-editor-empty-state {
    position: absolute;
    left: 21px;
    top: 168px;
    display: flex;
    width: 330px;
    height: 200px;
    align-items: center;
    justify-content: center;
    color: #83827e;
    font-size: 11px;
    text-align: center;
}

.octane-avatar-editor-pet-equipped {
    display: flex;
    width: 250px;
    min-width: 0;
    height: 35px;
    align-items: center;
    gap: 3px;
    overflow: hidden;
    color: #555;
    font-size: 10px;
}

.octane-avatar-editor-pet-equipped > img,
.octane-avatar-editor-pet-equipped > .avatar-editor-icon {
    width: 35px;
    min-width: 35px;
    height: 35px;
    object-fit: contain;
}

.octane-avatar-editor-pet-equipped > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.octane-avatar-editor-pet-remove {
    appearance: none;
    display: flex;
    width: 35px;
    min-width: 35px;
    height: 35px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    cursor: pointer;
    border: 0;
    background: transparent;
}

.octane-avatar-editor-pet-remove .avatar-editor-icon {
    width: 29px;
    min-width: 29px;
    height: 29px;
}

.octane-avatar-editor-palettes {
    position: absolute;
    left: 21px;
    top: 378px;
    display: flex;
    width: 330px;
    height: 93px;
    gap: 10px;
    overflow: hidden;
}

.octane-avatar-editor-palettes .avatar-editor-palette-set-view {
    width: 330px;
    height: 93px;
    flex: 0 0 330px;
    padding: 0 !important;
    overflow: hidden;
}

.octane-avatar-editor-palettes.dual-palette .avatar-editor-palette-set-view {
    width: 160px;
    flex-basis: 160px;
}

.avatar-editor-palette-grid {
    display: grid;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    grid-template-columns: repeat(var(--avatar-editor-palette-columns), 15px);
    grid-auto-rows: 23px;
    align-content: start;
    justify-content: start;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-gutter: stable;
}

.avatar-editor-palette-item {
    appearance: none;
    position: relative;
    box-sizing: border-box;
    width: 15px;
    height: 23px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    border: 0;
    background: transparent;
    image-rendering: var(--octane-pixel-art, pixelated);
}

.avatar-editor-palette-color,
.avatar-editor-palette-frame {
    position: absolute;
    left: 1px;
    top: 0;
    display: block;
    width: 13px;
    height: 21px;
    pointer-events: none;
}

.avatar-editor-palette-color {
    background-image: url('@/assets/images/avatareditor/air/palette-color.png');
    background-repeat: no-repeat;
    background-position: center;
    background-blend-mode: multiply;
    -webkit-mask: url('@/assets/images/avatareditor/air/palette-color.png') center / 13px 21px no-repeat;
    mask: url('@/assets/images/avatareditor/air/palette-color.png') center / 13px 21px no-repeat;
    image-rendering: var(--octane-pixel-art, pixelated);
}

.avatar-editor-palette-frame {
    background: url('@/assets/images/avatareditor/air/palette-default.png') center no-repeat;
    image-rendering: var(--octane-pixel-art, pixelated);
}

.avatar-editor-palette-item:hover .avatar-editor-palette-frame,
.avatar-editor-palette-item.is-selected .avatar-editor-palette-frame {
    background-image: url('@/assets/images/avatareditor/air/palette-selected.png');
}

.avatar-editor-palette-item.is-locked {
    opacity: 0.5;
}

.avatar-editor-palette-hc {
    position: absolute;
    left: 3px;
    top: 10px;
    z-index: 2;
    width: 10px;
    height: 9px;
    image-rendering: var(--octane-pixel-art, pixelated);
    pointer-events: none;
}

.octane-avatar-editor .octane-avatar-editor-advanced-color {
    appearance: none;
    position: absolute;
    left: 357px;
    top: 126px;
    z-index: 3;
    display: flex;
    box-sizing: border-box;
    width: 122px;
    height: 24px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0;
    padding: 0 4px;
    cursor: pointer;
    border: 3px solid transparent;
    border-image-source: var(--habbo-skin-button);
    border-image-slice: 3 fill;
    border-image-width: 3px;
    color: #151515;
    font-family: HabboAirUbuntu, UbuntuRegular, sans-serif !important;
    font-size: 12px !important;
    line-height: 18px !important;
    white-space: nowrap;
}

.octane-avatar-editor-advanced-color:hover {
    border-image-source: var(--habbo-skin-button-hover);
}

.octane-avatar-editor-advanced-color:active,
.octane-avatar-editor-advanced-color.is-active {
    border-image-source: var(--habbo-skin-button-pressed);
}

.octane-avatar-editor-preview-shell {
    position: absolute;
    left: 352px;
    top: 158px;
    z-index: 2;
    width: 125px;
    height: 236px;
}

.octane-avatar-editor .figure-preview-container {
    position: relative;
    width: 125px;
    height: 210px;
    overflow: hidden;
    background: #677181;
}

.octane-avatar-editor .figure-preview-container::after {
    content: '';
    position: absolute;
    top: 75%;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    border-radius: 50%;
    background: #677181;
    box-shadow: 0 0 8px 2px rgb(255 255 255 / 0.6);
    transform: scale(2);
    pointer-events: none;
}

.octane-avatar-editor .figure-preview-container .avatar-image {
    position: absolute;
    left: 18px;
    right: auto;
    bottom: 38px;
    z-index: 2;
    width: 90px;
    height: 130px;
    margin: 0;
    image-rendering: var(--octane-pixel-art, pixelated);
}

.octane-avatar-editor-rotate {
    appearance: none;
    position: absolute;
    left: 38px;
    top: 207px;
    width: 50px;
    height: 31px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    border: 0;
    background: transparent;
}

.octane-avatar-editor-rotate img {
    display: block;
    width: 44px;
    height: 29px;
    image-rendering: var(--octane-pixel-art, pixelated);
    pointer-events: none;
}

.octane-avatar-editor-secondary-actions {
    position: absolute;
    left: 357px;
    top: 405px;
    z-index: 2;
    display: flex;
    width: 122px;
    height: 28px;
    gap: 2px;
}

.octane-avatar-editor-secondary-actions > button {
    appearance: none;
    display: flex;
    box-sizing: border-box;
    min-width: 0;
    height: 28px;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    margin: 0;
    padding: 0 !important;
    cursor: pointer;
    border: 5px solid transparent;
    border-image-source: var(--habbo-skin-shiny);
    border-image-slice: 5 fill;
    border-image-width: 5px;
    border-image-repeat: stretch;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #111 !important;
    image-rendering: var(--octane-pixel-art, pixelated);
}

.octane-avatar-editor-secondary-actions > button:hover {
    border-image-source: var(--habbo-skin-shiny-hover);
}

.octane-avatar-editor-secondary-actions > button:active {
    border-image-source: var(--habbo-skin-shiny-pressed);
}

.octane-avatar-editor-secondary-actions > button .fa-icon {
    width: 14px;
    height: 14px;
}

.octane-avatar-editor .octane-avatar-editor-save {
    appearance: none;
    position: absolute;
    left: 357px;
    top: 443px;
    z-index: 2;
    width: 122px;
    min-width: 122px;
    height: 28px;
    min-height: 28px;
    display: flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 8px !important;
    cursor: pointer;
    border: 5px solid transparent !important;
    border-image-source: var(--habbo-skin-shiny-thick) !important;
    border-image-slice: 5 fill !important;
    border-image-width: 5px !important;
    border-image-repeat: stretch !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #111 !important;
    font-family: HabboAirUbuntu, UbuntuRegular, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 15px !important;
    text-shadow: none !important;
    image-rendering: var(--octane-pixel-art, pixelated);
}

.octane-avatar-editor .octane-avatar-editor-save:hover {
    border-image-source: var(--habbo-skin-shiny-thick-hover) !important;
}

.octane-avatar-editor .octane-avatar-editor-save:active {
    border-image-source: var(--habbo-skin-shiny-thick-pressed) !important;
}

.octane-avatar-editor-wardrobe {
    box-sizing: border-box;
    width: 182px;
    height: 490px;
    flex: 0 0 182px;
    margin-left: -3px;
    padding: 0 8px 0 6px;
    overflow: hidden;
    background: #e9e9e1;
    box-shadow: inset 1px 0 #000;
}

.octane-avatar-editor-wardrobe-header {
    display: flex;
    box-sizing: border-box;
    width: 168px;
    height: 23px;
    align-items: center;
    gap: 10px;
    margin-top: 19px;
}

.octane-avatar-editor .octane-avatar-editor-wardrobe-title {
    overflow: hidden;
    color: #83827e;
    font-family: HabboAirUbuntu, UbuntuRegular, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700;
    line-height: 17px !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.octane-avatar-editor-wardrobe-hc {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    object-fit: contain;
    image-rendering: var(--octane-pixel-art, pixelated);
}

.octane-avatar-editor-wardrobe-slots {
    position: relative;
    display: flex;
    box-sizing: border-box;
    width: 139px;
    height: 418px;
    gap: 4px;
    margin: 11px 0 0 15px;
    padding: 3px 3px 0 4px;
    overflow: hidden;
    border: 0;
    background: #cbcbcb;
    image-rendering: var(--octane-pixel-art, pixelated);
}

.octane-avatar-editor-wardrobe-slots::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    box-sizing: border-box;
    border: 6px solid transparent;
    border-image-source: url('@/assets/images/avatareditor/wardrobe-slots-border.png');
    border-image-slice: 6;
    border-image-width: 6px;
    border-image-repeat: stretch;
    pointer-events: none;
}

.octane-avatar-editor-wardrobe-column {
    display: flex;
    width: 64px;
    flex-direction: column;
    gap: 3px;
}

.octane-avatar-editor-wardrobe-slot {
    position: relative;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.octane-avatar-editor-wardrobe-slot-shade {
    position: absolute;
    left: 29px;
    top: 3px;
    width: 24px;
    height: 50px;
    background: rgb(102 102 102 / 0.3);
    pointer-events: none;
}

.octane-avatar-editor-wardrobe-slot-set,
.octane-avatar-editor-wardrobe-slot-get {
    appearance: none;
    position: absolute;
    width: 22px;
    height: 26px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    border: 0;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    image-rendering: var(--octane-pixel-art, pixelated);
}

.octane-avatar-editor-wardrobe-slot-set {
    left: 3px;
    top: 3px;
    background-image: url('@/assets/images/avatareditor/wardrobe-arrow-save.png');
    background-position: center 12px;
}

.octane-avatar-editor-wardrobe-slot-get {
    left: 2px;
    top: 28px;
    background-image: url('@/assets/images/avatareditor/wardrobe-arrow-wear.png');
    background-position: center 3px;
}

.octane-avatar-editor-wardrobe-slot-set:focus-visible,
.octane-avatar-editor-wardrobe-slot-get:focus-visible,
.octane-avatar-editor-wardrobe-slot-figure:focus-visible {
    outline: 2px solid var(--octane-card-focus, #ffd95a);
    outline-offset: 1px;
}

.octane-avatar-editor-wardrobe-slot-figure {
    appearance: none;
    position: absolute;
    /* Wider and taller than the shade (centred on it) so carried pets and tall hats fit unscaled. */
    left: 26px;
    top: 0;
    width: 30px;
    height: 53px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    border: 0;
    background: transparent;
}

.octane-avatar-editor-wardrobe-slot-figure:disabled {
    cursor: default;
}

.octane-avatar-editor-wardrobe-slot-figure .avatar-image,
.octane-avatar-editor-wardrobe-slot-figure .avatar-image-fit {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.octane-avatar-editor-wardrobe-empty {
    display: block;
    width: 17px;
    height: 43px;
    margin: 6px auto 0;
    image-rendering: var(--octane-pixel-art, pixelated);
    pointer-events: none;
}

.octane-avatar-editor-wardrobe-slot.is-locked {
    opacity: 0.85;
}

@media (max-width: 700px), (max-height: 540px) {
    .octane-avatar-editor {
        width: min(490px, calc(100vw - 16px)) !important;
        min-width: 0;
        max-width: calc(100vw - 16px) !important;
        height: min(523px, calc(100vh - 16px)) !important;
        min-height: 0;
        max-height: calc(100vh - 16px) !important;
    }

    .octane-avatar-editor.is-wardrobe-open {
        width: min(669px, calc(100vw - 16px)) !important;
        min-width: 0;
        max-width: calc(100vw - 16px) !important;
    }

    .octane-avatar-editor .octane-avatar-editor-content.octane-card-content-shell {
        height: calc(100% - 33px) !important;
        max-height: calc(100% - 33px) !important;
        flex: none;
        overflow: auto !important;
    }
}

/* Effects tab: official EffectsView grid + EffectsParamView. */
.octane-avatar-editor-effects-title {
    position: absolute;
    left: 23px;
    top: 120px;
    display: flex;
    align-items: center;
    gap: 4px;
    height: 35px;
    font-size: 20px;
    line-height: 26px;
}

.octane-avatar-editor-effects-title img {
    image-rendering: var(--octane-pixel-art, pixelated);
}

.octane-avatar-editor-effects-grid {
    display: grid;
    grid-template-columns: repeat(6, 50px);
    align-content: start;
}

.octane-avatar-editor .octane-avatar-editor-effects-grid .avatar-parts {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.octane-avatar-editor-effects-grid .avatar-parts img {
    position: relative;
    z-index: 1;
    max-width: 40px;
    max-height: 40px;
    image-rendering: var(--octane-pixel-art, pixelated);
}

/* Overlays: the editor's ".avatar-parts > *" rule would make them flex items and push the icon aside. */
.octane-avatar-editor .avatar-parts > .octane-avatar-editor-effect-amount {
    position: absolute;
    top: 2px;
    left: 30px;
    z-index: 2;
    min-width: 18px;
    height: 14px;
    border: 1px solid #dddddd;
    background: #666666;
    color: #eeeeee;
    font-size: 9px;
    line-height: 12px;
    text-align: center;
}

.octane-avatar-editor .avatar-parts > .octane-avatar-editor-effect-duration {
    position: absolute;
    left: 4px;
    top: 41px;
    z-index: 2;
    width: 42px;
    height: 5px;
    padding: 1px;
    background: #dddddd;
}

.octane-avatar-editor-effect-duration > span {
    display: block;
    height: 3px;
    background: #20bf20;
}

.octane-avatar-editor-effects-empty {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 4px;
    font-size: 12px;
}

.octane-avatar-editor-effects-params {
    position: absolute;
    left: 21px;
    top: 378px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 330px;
    /* effect_name (u_bold), effect_time_left and save_to_activate: 12 px #666666. */
    color: #666666;
    font-size: 12px;
}

.octane-avatar-editor-effect-time {
    position: relative;
    width: 120px;
    height: 18px;
    border: 1px solid #dddddd;
    background: #ffffff;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
}

.octane-avatar-editor-effect-time-bar {
    position: absolute;
    inset: 0 auto 0 0;
    background: #20bf20;
}

.octane-avatar-editor-effect-time span {
    position: relative;
}

/* get_more_button: button_thick tinted 0x00aa00 (the green shiny thick skin), button_shiny_bold 12 px white. */
.octane-avatar-editor-effects-shop {
    align-self: flex-start;
    min-width: 115px;
    height: 28px;
    padding: 0 5px;
    border: 5px solid transparent;
    border-image-source: var(--habbo-skin-shiny-thick-green);
    border-image-slice: 5 fill;
    border-image-width: 5px;
    border-image-repeat: stretch;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
    cursor: pointer;
    image-rendering: var(--octane-pixel-art, pixelated);
}

.octane-avatar-editor-effects-shop:hover {
    border-image-source: var(--habbo-skin-shiny-thick-green-hover);
}

.octane-avatar-editor-effects-shop:active {
    border-image-source: var(--habbo-skin-shiny-thick-green-pressed);
}

.octane-avatar-editor-effect-preview {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* AIR avatar/hotlooks HotLooksView: hotlooks_content (title, "choose" line and a
   299x220 itemgrid of 35x60 Outfit thumbnails, spacing 7). */
.octane-avatar-editor-hotlooks {
    position: absolute;
    left: 23px;
    top: 120px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: 310px;
    height: 290px;
}

.octane-avatar-editor-hotlooks-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 26px;
}

.octane-avatar-editor-hotlooks-choose {
    font-size: 12px;
    line-height: 17px;
    margin: 2px 0 20px;
}

.octane-avatar-editor-hotlooks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 35px);
    gap: 7px;
    margin-left: 4px;
    width: 299px;
    max-height: 220px;
    overflow-y: auto;
}

.octane-avatar-editor-hotlook {
    position: relative;
    width: 35px;
    height: 60px;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.35);
    overflow: hidden;
    cursor: pointer;
}

.octane-avatar-editor-hotlook:hover,
.octane-avatar-editor-hotlook:focus-visible {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.6);
}

/* AIR avatar/nft NftAvatarsView: nfts_content (title, "choose" line and a 299x220
   scrollable itemgrid of collectible looks, spacing 4), laid out like the hot looks. */
.octane-avatar-editor-nfts {
    position: absolute;
    left: 23px;
    top: 120px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: 310px;
    height: 290px;
}

.octane-avatar-editor-nfts-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 26px;
}

.octane-avatar-editor-nfts-choose {
    font-size: 12px;
    line-height: 17px;
    margin: 2px 0 20px;
}

.octane-avatar-editor-nfts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 35px);
    grid-auto-rows: 60px;
    align-content: start;
    gap: 4px;
    margin-left: 4px;
    width: 299px;
    max-height: 220px;
    overflow-y: auto;
}

.octane-avatar-editor-nft-outfit {
    position: relative;
    width: 35px;
    height: 60px;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
}

.octane-avatar-editor-nft-outfit[aria-pressed='true'],
.octane-avatar-editor-nft-outfit:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 1px;
}

.octane-avatar-editor-nft-outfit.is-worn::after {
    content: '';
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #6fd36b;
    box-shadow: 0 0 0 1px #1d3d1c;
}

/* AIR NftWardrobeParamView (collectible_avatar_info): 122x20 label 257px below the preview's top (under the
   rotate arrow), where the NFT tab drops the reset/clear/random row. */
.octane-avatar-editor-nft-info {
    position: absolute;
    left: 357px;
    top: 415px;
    z-index: 3;
    display: flex;
    width: 122px;
    height: 20px;
    align-items: center;
    justify-content: center;
    background: #454545;
    font-size: 10px;
    font-weight: 700;
}
15Sujets
1Dépôts
20Membres
2En ligne
Profile
Inscrit
Dernière visite
Messages
0
Votes positifs
0
Votes négatifs
0

Nous utilisons des cookies pour assurer le bon fonctionnement du site et améliorer votre expérience. en savoir plus

Autoriser