-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
63 lines (58 loc) · 1.46 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
<!doctype html>
<html>
<head>
<title>Dyslexia Filter</title>
<style>
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
src: url('../fonts/Open Sans.woff') format('woff');
}
body {
min-width: 330px;
overflow-x: hidden;
font-family: 'Open Sans';
}
.button {
height: 40px;
width: 60px;
border: 1px solid black;
background-color: transparent;
float: left;
margin: 10px;
}
.button:hover {
cursor: pointer;
}
.button_inner {
height: 36px;
width: 56px;
margin: 2px;
}
#blank_button {
width: 72px;
height: 1px;
border-bottom:
1px solid red;
-webkit-transform: translateY(18px) translateX(-6px) rotate(34deg);
}
</style>
<script src="popup.js"></script>
</head>
<body>
<p style="clear:both">Presets:</p>
<div data-color="transparent" class="button">
<div id="blank_button"></div>
</div>
<div data-color="lime" class="button">
<div class="button_inner" style="background-color:lime;"></div>
</div>
<div data-color="blue" class="button">
<div class="button_inner" style="background-color:blue;"></div>
</div>
<div data-color="purple" class="button">
<div class="button_inner" style="background-color:purple;"></div>
</div>
</body>
</html>