-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsimpleshare.html
executable file
·76 lines (69 loc) · 1.7 KB
/
simpleshare.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
<!doctype html>
<html>
<head>
<title>SimpleShare</title>
<style>
body {
min-width: 10em;
overflow-x: hidden;
margin: 0;
padding: 0;
font-family: Sans-Serif;
font-size: 10pt;
}
span.ServiceTitle {
display: inline-block;
vertical-align: middle;
height: 100%;
}
div#SharingHeader {
background-color: #474747;
color: White;
padding: 0.5em;
}
div.SharingService {
width: 100%;
padding-top: 0.5em;
padding-bottom: 0.5em;
vertical-align: middle;
height: 20px;
line-height: 20px;
border-bottom: 1px solid DarkGray;
}
div.last {
border-bottom-width: 0;
}
div.SharingService:hover {
background-color: #E5E5E5;
}
img {
margin-left: 0.5em;
margin-right: 0.5em;
vertical-align: middle;
height: 100%;
}
</style>
<script type="text/javascript" src="lib/jquery-1.9.1.min.js"></script>
<script src="simpleshare.js"></script>
</head>
<body>
<div id="SharingHeader">
Share link
</div>
<div id="FbShare" class="SharingService">
<img src="icons/facebook.png" /> <span class="ServiceTitle">Facebook</span>
</div>
<div id="TwitterShare" class="SharingService">
<img src="icons/twitter.png" /> <span class="ServiceTitle">Twitter</span>
</div>
<div class="SharingService" id="GPlusShare">
<img src="icons/google-plus.png" /> <span class="ServiceTitle">Google+</span>
</div>
<div class="SharingService" id="GMailShare">
<img src="icons/gmail.png" /> <span class="ServiceTitle">GMail</span>
</div>
<div class="SharingService last" id="EmailShare">
<img src="icons/email.png" /> <span class="ServiceTitle">Email</span>
</div>
</body>
</html>