Blame view

css/magnific-popup.css 6.79 KB
4569bbd1   liuqimichale   init website
1
2
3
4
5
6
7
8
9
10
  /* Magnific Popup CSS */
  .mfp-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1042;
    overflow: hidden;
    position: fixed;
    background: #0b0b0b;
87e21225   Andy   new webportal
11
    opacity: 0.8; }
4569bbd1   liuqimichale   init website
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  
  .mfp-wrap {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1043;
    position: fixed;
    outline: none !important;
    -webkit-backface-visibility: hidden; }
  
  .mfp-container {
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    padding: 0 8px;
4569bbd1   liuqimichale   init website
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
    box-sizing: border-box; }
  
  .mfp-container:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle; }
  
  .mfp-align-top .mfp-container:before {
    display: none; }
  
  .mfp-content {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0 auto;
    text-align: left;
    z-index: 1045; }
  
87e21225   Andy   new webportal
50
51
  .mfp-inline-holder .mfp-content,
  .mfp-ajax-holder .mfp-content {
4569bbd1   liuqimichale   init website
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
    width: 100%;
    cursor: auto; }
  
  .mfp-ajax-cur {
    cursor: progress; }
  
  .mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
    cursor: -moz-zoom-out;
    cursor: -webkit-zoom-out;
    cursor: zoom-out; }
  
  .mfp-zoom {
    cursor: pointer;
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
    cursor: zoom-in; }
  
  .mfp-auto-cursor .mfp-content {
    cursor: auto; }
  
