5180 fichiers 38.5 Mo 0 téléchargements 227 vues mis à jour il y a 5 heures ui
nitro-v36-with-renderer-v36 / src / css / room / RoomWidgetsSweepAir.css
RoomWidgetsSweepAir.css 12.9 Ko Télécharger le fichier
/*
 * AIR text and buttons for the room widgets of sweep A: doorbell, room queue, event (promote) edit, room word
 * filter, user / furni chooser, pet and monster plant breeding, New Year resolution, label settings, Wired Link
 * (and its connections), build height, image position editor and the rentable space.
 *
 * Our `Ubuntu` face is the condensed cut; AIR's Ubuntu is the regular one, which in Octane is HabboAirUbuntu.
 * AIR text styles: u_regular / u_bold 12 px, u_italic 12, u_small 10, u_headline_small 14, il_regular 11,
 * il_heading_2 12 bold, il_heading_3 10 bold, il_heading_title 18 bold 0x333333, il_button / il_border 10 bold.
 *
 * Buttons: the shared Button's secondary variant is the old 3 px `button` skin. In these Ubuntu (style 3) frames
 * AIR draws a grey `button` (habbo_skin_button_shiny, 12 px regular black) or a grey `button_thick`
 * (habbo_skin_button_shiny_thick, 12 px bold black); the views pass variant="secondary" where AIR is grey and the
 * rules below give it the right skin. Green stays where the layout is style 5 (button_shiny_thick_green).
 * The Button carries an important 12.6 px Tailwind size (utilities layer); an important rule in the earlier
 * base layer outranks it, so the button rules live in @layer base.
 */

/* ---------- Regular Ubuntu for every window here. ---------- */
.octane-widget-doorbell,
.octane-room-queue-widget,
.octane-room-promote-edit,
.octane-room-filter-words,
.octane-chooser,
.octane-pet-breeding,
.octane-monsterplant-breeding,
.octane-resolution,
.octane-wired-label-settings,
.octane-wired-link,
.octane-wired-link-connections,
.octane-build-height-widget,
.octane-image-position-editor {
    font-family: HabboAirUbuntu, UbuntuRegular, sans-serif;
}

@layer base {
    :is(
            .octane-widget-doorbell,
            .octane-room-queue-widget,
            .octane-room-promote-edit,
            .octane-room-filter-words,
            .octane-chooser,
            .octane-pet-breeding,
            .octane-monsterplant-breeding,
            .octane-resolution,
            .octane-wired-label-settings,
            .octane-wired-link,
            .octane-wired-link-connections,
            .octane-build-height-widget,
            .octane-image-position-editor
        )
        .octane-card-content-shell
        :where(*):not(svg, svg *) {
        font-family: HabboAirUbuntu, UbuntuRegular, sans-serif !important;
    }
}

/* ---------- Style 3 frames: body text u_regular 12 px black. ---------- */
:is(
        .octane-room-queue-widget,
        .octane-room-promote-edit,
        .octane-room-filter-words,
        .octane-monsterplant-breeding,
        .octane-wired-label-settings,
        .octane-wired-link,
        .octane-wired-link-connections,
        .octane-build-height-widget,
        .octane-image-position-editor
    )
    .octane-card-content-shell {
    color: #000;
    font-size: 12px;
    line-height: 15px;
}

/* ---------- doorbell: info is Ubuntu 12 in 0xff0000; user_name Ubuntu 12 black. ---------- */
.octane-widget-doorbell .octane-doorbell-info {
    color: #ff0000;
    font-size: 12px;
    font-weight: 400;
}

/* ---------- room_queue: info_text u_bold 12; spectator_info regular 12; buttons are grey `button`. ---------- */
.octane-room-queue-widget .octane-room-queue-info {
    font-size: 12px;
    font-weight: 700;
}

.octane-room-queue-widget .octane-room-queue-spectator-info {
    font-size: 12px;
    font-weight: 400;
}

/* ---------- rev_room_event (event edit): labels u_bold 12, inputs u_regular 12. ---------- */
.octane-room-promote-edit .octane-room-promote-edit__label {
    font-size: 12px;
    font-weight: 700;
}

.octane-room-promote-edit .octane-card-content-shell :where(input, textarea) {
    color: #000;
    font-size: 12px;
    font-weight: 400;
}

/* ---------- iro_room_filter_framed: the word input u_bold 12, the list (ros_badword) u_regular 12. ---------- */
.octane-room-filter-words .octane-card-content-shell input {
    color: #000;
    font-size: 12px;
    font-weight: 700;
}

.octane-room-filter-words .octane-card-content-shell :where(.truncate) {
    font-size: 12px;
    font-weight: 400;
}

