163 lines
3.1 KiB
CSS
163 lines
3.1 KiB
CSS
.panel {
|
|
width: 240px;
|
|
background: rgba(8, 8, 12, 0.84);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
padding: 10px 14px;
|
|
background: transparent;
|
|
border: none;
|
|
color: rgba(255, 255, 255, 0.75);
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
}
|
|
.toggle:hover {
|
|
color: #fff;
|
|
}
|
|
|
|
.toggleArrow {
|
|
font-size: 10px;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
transition: transform 0.15s;
|
|
}
|
|
.toggleArrow.open {
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
.body {
|
|
padding: 4px 12px 10px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.07);
|
|
}
|
|
|
|
.row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
padding: 6px 0;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
|
font-size: 12px;
|
|
}
|
|
.row:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.rowInfo {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.rowName {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.username {
|
|
font-size: 10px;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.you {
|
|
color: rgba(245, 158, 11, 0.9);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.loadBtn {
|
|
padding: 3px 9px;
|
|
background: rgba(255, 255, 255, 0.07);
|
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
border-radius: 5px;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
font-size: 11px;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
flex-shrink: 0;
|
|
}
|
|
.loadBtn:hover {
|
|
background: rgba(255, 255, 255, 0.13);
|
|
color: #fff;
|
|
}
|
|
|
|
.deleteBtn {
|
|
padding: 3px 7px;
|
|
background: rgba(255, 69, 58, 0.08);
|
|
border: 1px solid rgba(255, 69, 58, 0.25);
|
|
border-radius: 5px;
|
|
color: rgba(255, 100, 80, 0.85);
|
|
font-size: 11px;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
flex-shrink: 0;
|
|
}
|
|
.deleteBtn:hover {
|
|
background: rgba(255, 69, 58, 0.2);
|
|
}
|
|
|
|
.empty {
|
|
font-size: 11px;
|
|
color: rgba(255, 255, 255, 0.25);
|
|
padding: 6px 0 2px;
|
|
}
|
|
|
|
/* ── Top-bar menu mode ───────────────────────────────────────────────────────── */
|
|
|
|
.menuWrapper {
|
|
position: relative;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.menuToggle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 7px 14px;
|
|
background: rgba(255, 255, 255, 0.07);
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 8px;
|
|
color: rgba(255, 255, 255, 0.75);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
transition: background 0.15s, color 0.15s;
|
|
}
|
|
.menuToggle:hover {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
color: #fff;
|
|
}
|
|
|
|
.menuDropdown {
|
|
position: absolute;
|
|
top: calc(100% + 6px);
|
|
right: 0;
|
|
z-index: 400;
|
|
width: 260px;
|
|
background: rgba(8, 8, 12, 0.92);
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 12px;
|
|
padding: 6px 12px 10px;
|
|
overflow: hidden;
|
|
}
|