87e21225   Andy   new webportal
72
73
74
75
  .mfp-close,
  .mfp-arrow,
  .mfp-preloader,
  .mfp-counter {
4569bbd1   liuqimichale   init website
76
77
78
79
80
81
82
83
84
85
86
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none; }
  
  .mfp-loading.mfp-figure {
    display: none; }
  
  .mfp-hide {
    display: none !important; }
  
  .mfp-preloader {
87e21225   Andy   new webportal
87
    color: #CCC;
4569bbd1   liuqimichale   init website
88
89
90
91
92
93
94
95
96
    position: absolute;
    top: 50%;
    width: auto;
    text-align: center;
    margin-top: -0.8em;
    left: 8px;
    right: 8px;
    z-index: 1044; }
    .mfp-preloader a {
87e21225   Andy   new webportal
97
      color: #CCC; }
4569bbd1   liuqimichale   init website
98
      .mfp-preloader a:hover {
87e21225   Andy   new webportal
99
        color: #FFF; }
4569bbd1   liuqimichale   init website
100
101
102
103
104
105
106
  
  .mfp-s-ready .mfp-preloader {
    display: none; }
  
  .mfp-s-error .mfp-content {
    display: none; }
  
87e21225   Andy   new webportal
107
108
  button.mfp-close,
  button.mfp-arrow {
4569bbd1   liuqimichale   init website
109
110
111
112
113
114
115
116
117
    overflow: visible;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
    display: block;
    outline: none;
    padding: 0;
    z-index: 1046;
87e21225   Andy   new webportal
118
119
120
    box-shadow: none;
    touch-action: manipulation; }
  
4569bbd1   liuqimichale   init website
121
122
123
124
125
126
127
128
129
130
131
132
133
134
  button::-moz-focus-inner {
    padding: 0;
    border: 0; }
  
  .mfp-close {
    width: 44px;
    height: 44px;
    line-height: 44px;
    position: absolute;
    right: 0;
    top: 0;
    text-decoration: none;
    text-align: center;
    opacity: 0.65;
4569bbd1   liuqimichale   init website
135
    padding: 0 0 18px 10px;
87e21225   Andy   new webportal
136
    color: #FFF;
4569bbd1   liuqimichale   init website
137
138
139
    font-style: normal;
    font-size: 28px;
    font-family: Arial, Baskerville, monospace; }
87e21225   Andy   new webportal
140
141
142
    .mfp-close:hover,
    .mfp-close:focus {
      opacity: 1; }
4569bbd1   liuqimichale   init website
143
144
145
146
    .mfp-close:active {
      top: 1px; }
  
  .mfp-close-btn-in .mfp-close {
87e21225   Andy   new webportal
147
    color: #333; }
4569bbd1   liuqimichale   init website
148
  
87e21225   Andy   new webportal
149
150
151
  .mfp-image-holder .mfp-close,
  .mfp-iframe-holder .mfp-close {
    color: #FFF;
4569bbd1   liuqimichale   init website
152
153
154
155
156
157
158
159
160
    right: -6px;
    text-align: right;
    padding-right: 6px;
    width: 100%; }
  
  .mfp-counter {
    position: absolute;
    top: 0;
    right: 0;
87e21225   Andy   new webportal
161
    color: #CCC;
4569bbd1   liuqimichale   init website
162
    font-size: 12px;
87e21225   Andy   new webportal
163
164
    line-height: 18px;
    white-space: nowrap; }
4569bbd1   liuqimichale   init website
165
166
167
168
  
  .mfp-arrow {
    position: absolute;
    opacity: 0.65;
4569bbd1   liuqimichale   init website
169
170
171
172
173
174
    margin: 0;
    top: 50%;
    margin-top: -55px;
    padding: 0;
    width: 90px;
    height: 110px;
87e21225   Andy   new webportal
175
    -webkit-tap-highlight-color: transparent; }
4569bbd1   liuqimichale   init website
176
177
    .mfp-arrow:active {
      margin-top: -54px; }
87e21225   Andy   new webportal
178
179
180
181
182
    .mfp-arrow:hover,
    .mfp-arrow:focus {
      opacity: 1; }
    .mfp-arrow:before,
    .mfp-arrow:after {
4569bbd1   liuqimichale   init website
183
184
185
186
187
188
189
190
191
192
      content: '';
      display: block;
      width: 0;
      height: 0;
      position: absolute;
      left: 0;
      top: 0;
      margin-top: 35px;
      margin-left: 35px;
      border: medium inset transparent; }
87e21225   Andy   new webportal
193
    .mfp-arrow:after {
4569bbd1   liuqimichale   init website
194
195
196
      border-top-width: 13px;
      border-bottom-width: 13px;
      top: 8px; }
87e21225   Andy   new webportal
197
    .mfp-arrow:before {
4569bbd1   liuqimichale   init website
198
199
200
201
202
203
      border-top-width: 21px;
      border-bottom-width: 21px;
      opacity: 0.7; }
  
  .mfp-arrow-left {
    left: 0; }
87e21225   Andy   new webportal
204
205
    .mfp-arrow-left:after {
      border-right: 17px solid #FFF;
4569bbd1   liuqimichale   init website
206
      margin-left: 31px; }
87e21225   Andy   new webportal
207
    .mfp-arrow-left:before {
4569bbd1   liuqimichale   init website
208
      margin-left: 25px;
87e21225   Andy   new webportal
209
      border-right: 27px solid #3F3F3F; }
4569bbd1   liuqimichale   init website
210
211
212
  
  .mfp-arrow-right {
    right: 0; }
87e21225   Andy   new webportal
213
214
    .mfp-arrow-right:after {
      border-left: 17px solid #FFF;
4569bbd1   liuqimichale   init website
215
      margin-left: 39px; }
87e21225   Andy   new webportal
216
217
    .mfp-arrow-right:before {
      border-left: 27px solid #3F3F3F; }
4569bbd1   liuqimichale   init website
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
  
  .mfp-iframe-holder {
    padding-top: 40px;
    padding-bottom: 40px; }
    .mfp-iframe-holder .mfp-content {
      line-height: 0;
      width: 100%;
      max-width: 900px; }
    .mfp-iframe-holder .mfp-close {
      top: -40px; }
  
  .mfp-iframe-scaler {
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-top: 56.25%; }
    .mfp-iframe-scaler iframe {
      position: absolute;
      display: block;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
87e21225   Andy   new webportal
242
      background: #000; }
4569bbd1   liuqimichale   init website
243
244
245
246
247
248
249
250
  
  /* Main image in popup */
  img.mfp-img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    line-height: 0;
4569bbd1   liuqimichale   init website
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
    box-sizing: border-box;
    padding: 40px 0 40px;
    margin: 0 auto; }
  
  /* The shadow behind the image */
  .mfp-figure {
    line-height: 0; }
    .mfp-figure:after {
      content: '';
      position: absolute;
      left: 0;
      top: 40px;
      bottom: 40px;
      display: block;
      right: 0;
      width: auto;
      height: auto;
      z-index: -1;
      box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
87e21225   Andy   new webportal
270
      background: #444; }
4569bbd1   liuqimichale   init website
271
    .mfp-figure small {
87e21225   Andy   new webportal
272
      color: #BDBDBD;
4569bbd1   liuqimichale   init website
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
      display: block;
      font-size: 12px;
      line-height: 14px; }
    .mfp-figure figure {
      margin: 0; }
  
  .mfp-bottom-bar {
    margin-top: -36px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    cursor: auto; }
  
  .mfp-title {
    text-align: left;
    line-height: 18px;
87e21225   Andy   new webportal
290
    color: #F3F3F3;
4569bbd1   liuqimichale   init website
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
    word-wrap: break-word;
    padding-right: 36px; }
  
  .mfp-image-holder .mfp-content {
    max-width: 100%; }
  
  .mfp-gallery .mfp-image-holder .mfp-figure {
    cursor: pointer; }
  
  @media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
    /**
         * Remove all paddings around the image on small screen
         */
    .mfp-img-mobile .mfp-image-holder {
      padding-left: 0;
      padding-right: 0; }
    .mfp-img-mobile img.mfp-img {
      padding: 0; }
    .mfp-img-mobile .mfp-figure:after {
      top: 0;
      bottom: 0; }
    .mfp-img-mobile .mfp-figure small {
      display: inline;
      margin-left: 5px; }
    .mfp-img-mobile .mfp-bottom-bar {
      background: rgba(0, 0, 0, 0.6);
      bottom: 0;
      margin: 0;
      top: auto;
      padding: 3px 5px;
      position: fixed;
4569bbd1   liuqimichale   init website
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
349
350
351
      box-sizing: border-box; }
      .mfp-img-mobile .mfp-bottom-bar:empty {
        padding: 0; }
    .mfp-img-mobile .mfp-counter {
      right: 5px;
      top: 3px; }
    .mfp-img-mobile .mfp-close {
      top: 0;
      right: 0;
      width: 35px;
      height: 35px;
      line-height: 35px;
      background: rgba(0, 0, 0, 0.6);
      position: fixed;
      text-align: center;
      padding: 0; } }
  
  @media all and (max-width: 900px) {
    .mfp-arrow {
      -webkit-transform: scale(0.75);
      transform: scale(0.75); }
    .mfp-arrow-left {
      -webkit-transform-origin: 0;
      transform-origin: 0; }
    .mfp-arrow-right {
      -webkit-transform-origin: 100%;
      transform-origin: 100%; }
    .mfp-container {
      padding-left: 6px;
      padding-right: 6px; } }