forked from ashleydw/lightbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathekko-lightbox.less
152 lines (142 loc) · 4.25 KB
/
ekko-lightbox.less
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
/*!
* Lightbox for Bootstrap 3 by @ashleydw
* https://github.com/ashleydw/lightbox
*
* License: https://github.com/ashleydw/lightbox/blob/master/LICENSE
*/
.ekko-lightbox {
&-container {
position:relative;
}
&-nav-overlay {
z-index:100;
position: absolute;
top:0;
left:0;
width:100%;
height:100%;
a {
opacity: 0;
-webkit-transition: opacity 0.5s;
-moz-transition: opacity 0.5s;
-o-transition: opacity 0.5s;
transition: opacity 0.5s;
color:#fff;
font-size:30px;
height: 100%;
width:49%;
display:block;
text-shadow: 2px 2px 4px #000;
filter: dropshadow(color=#000, offx=2, offy=2);
z-index:100;
&:empty {
width:49%;
}
}
}
a:hover {
opacity: 1;
text-decoration: none;
}
.glyphicon-chevron-left {
padding-left:15px;
float:left;
left:0;
text-align: left;
}
.glyphicon-chevron-right {
padding-right:15px;
float:right;
right:0;
text-align: right;
}
.modal-footer {
text-align: left;
}
}
// Stacked modals fix
.modal.in {
-webkit-perspective: 2000px;
-moz-perspective: 2000px;
-ms-perspective: 2000px;
-o-perspective: 2000px;
perspective: 2000px;
.modal-dialog {
transition: all 0.25s linear;
}
.modal-dialog.aside {
-webkit-transform: -400px;
-moz-transform: -400px;
-o-transform: -400px;
-ms-transform: -400px;
transform: -400px;
-webkit-transform: scale(0.8) rotateY(45deg) translateZ(-400px);
-ms-transform: scale(0.8) rotateY(45deg) translateZ(-400px);
-o-transform: scale(0.8) rotateY(45deg) translateZ(-400px);
transform: scale(0.8) rotateY(45deg) translateZ(-400px);
-webkit-transform-style: preserve-3d;
-ms-transform-style: preserve-3d;
-o-transform-style: preserve-3d;
transform-style: preserve-3d;
opacity: 0.25;
}
}
/*
.modal.in {
.modal-dialog.aside.aside-1 {
-webkit-transform: calc(-300px);
-moz-transform: calc(-300px);
-o-transform: calc(-300px);
-ms-transform: calc(-300px);
transform: calc(-300px);
-webkit-transform: scale(0.8) rotateY(45deg) translateZ(calc(-300px));
-ms-transform: scale(0.8) rotateY(45deg) translateZ(calc(-300px));
-o-transform: scale(0.8) rotateY(45deg) translateZ(calc(-300px));
transform: scale(0.8) rotateY(45deg) translateZ(calc(-300px));
}
.modal-dialog.aside.aside-2 {
-webkit-transform: calc(-260px);
-moz-transform: calc(-260px);
-o-transform: calc(-260px);
-ms-transform: calc(-260px);
transform: calc(-260px);
-webkit-transform: scale(0.8) rotateY(45deg) translateZ(calc(-260px));
-ms-transform: scale(0.8) rotateY(45deg) translateZ(calc(-260px));
-o-transform: scale(0.8) rotateY(45deg) translateZ(calc(-260px));
transform: scale(0.8) rotateY(45deg) translateZ(calc(-260px));
}
.modal-dialog.aside.aside-3 {
-webkit-transform: calc(-220px);
-moz-transform: calc(-220px);
-o-transform: calc(-220px);
-ms-transform: calc(-220px);
transform: calc(-220px);
-webkit-transform: scale(0.8) rotateY(45deg) translateZ(calc(-220px));
-ms-transform: scale(0.8) rotateY(45deg) translateZ(calc(-220px));
-o-transform: scale(0.8) rotateY(45deg) translateZ(calc(-220px));
transform: scale(0.8) rotateY(45deg) translateZ(calc(-220px));
}
.modal-dialog.aside.aside-4 {
-webkit-transform: calc(-180px);
-moz-transform: calc(-180px);
-o-transform: calc(-180px);
-ms-transform: calc(-180px);
transform: calc(-180px);
-webkit-transform: scale(0.8) rotateY(45deg) translateZ(calc(-180px));
-ms-transform: scale(0.8) rotateY(45deg) translateZ(calc(-180px));
-o-transform: scale(0.8) rotateY(45deg) translateZ(calc(-180px));
transform: scale(0.8) rotateY(45deg) translateZ(calc(-180px));
}
.modal-dialog.aside.aside-5 {
-webkit-transform: calc(-140px);
-moz-transform: calc(-140px);
-o-transform: calc(-140px);
-ms-transform: calc(-140px);
transform: calc(-140px);
-webkit-transform: scale(0.8) rotateY(45deg) translateZ(calc(-140px));
-ms-transform: scale(0.8) rotateY(45deg) translateZ(calc(-140px));
-o-transform: scale(0.8) rotateY(45deg) translateZ(calc(-140px));
transform: scale(0.8) rotateY(45deg) translateZ(calc(-140px));
}
}
*/