CatalogVipBuyView.css 21.6 Ko
Télécharger le fichier
.octane-club-purchase-layout {
position: relative;
width: 360px;
min-width: 360px;
height: 460px;
margin: 0 auto;
overflow: hidden;
background: #f1f1f1;
color: #000000;
font-family: Ubuntu, Arial, sans-serif;
font-size: 12px;
}
.octane-club-purchase-layout button {
font: inherit;
}
.octane-club-vip-intro {
position: absolute;
inset: 0 0 auto;
height: 170px;
}
.octane-club-teaser {
position: absolute;
top: 3px;
left: 3px;
width: 152px;
height: 291px;
object-fit: none;
object-position: center top;
}
.octane-club-vip-copy {
position: absolute;
top: 3px;
left: 161px;
display: block;
width: 198px;
height: 165px;
padding: 0;
text-align: center;
}
.octane-club-vip-copy strong {
display: block;
width: 178px;
min-height: 17px;
font-size: 12px;
line-height: 17px;
text-align: center;
}
.octane-club-vip-copy span {
display: block;
width: 178px;
min-height: 17px;
margin-top: 4px;
line-height: 20px;
text-align: center;
}
.octane-club-vip-offers {
position: absolute;
top: 170px;
left: 19px;
display: flex;
width: 336px;
height: 257px;
flex-direction: column;
align-items: flex-start;
gap: 4px;
overflow: hidden;
}
.octane-club-membership-header {
position: absolute;
top: 0;
left: 10px;
display: flex;
width: 340px;
height: 22px;
align-items: center;
justify-content: center;
border: 1px solid #c7c7c2;
background: #dfdfdf;
}
.octane-club-membership-header strong {
width: 307px;
font-size: 14px;
line-height: 19px;
text-align: center;
}
.octane-club-membership-info {
position: absolute;
top: 30px;
left: 7px;
width: 307px;
min-height: 17px;
margin: 0;
line-height: 17px;
}
.octane-club-emblem {
position: absolute;
top: 104px;
left: 40px;
display: flex;
width: 85px;
height: 41px;
align-items: center;
justify-content: center;
}
.octane-club-vip-emblem {
display: block;
width: 85px;
height: 41px;
background: url("../../assets/images/catalog/air/habbo-icons.png") -177px -49px no-repeat;
}
.octane-club-columns {
position: absolute;
top: 155px;
left: 0;
display: grid;
width: 351px;
height: 250px;
grid-template-columns: 171px 171px;
column-gap: 9px;
}
.octane-club-hc-column,
.octane-club-vip-column {
display: flex;
min-height: 0;
flex-direction: column;
align-items: flex-start;
gap: 4px;
overflow: hidden;
}
.octane-club-vip-column {
grid-column: 2;
}
.octane-club-offer {
position: relative;
flex: 0 0 auto;
overflow: hidden;
border: 1px solid #969696;
border-radius: 0;
background: #dfdfdf;
box-shadow: inset 0 0 0 1px #dfdfdf;
}
.octane-club-offer.is-wide {
width: 320px;
height: 75px;
}
.octane-club-offer.is-compact {
width: 151px;
height: 67px;
}
.octane-club-offer.is-compact.is-hc {
border-color: #9b9448;
background: #ebeada;
box-shadow: inset 0 0 0 1px #ebeada;
}
.octane-club-offer-header {
position: absolute;
top: 5px;
left: 5px;
display: block;
height: 25px;
background: #969696;
color: #fff;
}
.octane-club-offer.is-wide .octane-club-offer-header {
width: 310px;
}
.octane-club-offer.is-compact .octane-club-offer-header {
width: 141px;
}
.octane-club-offer.is-compact.is-hc .octane-club-offer-header {
background: #9b9448;
}
.octane-club-offer-header strong {
position: absolute;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.octane-club-offer.is-wide .octane-club-offer-header strong {
top: 2px;
left: 60px;
width: 187px;
height: 19px;
font-size: 14px;
line-height: 19px;
text-align: left;
}
.octane-club-offer.is-compact .octane-club-offer-header strong {
top: 5px;
height: 17px;
font-size: 12px;
font-weight: 400;
line-height: 17px;
}
.octane-club-offer.is-compact.is-hc .octane-club-offer-header strong {
left: -4px;
width: 141px;
text-align: center;
}
.octane-club-offer.is-compact.is-vip .octane-club-offer-header strong {
left: 46px;
width: 90px;
text-align: left;
}
.octane-club-vip-medium-mark {
position: absolute;
top: 4px;
left: 6px;
display: block;
width: 33px;
height: 17px;
image-rendering: var(--octane-pixel-art, pixelated);
}
.octane-club-compact-mark {
position: absolute;
top: 5px;
left: 5px;
display: block;
width: 20px;
height: 20px;
}
.octane-club-compact-mark::before {
position: absolute;
top: 5px;
content: "";
height: 10px;
background-image: url("../../assets/images/catalog/air/habbo-icons.png");
background-repeat: no-repeat;
}
.octane-club-compact-mark.is-hc::before {
left: 2px;
width: 16px;
background-position: -96px 0;
}
.octane-club-compact-mark.is-vip::before {
left: 0;
width: 19px;
background-position: -113px 0;
}
.octane-club-offer-footer {
position: absolute;
inset: 0;
}
.octane-club-offer-prices,
.octane-club-offer-price {
display: inline-flex;
align-items: center;
}
.octane-club-offer-prices {
min-width: 0;
flex-direction: column;
align-items: flex-start;
gap: 1px;
}
.octane-club-offer.is-wide .octane-club-offer-prices {
position: absolute;
top: 41px;
left: 5px;
width: 112px;
height: 26px;
flex-direction: row;
align-items: center;
gap: 1px;
font-size: 14px;
font-weight: 700;
line-height: 19px;
}
.octane-club-offer.is-compact .octane-club-offer-prices {
position: absolute;
top: 43px;
left: 9px;
display: block;
width: 101px;
height: 17px;
overflow: hidden;
font-size: 12px;
line-height: 17px;
white-space: nowrap;
}
.octane-club-price-separator {
font-weight: 700;
}
.octane-club-offer-price {
gap: 1px;
white-space: nowrap;
}
.octane-club-offer.is-wide .octane-currency-icon {
width: 22px !important;
min-width: 22px !important;
height: 22px !important;
min-height: 22px !important;
background-position: center !important;
background-repeat: no-repeat !important;
}
.octane-club-offer.is-wide .octane-club-offer-price[data-currency-type="-1"] .octane-currency-icon {
background-image: url("../../assets/images/catalog/air/currency-credit-big.png") !important;
}
.octane-club-offer.is-wide .octane-club-offer-price[data-currency-type="0"] .octane-currency-icon {
background-image: url("../../assets/images/catalog/air/currency-ducket-big.png") !important;
}
.octane-club-offer.is-wide .octane-club-offer-price[data-currency-type="5"] .octane-currency-icon {
background-image: url("../../assets/images/catalog/air/currency-diamond-big.png") !important;
}
.octane-club-offer-actions {
position: absolute;
inset: 0;
}
.octane-club-offer-action {
position: absolute !important;
top: 37px;
width: 90px;
min-width: 90px;
height: 30px;
min-height: 30px;
padding: 0 6px !important;
border-width: 5px !important;
border-style: solid !important;
border-color: transparent !important;
border-radius: 0 !important;
border-image-source: var(--habbo-skin-shiny-thick-green) !important;
border-image-slice: 5 fill !important;
border-image-width: 5px !important;
border-image-repeat: stretch !important;
background: transparent !important;
box-shadow: none !important;
color: #fff !important;
font-size: 12px !important;
font-weight: 700 !important;
line-height: 18px;
text-shadow: 0 1px 0 rgb(0 0 0 / 35%) !important;
image-rendering: var(--octane-pixel-art, pixelated);
}
.octane-club-offer.is-wide .octane-club-offer-action:not(.is-buy) {
left: 130px;
}
.octane-club-offer.is-wide .octane-club-offer-action.is-buy {
left: 225px;
}
.octane-club-offer-action:hover:not(.pointer-events-none) {
border-image-source: var(--habbo-skin-shiny-thick-green-hover) !important;
}
.octane-club-offer-action:active:not(.pointer-events-none) {
border-image-source: var(--habbo-skin-shiny-thick-green-pressed) !important;
}
.octane-club-offer-action.pointer-events-none {
border-image-source: var(--habbo-skin-shiny-thick-green-disabled) !important;
opacity: 1 !important;
}
.octane-club-offer.is-compact .octane-club-offer-action {
top: 38px;
right: 8px;
width: 61px;
min-width: 61px;
height: 22px;
min-height: 22px;
padding: 0 3px !important;
/* club_buy_info_item item_buy: the grey `button` (style 3), habbo_skin_button_shiny. */
border-width: 5px !important;
border-image-source: var(--habbo-skin-shiny) !important;
border-image-slice: 5 fill !important;
border-image-width: 5px !important;
/* club_buy_info_item item_buy: grey button, button_shiny_regular 12 px black. */
color: #000 !important;
font-size: 12px !important;
font-weight: 400 !important;
line-height: 16px;
text-shadow: none !important;
}
.octane-club-offer.is-compact .octane-club-offer-action:hover:not(.pointer-events-none) {
border-image-source: var(--habbo-skin-shiny-hover) !important;
}
.octane-club-offer.is-compact .octane-club-offer-action:active:not(.pointer-events-none) {
border-image-source: var(--habbo-skin-shiny-pressed) !important;
}
.octane-club-offer.is-compact .octane-club-offer-action.pointer-events-none {
border-image-source: var(--habbo-skin-shiny-disabled) !important;
color: #777 !important;
}
.octane-club-info-card {
position: relative;
display: block;
width: 151px;
height: 139px;
flex: 0 0 auto;
border: 1px solid #9b9448;
border-radius: 0;
background: #ebeada;
box-shadow: inset 0 0 0 1px #ebeada;
}
.octane-club-info-card strong {
position: absolute;
top: 5px;
left: 5px;
display: flex;
width: 141px;
height: 25px;
align-items: center;
justify-content: center;
background: #9b9448;
color: #fff;
text-align: center;
}
.octane-club-info-card span {
position: absolute;
top: 44px;
left: 9px;
width: 134px;
min-height: 30px;
line-height: 17px;
}
.octane-club-remaining {
position: absolute;
top: 410px;
left: 10px;
display: flex;
width: 340px;
height: 25px;
align-items: center;
padding: 0 6px;
border: 1px solid #c7c7c2;
background: #dfdfdf;
}
.octane-club-center-link {
position: absolute;
top: 421px;
left: 59px;
width: 236px;
height: 30px;
padding: 0;
border: 0;
background: transparent;
color: #222;
cursor: pointer;
text-align: center;
line-height: 15px;
}
.is-club-page .octane-club-center-link {
top: 440px;
left: 10px;
width: 340px;
height: 17px;
text-decoration: underline;
}
.octane-club-center-link a {
color: #333;
text-decoration: underline;
}
.octane-club-center-link:hover,
.octane-club-center-link a:hover {
color: #075c86;
text-decoration: underline;
}
/* layout_loyalty_vip_buy vip_link: x39 y433 286x17, centered, underlined, text colour 0x038ef4; opens vip_benefits. */
.octane-club-vip-benefits-link {
position: absolute;
top: 433px;
left: 39px;
width: 286px;
height: 17px;
padding: 0;
border: 0;
background: transparent;
color: #038ef4;
cursor: pointer;
text-align: center;
text-decoration: underline;
line-height: 17px;
white-space: nowrap;
}
.octane-card-shell.octane-club-purchase-confirm {
width: 369px !important;
min-width: 369px !important;
max-width: 369px !important;
height: 210px !important;
min-height: 210px !important;
max-height: 210px !important;
color: #000;
font-family: HabboAirUbuntu, Ubuntu, sans-serif;
}
.draggable-window:has(> .octane-club-purchase-confirm) {
width: 369px !important;
min-width: 369px !important;
max-width: 369px !important;
height: 210px !important;
min-height: 210px !important;
max-height: 210px !important;
}
.octane-club-purchase-confirm,
.octane-club-purchase-confirm * {
box-sizing: border-box;
}
.octane-club-purchase-confirm > .octane-club-purchase-confirm-content.octane-card-content-shell {
position: absolute;
top: 35px;
left: 2px;
display: block;
width: 362px;
height: 161px;
min-height: 161px !important;
max-height: 161px !important;
margin: 0;
padding: 0 !important;
overflow: hidden !important;
border: 0;
border-radius: 0;
background: transparent;
color: #000;
font-family: HabboAirUbuntu, Ubuntu, sans-serif;
font-size: 12px;
line-height: normal;
}
.octane-club-purchase-confirm .octane-club-purchase-confirm-content :where(span, strong, label, button, input) {
font-family: HabboAirUbuntu, Ubuntu, sans-serif !important;
}
.octane-club-purchase-confirm .octane-club-purchase-confirm-content :where(span, strong, label, input) {
color: #000 !important;
}
.octane-club-purchase-confirm-product {
position: absolute;
top: 0;
left: 0;
width: 354px;
height: 97px;
}
.octane-club-purchase-confirm-icon {
position: absolute;
top: 20px;
left: 12px;
display: block;
width: 85px;
height: 40px;
overflow: hidden;
background: url("../../assets/images/catalog/air/habbo-icons.png") -177px -49px no-repeat;
image-rendering: var(--octane-pixel-art, pixelated);
}
.octane-club-purchase-confirm-copy {
position: absolute;
top: 10px;
left: 109px;
width: 245px;
height: 87px;
}
.octane-club-purchase-confirm-copy > strong {
position: absolute;
top: 0;
left: 0;
display: block;
width: 245px;
height: 39px;
overflow: hidden;
font-family: HabboAirUbuntu, Ubuntu, sans-serif;
font-size: 16px;
font-weight: 700;
line-height: 19px;
overflow-wrap: break-word;
}
.octane-club-purchase-confirm-copy > span {
position: absolute;
top: 42px;
left: 0;
display: block;
width: 207px;
height: 20px;
overflow: hidden;
font-family: HabboAirUbuntu, Ubuntu, sans-serif;
font-size: 14px;
font-weight: 400;
line-height: 20px;
white-space: nowrap;
}
.octane-club-purchase-confirm-cost-row {
position: absolute;
top: 65px;
left: 0;
display: flex;
width: 288px;
height: 22px;
align-items: center;
overflow: visible;
font-family: HabboAirUbuntu, Ubuntu, sans-serif;
font-size: 14px;
font-weight: 400;
line-height: 19px;
white-space: nowrap;
}
.octane-club-purchase-confirm-price,
.octane-club-purchase-confirm-price-part {
display: inline-flex;
height: 22px;
align-items: center;
}
.octane-club-purchase-confirm-price {
gap: 1px;
}
.octane-club-purchase-confirm-price-part {
gap: 1px;
font-weight: 700;
}
.octane-club-purchase-confirm-price .octane-currency-icon {
width: 22px !important;
min-width: 22px !important;
height: 22px !important;
min-height: 22px !important;
background-position: center !important;
background-repeat: no-repeat !important;
}
.octane-club-purchase-confirm-price-part[data-currency-type="-1"] .octane-currency-icon {
background-image: url("../../assets/images/catalog/air/currency-credit-big.png") !important;
}
.octane-club-purchase-confirm-price-part[data-currency-type="0"] .octane-currency-icon {
background-image: url("../../assets/images/catalog/air/currency-ducket-big.png") !important;
}
.octane-club-purchase-confirm-price-part[data-currency-type="5"] .octane-currency-icon {
background-image: url("../../assets/images/catalog/air/currency-diamond-big.png") !important;
}
.octane-club-purchase-confirm-disclaimer {
position: absolute;
top: 107px;
left: 0;
display: block;
width: 353px;
height: 17px;
margin: 0;
font-family: HabboAirUbuntu, Ubuntu, sans-serif;
font-size: 12px !important;
line-height: 17px;
}
.octane-club-purchase-confirm-disclaimer input,
.octane-club-purchase-confirm-disclaimer .octane-checkbox {
appearance: none;
position: absolute;
top: 0;
left: 11px;
width: 15px;
height: 15px;
margin: 0;
padding: 0;
border: 0;
border-radius: 0;
outline: 0;
background: url("../../assets/images/catalog/air/gift/checkbox-default.png") 0 0 no-repeat;
cursor: pointer;
image-rendering: var(--octane-pixel-art, pixelated);
}
.octane-club-purchase-confirm-disclaimer input:checked,
.octane-club-purchase-confirm-disclaimer .octane-checkbox[data-checked] {
background-image: url("../../assets/images/catalog/air/gift/checkbox-selected.png");
}
.octane-club-purchase-confirm-disclaimer span {
position: absolute;
top: 0;
left: 31px;
width: 322px;
height: 17px;
overflow: hidden;
font-family: HabboAirUbuntu, Ubuntu, sans-serif;
font-size: 12px;
line-height: 17px;
}
.octane-club-purchase-confirm-actions {
position: absolute;
top: 107px;
left: 0;
width: 355px;
height: 27px;
}
.octane-club-purchase-confirm-content.has-disclaimer .octane-club-purchase-confirm-actions {
top: 134px;
}
.octane-club-purchase-confirm-actions button {
position: absolute;
top: 0;
width: 120px;
min-width: 120px;
max-width: 120px;
height: 27px;
min-height: 27px;
max-height: 27px;
margin: 0;
padding: 0 5px;
border: 5px solid transparent;
border-image-slice: 5 fill;
border-image-width: 5px;
border-image-repeat: stretch;
border-radius: 0;
background: transparent;
box-shadow: none;
font-family: HabboAirUbuntu, Ubuntu, sans-serif;
font-size: 12px !important;
font-weight: 700;
line-height: 17px;
text-align: center;
image-rendering: var(--octane-pixel-art, pixelated);
}
.octane-club-purchase-confirm .octane-club-purchase-confirm-cancel {
left: 9px;
border-image-source: var(--habbo-skin-shiny);
/* club_buy_confirmation cancel_button: grey button, button_shiny_regular 12 px black. */
color: #000;
font-weight: 400;
}
.octane-club-purchase-confirm .octane-club-purchase-confirm-cancel:hover {
border-image-source: var(--habbo-skin-shiny-hover);
}
.octane-club-purchase-confirm .octane-club-purchase-confirm-cancel:active {
border-image-source: var(--habbo-skin-shiny-pressed);
}
.octane-club-purchase-confirm .octane-club-purchase-confirm-submit {
left: 235px;
border-image-source: var(--habbo-skin-shiny-thick-green);
color: #fff;
text-shadow: none;
}
.octane-club-purchase-confirm .octane-club-purchase-confirm-submit:hover:not(:disabled) {
border-image-source: var(--habbo-skin-shiny-thick-green-hover);
}
.octane-club-purchase-confirm .octane-club-purchase-confirm-submit:active:not(:disabled) {
border-image-source: var(--habbo-skin-shiny-thick-green-pressed);
}
.octane-club-purchase-confirm .octane-club-purchase-confirm-submit:disabled {
border-image-source: var(--habbo-skin-shiny-thick-green-disabled);
cursor: default;
}
/* AIR layout_club_gifts_xml (360 x 460) and club_gift_list_item_xml (320 x 58). */
.octane-catalog-club-gifts {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
min-height: 0;
font-family: HabboAirUbuntu, Ubuntu, sans-serif;
color: #000;
}
.octane-catalog-club-gifts__info {
flex: 0 0 auto;
min-height: 35px;
padding: 2px 4px;
font-size: 12px;
font-style: italic;
line-height: 15px;
overflow-wrap: anywhere;
}
.octane-catalog-club-gifts__list {
display: flex;
flex: 1 1 auto;
flex-direction: column;
gap: 2px;
min-height: 0;
overflow-x: hidden;
overflow-y: auto;
}
.octane-catalog-club-gifts__past {
flex: 0 0 auto;
min-height: 15px;
padding-top: 1px;
font-size: 11px;
line-height: 14px;
text-align: center;
}
.octane-catalog-club-gift {
position: relative;
flex: 0 0 58px;
height: 58px;
border: 1px solid #e3e3e3;
border-radius: 3px;
background: #fff;
}
.octane-catalog-club-gift__image {
position: absolute;
top: 6px;
left: 7px;
display: flex;
align-items: center;
justify-content: center;
width: 52px;
height: 46px;
overflow: hidden;
}
.octane-catalog-club-gift__vip {
position: absolute;
top: 5px;
left: 5px;
image-rendering: pixelated;
}
.octane-catalog-club-gift__name,
.octane-catalog-club-gift__desc,
.octane-catalog-club-gift__requirement {
position: absolute;
left: 58px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.octane-catalog-club-gift__name {
top: 7px;
right: 6px;
font-size: 12px;
font-weight: 700;
line-height: 14px;
}
.octane-catalog-club-gift__desc {
top: 22px;
right: 6px;
font-size: 11px;
line-height: 13px;
}
.octane-catalog-club-gift__requirement {
top: 37px;
right: 80px;
font-size: 11px;
line-height: 13px;
}
.octane-catalog-club-gift__select {
position: absolute;
right: 5px;
bottom: 4px;
min-width: 61px;
max-width: 148px;
height: 22px;
padding: 0 8px;
border-style: solid;
border-width: 5px;
border-image-source: var(--habbo-skin-shiny);
border-image-slice: 5 fill;
border-image-width: 5px;
border-image-repeat: stretch;
background: transparent;
/* club_gift_list_item select_button: grey button, button_shiny_regular 12 px black. */
color: #000;
font-family: HabboAirUbuntu, Ubuntu, sans-serif;
font-size: 12px;
line-height: 16px;
}
.octane-catalog-club-gift__select:hover:not(:disabled) {
border-image-source: var(--habbo-skin-shiny-hover);
}
.octane-catalog-club-gift__select:active:not(:disabled) {
border-image-source: var(--habbo-skin-shiny-pressed);
}
.octane-catalog-club-gift__select:disabled {
border-image-source: var(--habbo-skin-shiny-disabled);
color: #777;
cursor: default;
}
