-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
128 lines (116 loc) · 2.86 KB
/
popup.html
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>J-VIDEO</title>
<style>
body {
font-family: arial;
font-size: 18px;
background-image:url(background.png);
width: 252px;
text-align: center;
}
div {
display: block;
padding-bottom: 2px;
}
#abrir, #descargar, #copiar {
font-weight: bold;
width:80px;
height:32px;
}
#velocidades button {
width: 32px;
padding: 0;
}
#otros button {
width: 22px;
padding: 0;
}
#legacymode {
filter: sepia(1) saturate(4) hue-rotate(300deg);
animation-duration: 1s;
animation-iteration-count: infinite;
animation-direction: alternate;
animation-timing-function: linear;
}
@keyframes legacymodean {
from {filter: sepia(1) saturate(4) hue-rotate(300deg);}
to {filter: sepia(1) saturate(10) hue-rotate(300deg);}
}
.icono {
position: relative;
padding-left: 26px;
cursor: pointer;
}
.VIDEO .checkmark {
background-image: url("icons/video.png");
/* https://icons-for-free.com/download-icon-movie+play+video+icon-1320168052202641080_64.png */
}
.AUDIO .checkmark {
background-image: url("icons/audio.png");
/* https://icons-for-free.com/download-icon-audio+itunes+itunes+logo+itunes+store+music+music+note+icon-1320196076849257893_64.png */
}
.icono input {
width: 0;
}
.checkmark {
position: absolute;
top: 0;
left: 0;
height: 32px;
width: 32px;
background-size: 32px;
filter: grayscale(1);
opacity: 0.5;
transition: opacity 1s;
}
.icono:hover input ~ .checkmark {
opacity: 1;
}
.icono input:checked ~ .checkmark {
filter: grayscale(0);
opacity: 1;
}
</style>
</head>
<body>
<div><span id="texto" style="color:red;">Ningún medio detectado</span></div>
<div id="iconos" style="height:32px;">
<!--label class="icono VIDEO">
<input type="radio" checked="checked" name="radio">
<span class="checkmark"></span>
</label>
<label class="icono AUDIO">
<input type="radio" name="radio">
<span class="checkmark"></span>
</label-->
</div>
<div>
<button id="abrir" disabled>Abrir</button>
<button id="descargar" disabled>Descargar</button>
<button id="copiar" disabled>Copiar</button>
</div>
<div id="velocidades" style="display: flex;">
<button disabled>0.5</button>
<button disabled>0.75</button>
<button style="filter: sepia(0.75);" disabled>1</button>
<button disabled>1.25</button>
<button disabled>1.5</button>
<button disabled>1.75</button>
<button disabled>2</button>
<button disabled>4</button>
</div>
<div id="otros" style="display: flex;">
<button id="audio0" disabled>A+</button>
<button id="audio1" disabled>A=</button>
<button id="fin" disabled>Fin</button>
<input type="text" id="url" style="width: 100%;" readonly disabled>
<button id="chromecast">C</button>
<button id="legacymode">L</button>
</div>
<script src="cast_sender.js"></script>
<script src="popup.js"></script>
</body>
</html>