-
Notifications
You must be signed in to change notification settings - Fork 1
/
popup.html
149 lines (126 loc) · 2.9 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<!DOCTYPE html>
<html>
<head>
<style>
@import url('https://fonts.googleapis.com/css?family=Mulish&display=swap');
body {
width: 300px;
height: auto;
background-color: #f6f7fc;
font-size: 1.2em;
font-family: "Mulish";
text-align: center;
}
button {
width: 95%;
border-radius: 5px;
background-image: linear-gradient(135deg, #6439b2 40%, #8e51fe);
color: #FFFFFF;
font-size: 0.9em;
margin: auto auto 10px auto;
border: none;
padding-top: 5px;
padding-bottom: 5px;
}
button:hover
{
font-size: 0.92em;
}
button .clicked{
color: #000000!important;
background-image: linear-gradient(135deg, #ffd24d 40%, #ffe94d);
}
input{
display: block;
width: 100%;
font-size: 0.9em;
border-radius: 5px;
margin: auto auto 5px auto;
padding-top: 3px;
padding-bottom: 3px;
text-align: center;
}
h1 {
color: #7342cc;
font-size: 95%;
}
#logo{
width: auto;
height: auto;
margin: auto;
text-align: center;
}
#logo img{
width: 50px;
}
#fields{
width: 90%;
margin: 0 auto;
text-align: center;
}
#post_content {
width: 90%;
margin: auto auto 15px auto;
display: block;
text-align: left;
white-space: pre-wrap;
}
.card{
width: 300px;
height: auto;
margin: 0 auto;
padding-top: 20px;
padding-bottom: 20px;
background-color: #FFFFFF;
border-radius: 5px;
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.05);
text-align: center;
}
.message{
width: 90%;
margin: auto auto 20px auto;
padding: 3px;
background-image: linear-gradient(135deg, #ffd24d 40%, #ffe94d);
border-radius: 5px;
color: #000000;
font-size: 75%;
}
.item{
margin: auto auto 20px auto;
}
</style>
<script src="popup.js"></script>
</head>
<body>
<div id="logo"><img src="myriadlogo48.png"></div>
<h1>Myriad Social</h1>
<div class="card">
<div id="prelogin" class="message">
Log-in by inputing your e-mail address, and copy the link you will receive into the 'magic link' field.
Don't forget to check your spam box!
</div>
<div id="contextof" class="message">
_
</div>
<div id="fields">
<div id="emailfield" class="item">
<input id="email" type="text" placeholder="Enter your Myriad email">
<button id="send_magic_link">Send Magic Link</button>
</div>
<div id="magiclink" class="item">
<input id="magic_link" type="text" placeholder="Enter the magic link here">
<button id="submit_magic_link">Submit Magic Link</button>
</div>
</div>
<div id="post">
<button id="write_post_button">Write Post</button>
<textarea id="post_content" style="display: none;"></textarea>
<button id="submit_post_button" style="display: none;">Post</button>
</div>
<div id="import">
<button id="import_post">Import Post</button>
</div>
</div>
<iframe id="myriad_iframe" style="width:100%; height:300px;"></iframe>
</body>
</html>