-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathplayer.css.php
44 lines (44 loc) · 928 Bytes
/
player.css.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
$expires=86400;//24 hrs
header('Content-type: text/css; charset=UTF-8');
header("Pragma: public");
header("Cache-Control: maxage=$expires");
header('Expires: '.gmdate('D, d M Y H:i:s',time()+$expires).' GMT');
echo "/* ----- Begin PHP Generated CSS ----- */";
$ele="\n#audioUI input::";
$thumb=[
"-moz-range-thumb",
"-webkit-slider-thumb"
];
$track=[
"-moz-range-track",
"-webkit-slider-runnable-track"
];
foreach($thumb as $i){
echo "$ele$i{
-moz-appearance:none;
-webkit-appearance:none;
transition:background-color 0.25s;
background-color:#999;
border:none;
border-radius:50%;
cursor:ew-resize;
width:15px;
height:15px;
margin-top:-6px;
}";
echo "$ele$i:hover{
background-color:white;
}";
}
foreach($track as $i){
echo "$ele$i{
background-color:#999;
border-radius:3px;
height:3px;
border:none;
}";
}
echo "\n/* ----- End PHP Generated CSS ----- */\n";
include('player.css');
?>