-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·110 lines (109 loc) · 3.37 KB
/
index.html
File metadata and controls
executable file
·110 lines (109 loc) · 3.37 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Flash Player</title>
<style>
body {
padding: 0;
margin: 0;
background-color: #000;
color: #fff;
}
.gradient-background {
background: linear-gradient(288deg,#00f52b,#16097a,#68086f,#b1191c);
background-size: 240% 240%;
animation: gradient-animation 8s ease infinite;
}
@keyframes gradient-animation {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.opacity {
background: rgba(0, 0, 0, 0.5);
padding: 25px;
width: fit-content;
height: fit-content;
border-radius: 25px;
margin: 35px;
}
button {
background-color: rgba(0, 0, 0, 0.5);
border: 2px solid #550000;
border-radius: 25px;
color: white;
padding: 8px 16px;
text-align: center;
display: inline-block;
margin: 4px 2px;
font-family: inherit;
transition-duration: 0.4s;
cursor: pointer;
}
input[type=text], input[type=url] {
background-color: rgba(0, 0, 0, 0.5);
border: 2px solid #550000;
border-radius: 25px;
color: white;
padding: 8px 16px;
text-align: center;
display: inline-block;
margin: 4px 2px;
font-family: inherit;
transition-duration: 0.4s;
width: 250px;
}
button:hover {
background-color: #550000;
color: white;
}
input[type=text]:focus, input[type=url]:focus {
background-color: #550000;
color: white;
}
*:focus {
outline: none;
}
h1 {
margin-block-start: 0.4em;
margin-block-end: 0.4em;
}
.swflinks:hover {
text-decoration: underline !important;
}
</style>
<script src="./scripts/index.js"></script>
</head>
<body id="main" class="gradient-background">
<div id="start">
<center>
<img src="./icon.png">
<h1>Flash Player</h1>
<div class="opacity">
<div id="flashinput">
<label for="flashfile">Pick file: </label>
<button type="button" id="flashfile" onclick="fileSelectInput()">Choose File</button><br>
<label for="flashurl">Pick url: </label>
<input type="url" id="flashurl">
<button type="button" id="flashopen" onclick="urlbutton()">Open</button><br>
<p id="flasherror"></p>
<button type="button" id="flashdemo" onclick="demo()">Open Demo</button>
<button type="button" id="flashgames" onclick="flashGames(true)">Open Games</button>
</div>
<div id="flashlist" style="display: none;">
<p id="flashlinks">Loading...</p>
<button type="button" id="flashback" onclick="flashGames(false)"><- Back</button>
</div>
</div>
</center>
</div>
<div class="overlay"></div>
</body>
</html>