forked from madneal/export-to-markdown
-
Notifications
You must be signed in to change notification settings - Fork 3
/
popup.html
114 lines (100 loc) · 2.17 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
textarea {
width: 760px;
height:540px;
}
.buttons{
padding-bottom: 5px;
}
.buttons span {
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);
}
.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">
<div class="buttons">
<span><button class="copy">复制</button></span>
<span><button class="create">复制&&去提交</button></span>
</div>
<span><img src="load.svg" class="load"></span>
<div class="left-area">
<textarea id="source"></textarea>
</div>
</div>
<script src="scripts/turndown.js"></script>
<script src="scripts/widget.js"></script>
</body>
</html>