182 lines
2.8 KiB
CSS
182 lines
2.8 KiB
CSS
/* === Server List / Server Browser Styles === */
|
|
|
|
#user-info {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 15px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
#user-info .logout-btn {
|
|
background-color: #d9534f;
|
|
color: white;
|
|
border: none;
|
|
padding: 6px 14px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-weight: bold;
|
|
font-size: 14px;
|
|
transition: background-color 0.2s ease;
|
|
}
|
|
|
|
#user-info .logout-btn:hover {
|
|
background-color: #c9302c;
|
|
}
|
|
|
|
#server-browser-container {
|
|
width: 100%;
|
|
max-width: 650px;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.stats-badge {
|
|
background: #2a2a2a;
|
|
border: 1px solid #444;
|
|
padding: 10px 16px;
|
|
border-radius: 6px;
|
|
text-align: center;
|
|
margin-bottom: 20px;
|
|
font-weight: bold;
|
|
color: #79c4ff;
|
|
}
|
|
|
|
.room-card {
|
|
background: #252525;
|
|
border: 1px solid #3d3d3d;
|
|
border-radius: 6px;
|
|
padding: 14px 18px;
|
|
margin-bottom: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
transition: border-color 0.2s, background 0.2s;
|
|
}
|
|
|
|
.room-card:hover {
|
|
border-color: #555;
|
|
background: #2a2a2a;
|
|
}
|
|
|
|
.room-info-left {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
text-align: left;
|
|
}
|
|
|
|
.room-title-link {
|
|
font-size: 1.15em;
|
|
font-weight: bold;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
.room-title-link:hover {
|
|
color: #79c4ff;
|
|
}
|
|
|
|
.room-badges {
|
|
display: flex;
|
|
gap: 8px;
|
|
font-size: 0.85em;
|
|
align-items: center;
|
|
}
|
|
|
|
.badge-encrypted {
|
|
color: #81c784;
|
|
}
|
|
|
|
.badge-watchparty {
|
|
color: #ffb74d;
|
|
}
|
|
|
|
.empty-state {
|
|
text-align: center;
|
|
color: #888;
|
|
padding: 30px 15px;
|
|
font-style: italic;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.form-card {
|
|
background: #2a2a2a;
|
|
border: 1px solid #444;
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
margin-top: 25px;
|
|
}
|
|
|
|
.form-card h2 {
|
|
margin-top: 0;
|
|
font-size: 1.25em;
|
|
}
|
|
|
|
.form-subtitle {
|
|
font-size: 0.9em;
|
|
color: #aaa;
|
|
margin-top: -5px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.checkbox-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 15px;
|
|
font-size: 0.95em;
|
|
color: #ccc;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.checkbox-row input {
|
|
cursor: pointer;
|
|
width: auto;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
#create-room-btn {
|
|
width: 100%;
|
|
}
|
|
|
|
/* === Password Join Modal === */
|
|
.modal-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
background: rgba(0, 0, 0, 0.75);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.modal-box {
|
|
background: #2a2a2a;
|
|
border: 1px solid #444;
|
|
border-radius: 8px;
|
|
padding: 24px 30px;
|
|
max-width: 440px;
|
|
width: 90%;
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
|
|
text-align: center;
|
|
}
|
|
|
|
.modal-buttons {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.cancel-btn {
|
|
background-color: #555 !important;
|
|
}
|
|
|
|
.cancel-btn:hover {
|
|
background-color: #666 !important;
|
|
}
|