fixed some css on rooms

This commit is contained in:
2026-01-04 20:09:06 +01:00
parent 5fe0e319b9
commit 4bf23980c2
2 changed files with 144 additions and 32 deletions

View File

@@ -589,10 +589,16 @@ input:focus, .form-input:focus {
border-radius: 10px; font-weight: 700; cursor: pointer; border-radius: 10px; font-weight: 700; cursor: pointer;
} }
.anime-results { .anime-results {
flex: 1; overflow-y: auto; flex: 1;
display: flex; flex-direction: column; gap: 12px; overflow-y: auto;
min-height: 300px; display: flex;
flex-direction: column;
gap: 12px;
min-height: 0;
max-height: 60vh;
padding-right: 8px;
} }
.anime-result-item, .search-item { .anime-result-item, .search-item {
display: flex; gap: 16px; padding: 12px; display: flex; gap: 16px; padding: 12px;
background: rgba(255, 255, 255, 0.03); background: rgba(255, 255, 255, 0.03);
@@ -625,24 +631,74 @@ input:focus, .form-input:focus {
margin-bottom: 8px; font-weight: 700; margin-bottom: 8px; font-weight: 700;
} }
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type=number] {
-moz-appearance: textfield; /* Firefox */
}
/* Enhanced Episode Control Container */
.ep-control { .ep-control {
display: flex; align-items: center; display: flex;
background: rgba(255,255,255,0.05); align-items: center;
border: 1px solid var(--glass-border); justify-content: space-between;
border-radius: 10px; padding: 4px; width: 100%; background: rgba(0, 0, 0, 0.4); /* Darker background for visibility */
border: 1px solid rgba(255, 255, 255, 0.2); /* brighter border */
border-radius: 12px;
padding: 4px;
width: 100%;
height: 48px; /* Fixed height */
margin-top: 8px;
box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
} }
/* Button Styling */
.ep-btn { .ep-btn {
width: 36px; height: 36px; width: 40px; /* Fixed width */
display: flex; align-items: center; justify-content: center; height: 38px; /* Fixed height */
flex-shrink: 0; /* Prevent shrinking */
display: flex;
align-items: center;
justify-content: center;
background: rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.1);
border: none; color: white; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05);
cursor: pointer; transition: 0.2s; color: white;
border-radius: 8px;
cursor: pointer;
font-size: 1.2rem;
transition: all 0.2s ease;
} }
.ep-btn:hover { background: rgba(255,255,255,0.2); }
.ep-btn:hover {
background: var(--brand-color);
border-color: var(--brand-color);
transform: translateY(-1px);
}
.ep-btn:active {
transform: translateY(1px);
}
/* Input Styling */
.ep-input { .ep-input {
flex: 1; background: transparent; border: none; flex: 1;
color: white; text-align: center; font-size: 1.1rem; min-width: 0; /* Allows flex item to shrink below content size */
font-weight: 700; outline: none; background: transparent;
border: none;
color: white;
text-align: center;
font-size: 1.2rem;
font-weight: 800;
outline: none;
font-family: monospace; /* Better number alignment */
}
.ep-input:focus {
background: transparent;
border: none;
} }
.cat-toggle { .cat-toggle {

View File

@@ -589,10 +589,16 @@ input:focus, .form-input:focus {
border-radius: 10px; font-weight: 700; cursor: pointer; border-radius: 10px; font-weight: 700; cursor: pointer;
} }
.anime-results { .anime-results {
flex: 1; overflow-y: auto; flex: 1;
display: flex; flex-direction: column; gap: 12px; overflow-y: auto;
min-height: 300px; display: flex;
flex-direction: column;
gap: 12px;
min-height: 0;
max-height: 60vh;
padding-right: 8px;
} }
.anime-result-item, .search-item { .anime-result-item, .search-item {
display: flex; gap: 16px; padding: 12px; display: flex; gap: 16px; padding: 12px;
background: rgba(255, 255, 255, 0.03); background: rgba(255, 255, 255, 0.03);
@@ -625,24 +631,74 @@ input:focus, .form-input:focus {
margin-bottom: 8px; font-weight: 700; margin-bottom: 8px; font-weight: 700;
} }
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type=number] {
-moz-appearance: textfield; /* Firefox */
}
/* Enhanced Episode Control Container */
.ep-control { .ep-control {
display: flex; align-items: center; display: flex;
background: rgba(255,255,255,0.05); align-items: center;
border: 1px solid var(--glass-border); justify-content: space-between;
border-radius: 10px; padding: 4px; width: 100%; background: rgba(0, 0, 0, 0.4); /* Darker background for visibility */
border: 1px solid rgba(255, 255, 255, 0.2); /* brighter border */
border-radius: 12px;
padding: 4px;
width: 100%;
height: 48px; /* Fixed height */
margin-top: 8px;
box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
} }
/* Button Styling */
.ep-btn { .ep-btn {
width: 36px; height: 36px; width: 40px; /* Fixed width */
display: flex; align-items: center; justify-content: center; height: 38px; /* Fixed height */
flex-shrink: 0; /* Prevent shrinking */
display: flex;
align-items: center;
justify-content: center;
background: rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.1);
border: none; color: white; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05);
cursor: pointer; transition: 0.2s; color: white;
border-radius: 8px;
cursor: pointer;
font-size: 1.2rem;
transition: all 0.2s ease;
} }
.ep-btn:hover { background: rgba(255,255,255,0.2); }
.ep-btn:hover {
background: var(--brand-color);
border-color: var(--brand-color);
transform: translateY(-1px);
}
.ep-btn:active {
transform: translateY(1px);
}
/* Input Styling */
.ep-input { .ep-input {
flex: 1; background: transparent; border: none; flex: 1;
color: white; text-align: center; font-size: 1.1rem; min-width: 0; /* Allows flex item to shrink below content size */
font-weight: 700; outline: none; background: transparent;
border: none;
color: white;
text-align: center;
font-size: 1.2rem;
font-weight: 800;
outline: none;
font-family: monospace; /* Better number alignment */
}
.ep-input:focus {
background: transparent;
border: none;
} }
.cat-toggle { .cat-toggle {