/* ---------- new_chooser_view: search_placeholder 0x666666. ---------- */
.octane-chooser .octane-chooser-bar input[type='text']::placeholder {
    color: #666666;
}

/* ---------- confirm_pet_breeding / nestBreedingSuccessDialog: Illumina (style 100) frames. ---------- */
/* title, pet_description, the texts and the name input: il_regular 11 px black. */
.octane-pet-breeding .octane-card-content-shell {
    color: #000;
    font-size: 11px;
    line-height: 14px;
}

.octane-pet-breeding .octane-card-content-shell :where(.text-sm, input) {
    font-size: 11px;
    line-height: 14px;
}

/* pet_name: il_heading_2, 12 px bold. */
.octane-pet-breeding .octane-pet-breeding__pet-name {
    font-size: 12px;
    font-weight: 700;
}

/* pet_level, the baby name / breeding info labels and the success pet.name: il_heading_3, 10 px bold. */
.octane-pet-breeding .octane-pet-breeding__pet-level,
.octane-pet-breeding .octane-pet-breeding__heading {
    font-size: 10px;
    font-weight: 700;
}

/* ---------- breed_pets_confirmation / breed_pets_result (monster plants): style 3. ---------- */
/* description / request: font_size 13 regular. */
.octane-monsterplant-breeding .octane-card-content-shell > .text-sm {
    color: #000;
    font-size: 13px;
    line-height: 16px;
}

/* info / info_mutate: u_italic at font_size 13. */
.octane-monsterplant-breeding .octane-card-content-shell .octane-monsterplant-breeding__info {
    color: #000;
    font-size: 13px;
    font-style: italic;
    font-weight: 400;
    line-height: 16px;
}

/* plant_name / seed_name, rarity level and description: style 3 texts without a style, u_regular 12. */
.octane-monsterplant-breeding .octane-monsterplant-breeding__plant :where(.text-sm, .font-bold) {
    color: #000;
    font-size: 12px;
    font-weight: 400;
    line-height: 15px;
}

/* ---------- AchievementResolutions / Progress / Completed: Illumina (style 100) frames. ---------- */
/* title, achievement.description, level line: il_regular 11 px black. */
.octane-resolution .octane-card-content-shell {
    color: #000;
    font-size: 11px;
    line-height: 14px;
}

.octane-resolution .octane-card-content-shell :where(.text-sm) {
    font-size: 11px;
    line-height: 14px;
}

/* achievement.name and progress_text: il_heading_2, 12 px bold. */
.octane-resolution .octane-resolution__name,
.octane-resolution .octane-resolution__progress {
    font-size: 12px;
    font-weight: 700;
}

/* disabled.reason: il_border, 10 px bold. */
.octane-resolution .octane-resolution__disabled {
    font-size: 10px;
    font-weight: 700;
}

/* progress time label: u_headline_small, 14 px bold. */
.octane-resolution .octane-resolution__time-left {
    font-size: 14px;
    font-weight: 700;
    line-height: 17px;
}

/* resolution.completed.header: il_heading_title, 18 px bold 0x333333. */
.octane-resolution .octane-resolution__title {
    color: #333333;
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
}

/* ---------- furniture_label_settings: headings u_small bold 10, always_open u_small at 11. ---------- */
.octane-wired-label-settings .octane-wired-label-settings__heading {
    font-size: 10px;
    font-weight: 700;
    line-height: 13px;
}

.octane-wired-label-settings .octane-wired-label-settings__always-open {
    font-size: 11px;
    font-weight: 400;
}

/* ---------- wired_link: selected_text 13 bold 0x285568, clear_caption 12 underlined 0x365f70. ---------- */
.octane-wired-link .octane-wired-link__selected {
    color: #285568;
    font-size: 13px;
    font-weight: 700;
}

.octane-wired-link .octane-wired-link__summary :where(button) {
    color: #365f70;
    font-size: 12px;
}

/* create_btn / rename_btn: grey `button`, button_shiny_regular (12 px regular black). */
:is(.octane-wired-link, .octane-wired-link-connections) .octane-wired-link__button.btn-primary {
    min-height: 30px;
    padding: 0 8px;
    border-image-source: var(--habbo-skin-shiny);
    color: #000;
    font-size: 12px;
    font-weight: 400;
    text-shadow: none;
}

:is(.octane-wired-link, .octane-wired-link-connections) .octane-wired-link__button.btn-primary:hover {
    border-image-source: var(--habbo-skin-shiny-hover);
}

:is(.octane-wired-link, .octane-wired-link-connections) .octane-wired-link__button.btn-primary:active {
    border-image-source: var(--habbo-skin-shiny-pressed);
}

