1
1
<!DOCTYPE html>
2
2
< html >
3
+ < head >
4
+ < meta charset ="UTF-8 ">
5
+ </ head >
3
6
< body >
4
7
5
8
< div class ="container ">
6
- < h3 > Statistics</ h3 >
9
+ < div class ="tools ">
10
+ < div style ="width:50%;float:left;height:60% ">
11
+ < label class ="cont "> Notifications
12
+ < input id ="notification " type ="checkbox ">
13
+ < span class ="checkmark "> </ span >
14
+ </ label >
15
+ </ div >
16
+ < div style ="width:50%;float:right;height:60% ">
17
+ < a style ="margin-top:20%;font-size: 15px;display: block;cursor: pointer; " id ="donate "> More...</ a >
18
+ </ div >
19
+ < a href ="#stats " class ="link "> Statistics</ a >
20
+ </ div >
7
21
< table id ="stats ">
8
22
< tr >
9
23
< th > Site</ th >
10
24
< th > Times blocked</ th >
11
25
</ tr >
12
26
13
27
</ table >
14
- < a id ="donate "> Donate?</ a >
15
28
</ div >
16
29
17
30
< style >
31
+ .cont {
32
+ display : block;
33
+ position : relative;
34
+ padding-left : 15px ;
35
+ cursor : pointer;
36
+ left : 10px ;
37
+ font-size : 15px ;
38
+ margin-top : 20% ;
39
+ -webkit-user-select : none;
40
+ -moz-user-select : none;
41
+ -ms-user-select : none;
42
+ user-select : none;
43
+ }
44
+
45
+ /* Hide the browser's default checkbox */
46
+ .container input {
47
+ position : absolute;
48
+ opacity : 0 ;
49
+ cursor : pointer;
50
+ }
51
+
52
+ /* Create a custom checkbox */
53
+ .checkmark {
54
+ position : absolute;
55
+ top : 0 ;
56
+ left : 0 ;
57
+ height : 25px ;
58
+ width : 25px ;
59
+ background-color : # eee ;
60
+ }
61
+
62
+ /* On mouse-over, add a grey background color */
63
+ .container : hover input ~ .checkmark {
64
+ background-color : # ccc ;
65
+ }
66
+
67
+ /* When the checkbox is checked, add a blue background */
68
+ .container input : checked ~ .checkmark {
69
+ background-color : # 2196F3 ;
70
+ }
71
+
72
+ /* Create the checkmark/indicator (hidden when not checked) */
73
+ .checkmark : after {
74
+ content : "" ;
75
+ position : absolute;
76
+ display : none;
77
+ }
78
+
79
+ /* Show the checkmark when checked */
80
+ .container input : checked ~ .checkmark : after {
81
+ display : block;
82
+ }
83
+
84
+ /* Style the checkmark/indicator */
85
+ .container .checkmark : after {
86
+ left : 9px ;
87
+ top : 5px ;
88
+ width : 5px ;
89
+ height : 10px ;
90
+ border : solid white;
91
+ border-width : 0 3px 3px 0 ;
92
+ -webkit-transform : rotate (45deg );
93
+ -ms-transform : rotate (45deg );
94
+ transform : rotate (45deg );
95
+ }
96
+ .link {
97
+ bottom : 0 ;
98
+
99
+ color : black;
100
+ font-size : 1.2rem ;
101
+
102
+ }
103
+ .tools {
104
+ height : 40% ;
105
+ width : 100% ;
106
+ }
18
107
a {
19
108
text-decoration : none;
20
109
}
@@ -68,4 +157,4 @@ <h3>Statistics</h3>
68
157
</ style >
69
158
< script src ="popup.js "> </ script >
70
159
</ body >
71
- </ html >
160
+ </ html >
0 commit comments