-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpopup.html
79 lines (79 loc) · 1.92 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!doctype html>
<html>
<head>
<title>Oswald</title>
<link rel="stylesheet" type="text/css" href="ionicons.min.css">
<style type="text/css">
body {
padding: 1px 10px 10px 10px;
width: 200px;
text-align: center;
}
h2 {
font-size: 120%;
}
button, .button {
color: inherit;
text-decoration: none;
width: 100%;
box-sizing: border-box;
margin-top: 10px;
font-weight: bold;
outline: none;
border: none;
border-radius: 5px;
cursor: pointer;
background: #ddd;
display: block;
height: 40px;
line-height: 40px;
font-size: 110%;
padding: 0 0 0 10px;
}
.primary {
background: #2792f3;
color: white;
}
.primary:hover {
background: #2ca6f1;
}
.enabled {
display: none;
}
body.on {
background: #2792f3;
color: white;
}
body.on button, body.on .button {
color: black;
}
body.on .primary {
background: white;
color: #2792f3;
}
i {
display: inline-block;
font-size: 200%;
vertical-align: middle;
width: 30px;
float: left;
text-align: center;
}
</style>
</head>
<body>
<div class="enabled">
<h2>Oswald is enabled.</h2>
<p>On disabling Oswald, your experience on the web will be back to the dull old kind.</p>
<button class="primary" id="disableOswald"><i class="ion-android-radio-button-on"></i>Disable Oswald</button>
</div>
<div class="disabled">
<h2>Oswald is disabled.</h2>
<p>On enabling Oswald, your experience on the web will be changed to best suit your needs.</p>
<button class="primary" id="enableOswald"><i class="ion-android-radio-button-on"></i>Enable Oswald</button>
</div>
<a class="button" id="readingMode"><i class="ion-ios-book"></i>Reading Mode</a>
<a class="button" target="_blank" href="/customize.html"><i class="ion-toggle-filled"></i>Preferences</a>
<script type="text/javascript" src="oswald.js"></script>
</body>
</html>