added queue system on rooms
This commit is contained in:
@@ -637,29 +637,27 @@ input[type=number]::-webkit-outer-spin-button {
|
||||
margin: 0;
|
||||
}
|
||||
input[type=number] {
|
||||
-moz-appearance: textfield; /* Firefox */
|
||||
-moz-appearance: textfield;
|
||||
}
|
||||
|
||||
/* Enhanced Episode Control Container */
|
||||
.ep-control {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
background: rgba(0, 0, 0, 0.4); /* Darker background for visibility */
|
||||
border: 1px solid rgba(255, 255, 255, 0.2); /* brighter border */
|
||||
background: rgba(0, 0, 0, 0.4);
|
||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
||||
border-radius: 12px;
|
||||
padding: 4px;
|
||||
width: 100%;
|
||||
height: 48px; /* Fixed height */
|
||||
height: 48px;
|
||||
margin-top: 8px;
|
||||
box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
|
||||
}
|
||||
|
||||
/* Button Styling */
|
||||
.ep-btn {
|
||||
width: 40px; /* Fixed width */
|
||||
height: 38px; /* Fixed height */
|
||||
flex-shrink: 0; /* Prevent shrinking */
|
||||
width: 40px;
|
||||
height: 38px;
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -682,10 +680,9 @@ input[type=number] {
|
||||
transform: translateY(1px);
|
||||
}
|
||||
|
||||
/* Input Styling */
|
||||
.ep-input {
|
||||
flex: 1;
|
||||
min-width: 0; /* Allows flex item to shrink below content size */
|
||||
min-width: 0;
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: white;
|
||||
@@ -693,7 +690,7 @@ input[type=number] {
|
||||
font-size: 1.2rem;
|
||||
font-weight: 800;
|
||||
outline: none;
|
||||
font-family: monospace; /* Better number alignment */
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
.ep-input:focus {
|
||||
@@ -977,4 +974,183 @@ input[type=number] {
|
||||
transform: translate(-50%, -50%) scale(1);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar-tabs {
|
||||
display: flex;
|
||||
border-bottom: 1px solid var(--glass-border);
|
||||
background: rgba(0,0,0,0.2);
|
||||
}
|
||||
|
||||
.tab-btn {
|
||||
flex: 1;
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: var(--text-muted);
|
||||
padding: 14px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
border-bottom: 2px solid transparent;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.tab-btn:hover { color: white; background: rgba(255,255,255,0.05); }
|
||||
.tab-btn.active { color: white; border-bottom-color: var(--brand-color); background: rgba(255,255,255,0.02); }
|
||||
|
||||
.tab-content {
|
||||
display: flex; flex-direction: column; flex: 1; min-height: 0; overflow: hidden;
|
||||
}
|
||||
|
||||
.queue-list {
|
||||
padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px;
|
||||
}
|
||||
|
||||
.queue-item {
|
||||
display: flex; gap: 10px; padding: 10px;
|
||||
background: rgba(255,255,255,0.05); border-radius: 8px;
|
||||
border: 1px solid transparent; position: relative;
|
||||
}
|
||||
|
||||
.queue-item:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.1); }
|
||||
|
||||
.q-img { width: 50px; height: 70px; object-fit: cover; border-radius: 4px; }
|
||||
.q-info { flex: 1; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
|
||||
.q-title { font-weight: 700; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
.q-meta { font-size: 0.8rem; color: #aaa; }
|
||||
.q-remove {
|
||||
position: absolute; top: 5px; right: 5px;
|
||||
background: rgba(0,0,0,0.5); border: none; color: #ff6b6b;
|
||||
width: 24px; height: 24px; border-radius: 4px; cursor: pointer;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
}
|
||||
.q-remove:hover { background: #ff6b6b; color: white; }
|
||||
|
||||
.badge { background: var(--brand-color); padding: 1px 6px; border-radius: 10px; font-size: 0.7rem; margin-left: 6px; }
|
||||
.queue-empty { text-align: center; color: #666; margin-top: 40px; font-style: italic; }
|
||||
|
||||
.chat-sidebar-wrapper {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100vh;
|
||||
background: rgba(15, 15, 15, 0.95);
|
||||
border-left: 1px solid var(--glass-border);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@media (max-width: 1200px) {
|
||||
.chat-sidebar-wrapper {
|
||||
height: 400px;
|
||||
border-left: none;
|
||||
border-top: 1px solid var(--glass-border);
|
||||
}
|
||||
}
|
||||
|
||||
.queue-item {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
padding: 10px;
|
||||
background: rgba(255,255,255,0.05);
|
||||
border-radius: 8px;
|
||||
border: 1px solid transparent;
|
||||
position: relative;
|
||||
align-items: center;
|
||||
transition: transform 0.2s;
|
||||
}
|
||||
|
||||
.queue-item:hover {
|
||||
background: rgba(255,255,255,0.08);
|
||||
border-color: rgba(255,255,255,0.1);
|
||||
}
|
||||
|
||||
.q-img { width: 50px; height: 70px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
|
||||
.q-info { flex: 1; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
|
||||
|
||||
.q-actions {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
opacity: 0.7;
|
||||
transition: opacity 0.2s;
|
||||
}
|
||||
.queue-item:hover .q-actions { opacity: 1; }
|
||||
|
||||
.q-btn {
|
||||
background: rgba(255,255,255,0.1);
|
||||
border: none;
|
||||
color: white;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.q-btn:hover { background: rgba(255,255,255,0.2); transform: scale(1.1); }
|
||||
.q-btn.play:hover { background: var(--brand-color); }
|
||||
.q-btn.remove:hover { background: #ff6b6b; }
|
||||
|
||||
.chat-sidebar {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
background: rgba(15, 15, 15, 0.95);
|
||||
border-left: 1px solid var(--glass-border);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.sidebar-tabs {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
flex: 0 0 auto;
|
||||
height: 50px;
|
||||
border-bottom: 1px solid var(--glass-border);
|
||||
background: rgba(0,0,0,0.2);
|
||||
}
|
||||
|
||||
.tab-btn {
|
||||
flex: 1;
|
||||
height: 100%;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: var(--text-muted);
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
border-bottom: 2px solid transparent;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.tab-btn:hover { background: rgba(255,255,255,0.05); color: white; }
|
||||
.tab-btn.active { border-bottom-color: var(--brand-color); color: white; background: rgba(255,255,255,0.02); }
|
||||
|
||||
.tab-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.queue-list {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
padding: 10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.chat-messages {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
padding: 16px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
}
|
||||
Reference in New Issue
Block a user