-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
207 lines (185 loc) · 9.3 KB
/
index.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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
<!DOCTYPE html>
<html>
<head>
<title>Shout Out</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<meta http-equiv="Content-Security-Policy" content="
default-src 'self' https://ka-f.fontawesome.com;
script-src 'self' https://kit.fontawesome.com;
style-src 'self' 'unsafe-inline' https://fonts.googleapis.com;
font-src *;" />
<link href="styles/main.css" rel="stylesheet" media="screen" type="text/css" />
<link href="styles/animate.css" rel="stylesheet" media="screen" type="text/css" />
<link href="styles/stage.css" rel="stylesheet" media="screen" type="text/css" />
<link href="styles/panel.css" rel="stylesheet" media="screen" type="text/css" />
<link href="styles/speed.css" rel="stylesheet" media="screen" type="text/css" />
<link href="styles/palette.css" rel="stylesheet" media="screen" type="text/css" />
<link href="styles/msg-form.css" rel="stylesheet" media="screen" type="text/css" />
<link href="styles/info-card.css" rel="stylesheet" media="screen" type="text/css" />
<link href="styles/rwd.css" rel="stylesheet" media="screen" type="text/css" />
<script src="https://kit.fontawesome.com/87f4504e58.js" crossorigin="anonymous"></script>
</head>
<body>
<div id="stage">
<div class="ticker">
<span class="msg"></span>
</div>
</div>
<div id="panel-container">
<div id="panel">
<!-- Input -->
<form id="msg-form">
<div class="text-field-container">
<input class="text-field" type="text" />
<button id="delete-btn" class="btn" type="button">
<i class="fa-solid fa-delete-left"></i>
</button>
</div>
<button class="btn panel-btn submit-btn" type="submit">
<i class="fa-solid fa-bullhorn"></i>
</button>
</form>
<div class="spacer"></div>
<!-- Control -->
<div class="panel-btn-container ctl-btn-container">
<button class="play-pause-btn btn panel-btn control-btn">
<i class="fa-solid fa-pause"></i>
</button>
</div>
<div class="panel-btn-container ctl-btn-container">
<button class="stop-btn btn panel-btn control-btn">
<i class="fa-solid fa-stop"></i>
</button>
</div>
<!-- Speed -->
<div class="panel-card-container">
<div id="speed-card" class="panel-card">
<button class="btn panel-card-close">
<i class="fa-solid fa-close"></i>
</button>
<div id="speed-display">
<span class="value">500</span>
<span>px/s</span>
</div>
<div class="slider">
<span class="material-symbols-outlined">assist_walker</span>
<input id="speed" type="range" min="10" max="1000" value="500" autocomplete="off" />
<span class="material-symbols-outlined">directions_run</span>
</div>
</div>
</div>
<div class="panel-btn-container fn-btn-container">
<button class="speed-btn btn panel-btn panel-card-btn" data-ref="speed">
<i class="fa-solid fa-gauge"></i>
</button>
</div>
<!-- Palette -->
<div class="panel-card-container">
<div id="palette-card" class="panel-card">
<button class="btn panel-card-close">
<i class="fa-solid fa-close"></i>
</button>
<div class="palette">
<div class="color color-1"></div>
<div class="color color-2"></div>
<div class="color color-3"></div>
<div class="color color-4 selected"></div>
<div class="color color-5"></div>
<div class="color color-6"></div>
<div class="color color-7"></div>
<div class="color color-8"></div>
<div class="color color-9"></div>
<div class="color color-free">
<input type="color" id="color-picker" />
<i class="fa-solid fa-droplet"></i>
</div>
</div>
</div>
</div>
<div class="panel-btn-container fn-btn-container">
<button class="palette-btn btn panel-btn panel-card-btn" data-ref="palette">
<i class="fa-solid fa-palette"></i>
</button>
</div>
<!-- Info -->
<div class="panel-card-container">
<div id="info-card" class="panel-card">
<button class="btn panel-card-close">
<i class="fa-solid fa-close"></i>
</button>
<div>
<i class="fa-solid fa-feather-pointed"></i>
<span>Alan Kuan</span>
</div>
<div>
<i class="fa-solid fa-envelope"></i>
<a id="email" target="_blank"></a>
</div>
<div>
<i class="fa-brands fa-github"></i>
<a href="https://github.com/Alan-Kuan/ShoutOut" target="_blank">
Alan-Kuan/ShoutOut
</a>
</div>
</div>
</div>
<div class="panel-btn-container fn-btn-container">
<button class="info-btn btn panel-btn panel-card-btn" data-ref="info">
<i class="fa-solid fa-circle-info"></i>
</button>
</div>
<!-- Fullscreen -->
<div class="panel-btn-container fn-btn-container">
<button class="fullscreen-btn btn panel-btn">
<i class="fa-solid fa-up-right-and-down-left-from-center"></i>
</button>
</div>
<!-- More -->
<div class="panel-card-container">
<div id="more-card" class="panel-card">
<button class="play-pause-btn btn panel-btn control-btn" disabled>
<i class="fa-solid fa-pause"></i>
</button>
<button class="stop-btn btn panel-btn control-btn" disabled>
<i class="fa-solid fa-stop"></i>
</button>
<button class="speed-btn btn panel-btn panel-card-btn" data-ref="speed">
<i class="fa-solid fa-gauge"></i>
</button>
<button class="palette-btn btn panel-btn panel-card-btn" data-ref="palette">
<i class="fa-solid fa-palette"></i>
</button>
<button class="info-btn btn panel-btn panel-card-btn" data-ref="info">
<i class="fa-solid fa-circle-info"></i>
</button>
<button class="fullscreen-btn btn panel-btn">
<i class="fa-solid fa-up-right-and-down-left-from-center"></i>
</button>
</div>
</div>
<div id="more-btn-container" class="panel-btn-container">
<button class="btn panel-btn panel-card-btn" data-ref="more">
<i class="fa-solid fa-bars"></i>
</button>
</div>
<!-- Close -->
<div class="panel-btn-container">
<button id="close-btn" class="btn panel-btn">
<i class="fa-solid fa-xmark"></i>
</button>
</div>
</div>
<div class="cover"></div>
</div>
<script src="scripts/animate.js"></script>
<script src="scripts/stage.js"></script>
<script src="scripts/control.js"></script>
<script src="scripts/message.js"></script>
<script src="scripts/msg-form.js"></script>
<script src="scripts/panel-card.js"></script>
<script src="scripts/speed.js"></script>
<script src="scripts/palette.js"></script>
<script src="scripts/info-card.js"></script>
</body>
</html>