-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathhexaflip.styl
49 lines (40 loc) · 982 Bytes
/
hexaflip.styl
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
@import 'nib'
.hexaflip-cube
font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif
text-rendering: optimizeLegibility
font-smoothing: antialiased
cursor: move
cursor: -webkit-grab
cursor: -moz-grab
cursor: grab
display: inline-block
position: relative
transform-style: preserve-3d
&:active
cursor: move
cursor: -webkit-grabbing
cursor: -moz-grabbing
cursor: grabbing
> div
transition: transform .4s
transform-style: preserve-3d
&.no-tween
transition-duration: 0s
.hexaflip-side
width: 100%
overflow: hidden
height: 100.5%
position: absolute
user-select: none
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