blob: ec6f0060b7f09b2157025334685ba48e32723305 (
plain)
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
|
@import "plugins/activity-indicator";
@import "plugins/overlay";
@import "plugins/closebutton";
@mixin touch-action($value) {
-ms-touch-action: $value;
touch-action: $value;
}
html {
// killing 300ms touch delay in IE
@include touch-action(manipulation);
}
#imagelightbox {
@include touch-action(none);
box-shadow: rgba(0, 0, 0, .75) 0 0 50px;
cursor: pointer;
position: fixed;
z-index: 10000;
}
#imagelightbox-caption {
background-color: #666;
bottom: 0;
color: #fff;
left: 0;
padding: 10px;
position: fixed;
right: 0;
text-align: center;
z-index: 10001;
}
// The nav bubbles
#imagelightbox-nav {
border-radius: 20px;
translateX: -50%;
background-color: #444;
background-color: rgba(0, 0, 0, .5);
bottom: 60px; // 60
left: 50%;
padding: 5px 2px 1px;
position: fixed;
z-index: 10001;
a {
border-radius: 50%;
border: 1px solid #fff;
display: inline-block;
height: 20px;
margin: 0 5px;
width: 20px;
}
.active {
background-color: #fff;
}
}
#imagelightbox-caption,
#imagelightbox-nav {
-moz-animation: fade-in .25s linear;
-o-animation: fade-in .25s linear;
-webkit-animation: fade-in .25s linear;
animation: fade-in .25s linear;
}
@keyframes fade-in {
0% { opacity: 0; }
100% { opacity: 1; }
}
@media only screen and (max-width: 660px) {
#imagelightbox-nav {
bottom: 20px;
}
}
|