-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
executable file
·112 lines (109 loc) · 3.11 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!DOCTYPE html>
<html>
<head>
<style>
body {
width: 300px;
}
.page {
transition: all 500ms cubic-bezier(0.420, 0.000, 0.580, 1.000); /* ease-in-out */
}
/* TODO: Make some smooth animation for page changing*/
.current-page-main .page-main {
display: block;
}
.current-page-main .page-about {
display: none;
}
.current-page-about .page-main {
display: none;
}
.current-page-about .page-about {
display: block;
}
label {
display: block;
font-size: 14px;
margin-bottom: 6px;
padding: 5px;
}
label::after {
content: '';
display: block;
clear: both;
}
label:nth-of-type(even) {
background-color: #dedede;
}
input {
display: inline-block;
vertical-align: middle;
float: left;
margin-right: 15px;
}
[type="number"] {
width: 40px;
}
.note {
}
.description {
font-size: 0.7em;
margin-top: 5px;
}
h1 {
text-align: center;
margin: 0;
}
h1 .name {
display: inline-block;
position: relative;
}
h1 .name .version {
position: absolute;
top: 0;
right: -69px;
font-size: 12px;
font-weight: bold;
color: #2d2d2d;
}
.about-link-wrapper {
text-align: center;
margin-bottom: 5px;
}
.links {
text-align: center;
}
.about-extension {
text-align: center;
}
</style>
</head>
<body class="current-page-main">
<h1><div class="name">Fat tweet<span class="version">v0.1.4-beta</span></div></h1>
<div class="page page-main">
<div class="about-link-wrapper"><a class="about-link" href="#">About</a></div>
<div id="settings">
</div>
<div class="note"></div>
</div>
<div class="page page-about">
<div class="about-link-wrapper"><a class="about-back-link" href="#"><< Return to settings</a></div>
<div class="about-extension">
This extension add to tweet form on twitter.com
additional button by clicking which you able to
send tweet text as image attached to tweet.
</div>
<ul class="links">
<li>
<a title="Will open in new tab" href="https://github.com/Zaporozhec7/fat_tweet">Project on GitHub</a>
</li>
<li>
<a title="Will open in new tab" href="https://twitter.com/Zaporozhec7">Author</a>
</li>
</ul>
</div>
<script type="text/javascript" src="bower_components/jQuery/dist/jquery.min.js"></script>
<script type="text/javascript" src="js/FatTweet.class.js"></script>
<script type="text/javascript" src="js/popup.js"></script>
</body>
</html>