5180 fichiers 38.5 Mo 0 téléchargements 213 vues mis à jour il y a 5 heures ui
Poll.css 3.9 Ko Télécharger le fichier
/* Official poll_offer and poll_question: a 382 px window, a dark band with the picture and the
   headline, the text, and a foot with the two links and the green thick button. */
.octane-widget-poll.octane-poll {
    width: 382px;
    min-height: 0;
    max-height: none;
    /* poll_offer / poll_question are style 3 frames in AIR's regular Ubuntu; our `Ubuntu` face is condensed. */
    font-family: HabboAirUbuntu, UbuntuRegular, sans-serif;
}

@layer base {
    .octane-widget-poll.octane-poll :where(*):not(svg, svg *) {
        font-family: HabboAirUbuntu, UbuntuRegular, sans-serif !important;
    }
}

.octane-poll .octane-card-content-shell {
    padding: 0 !important;
    background: #e9e9e1 !important;
}

.octane-poll-header {
    position: relative;
    flex: none;
    height: 60px;
    background: #0e3f52;
    color: #ffffff;
}

.octane-poll-header.is-offer {
    height: 95px;
}

.octane-poll-header__image {
    position: absolute;
    top: 7px;
    left: 10px;
    width: 40px;
    height: 40px;
    image-rendering: var(--octane-pixel-art, pixelated);
}

.octane-poll-header__image.is-offer {
    width: 80px;
    height: 80px;
}

.octane-poll-header__headline {
    position: absolute;
    top: 15px;
    right: 12px;
    left: 80px;
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    overflow-wrap: anywhere;
}

.octane-poll-header.is-offer .octane-poll-header__headline {
    top: 25px;
    left: 110px;
}

.octane-poll-body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 10px 12px;
    color: #000000;
    font-size: 12px;
    line-height: 17px;
    overflow-y: auto;
    white-space: pre-line;
}

.octane-poll-body.is-question {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 420px;
}

/* poll_question_text: u_regular 12 px, not bold. */
.octane-poll-question {
    font-weight: 400;
}

.octane-poll-answers {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.octane-poll-answer {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.octane-poll-text {
    box-sizing: border-box;
    width: 100%;
    height: 25px;
    padding: 0 6px;
    border: 1px solid #919191;
    border-radius: 4px;
    background: #ffffff;
    color: #000000;
    /* poll_answer_text_input poll_answer_input: u_bold 12 px. */
    font-size: 12px;
    font-weight: 700;
}

.octane-poll-footer {
    display: flex;
    flex: none;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
    padding: 8px 12px 10px;
}

.octane-poll-number {
    margin-right: auto;
    color: #333333;
    font-size: 12px;
}

.octane-poll-footer .octane-poll-link {
    padding: 0;
    border: 0;
    background: transparent;
    color: #333333;
    font-family: HabboAirUbuntu, UbuntuRegular, sans-serif;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
}

/* poll_offer_button_later: text_color 0x333333 like the cancel link. */
.octane-poll-footer .octane-poll-link.is-later {
    color: #333333;
}

.octane-poll-footer .octane-poll-link:hover {
    text-decoration: none;
}

.octane-poll-footer .octane-poll-ok {
    flex: none;
    width: 80px;
    height: 40px;
    padding: 0 6px;
    border: 5px solid transparent;
    border-image: var(--habbo-skin-shiny-thick-green) 5 fill / 5px stretch;
    background: transparent;
    color: #ffffff;
    /* button_thick label: 12 px bold. */
    font-family: HabboAirUbuntu, UbuntuRegular, sans-serif;
    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-poll-footer .octane-poll-ok:hover {
    border-image-source: var(--habbo-skin-shiny-thick-green-hover);
}

.octane-poll-footer .octane-poll-ok:active {
    border-image-source: var(--habbo-skin-shiny-thick-green-pressed);
}

.octane-poll-footer .octane-poll-ok:disabled {
    border-image-source: var(--habbo-skin-shiny-thick-green-disabled);
    color: #dddddd;
    cursor: default;
}
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