forked from MrXujiang/fetchImg
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbase.css
More file actions
132 lines (116 loc) · 1.98 KB
/
base.css
File metadata and controls
132 lines (116 loc) · 1.98 KB
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
/* popup页面 */
.pop-wrap {
padding: 16px;
width: 500px;
}
.pop-wrap .logo {
font-size: 20px;
text-align: center;
}
.pop-wrap .pop-content {
padding-top: 20px;
display: flex;
flex-wrap: wrap;
}
.pop-wrap .pop-content .empty {
text-align: center;
color: #ccc;
}
#activeBtn {
display: inline-block;
margin-left: 6px;
color: #06c;
cursor: pointer;
}
.pop-wrap .img-box {
width: 60px;
margin-right: 10px;
margin-bottom: 10px;
max-height: 60px;
overflow: hidden;
}
.pop-wrap .img-box img {
max-width: 100%;
}
/* content页面 */
.crawl-btn {
position: fixed;
bottom: 60px;
right: 60px;
display: inline-block;
width: 60px;
height: 60px;
line-height: 60px;
font-size: 16px;
font-weight: bold;
background-color: #06c;
color: #fff;
text-align: center;
border-radius: 50%;
box-shadow: 0 0 10px rgba(0,0,0, .3);
cursor: pointer;
}
/* modal */
.modal {
position: fixed;
top: 0;
left: 0;
z-index: 1000;
width: 100vw;
height: 100vh;
overflow: hidden;
}
.modal-mask {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0, .3);
}
.modal .modal-content {
position: relative;
z-index: 1001;
width: 632px;
margin: 100px auto auto;
height: 520px;
border-radius: 6px;
overflow-y:scroll;
background-color: #fff;
}
.modal .modal-content .modal-title {
position: relative;
font-size: 16px;
font-weight: bold;
padding: 10px;
border-bottom: 1px solid #ccc;
}
.modal .modal-content .modal-close-btn {
position: absolute;
font-weight: normal;
font-size: 14px;
right: 10px;
top: 10px;
cursor: pointer;
}
.img-box {
padding: 16px;
display: flex;
flex-wrap: wrap;
max-height: 440px;
overflow-y: scroll;
}
.img-box .img-wrap {
box-sizing: border-box;
margin-right: 16px;
margin-bottom: 12px;
width: 200px;
max-height: 200px;
overflow: hidden;
}
.img-box .img-wrap:nth-child(3n+3) {
margin-right: 0;
}
.img-box .img-wrap img {
max-width: 100%;
}