deckrb 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +55 -20
- data/bin/deck +5 -10
- data/lib/deck.rb +1 -1
- data/lib/deck/noko.rb +15 -0
- data/lib/deck/rack_app.rb +61 -0
- data/lib/deck/slide.rb +50 -28
- data/lib/deck/{deck.rb → slide_deck.rb} +42 -41
- data/lib/deck/version.rb +1 -1
- data/spec/rack_app_spec.rb +177 -0
- data/spec/slide_deck_spec.rb +46 -0
- data/spec/slide_spec.rb +24 -21
- data/spec/spec_helper.rb +5 -0
- metadata +51 -81
- data/deck/GPL-license.txt +0 -278
- data/deck/MIT-license.txt +0 -21
- data/deck/README.md +0 -57
- data/deck/core/deck.core.css +0 -404
- data/deck/core/deck.core.html +0 -39
- data/deck/core/deck.core.js +0 -498
- data/deck/core/deck.core.scss +0 -447
- data/deck/extensions/goto/deck.goto.css +0 -41
- data/deck/extensions/goto/deck.goto.html +0 -7
- data/deck/extensions/goto/deck.goto.js +0 -134
- data/deck/extensions/goto/deck.goto.scss +0 -46
- data/deck/extensions/hash/deck.hash.css +0 -13
- data/deck/extensions/hash/deck.hash.html +0 -2
- data/deck/extensions/hash/deck.hash.js +0 -129
- data/deck/extensions/hash/deck.hash.scss +0 -15
- data/deck/extensions/menu/deck.menu.css +0 -47
- data/deck/extensions/menu/deck.menu.js +0 -187
- data/deck/extensions/menu/deck.menu.scss +0 -58
- data/deck/extensions/navigation/deck.navigation.css +0 -43
- data/deck/extensions/navigation/deck.navigation.html +0 -3
- data/deck/extensions/navigation/deck.navigation.js +0 -91
- data/deck/extensions/navigation/deck.navigation.scss +0 -56
- data/deck/extensions/scale/deck.scale.css +0 -16
- data/deck/extensions/scale/deck.scale.js +0 -155
- data/deck/extensions/scale/deck.scale.scss +0 -17
- data/deck/extensions/status/deck.status.css +0 -18
- data/deck/extensions/status/deck.status.html +0 -6
- data/deck/extensions/status/deck.status.js +0 -95
- data/deck/extensions/status/deck.status.scss +0 -22
- data/deck/extensions/theme-picker/deck.theme-picker.css +0 -55
- data/deck/extensions/theme-picker/deck.theme-picker.js +0 -13
- data/deck/introduction/index.html +0 -221
- data/deck/introduction/index.rb +0 -101
- data/deck/jquery-1.7.min.js +0 -4
- data/deck/modernizr.custom.js +0 -4
- data/deck/test/fixtures/complex.html +0 -24
- data/deck/test/fixtures/empty.html +0 -19
- data/deck/test/fixtures/iframe_simple.html +0 -10
- data/deck/test/fixtures/iframes.html +0 -32
- data/deck/test/fixtures/nesteds.html +0 -36
- data/deck/test/fixtures/standard.html +0 -42
- data/deck/test/index.html +0 -39
- data/deck/test/lib/jasmine-html.js +0 -190
- data/deck/test/lib/jasmine-jquery.js +0 -288
- data/deck/test/lib/jasmine.css +0 -166
- data/deck/test/lib/jasmine.js +0 -2477
- data/deck/test/settings.js +0 -3
- data/deck/test/spec.core.js +0 -434
- data/deck/test/spec.goto.js +0 -119
- data/deck/test/spec.hash.js +0 -81
- data/deck/test/spec.menu.js +0 -66
- data/deck/test/spec.navigation.js +0 -51
- data/deck/test/spec.scale.js +0 -57
- data/deck/test/spec.status.js +0 -58
- data/deck/themes/style/neon.css +0 -114
- data/deck/themes/style/neon.scss +0 -139
- data/deck/themes/style/swiss.css +0 -75
- data/deck/themes/style/swiss.scss +0 -91
- data/deck/themes/style/web-2.0.css +0 -205
- data/deck/themes/style/web-2.0.scss +0 -236
- data/deck/themes/transition/fade.css +0 -44
- data/deck/themes/transition/fade.scss +0 -70
- data/deck/themes/transition/horizontal-slide.css +0 -79
- data/deck/themes/transition/horizontal-slide.scss +0 -94
- data/deck/themes/transition/vertical-slide.css +0 -97
- data/deck/themes/transition/vertical-slide.scss +0 -116
- data/lib/deck/app.rb +0 -16
- data/spec/deck_spec.rb +0 -98
@@ -1,44 +0,0 @@
|
|
1
|
-
.csstransitions.csstransforms .deck-container .slide {
|
2
|
-
-webkit-transition: opacity 500ms ease-in-out 0ms;
|
3
|
-
-moz-transition: opacity 500ms ease-in-out 0ms;
|
4
|
-
-ms-transition: opacity 500ms ease-in-out 0ms;
|
5
|
-
-o-transition: opacity 500ms ease-in-out 0ms;
|
6
|
-
transition: opacity 500ms ease-in-out 0ms;
|
7
|
-
}
|
8
|
-
.csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide {
|
9
|
-
position: absolute;
|
10
|
-
top: 0;
|
11
|
-
left: 0;
|
12
|
-
-webkit-box-sizing: border-box;
|
13
|
-
-moz-box-sizing: border-box;
|
14
|
-
box-sizing: border-box;
|
15
|
-
width: 100%;
|
16
|
-
padding: 0 48px;
|
17
|
-
}
|
18
|
-
.csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide .slide {
|
19
|
-
position: relative;
|
20
|
-
left: 0;
|
21
|
-
top: 0;
|
22
|
-
opacity: 0;
|
23
|
-
}
|
24
|
-
.csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide .deck-before, .csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide .deck-previous {
|
25
|
-
opacity: 0.4;
|
26
|
-
}
|
27
|
-
.csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide .deck-current {
|
28
|
-
opacity: 1;
|
29
|
-
}
|
30
|
-
.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-previous, .csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-before, .csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-next, .csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-after {
|
31
|
-
opacity: 0;
|
32
|
-
pointer-events: none;
|
33
|
-
}
|
34
|
-
.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-before .slide, .csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-previous .slide {
|
35
|
-
visibility: visible;
|
36
|
-
}
|
37
|
-
.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-child-current {
|
38
|
-
opacity: 1;
|
39
|
-
visibility: visible;
|
40
|
-
pointer-events: auto;
|
41
|
-
}
|
42
|
-
.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-child-current .deck-next, .csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-child-current .deck-after {
|
43
|
-
visibility: hidden;
|
44
|
-
}
|
@@ -1,70 +0,0 @@
|
|
1
|
-
@mixin translate($x: 0, $y: 0, $z: 0) {
|
2
|
-
-webkit-transform:translate3d($x, $y, $z);
|
3
|
-
-moz-transform:translate($x, $y);
|
4
|
-
-ms-transform:translate($x, $y);
|
5
|
-
-o-transform:translate($x, $y);
|
6
|
-
transform:translate3d($x, $y, $z);
|
7
|
-
}
|
8
|
-
|
9
|
-
@mixin transition($prop, $duration, $easing: ease-in-out, $delay: 0ms) {
|
10
|
-
-webkit-transition:$prop $duration $easing $delay;
|
11
|
-
-moz-transition:$prop $duration $easing $delay;
|
12
|
-
-ms-transition:$prop $duration $easing $delay;
|
13
|
-
-o-transition:$prop $duration $easing $delay;
|
14
|
-
transition:$prop $duration $easing $delay;
|
15
|
-
}
|
16
|
-
|
17
|
-
.csstransitions.csstransforms {
|
18
|
-
.deck-container .slide {
|
19
|
-
@include transition(opacity, 500ms);
|
20
|
-
}
|
21
|
-
|
22
|
-
.deck-container:not(.deck-menu) {
|
23
|
-
> .slide {
|
24
|
-
position:absolute;
|
25
|
-
top:0;
|
26
|
-
left:0;
|
27
|
-
-webkit-box-sizing: border-box;
|
28
|
-
-moz-box-sizing: border-box;
|
29
|
-
box-sizing: border-box;
|
30
|
-
width:100%;
|
31
|
-
padding:0 48px;
|
32
|
-
|
33
|
-
.slide {
|
34
|
-
position:relative;
|
35
|
-
left:0;
|
36
|
-
top:0;
|
37
|
-
opacity:0;
|
38
|
-
}
|
39
|
-
|
40
|
-
.deck-before, .deck-previous {
|
41
|
-
opacity:0.4;
|
42
|
-
}
|
43
|
-
|
44
|
-
.deck-current {
|
45
|
-
opacity:1;
|
46
|
-
}
|
47
|
-
}
|
48
|
-
|
49
|
-
> .deck-previous, > .deck-before, > .deck-next, > .deck-after {
|
50
|
-
opacity:0;
|
51
|
-
pointer-events:none;
|
52
|
-
}
|
53
|
-
|
54
|
-
> .deck-before, > .deck-previous {
|
55
|
-
.slide {
|
56
|
-
visibility:visible;
|
57
|
-
}
|
58
|
-
}
|
59
|
-
|
60
|
-
> .deck-child-current {
|
61
|
-
opacity:1;
|
62
|
-
visibility:visible;
|
63
|
-
pointer-events:auto;
|
64
|
-
|
65
|
-
.deck-next, .deck-after {
|
66
|
-
visibility:hidden;
|
67
|
-
}
|
68
|
-
}
|
69
|
-
}
|
70
|
-
}
|
@@ -1,79 +0,0 @@
|
|
1
|
-
.csstransitions.csstransforms {
|
2
|
-
overflow-x: hidden;
|
3
|
-
}
|
4
|
-
.csstransitions.csstransforms .deck-container > .slide {
|
5
|
-
-webkit-transition: -webkit-transform 500ms ease-in-out;
|
6
|
-
-moz-transition: -moz-transform 500ms ease-in-out;
|
7
|
-
-ms-transition: -ms-transform 500ms ease-in-out;
|
8
|
-
-o-transition: -o-transform 500ms ease-in-out;
|
9
|
-
transition: transform 500ms ease-in-out;
|
10
|
-
}
|
11
|
-
.csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide {
|
12
|
-
position: absolute;
|
13
|
-
top: 0;
|
14
|
-
left: 0;
|
15
|
-
-webkit-box-sizing: border-box;
|
16
|
-
-moz-box-sizing: border-box;
|
17
|
-
box-sizing: border-box;
|
18
|
-
width: 100%;
|
19
|
-
padding: 0 48px;
|
20
|
-
}
|
21
|
-
.csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide .slide {
|
22
|
-
position: relative;
|
23
|
-
left: 0;
|
24
|
-
top: 0;
|
25
|
-
-webkit-transition: -webkit-transform 500ms ease-in-out, opacity 500ms ease-in-out;
|
26
|
-
-moz-transition: -moz-transform 500ms ease-in-out, opacity 500ms ease-in-out;
|
27
|
-
-ms-transition: -ms-transform 500ms ease-in-out, opacity 500ms ease-in-out;
|
28
|
-
-o-transition: -o-transform 500ms ease-in-out, opacity 500ms ease-in-out;
|
29
|
-
transition: -webkit-transform 500ms ease-in-out, opacity 500ms ease-in-out;
|
30
|
-
}
|
31
|
-
.csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide .deck-next, .csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide .deck-after {
|
32
|
-
visibility: visible;
|
33
|
-
-webkit-transform: translate3d(200%, 0, 0);
|
34
|
-
-moz-transform: translate(200%, 0);
|
35
|
-
-ms-transform: translate(200%, 0);
|
36
|
-
-o-transform: translate(200%, 0);
|
37
|
-
transform: translate3d(200%, 0, 0);
|
38
|
-
}
|
39
|
-
.csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide .deck-before, .csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide .deck-previous {
|
40
|
-
opacity: 0.4;
|
41
|
-
}
|
42
|
-
.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-previous {
|
43
|
-
-webkit-transform: translate3d(-200%, 0, 0);
|
44
|
-
-moz-transform: translate(-200%, 0);
|
45
|
-
-ms-transform: translate(-200%, 0);
|
46
|
-
-o-transform: translate(-200%, 0);
|
47
|
-
transform: translate3d(-200%, 0, 0);
|
48
|
-
}
|
49
|
-
.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-before {
|
50
|
-
-webkit-transform: translate3d(-400%, 0, 0);
|
51
|
-
-moz-transform: translate(-400%, 0);
|
52
|
-
-ms-transform: translate(-400%, 0);
|
53
|
-
-o-transform: translate(-400%, 0);
|
54
|
-
transform: translate3d(-400%, 0, 0);
|
55
|
-
}
|
56
|
-
.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-next {
|
57
|
-
-webkit-transform: translate3d(200%, 0, 0);
|
58
|
-
-moz-transform: translate(200%, 0);
|
59
|
-
-ms-transform: translate(200%, 0);
|
60
|
-
-o-transform: translate(200%, 0);
|
61
|
-
transform: translate3d(200%, 0, 0);
|
62
|
-
}
|
63
|
-
.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-after {
|
64
|
-
-webkit-transform: translate3d(400%, 0, 0);
|
65
|
-
-moz-transform: translate(400%, 0);
|
66
|
-
-ms-transform: translate(400%, 0);
|
67
|
-
-o-transform: translate(400%, 0);
|
68
|
-
transform: translate3d(400%, 0, 0);
|
69
|
-
}
|
70
|
-
.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-before .slide, .csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-previous .slide {
|
71
|
-
visibility: visible;
|
72
|
-
}
|
73
|
-
.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-child-current {
|
74
|
-
-webkit-transform: none;
|
75
|
-
-moz-transform: none;
|
76
|
-
-ms-transform: none;
|
77
|
-
-o-transform: none;
|
78
|
-
transform: none;
|
79
|
-
}
|
@@ -1,94 +0,0 @@
|
|
1
|
-
@mixin translate($x: 0, $y: 0, $z: 0) {
|
2
|
-
-webkit-transform:translate3d($x, $y, $z);
|
3
|
-
-moz-transform:translate($x, $y);
|
4
|
-
-ms-transform:translate($x, $y);
|
5
|
-
-o-transform:translate($x, $y);
|
6
|
-
transform:translate3d($x, $y, $z);
|
7
|
-
}
|
8
|
-
|
9
|
-
@mixin transition($prop, $duration, $easing: ease-in-out, $delay: 0ms) {
|
10
|
-
-webkit-transition:$prop $duration $easing $delay;
|
11
|
-
-moz-transition:$prop $duration $easing $delay;
|
12
|
-
-ms-transition:$prop $duration $easing $delay;
|
13
|
-
-o-transition:$prop $duration $easing $delay;
|
14
|
-
transition:$prop $duration $easing $delay;
|
15
|
-
}
|
16
|
-
|
17
|
-
@mixin transform($val) {
|
18
|
-
-webkit-transform:$val;
|
19
|
-
-moz-transform:$val;
|
20
|
-
-ms-transform:$val;
|
21
|
-
-o-transform:$val;
|
22
|
-
transform:$val;
|
23
|
-
}
|
24
|
-
|
25
|
-
.csstransitions.csstransforms {
|
26
|
-
overflow-x:hidden;
|
27
|
-
|
28
|
-
.deck-container > .slide {
|
29
|
-
-webkit-transition:-webkit-transform 500ms ease-in-out;
|
30
|
-
-moz-transition:-moz-transform 500ms ease-in-out;
|
31
|
-
-ms-transition:-ms-transform 500ms ease-in-out;
|
32
|
-
-o-transition:-o-transform 500ms ease-in-out;
|
33
|
-
transition:transform 500ms ease-in-out;
|
34
|
-
}
|
35
|
-
|
36
|
-
.deck-container:not(.deck-menu) {
|
37
|
-
> .slide {
|
38
|
-
position:absolute;
|
39
|
-
top:0;
|
40
|
-
left:0;
|
41
|
-
-webkit-box-sizing: border-box;
|
42
|
-
-moz-box-sizing: border-box;
|
43
|
-
box-sizing: border-box;
|
44
|
-
width:100%;
|
45
|
-
padding:0 48px;
|
46
|
-
|
47
|
-
.slide {
|
48
|
-
position:relative;
|
49
|
-
left:0;
|
50
|
-
top:0;
|
51
|
-
-webkit-transition:-webkit-transform 500ms ease-in-out, opacity 500ms ease-in-out;
|
52
|
-
-moz-transition:-moz-transform 500ms ease-in-out, opacity 500ms ease-in-out;
|
53
|
-
-ms-transition:-ms-transform 500ms ease-in-out, opacity 500ms ease-in-out;
|
54
|
-
-o-transition:-o-transform 500ms ease-in-out, opacity 500ms ease-in-out;
|
55
|
-
transition:-webkit-transform 500ms ease-in-out, opacity 500ms ease-in-out;
|
56
|
-
}
|
57
|
-
|
58
|
-
.deck-next, .deck-after {
|
59
|
-
visibility:visible;
|
60
|
-
@include translate(200%);
|
61
|
-
}
|
62
|
-
|
63
|
-
.deck-before, .deck-previous {
|
64
|
-
opacity:0.4;
|
65
|
-
}
|
66
|
-
}
|
67
|
-
|
68
|
-
> .deck-previous {
|
69
|
-
@include translate(-200%);
|
70
|
-
}
|
71
|
-
|
72
|
-
> .deck-before {
|
73
|
-
@include translate(-400%);
|
74
|
-
}
|
75
|
-
|
76
|
-
> .deck-next {
|
77
|
-
@include translate(200%);
|
78
|
-
}
|
79
|
-
|
80
|
-
> .deck-after {
|
81
|
-
@include translate(400%);
|
82
|
-
}
|
83
|
-
|
84
|
-
> .deck-before, > .deck-previous {
|
85
|
-
.slide {
|
86
|
-
visibility:visible;
|
87
|
-
}
|
88
|
-
}
|
89
|
-
|
90
|
-
> .deck-child-current {
|
91
|
-
@include transform(none);
|
92
|
-
}
|
93
|
-
}
|
94
|
-
}
|
@@ -1,97 +0,0 @@
|
|
1
|
-
.csstransitions.csstransforms .deck-container {
|
2
|
-
overflow-y: hidden;
|
3
|
-
}
|
4
|
-
.csstransitions.csstransforms .deck-container > .slide {
|
5
|
-
-webkit-transition: -webkit-transform 500ms ease-in-out;
|
6
|
-
-moz-transition: -moz-transform 500ms ease-in-out;
|
7
|
-
-ms-transition: -ms-transform 500ms ease-in-out;
|
8
|
-
-o-transition: -o-transform 500ms ease-in-out;
|
9
|
-
transition: transform 500ms ease-in-out;
|
10
|
-
}
|
11
|
-
.csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide {
|
12
|
-
position: absolute;
|
13
|
-
top: 0;
|
14
|
-
left: 0;
|
15
|
-
-webkit-box-sizing: border-box;
|
16
|
-
-moz-box-sizing: border-box;
|
17
|
-
box-sizing: border-box;
|
18
|
-
width: 100%;
|
19
|
-
padding: 0 48px;
|
20
|
-
}
|
21
|
-
.csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide .slide {
|
22
|
-
position: relative;
|
23
|
-
left: 0;
|
24
|
-
top: 0;
|
25
|
-
-webkit-transition: -webkit-transform 500ms ease-in-out, opacity 500ms ease-in-out;
|
26
|
-
-moz-transition: -moz-transform 500ms ease-in-out, opacity 500ms ease-in-out;
|
27
|
-
-ms-transition: -ms-transform 500ms ease-in-out, opacity 500ms ease-in-out;
|
28
|
-
-o-transition: -o-transform 500ms ease-in-out, opacity 500ms ease-in-out;
|
29
|
-
transition: -webkit-transform 500ms ease-in-out, opacity 500ms ease-in-out;
|
30
|
-
}
|
31
|
-
.csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide .deck-next, .csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide .deck-after {
|
32
|
-
visibility: visible;
|
33
|
-
-webkit-transform: translate3d(0, 1600px, 0);
|
34
|
-
-moz-transform: translate(0, 1600px);
|
35
|
-
-ms-transform: translate(0, 1600px);
|
36
|
-
-o-transform: translate(0, 1600px);
|
37
|
-
transform: translate3d(0, 1600px, 0);
|
38
|
-
}
|
39
|
-
.csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide .deck-before, .csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide .deck-previous {
|
40
|
-
opacity: 0.4;
|
41
|
-
}
|
42
|
-
.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-previous {
|
43
|
-
-webkit-transform: translate3d(0, -200%, 0);
|
44
|
-
-moz-transform: translate(0, -200%);
|
45
|
-
-ms-transform: translate(0, -200%);
|
46
|
-
-o-transform: translate(0, -200%);
|
47
|
-
transform: translate3d(0, -200%, 0);
|
48
|
-
}
|
49
|
-
.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-before {
|
50
|
-
-webkit-transform: translate3d(0, -400%, 0);
|
51
|
-
-moz-transform: translate(0, -400%);
|
52
|
-
-ms-transform: translate(0, -400%);
|
53
|
-
-o-transform: translate(0, -400%);
|
54
|
-
transform: translate3d(0, -400%, 0);
|
55
|
-
}
|
56
|
-
.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-next {
|
57
|
-
-webkit-transform: translate3d(0, 200%, 0);
|
58
|
-
-moz-transform: translate(0, 200%);
|
59
|
-
-ms-transform: translate(0, 200%);
|
60
|
-
-o-transform: translate(0, 200%);
|
61
|
-
transform: translate3d(0, 200%, 0);
|
62
|
-
}
|
63
|
-
.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-after {
|
64
|
-
-webkit-transform: translate3d(0, 400%, 0);
|
65
|
-
-moz-transform: translate(0, 400%);
|
66
|
-
-ms-transform: translate(0, 400%);
|
67
|
-
-o-transform: translate(0, 400%);
|
68
|
-
transform: translate3d(0, 400%, 0);
|
69
|
-
}
|
70
|
-
.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-before .slide, .csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-previous .slide {
|
71
|
-
visibility: visible;
|
72
|
-
}
|
73
|
-
.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-child-current {
|
74
|
-
-webkit-transform: none;
|
75
|
-
-moz-transform: none;
|
76
|
-
-ms-transform: none;
|
77
|
-
-o-transform: none;
|
78
|
-
transform: none;
|
79
|
-
}
|
80
|
-
.csstransitions.csstransforms .deck-prev-link {
|
81
|
-
left: auto;
|
82
|
-
right: 8px;
|
83
|
-
top: 59px;
|
84
|
-
-webkit-transform: rotate(90deg);
|
85
|
-
-moz-transform: rotate(90deg);
|
86
|
-
-ms-transform: rotate(90deg);
|
87
|
-
-o-transform: rotate(90deg);
|
88
|
-
transform: rotate(90deg);
|
89
|
-
}
|
90
|
-
.csstransitions.csstransforms .deck-next-link {
|
91
|
-
top: 99px;
|
92
|
-
-webkit-transform: rotate(90deg);
|
93
|
-
-moz-transform: rotate(90deg);
|
94
|
-
-ms-transform: rotate(90deg);
|
95
|
-
-o-transform: rotate(90deg);
|
96
|
-
transform: rotate(90deg);
|
97
|
-
}
|
@@ -1,116 +0,0 @@
|
|
1
|
-
@mixin translate($x: 0, $y: 0, $z: 0) {
|
2
|
-
-webkit-transform:translate3d($x, $y, $z);
|
3
|
-
-moz-transform:translate($x, $y);
|
4
|
-
-ms-transform:translate($x, $y);
|
5
|
-
-o-transform:translate($x, $y);
|
6
|
-
transform:translate3d($x, $y, $z);
|
7
|
-
}
|
8
|
-
|
9
|
-
@mixin rotate($deg) {
|
10
|
-
-webkit-transform:rotate($deg);
|
11
|
-
-moz-transform:rotate($deg);
|
12
|
-
-ms-transform:rotate($deg);
|
13
|
-
-o-transform:rotate($deg);
|
14
|
-
transform:rotate($deg);
|
15
|
-
}
|
16
|
-
|
17
|
-
@mixin transition($prop, $duration, $easing: ease-in-out, $delay: 0ms) {
|
18
|
-
-webkit-transition:$prop $duration $easing $delay;
|
19
|
-
-moz-transition:$prop $duration $easing $delay;
|
20
|
-
-ms-transition:$prop $duration $easing $delay;
|
21
|
-
-o-transition:$prop $duration $easing $delay;
|
22
|
-
transition:$prop $duration $easing $delay;
|
23
|
-
}
|
24
|
-
|
25
|
-
@mixin transform($val) {
|
26
|
-
-webkit-transform:$val;
|
27
|
-
-moz-transform:$val;
|
28
|
-
-ms-transform:$val;
|
29
|
-
-o-transform:$val;
|
30
|
-
transform:$val;
|
31
|
-
}
|
32
|
-
|
33
|
-
.csstransitions.csstransforms {
|
34
|
-
.deck-container {
|
35
|
-
overflow-y:hidden;
|
36
|
-
|
37
|
-
> .slide {
|
38
|
-
-webkit-transition:-webkit-transform 500ms ease-in-out;
|
39
|
-
-moz-transition:-moz-transform 500ms ease-in-out;
|
40
|
-
-ms-transition:-ms-transform 500ms ease-in-out;
|
41
|
-
-o-transition:-o-transform 500ms ease-in-out;
|
42
|
-
transition:transform 500ms ease-in-out;
|
43
|
-
}
|
44
|
-
}
|
45
|
-
|
46
|
-
.deck-container:not(.deck-menu) {
|
47
|
-
> .slide {
|
48
|
-
position:absolute;
|
49
|
-
top:0;
|
50
|
-
left:0;
|
51
|
-
-webkit-box-sizing: border-box;
|
52
|
-
-moz-box-sizing: border-box;
|
53
|
-
box-sizing: border-box;
|
54
|
-
width:100%;
|
55
|
-
padding:0 48px;
|
56
|
-
|
57
|
-
.slide {
|
58
|
-
position:relative;
|
59
|
-
left:0;
|
60
|
-
top:0;
|
61
|
-
-webkit-transition:-webkit-transform 500ms ease-in-out, opacity 500ms ease-in-out;
|
62
|
-
-moz-transition:-moz-transform 500ms ease-in-out, opacity 500ms ease-in-out;
|
63
|
-
-ms-transition:-ms-transform 500ms ease-in-out, opacity 500ms ease-in-out;
|
64
|
-
-o-transition:-o-transform 500ms ease-in-out, opacity 500ms ease-in-out;
|
65
|
-
transition:-webkit-transform 500ms ease-in-out, opacity 500ms ease-in-out;
|
66
|
-
}
|
67
|
-
|
68
|
-
.deck-next, .deck-after {
|
69
|
-
visibility:visible;
|
70
|
-
@include translate(0, 1600px);
|
71
|
-
}
|
72
|
-
|
73
|
-
.deck-before, .deck-previous {
|
74
|
-
opacity:0.4;
|
75
|
-
}
|
76
|
-
}
|
77
|
-
|
78
|
-
> .deck-previous {
|
79
|
-
@include translate(0, -200%);
|
80
|
-
}
|
81
|
-
|
82
|
-
> .deck-before {
|
83
|
-
@include translate(0, -400%);
|
84
|
-
}
|
85
|
-
|
86
|
-
> .deck-next {
|
87
|
-
@include translate(0, 200%);
|
88
|
-
}
|
89
|
-
|
90
|
-
> .deck-after {
|
91
|
-
@include translate(0, 400%);
|
92
|
-
}
|
93
|
-
|
94
|
-
> .deck-before, > .deck-previous {
|
95
|
-
.slide {
|
96
|
-
visibility:visible;
|
97
|
-
}
|
98
|
-
}
|
99
|
-
|
100
|
-
> .deck-child-current {
|
101
|
-
@include transform(none);
|
102
|
-
}
|
103
|
-
}
|
104
|
-
|
105
|
-
.deck-prev-link {
|
106
|
-
left:auto;
|
107
|
-
right:8px;
|
108
|
-
top:59px;
|
109
|
-
@include rotate(90deg);
|
110
|
-
}
|
111
|
-
|
112
|
-
.deck-next-link {
|
113
|
-
top:99px;
|
114
|
-
@include rotate(90deg);
|
115
|
-
}
|
116
|
-
}
|