-
Notifications
You must be signed in to change notification settings - Fork 30
/
hexaflip.css
66 lines (66 loc) · 1.72 KB
/
hexaflip.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
.hexaflip-cube {
font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
cursor: move;
cursor: -webkit-grab;
cursor: -moz-grab;
cursor: grab;
display: inline-block;
position: relative;
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
-o-transform-style: preserve-3d;
-ms-transform-style: preserve-3d;
transform-style: preserve-3d;
}
.hexaflip-cube:active {
cursor: move;
cursor: -webkit-grabbing;
cursor: -moz-grabbing;
cursor: grabbing;
}
.hexaflip-cube > div {
-webkit-transition: -webkit-transform 0.4s;
-moz-transition: -moz-transform 0.4s;
-o-transition: -o-transform 0.4s;
-ms-transition: -ms-transform 0.4s;
transition: transform 0.4s;
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
-o-transform-style: preserve-3d;
-ms-transform-style: preserve-3d;
transform-style: preserve-3d;
}
.hexaflip-cube > div.no-tween {
-webkit-transition-duration: 0s;
-moz-transition-duration: 0s;
-o-transition-duration: 0s;
-ms-transition-duration: 0s;
transition-duration: 0s;
}
.hexaflip-cube .hexaflip-side {
width: 100%;
overflow: hidden;
height: 100.5%;
position: absolute;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
text-align: center;
background-color: #333;
color: #fff;
font-weight: 100;
line-height: 1.5;
}
.hexaflip-side-left,
.hexaflip-side-right {
background-color: #555 !important;
}
.hexaflip-timepicker .hexaflip-cube:last-child .hexaflip-side:nth-child(odd) {
background-color: #ff575b;
}