/* ---------- image position editor and build height (no AIR layout): u_regular 12 black. ---------- */
.octane-image-position-editor .octane-card-content-shell :where(span, label, input) {
    color: #000;
    font-size: 12px;
}

.octane-build-height-widget .octane-card-content-shell :where(.text-sm) {
    font-size: 12px;
}

/* ---------- Buttons ---------- */
@layer base {
    /* Grey `button` (style 3): habbo_skin_button_shiny, 12 px regular black. */
    :is(
            .octane-room-queue-widget,
            .octane-room-promote-edit,
            .octane-room-filter-words,
            .octane-chooser,
            .octane-monsterplant-breeding,
            .octane-widget-rentablespace
        )
        .habbo-btn-secondary {
        border-width: 5px !important;
        border-image-source: var(--habbo-skin-shiny) !important;
        border-image-slice: 5 fill !important;
        border-image-width: 5px !important;
        color: #000 !important;
        font-size: 12px !important;
        font-weight: 400 !important;
    }

    /* Grey `button_thick` (style 3): habbo_skin_button_shiny_thick, button_shiny_bold 12 px black. */
    :is(.octane-wired-label-settings, .octane-build-height-widget, .octane-image-position-editor) .habbo-btn-secondary,
    .octane-widget-rentablespace .habbo-btn-secondary.rentablespace-rent-button {
        border-width: 5px !important;
        border-image-source: var(--habbo-skin-shiny-thick) !important;
        border-image-slice: 5 fill !important;
        border-image-width: 5px !important;
        color: #000 !important;
        font-size: 12px !important;
        font-weight: 700 !important;
    }

    :is(
            .octane-room-queue-widget,
            .octane-room-promote-edit,
            .octane-room-filter-words,
            .octane-chooser,
            .octane-monsterplant-breeding,
            .octane-widget-rentablespace
        )
        .habbo-btn-secondary:hover {
        border-image-source: var(--habbo-skin-shiny-hover) !important;
    }

    :is(
            .octane-room-queue-widget,
            .octane-room-promote-edit,
            .octane-room-filter-words,
            .octane-chooser,
            .octane-monsterplant-breeding,
            .octane-widget-rentablespace
        )
        .habbo-btn-secondary:active {
        border-image-source: var(--habbo-skin-shiny-pressed) !important;
    }

    :is(
            .octane-room-queue-widget,
            .octane-room-promote-edit,
            .octane-room-filter-words,
            .octane-chooser,
            .octane-monsterplant-breeding,
            .octane-widget-rentablespace
        )
        :is(.habbo-btn-secondary:disabled, .habbo-btn-secondary.pointer-events-none) {
        border-image-source: var(--habbo-skin-shiny-disabled) !important;
        color: #777777 !important;
    }

    :is(.octane-wired-label-settings, .octane-build-height-widget, .octane-image-position-editor) .habbo-btn-secondary:hover,
    .octane-widget-rentablespace .habbo-btn-secondary.rentablespace-rent-button:hover {
        border-image-source: var(--habbo-skin-shiny-thick-hover) !important;
    }

    :is(.octane-wired-label-settings, .octane-build-height-widget, .octane-image-position-editor) .habbo-btn-secondary:active,
    .octane-widget-rentablespace .habbo-btn-secondary.rentablespace-rent-button:active {
        border-image-source: var(--habbo-skin-shiny-thick-pressed) !important;
    }

    :is(.octane-wired-label-settings, .octane-build-height-widget, .octane-image-position-editor)
        :is(.habbo-btn-secondary:disabled, .habbo-btn-secondary.pointer-events-none),
    .octane-widget-rentablespace .habbo-btn-secondary.rentablespace-rent-button:disabled {
        border-image-source: var(--habbo-skin-shiny-thick-disabled) !important;
        color: #777777 !important;
    }

    /* The rent button keeps its u_headline_medium price and label (RentableSpaceWidget.css). */
    .octane-widget-rentablespace .habbo-btn-secondary.rentablespace-rent-button,
    .octane-widget-rentablespace .habbo-btn-secondary.rentablespace-rent-button :where(span) {
        font-size: 16px !important;
    }

    /* Green style 5 buttons (button_shiny_thick_green): 12 px bold. */
    :is(.octane-monsterplant-breeding, .octane-wired-label-settings, .octane-image-position-editor) .habbo-btn-primary {
        font-size: 12px !important;
        font-weight: 700 !important;
    }

    /* Illumina `button` style 102 (breeding, resolution): the grey Illumina skin, il_button 10 px bold black. */
    :is(.octane-pet-breeding, .octane-resolution) .habbo-btn-secondary {
        font-size: 10px !important;
        font-weight: 700 !important;
    }
}
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