mirror of
https://github.com/sotam0316/brain_dogfood.git
synced 2026-04-24 19:48:35 +09:00
82 lines
1.8 KiB
CSS
82 lines
1.8 KiB
CSS
/* 슬래시 명령(/) 팝업 스타일 */
|
|
|
|
.slash-popup {
|
|
position: fixed;
|
|
z-index: 10000;
|
|
min-width: 180px;
|
|
max-width: 240px;
|
|
max-height: 280px;
|
|
overflow-y: auto;
|
|
background: rgba(15, 23, 42, 0.95);
|
|
backdrop-filter: blur(12px);
|
|
border: 1px solid rgba(56, 189, 248, 0.2);
|
|
border-radius: 10px;
|
|
padding: 6px;
|
|
box-shadow:
|
|
0 8px 32px rgba(0, 0, 0, 0.5),
|
|
0 0 0 1px rgba(255, 255, 255, 0.05) inset;
|
|
animation: slashPopupIn 0.15s ease-out;
|
|
}
|
|
|
|
/* 스크롤바 커스텀 */
|
|
.slash-popup::-webkit-scrollbar { width: 4px; }
|
|
.slash-popup::-webkit-scrollbar-track { background: transparent; }
|
|
.slash-popup::-webkit-scrollbar-thumb {
|
|
background: rgba(56, 189, 248, 0.3);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.slash-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 4px 10px;
|
|
border-radius: 7px;
|
|
cursor: pointer;
|
|
transition: background 0.12s ease, transform 0.1s ease;
|
|
user-select: none;
|
|
}
|
|
|
|
.slash-item:hover,
|
|
.slash-item.selected {
|
|
background: rgba(56, 189, 248, 0.12);
|
|
}
|
|
|
|
.slash-item.selected {
|
|
background: rgba(56, 189, 248, 0.18);
|
|
box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.25) inset;
|
|
}
|
|
|
|
.slash-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 28px;
|
|
height: 28px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 6px;
|
|
font-size: 0.8rem;
|
|
color: var(--accent, #38bdf8);
|
|
flex-shrink: 0;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.slash-label {
|
|
font-size: 0.82rem;
|
|
color: rgba(255, 255, 255, 0.85);
|
|
font-weight: 500;
|
|
font-family: var(--font, 'Inter', sans-serif);
|
|
}
|
|
|
|
@keyframes slashPopupIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-6px) scale(0.96);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0) scale(1);
|
|
}
|
|
}
|