-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
166 lines (156 loc) · 3.05 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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>收藏到Flomo</title>
</head>
<body>
<!-- 保存接口 -->
<div class="container" id="api_url_container" style="display:none;">
<div class="title"> 接口地址 </div>
<input type="text" class="text" id="api_url" placeholder="http://"/>
<div id="btns">
<span id="save_url">保存</span>
</div>
</div>
<div class="container" id="save_page_info">
<div class="title" id="page_title">
标题
</div>
<input type="text" class="text" id="last_tag" placeholder="#标签"/>
<textarea>
</textarea>
<div id="btns">
<span id="save_page">保存</span>
</div>
<div id="msg" style="display:none;">
<div id="msg-content">
<img src="img/msg.png"></img>
<p>msg</p>
</div>
</div>
</div>
</body>
<script src="js/jquery.js"></script>
<script src="js/common.js"></script>
<script src="index.js"></script>
<style type="text/css">
html,body{
width:400px;
height:300px;
margin:0;
padding:0;
border:none;
overflow:hidden;
}
.container{
width:100%;
height:100%;
background-color:rgb(40,40,40);
overflow:hidden;
padding-left:10px;
padding-right:10px;
}
.container textarea{
outline:none;
border: 1px solid rgb(166, 226, 46);
width:90%;
height:150px;
margin-top:10px;
BACKGROUND-COLOR: transparent;
color:rgb(166, 226, 46);
}
.title{
width:100%;
line-height:36px;
max-height:32px;
overflow-y:hidden;
padding:10px 10px;
font-size:30px;
font-weight:500;
color:rgb(166, 226, 46);
}
#tags{
width:100%;
height:100%;
margin-bottom:30px;
overflow-y:auto;
}
ul{
display:block;
margin:0;
padding:0;
}
li{
border:solid 1px rgb(213,130,30);
font-size:14px;
display:inline-block;
color:rgb(250, 250, 250);
margin-left:10px;
margin-top:4px;
padding:4px;
cursor:pointer;
}
#btns{
width:100%;
height:30px;
position:fixed;
bottom:10px;
border:none;
}
#btns span{
height:20px;
display:block;
float:right;
border:solid 1px rgb(213,130,30);
font-size:14px;
color:rgb(250, 250, 250);
margin-right:15px;
padding:4px 8px;
cursor:pointer;
z-index:10;
}
#msg{
width:100%;
height:100%;
background:black;
opacity:0.8;
color:rgb(250, 250, 250);
position:fixed;
padding:4px;
top:0;
left:0;
}
#msg-content{
width:100%;
height:18px;
line-height:18px;
margin-top:30%;
margin-left:30%;
font-size:18px;
font-weight:400;
vertical-align:middle;
}
#msg-content img{
display:inline-block;
width:20px;
height:20px;
}
#msg-content p{
display:inline-block;
}
.selected{
background-color: rgb(213,130,30);
}
.text{
width:90%;
height:10%;
overflow-y:scroll;
BACKGROUND-COLOR: transparent;
color:rgb(166, 226, 46);
outline:none;
border:0;
border-bottom:1px solid;
}
</style>
</html>