forked from suxiaogang/WeiboPicBed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
option.html
348 lines (336 loc) · 7.39 KB
/
option.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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
<html lang="zh-CN">
<head>
<meta charset="UTF-8"/>
<title>新浪微博图床</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<link rel="shortcut icon" href="icon.png" type="image/x-icon">
<link type="text/css" href="css/bootstrap.min.css" rel="stylesheet">
<link type="text/css" href="css/sweet-alert.min.css" rel="stylesheet">
<link type="text/css" href="source/jquery.fancybox.css" rel="stylesheet">
<style>
.container{
width: 1040px;
}
a{
color:#AFAFAF;
}
a:hover {
text-decoration: none;
-webkit-transition: 0.2s;
-moz-transition: 0.2s;
transition: 0.2s;
}
a:focus,a:active{
text-decoration: none;
outline:0 !important;
}
* {
margin: 0;
padding: 0;
outline-style:none;
box-shadow:none;
border-color:transparent;
}
*:focus {
outline:0!important;-webkit-appearance:none;
}
html {
position: relative;
min-height: 100%;
}
body {
margin-bottom: 60px;
background-color: #EDEFF0;
background-size:cover;
}
.nav{
display:block;
background-color: #fff;
border-radius: 5px;
padding:0px 20px 20px 20px;
margin:20px 0px;
z-index:100;
}
.box{
background-color: #FFF;
margin-top:40px;
height:590px;
min-width:100%;
padding:10px;
font-size: 12px;
font-weight: 100;
line-height: 1.48;
color: #514F47;
border-radius: 10px;
box-shadow: 1px 1px 3px rgba(100,100,100,0.15);
overflow-y: auto;
}
/**** textarea scroll-bar ****/
.box::-webkit-scrollbar-track-piece{
background-color:#FFF;
}
.box::-webkit-scrollbar{
width:7px;
}
.box::-webkit-scrollbar-thumb{
height:100px;
background-color:#CDC9C9;
outline:transparent;
}
.box::-webkit-scrollbar-thumb:hover{
background-color:#828282;
}
h5{
font-size:15px;
margin-left:15px;
}
.page-header {
margin: 10px 0;
padding-top: 12px;
padding-left: 1px;
line-height: 0px;
color:#989898;
}
.page-content{
width: 100%;
min-height: 135px;
text-align:center;
display: inline-block;
background-size: cover;
background-position: 50% 50%;
background-repeat: no-repeat;
background-color: #FFF;
-webkit-transition: 0.3s;
border:2px solid #DBDBDB;
border-radius:1px;
box-shadow: 0 14px 20px -20px #000;
}
.page-content:hover {
cursor:pointer;
opacity: 0.8;
box-shadow: 0 20px 20px -20px #000;
}
/***footer***/
.footer {
position: absolute;
bottom: 0;
width: 100%;
/* Set the fixed height of the footer here */
height: 50px;
font-size:12px;
background-color: #2C3E50;
}
.footer p{
margin-top:20px;
color:#C5C5C5;
}
.footer p a{
color:#C5C5C5;
margin-left:3px;
margin-right:3px;
}
.footer p a:hover{
color:#888;
}
.footer .fa-heart{
color:red;
}
.fa{
color:#5C5C5C;
}
.imgsrc{
padding: 8px 10px;
width: 100%;
max-width: 100%;
min-width: 100%;
outline: 0;
border-color: rgba(60, 60, 60, 0.6);
border-width: 2px;
border-radius: 5px;
text-align: left;
font-size:12px;
font-weight: bold;
font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif;
color:#7D7D7D;
z-index:9999;
}
.imgsrc:focus{
color:#000;
}
/*tips*/
#tips_wrap {
background: url(../source/border.png) 8px 0 repeat;
padding: 5px;
box-shadow: 0 0 10px rgba(0,0,0,0.3);
border-radius: 5px;
color: #555;
text-shadow: none;
margin: 30px 0 50px 0;
min-height:214px;
}
.tips{
color:#999;
padding: 20px 50px;
background: #fff;
font-size: 11px;
line-height: 22px;
}
.tips a{
color:#838383;
padding:2px 4px;
-webkit-transition: 0.3s;
border-radius: 3px;
background-color: rgba(180, 208, 236, 0.3);
}
.tips a:hover{
color:#000;
background-color:rgba(180, 208, 236, 0.75);
}
label.dark{
padding-left:0px;
display:inline-block;
margin-top:2px;
}
#syscBtn{
margin:10px;
}
span.donate{
color: #666;
cursor: pointer;
margin: 0 3px;
padding:2px 4px;
-webkit-transition: 0.3s;
border-radius: 3px;
background-color: rgba(238, 9, 22, 0.1);
}
.donate:hover{
color:#000;
background-color:rgba(180, 208, 236, 0.95);
}
/* 單選框 */
.css3Label{
list-style: none;
display:inline-block;
}
.css3Label label {
cursor: pointer;
display: block;
width: 140px;
position: relative;
}
.css3Label label::before {
content:"";
display: inline-block;
width: 12px;
height: 12px;
line-height: 12px;
border-radius: 50%;
margin-top: 4px;
color: #FFF;
background: #BEBEBE;
position: absolute;
left: -17;
}
.css3Label input[type="checkbox"] {
display: none;
}
.css3Label input[type="checkbox"]:checked + label::before {
content:"";
background: #000;
-webkit-transition: all 0.6s;
}
/*Animate*/
.animated {
-webkit-animation-duration: 1s;
animation-duration: 1s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
}
@-webkit-keyframes fadeInUp {
from {
opacity: 0;
-webkit-transform: translate3d(0, 100%, 0);
transform: translate3d(0, 100%, 0);
}
to {
opacity: 1;
-webkit-transform: none;
transform: none;
}
}
@keyframes fadeInUp {
from {
opacity: 0;
-webkit-transform: translate3d(0, 100%, 0);
transform: translate3d(0, 100%, 0);
}
to {
opacity: 1;
-webkit-transform: none;
transform: none;
}
}
.fadeInUp {
-webkit-animation-name: fadeInUp;
animation-name: fadeInUp;
}
/*blinking*/
@-webkit-keyframes twinkling {
0% {
background-color: rgba(238, 9, 22, 0.1);
opacity: 1;
}
50% {
background-color: rgba(238, 9, 22, 0.5);
opacity: 0.9;
}
100% {
background-color: rgba(238, 9, 22, 0.1);
opacity: 1;
}
}
.blinking {
cursor: not-allowed;
-webkit-animation: twinkling 1.2s infinite ease-in-out;
-moz-animation: twinkling 1.2s infinite ease-in-out;
animation: twinkling 1.2s infinite ease-in-out;
-webkit-transition: all 0.6s;
}
</style>
</head>
<body>
<button type="button" class="close" title="关闭" style="margin-top:10px;">×</button>
<div class="container">
<div class="row">
<div id="tips_wrap">
<div class="col-xs-12 tips">
<ul>
<li>喜欢这个插件?
<a href="https://chrome.google.com/webstore/detail/%E6%96%B0%E6%B5%AA%E5%BE%AE%E5%8D%9A%E5%9B%BE%E5%BA%8A/fdfdnfpdplfbbnemmmoklbfjbhecpnhf/reviews" target="_blank">欢迎去Chrome插件商店给一发五星好评!</a></li>
<li>使用中碰到问题,<a href="https://github.com/Suxiaogang/WeiboPicBed/issues/new" target="_blank">请在这里提交反馈</a>(Chrome Web Store的反馈不一定看得到)</li>
<li>这个插件是源码开放的,如果你是开发者可以去GitHub
<a href="https://github.com/Suxiaogang/WeiboPicBed" target="_blank">Star / Fork / Pull Request</a></li>
<li>部分实现参考了"围脖是个好图床"和"v2ex.ext"这两个插件,在此表示感谢</li>
<li>想对开发者捐助一点您的心意<span class="donate">表(mǎi)示(bēi)感(kā)谢(fēi)</span>?</li>
</ul>
<div class="checkbox hasInput css3Label" style="padding-left:15px;">
<input type="checkbox" id="dark">
<label for="dark" class="dark">使用单色Toolbar图标</label>
</div>
</div>
</div>
<div class="box"></div>
</div>
</div>
<script id="image-item-template" type="template">
<div class="col-md-2 animated fadeInUp">
<div class="page-header">{{date}}</div>
<div class="page-content fancybox" d="{{d}}" data-fancybox-group="gallery" rel="gallery" href="{{imgsrc}}" title="<input type='text' class='form-control imgsrc' value='{{imgsrc}}'>" style="background-image:url('{{imgsrcthumb}}')"></div>
</div>
</script>
<script src="js/jquery.min.js"></script>
<script src="js/sweet-alert.min.js"></script>
<script src="source/jquery.fancybox.pack.js"></script>
<script src="js/option.js"></script>
</body>
</html>