180 lines
3.4 KiB
CSS
180 lines
3.4 KiB
CSS
|
#equalizer-panel {
|
||
|
position: absolute;
|
||
|
bottom: 100%;
|
||
|
left: 50%;
|
||
|
transform: translateX(-50%) translateY(100%);
|
||
|
width: 520px;
|
||
|
background-color: #1c1c22;
|
||
|
border-top: 1px solid #333;
|
||
|
border-left: 1px solid #333;
|
||
|
border-right: 1px solid #333;
|
||
|
border-radius: 12px 12px 0 0;
|
||
|
box-shadow: 0 -5px 25px rgba(0,0,0,0.3);
|
||
|
z-index: 100;
|
||
|
overflow: hidden;
|
||
|
display: none;
|
||
|
font-family: 'Montserrat', sans-serif;
|
||
|
}
|
||
|
|
||
|
.equalizer-header {
|
||
|
display: flex;
|
||
|
justify-content: space-between;
|
||
|
align-items: center;
|
||
|
padding: 10px 15px;
|
||
|
background-color: #25252d;
|
||
|
color: #e0e0e0;
|
||
|
border-bottom: 1px solid #333;
|
||
|
}
|
||
|
|
||
|
.equalizer-header h5 {
|
||
|
margin: 0;
|
||
|
font-weight: 600;
|
||
|
font-family: 'Orbitron', sans-serif;
|
||
|
}
|
||
|
|
||
|
.close-btn {
|
||
|
background: none;
|
||
|
border: none;
|
||
|
color: #999;
|
||
|
font-size: 1.2rem;
|
||
|
cursor: pointer;
|
||
|
transition: color 0.2s;
|
||
|
}
|
||
|
.close-btn:hover { color: #fff; }
|
||
|
|
||
|
.equalizer-top-bar {
|
||
|
display: flex;
|
||
|
justify-content: space-around;
|
||
|
align-items: center;
|
||
|
padding: 15px;
|
||
|
border-bottom: 1px solid #333;
|
||
|
gap: 20px;
|
||
|
}
|
||
|
|
||
|
.control-group {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
gap: 10px;
|
||
|
}
|
||
|
|
||
|
.control-group label {
|
||
|
font-size: 0.8rem;
|
||
|
color: #aaa;
|
||
|
font-weight: 500;
|
||
|
white-space: nowrap;
|
||
|
}
|
||
|
|
||
|
.control-group.preamp {
|
||
|
flex-grow: 1;
|
||
|
}
|
||
|
|
||
|
.equalizer-bands-grid {
|
||
|
display: grid;
|
||
|
grid-template-columns: repeat(5, 1fr);
|
||
|
gap: 20px 15px;
|
||
|
padding: 20px 15px;
|
||
|
}
|
||
|
|
||
|
.band {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
align-items: center;
|
||
|
gap: 8px;
|
||
|
}
|
||
|
|
||
|
.band label {
|
||
|
font-size: 0.75rem;
|
||
|
color: #aaa;
|
||
|
font-weight: 500;
|
||
|
}
|
||
|
|
||
|
.eq-slider {
|
||
|
-webkit-appearance: none;
|
||
|
appearance: none;
|
||
|
width: 100%;
|
||
|
height: 6px;
|
||
|
background: #3a3a44;
|
||
|
outline: none;
|
||
|
border-radius: 3px;
|
||
|
cursor: pointer;
|
||
|
transition: opacity 0.2s;
|
||
|
}
|
||
|
|
||
|
.eq-slider::-webkit-slider-runnable-track {
|
||
|
width: 100%;
|
||
|
height: 6px;
|
||
|
cursor: pointer;
|
||
|
background: #3a3a44;
|
||
|
border-radius: 3px;
|
||
|
}
|
||
|
|
||
|
.eq-slider::-webkit-slider-thumb {
|
||
|
-webkit-appearance: none;
|
||
|
appearance: none;
|
||
|
width: 18px;
|
||
|
height: 18px;
|
||
|
background: #00aaff;
|
||
|
border: 3px solid #1c1c22;
|
||
|
border-radius: 50%;
|
||
|
cursor: pointer;
|
||
|
margin-top: -6px;
|
||
|
transition: background 0.2s, box-shadow 0.2s;
|
||
|
box-shadow: 0 0 5px rgba(0, 170, 255, 0.5);
|
||
|
}
|
||
|
|
||
|
.eq-slider:hover::-webkit-slider-thumb {
|
||
|
background: #00caff;
|
||
|
box-shadow: 0 0 10px rgba(0, 202, 255, 0.8);
|
||
|
}
|
||
|
|
||
|
.eq-slider::-moz-range-track {
|
||
|
width: 100%;
|
||
|
height: 6px;
|
||
|
cursor: pointer;
|
||
|
background: #3a3a44;
|
||
|
border-radius: 3px;
|
||
|
}
|
||
|
|
||
|
.eq-slider::-moz-range-thumb {
|
||
|
width: 18px;
|
||
|
height: 18px;
|
||
|
background: #00aaff;
|
||
|
border: 3px solid #1c1c22;
|
||
|
border-radius: 50%;
|
||
|
cursor: pointer;
|
||
|
box-shadow: 0 0 5px rgba(0, 170, 255, 0.5);
|
||
|
}
|
||
|
|
||
|
.slider-value {
|
||
|
font-size: 0.7rem;
|
||
|
color: #888;
|
||
|
background: #2a2a33;
|
||
|
padding: 2px 5px;
|
||
|
border-radius: 3px;
|
||
|
min-width: 35px;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
.custom-select-sm {
|
||
|
background-color: #2a2a33;
|
||
|
color: #e0e0e0;
|
||
|
border: 1px solid #444;
|
||
|
border-radius: 4px;
|
||
|
padding: 5px 8px;
|
||
|
font-size: 0.8rem;
|
||
|
}
|
||
|
|
||
|
.visualizer-container {
|
||
|
height: 80px;
|
||
|
background-color: #111;
|
||
|
border-top: 1px solid #333;
|
||
|
padding: 0;
|
||
|
margin: 0;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
#visualizer-canvas {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
display: block;
|
||
|
}
|