-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
81 lines (73 loc) · 2.36 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
80
81
<!doctype html>
<html>
<head>
<title></title>
<style>
body {
overflow: hidden;
margin: 0px;
padding: 0px;
background: white;
}
body{
border:2px solid black;
}
div {
cursor: pointer;
text-align: center;
padding: 1px 3px;
font-family: sans-serif;
font-size: 0.8em;
width: 100px;
margin-top: 1px;
background: #cccccc;
}
div:hover {
background: #aaaaaa;
}
.myButton {
-moz-box-shadow:inset 0px 0px 15px 3px #23395e;
-webkit-box-shadow:inset 0px 0px 15px 3px #23395e;
box-shadow:inset 0px 0px 15px 3px #23395e;
background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #2e466e), color-stop(1, #415989));
background:-moz-linear-gradient(top, #2e466e 5%, #415989 100%);
background:-webkit-linear-gradient(top, #2e466e 5%, #415989 100%);
background:-o-linear-gradient(top, #2e466e 5%, #415989 100%);
background:-ms-linear-gradient(top, #2e466e 5%, #415989 100%);
background:linear-gradient(to bottom, #2e466e 5%, #415989 100%);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#2e466e', endColorstr='#415989',GradientType=0);
background-color:#2e466e;
border:1px solid #1f2f47;
display:inline-block;
cursor:pointer;
color:#ffffff;
font-family:arial;
font-size:12px;
padding:6px 13px;
text-decoration:none;
text-shadow:0px 1px 0px #263666;
width:100px;
}
.myButton:hover {
background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #415989), color-stop(1, #2e466e));
background:-moz-linear-gradient(top, #415989 5%, #2e466e 100%);
background:-webkit-linear-gradient(top, #415989 5%, #2e466e 100%);
background:-o-linear-gradient(top, #415989 5%, #2e466e 100%);
background:-ms-linear-gradient(top, #415989 5%, #2e466e 100%);
background:linear-gradient(to bottom, #415989 5%, #2e466e 100%);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#415989', endColorstr='#2e466e',GradientType=0);
background-color:#415989;
}
.myButton:active {
position:relative;
top:1px;
}
</style>
<script src="popup.js"></script>
</head>
<body>
<a href="#" id="checkbox" class="myButton">Enable checkboxes</a>
<a href="#" id="generateHtml" class="myButton">Generate html</a>
<a href="#" id="generateReddit" class="myButton">Generate markdown</a>
</body>
</html>