static: fix rangeinput style for firefox
This commit is contained in:
parent
170324134a
commit
3f8abb8924
|
@ -52,7 +52,7 @@
|
|||
</div>
|
||||
<div id="volume-control">
|
||||
<label for="volume"></label>
|
||||
<input id="volume" name="volume" type="range" min="1" max="100">
|
||||
<input id="volume" name="volume" type="range" min="1" max="100" value="50">
|
||||
</div>
|
||||
</div>
|
||||
<div class="track-info">
|
||||
|
|
|
@ -20,7 +20,6 @@ input[type="range"]:focus {
|
|||
/* slider track */
|
||||
input[type="range"]::-webkit-slider-runnable-track {
|
||||
height: 5px;
|
||||
width: 70px;
|
||||
border: 1px solid #1a2445;
|
||||
border-right-color: #3a506b;
|
||||
border-bottom-color: #3a506b;
|
||||
|
@ -45,18 +44,21 @@ input[type="range"]::-webkit-slider-thumb {
|
|||
}
|
||||
|
||||
input[type="range"]:focus::-webkit-slider-thumb {
|
||||
border: 1px solid #21110f;
|
||||
border-right-color: #812b25;
|
||||
border-bottom-color: #812b25;
|
||||
border: 1px solid #21110f;
|
||||
border-right-color: #812b25;
|
||||
border-bottom-color: #812b25;
|
||||
}
|
||||
|
||||
/******** Firefox styles ********/
|
||||
|
||||
/* slider track */
|
||||
input[type="range"]::-moz-range-track {
|
||||
background-color: #053a5f;
|
||||
border-radius: 0.5rem;
|
||||
height: 0.5rem;
|
||||
height: 5px;
|
||||
border: 1px solid #1a2445;
|
||||
border-right-color: #3a506b;
|
||||
border-bottom-color: #3a506b;
|
||||
background-color: #2e2e27;
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
|
||||
/* slider thumb */
|
||||
|
@ -65,13 +67,17 @@ input[type="range"]::-moz-range-thumb {
|
|||
border-radius: 0; /*Removes default border-radius that FF applies*/
|
||||
|
||||
/* custom styles */
|
||||
background-color: #5cd5eb;
|
||||
height: 2rem;
|
||||
width: 1rem;
|
||||
height: 11px;
|
||||
margin-top: -4px;
|
||||
width: 5px;
|
||||
background: #640000;
|
||||
border: 1px solid #812b25;
|
||||
border-right-color: #21110f;
|
||||
border-bottom-color: #21110f;
|
||||
}
|
||||
|
||||
input[type="range"]:focus::-moz-range-thumb {
|
||||
border: 1px solid #053a5f;
|
||||
outline: 3px solid #053a5f;
|
||||
outline-offset: 0.125rem;
|
||||
border: 1px solid #053a5f;
|
||||
outline: 3px solid #053a5f;
|
||||
outline-offset: 0.125rem;
|
||||
}
|
||||
|
|
|
@ -120,10 +120,12 @@ td.playing {
|
|||
|
||||
#progress {
|
||||
margin-left: 10px;
|
||||
width: 90%;
|
||||
}
|
||||
|
||||
#volume {
|
||||
margin-left: 10px;
|
||||
width: 90%;
|
||||
}
|
||||
|
||||
#queue-volume-controls {
|
||||
|
|
Loading…
Reference in a new issue