-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathpopup.html
128 lines (112 loc) · 2.38 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
textarea {
width: 800px;
height: 600px;
}
.history-list {
font-size: 18px
}
body {
width: 800px;
height: 600px;
}
.buttons li {
list-style: none;
display: inline;
margin-right: 5px;
font-weight: bold;
}
h1,
button {
display: inline;
color: gray;
border-radius: 5px;
font-weight: bold;
filter: alpha(opacity=50)
}
#shadow {
position: fixed;
top: 0;
left: 0;
z-index: 0;
width: 100%;
background-color: #000;
opacity: .2;
filter: alpha(opacity=20);
}
ul img {
width: 1.5rem;
height: 1.5rem;
position: relative;
top: .4rem;
}
.load {
width: 50px;
height: 50px;
position: fixed;
left: 50%;
top: 50%;
-webkit-animation: spin1 2s infinite linear;
-moz-animation: spin1 2s infinite linear;
-o-animation: spin1 2s infinite linear;
-ms-animation: spin1 2s infinite linear;
animation: spin1 2s infinite linear;
display: block;
visibility: hidden;
}
@-webkit-keyframes spin1 {
0% {
-webkit-transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
}
}
@-moz-keyframes spin1 {
0% {
-moz-transform: rotate(0deg);
}
100% {
-moz-transform: rotate(360deg);
}
}
@-o-keyframes spin1 {
0% {
-o-transform: rotate(0deg);
}
100% {
-o-transform: rotate(360deg);
}
}
@-ms-keyframes spin1 {
0% {
-ms-transform: rotate(0deg);
}
100% {
-ms-transform: rotate(360deg);
}
}
</style>
<title>export to markdown</title>
</head>
<body>
<div class="main">
<ul class="buttons">
<li><button class="copy">copy to clipboard</button></li>
<li><button class="history">history</button></li>
</ul>
<span><img src="load.svg" class="load"></span>
<div class="left-area">
<textarea id="source"></textarea>
</div>
</div>
<script src="scripts/snarkdown.js"></script>
<script src="scripts/turndown.min.js"></script>
<script src="scripts/widget.js"></script>
</body>
</html>