-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
56 lines (54 loc) · 2.35 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
<!DOCTYPE html>
<html lang="br">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="cool-rainbows.css">
<link rel="stylesheet" href="responsive.css">
<title>Rainbows are c00l</title>
</head>
<body onload="setBodyColor()">
<div class="content-wrapper">
<!-- <div class="header">
<img onclick="setLanguage(0)" class="square" src="./assets/us.svg" />
<img onclick="setLanguage(1)" class="square" src="./assets/br.svg" />
</div> -->
<div id='patternModal' class="custom-modal">
<div class="modal-body">
<p>Show your colors!</p>
<span>Put them hexcodes in the box bellow, each separated by comma.</span>
<input id='customPattern' type="text" placeholder="#F25250, #FF8847, #000" />
<button onclick="setCustomPattern()">Set custom pattern</button>
</div>
</div>
<div class="content">
<button class='btn-change' onclick="changeColor('p')"><</button>
<div class="text">
<p id="message">Whoa! so dark in here <br> Try clicking one of them buttons on the side</p>
</div>
<button class='btn-change' onclick="changeColor('n')">></button>
</div>
<div class="footer">
<div class="automatic">
<input id="automaticTime" type="text" placeholder="Auto switch within x milisseconds" />
<div onclick="setAutomatic()" class="toggle">
<div class="toggle-ball"></div>
</div>
</div>
<div class="current">
<span id="index" class="index"></span>
</div>
<div class="patterns">
<div onclick="setPattern(0)" class="round pattern-0"></div>
<div onclick="setPattern(1)" class="round pattern-1"></div>
<div onclick="setPattern(2)" class="round pattern-2"></div>
<div onclick="setPattern(3)" class="round pattern-3"></div>
<div onclick="showPatternModal()" class="round pattern-4"></div>
</div>
</div>
</div>
</div>
<script src="./cool-rainbows.js"></script>
</body>
</html>