Repository navigation
Expand file tree
/
Copy pathfeatherlight.css
More file actions
81 lines (74 loc) · 1.39 KB
/
Copy pathfeatherlight.css
File metadata and controls
81 lines (74 loc) · 1.39 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
/**
* Featherlight – ultra slim jQuery lightbox
* Version 0.3.1 - http://noelboss.github.io/featherlight/
*
* Copyright 2014, Noël Raoul Bossart (http://www.noelboss.com)
* MIT Licensed.
**/
@media all {
.featherlight {
display: none;
position:fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
z-index: 9999;
height: 100%;
text-align: center;
cursor: pointer;
background: #333;
background: rgba(0, 0, 0, 0.8);
}
.featherlight .featherlight-close {
position: absolute;
z-index: 9999;
right: 0px;
top: 0px;
line-height: 25px;
width: 25px;
cursor: pointer;
text-decoration: none;
text-align: center;
font: Arial, sans-serif;
background: #fff;
color: #000;
}
.featherlight:before {
content: '';
display: inline-block;
height: 100%;
vertical-align: middle;
margin-right: -0.25em;
}
.featherlight .featherlight-content {
text-align: left;
display: inline-block;
vertical-align: middle;
position: relative;
padding: 2%;
width: 60%;
max-height: 95%;
overflow: auto;
background: #fff;
cursor: auto;
}
.featherlight .featherlight-inner {
display: block;
}
.featherlight-iframe .featherlight-content {
min-height: 60%;
}
.featherlight iframe {
border: none;
position: absolute;
top: 0; bottom: 0;
left: 0; right: 0;
height: 100%;
width: 100%;
}
.featherlight .featherlight-image {
width: 100%;
max-height: 85vh;
}
}