forked from leandigo/leanorama
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathleanorama.css
129 lines (114 loc) · 3.99 KB
/
leanorama.css
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
/*
LEANORAMA - jQuery Plugin for displaying and navigating panoramic images.
Version 0.1.0
-------------
Copyright 2013 Leandigo (www.leandigo.com). All rights reserved.
Use is subject to terms.
*/
.leanorama-target {
overflow: hidden;
margin: 0;
padding: 0;
}
.leanorama-container {
position: absolute;
background: none;
margin: 0;
padding: 0;
min-width: 100%;
min-height: 100%;
-webkit-perspective: 645;
overflow: hidden;
}
.leanorama-progress {
position: absolute;
z-index: 10000;
display: none;
top: 40%;
left: 10%;
min-width: 80%;
max-width: 80%;
min-height: 20%;
max-height: 20%;
border: 2px solid #002244;
opacity: 0.5;
filter: alpha(opacity=50);
}
.leanorama-surface {
background: none;
position: absolute;
min-width: 512px;
min-height: 512px;
transform-style: preserve-3d;
-webkit-transform-style: preserve-3d;
}
.leanorama-cube {
background: none;
width: 1026px;
height: 1026px;
position: absolute;
opacity: 1;
filter: alpha(opacity=100);
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d;
-webkit-transition: 0ms ease-in-out;
-moz-transition: 0ms ease-in-out;
-o-transition: 0ms ease-in-out;
transition: 0ms ease-in-out;
}
.leanorama-side {
z-index: 100;
margin: 0;
padding: 0;
width: 1025px;
height: 1025px;
display: block;
position: absolute;
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d;
background: url('../img/fabric.png');
background-size: 1026px 1026px;
-webkit-backface-visibility: hidden;
}
.leanorama-side-front {
-webkit-transform: rotateY(270deg) translateZ(-512px);
-moz-transform: rotateY(270deg) translateZ(-512px);
-ms-transform: rotateY(270deg) translateZ(-512px);
-o-transform: rotateY(270deg) translateZ(-512px);
transform: rotateY(270deg) translateZ(-512px);
}
.leanorama-side-back {
-webkit-transform: rotateY(90deg) translateZ(-512px);
-moz-transform: rotateY(90deg) translateZ(-512px);
-ms-transform: rotateY(90deg) translateZ(-512px);
-o-transform: rotateY(90deg) translateZ(-512px);
transform: rotateY(90deg) translateZ(-512px);
}
.leanorama-side-right {
-webkit-transform: rotateY(0deg) translateZ(-512px);
-moz-transform: rotateY(0deg) translateZ(-512px);
-ms-transform: rotateY(0deg) translateZ(-512px);
-o-transform: rotateY(0deg) translateZ(-512px);
transform: rotateY(0deg) translateZ(-512px);
}
.leanorama-side-left {
-webkit-transform: rotateY(180deg) translateZ(-512px);
-moz-transform: rotateY(180deg) translateZ(-512px);
-ms-transform: rotateY(180deg) translateZ(-512px);
-o-transform: rotateY(180deg) translateZ(-512px);
transform: rotateY(180deg) translateZ(-512px);
}
.leanorama-side-top {
-webkit-transform: rotateX(-90deg) rotateZ(-90deg) translateZ(-512px);
-moz-transform: rotateX(-90deg) rotateZ(-90deg) translateZ(-512px);
-ms-transform: rotateX(-90deg) rotateZ(-90deg) translateZ(-512px);
-o-transform: rotateX(-90deg) rotateZ(-90deg) translateZ(-512px);
transform: rotateX(-90deg) rotateZ(-90deg) translateZ(-512px);
}
.leanorama-side-bottom {
-webkit-transform: rotateX(90deg) rotateZ(90deg) translateZ(-512px);
-moz-transform: rotateX(90deg) rotateZ(90deg) translateZ(-512px);
-ms-transform: rotateX(90deg) rotateZ(90deg) translateZ(-512px);
-o-transform: rotateX(90deg) rotateZ(90deg) translateZ(-512px);
transform: rotateX(90deg) rotateZ(90deg) translateZ(-512px);
}