NavigatorRoomInfo.css 4.1 Ko
Télécharger le fichier
.octane-room-info {
width: min(236px, calc(100vw - 16px));
}
.octane-room-info__content {
display: flex;
flex-direction: column;
gap: 3px;
padding: 8px 8px 10px !important;
background: #e9e9e1 !important;
color: #000000;
/* roominfo is a style 3 frame in Ubuntu; our `Ubuntu` face is the condensed cut. Its texts are u_regular 12 px. */
font-family: HabboAirUbuntu, UbuntuRegular, sans-serif;
font-size: 12px;
}
.octane-room-info__heading {
display: flex;
min-height: 17px;
align-items: center;
justify-content: space-between;
font-size: 12px;
}
/* room_name: u_bold 12 px. */
.octane-room-info__name {
font-size: 12px;
font-weight: 700;
}
/* owner_caption / rating_caption: u_bold 12 px #777777; owner_name / rating_txt: u_regular 12 px. */
.octane-room-info__caption {
color: #777777;
}
.octane-room-info__home {
width: 13px;
height: 12px;
border: 0;
background: url("@/assets/images/navigator/air/icon-home-no.png") center / contain no-repeat;
image-rendering: var(--octane-pixel-art, pixelated);
cursor: pointer;
}
.octane-room-info__home.is-home {
background-image: url("@/assets/images/navigator/air/icon-home-yes.png");
}
.octane-room-info__meta {
min-height: 16px;
font-size: 12px;
}
.octane-room-info__meta .user-profile-icon {
width: 12px;
height: 12px;
}
.octane-room-info__description {
min-height: 0;
overflow-wrap: anywhere;
font-size: 12px;
line-height: 15px;
}
.octane-room-info__thumbnail {
width: 112px !important;
height: 112px !important;
align-self: center;
overflow: hidden;
border: 1px solid #111 !important;
border-radius: 0 !important;
background: #c4c4bc url("@/assets/images/navigator/air/default-room.png") center no-repeat;
}
.octane-room-info__camera {
width: 17px;
height: 15px;
border: 0;
background: url("@/assets/images/navigator/air/roomtools-camera.png") center / contain no-repeat;
image-rendering: var(--octane-pixel-art, pixelated);
}
.octane-room-info__quick-actions,
.octane-room-info__group {
min-height: 16px;
}
.octane-room-info__room-link {
min-height: 17px;
margin: 1px 0 2px;
color: #000000;
font-size: 12px;
cursor: pointer;
}
.octane-room-info__room-link img {
width: 17px;
height: 15px;
image-rendering: var(--octane-pixel-art, pixelated);
}
.octane-room-info__room-link:hover {
color: #1c789b;
}
.octane-room-info__actions {
display: flex;
flex-direction: column;
gap: 3px;
margin-top: 3px;
}
.octane-room-info__action {
box-sizing: border-box;
width: 220px;
max-width: 100%;
min-height: 29px;
height: 29px;
padding: 0 8px;
/* buttons_cont: style 3 buttons, button_shiny_regular 12 px regular. */
font-family: HabboAirUbuntu, UbuntuRegular, sans-serif;
font-size: 12px;
font-weight: 400;
line-height: 29px;
text-align: center;
}
.octane-room-info__action.habbo-btn-primary,
.octane-room-info__action.habbo-btn-danger {
border-radius: 0 !important;
}
@layer base {
.octane-room-info :where(*):not(svg, svg *) {
font-family: HabboAirUbuntu, UbuntuRegular, sans-serif !important;
}
}
/*
* roominfo buttons_cont: room_settings_button, raid_protection_settings_button, room_filter_button,
* floor_plan_editor_button, staff_pick_button and room_muteall_button are all the grey `button` (style 3,
* habbo_skin_button_shiny) with black text, not the green .habbo-btn-primary. Its skin is an unlayered important
* rule, which only an important rule in a layer outranks. The report button keeps Octane's red.
*/
@layer base {
.octane-room-info__action.habbo-btn-primary {
border-image-source: var(--habbo-skin-shiny) !important;
color: #000000 !important;
text-shadow: none !important;
}
.octane-room-info__action.habbo-btn-primary:hover {
border-image-source: var(--habbo-skin-shiny-hover) !important;
}
.octane-room-info__action.habbo-btn-primary:active {
border-image-source: var(--habbo-skin-shiny-pressed) !important;
}
}
