ChatInputMentionSelectorView.css 5.4 Ko
Télécharger le fichier
.chat-input-mention-popover {
position: absolute;
bottom: 100%;
left: 0;
width: 100%;
margin-bottom: 4px;
background: #f2f2eb;
border: 2px solid #000;
border-radius: 10px;
box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
overflow: hidden;
z-index: 1070;
font-family: Volter, Volter_Goldfish, "Ubuntu", sans-serif;
image-rendering: var(--octane-pixel-art, pixelated);
}
.chat-input-mention-popover-header {
height: 24px;
padding: 0 8px;
background: #30728c;
border-bottom: 2px solid #000;
color: #fff;
text-shadow: 1px 1px 1px #000;
font-family: UbuntuCondensed, Ubuntu, sans-serif;
font-size: 13px;
line-height: 22px;
letter-spacing: 0.3px;
display: flex;
align-items: center;
gap: 6px;
}
.chat-input-mention-popover-header-dot {
width: 8px;
height: 8px;
background: #ffdc4c;
border: 1px solid #000;
border-radius: 50%;
box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.55);
}
.chat-input-mention-popover-list {
max-height: 220px;
overflow-y: auto;
padding: 4px;
display: flex;
flex-direction: column;
gap: 2px;
}
.chat-input-mention-row {
position: relative;
display: flex;
align-items: center;
gap: 8px;
padding: 4px 6px;
border-radius: 6px;
border: 1px solid transparent;
cursor: pointer;
background: transparent;
transition: background 0.08s linear, border-color 0.08s linear;
}
.chat-input-mention-row:hover {
background: rgba(48, 114, 140, 0.12);
}
.chat-input-mention-row.is-selected {
background: #30728c;
border-color: #000;
color: #fff;
text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.45);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.chat-input-mention-row-tile {
position: relative;
width: 36px;
height: 36px;
flex-shrink: 0;
border-radius: 6px;
border: 1px solid #000;
background: #cfcfc4;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -1px 0 rgba(0, 0, 0, 0.12);
overflow: hidden;
}
.chat-input-mention-row.is-selected .chat-input-mention-row-tile {
background: #1f5a72;
}
.chat-input-mention-row-tile.is-alias {
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(180deg, #ffdc4c 0%, #f0a91c 100%);
color: #4a2b00;
font-weight: 700;
font-size: 16px;
text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.45);
}
.chat-input-mention-row.is-selected .chat-input-mention-row-tile.is-alias {
background: linear-gradient(180deg, #ffe97a 0%, #f9bd44 100%);
}
.chat-input-mention-row-tile .avatar-image {
position: absolute !important;
inset: 0 !important;
width: 100% !important;
height: 100% !important;
left: 0 !important;
background-repeat: no-repeat;
background-position: -22px -32px;
background-size: auto;
}
.chat-input-mention-row-body {
display: flex;
flex-direction: column;
min-width: 0;
flex: 1 1 auto;
gap: 0;
}
.chat-input-mention-row-name {
font-family: UbuntuCondensed, Ubuntu, sans-serif;
font-size: 14px;
line-height: 1.1;
color: #2c2c2c;
font-weight: 700;
letter-spacing: 0.2px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.chat-input-mention-row.is-selected .chat-input-mention-row-name {
color: #fff;
}
.chat-input-mention-row-desc {
font-size: 10px;
line-height: 1.1;
color: #6b6b6b;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.chat-input-mention-row.is-selected .chat-input-mention-row-desc {
color: #d6e6ee;
}
.chat-input-mention-row-kind {
font-size: 9px;
line-height: 1;
padding: 2px 5px;
border-radius: 8px;
border: 1px solid #000;
background: #cfe6ef;
color: #1c3d4c;
text-transform: uppercase;
letter-spacing: 0.5px;
flex-shrink: 0;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.chat-input-mention-row-kind.is-alias {
background: #ffe97a;
color: #5a3a00;
}
.chat-input-mention-row.is-selected .chat-input-mention-row-kind {
background: #ffdc4c;
color: #4a2b00;
}
.chat-input-command-popover.octane-card-shell.octane-card-frame-3 {
position: absolute;
bottom: 100%;
left: 0;
width: 100%;
margin-bottom: 4px;
padding: 35px 2px 5px;
resize: none;
z-index: 1070;
font-family: HabboAirUbuntu, UbuntuRegular, sans-serif;
}
.chat-input-command-popover-list {
position: relative;
max-height: min(220px, calc(100dvh - 140px));
overflow-y: auto;
padding: 0 4px;
display: flex;
flex-direction: column;
}
.chat-input-command-row {
display: flex;
align-items: center;
flex-shrink: 0;
min-height: 36px;
padding: 3px 6px;
border: 1px solid transparent;
cursor: pointer;
}
.chat-input-command-row:hover {
background: var(--habbo-select-outer, #82d1ed);
}
.chat-input-command-row.is-selected {
background: var(--habbo-select, #63c5e9);
border-color: var(--habbo-select-outer, #82d1ed);
}
.chat-input-command-row-body {
display: flex;
flex-direction: column;
min-width: 0;
flex: 1 1 auto;
}
.chat-input-command-row-name,
.chat-input-command-row-desc {
font-size: 12px;
line-height: 15px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.chat-input-command-row-name {
color: #151515;
font-weight: 700;
}
.chat-input-command-row-desc {
color: #555555;
}
