-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreader.html
96 lines (89 loc) · 2.05 KB
/
reader.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
<!DOCTYPE html>
<html>
<head>
<title>Reader</title>
<style type="text/css">
body{
box-shadow: 8px 8px 8px grey;
margin: 2px;
padding: 6px;
width: 225px;
height: 270px;
}
.hide{
opacity: 0;
}
.switch-btn{
float: left;
border-radius: 20px;
width: 80px;
height: 35px;
background: lightgrey;
position: relative;
cursor: pointer;
box-shadow: inset 0px px 10px rgba(0,0,0,.3);
}
.switch-btn:before{
position: absolute;
height: 32px;
width: 36px;
border-radius: 50%;
background: linear-gradient(#FFF,#f2f2f2);
left: 2px;
top: 2px;
transition: all 150ms ease-out;
content: '';
box-shadow: 0px 5px 6px -4px rgba(0,0,0,.25);
}
input[type=checkbox]:checked + .switch-btn:before{
left: 42px;
}
input[type=checkbox]:checked + .switch-btn{
background: lightblue;
}
.textLabel{
font-size: 17px;
font-weight: bold;
font-family: cursive;
}
.icon{
height: 60px;
width: 60px;
border-radius: 10px;
}
</style>
<script type="text/javascript" src="popup.js"></script>
</head>
<body>
<label class="switch">
<input type="checkbox" name="search" id="search" class="hide">
<div class="switch-btn">
</div>
<span class="textLabel">Select Search</span>
</label>
<br/><br/>
<hr/>
<label class="switch">
<input type="checkbox" name="colorInversion" id="colorInversion" class="hide">
<div class="switch-btn">
</div>
<span class="textLabel"> Dark Background</span>
</label>
<hr/>
<label class="switch">
<input type="checkbox" name="notes" id="notes" class="hide">
<div class="switch-btn">
</div>
<span class="textLabel"> Add To Notes</span>
</label>
<br/><br/>
<hr/>
<br/><br/>
<label>
<a href="/options.html" target="_blank" alt="optionsPage"><img class="icon" src="/settingsIcon.jpg"> </a>
</label>
<label>
<a href="/options.html#donate" target="_blank" alt="donate"> <img class="icon" src="/donate-time.png"></a>
</label>
</body>
</html>