slider 0.1 → 0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/slider/version.rb +1 -1
- data/templates/basic.erb +50 -0
- data/templates/basic/deck.js/core/deck.core.css +404 -0
- data/templates/basic/deck.js/core/deck.core.html +39 -0
- data/templates/basic/deck.js/core/deck.core.js +498 -0
- data/templates/basic/deck.js/core/deck.core.scss +447 -0
- data/templates/basic/deck.js/goto/deck.goto.css +41 -0
- data/templates/basic/deck.js/goto/deck.goto.html +7 -0
- data/templates/basic/deck.js/goto/deck.goto.js +134 -0
- data/templates/basic/deck.js/goto/deck.goto.scss +46 -0
- data/templates/basic/deck.js/hash/deck.hash.css +13 -0
- data/templates/basic/deck.js/hash/deck.hash.html +2 -0
- data/templates/basic/deck.js/hash/deck.hash.js +129 -0
- data/templates/basic/deck.js/hash/deck.hash.scss +15 -0
- data/templates/basic/deck.js/menu/deck.menu.css +47 -0
- data/templates/basic/deck.js/menu/deck.menu.js +183 -0
- data/templates/basic/deck.js/menu/deck.menu.scss +58 -0
- data/templates/basic/deck.js/navigation/deck.navigation.css +43 -0
- data/templates/basic/deck.js/navigation/deck.navigation.html +3 -0
- data/templates/basic/deck.js/navigation/deck.navigation.js +83 -0
- data/templates/basic/deck.js/navigation/deck.navigation.scss +56 -0
- data/templates/basic/deck.js/scale/deck.scale.css +16 -0
- data/templates/basic/deck.js/scale/deck.scale.js +155 -0
- data/templates/basic/deck.js/scale/deck.scale.scss +17 -0
- data/templates/basic/deck.js/status/deck.status.css +18 -0
- data/templates/basic/deck.js/status/deck.status.html +6 -0
- data/templates/basic/deck.js/status/deck.status.js +83 -0
- data/templates/basic/deck.js/status/deck.status.scss +22 -0
- data/templates/basic/deck.js/style/neon.css +114 -0
- data/templates/basic/deck.js/style/neon.scss +139 -0
- data/templates/basic/deck.js/style/swiss.css +76 -0
- data/templates/basic/deck.js/style/swiss.scss +91 -0
- data/templates/basic/deck.js/style/web-2.0.css +205 -0
- data/templates/basic/deck.js/style/web-2.0.scss +236 -0
- data/templates/basic/deck.js/transition/fade.css +44 -0
- data/templates/basic/deck.js/transition/fade.scss +70 -0
- data/templates/basic/deck.js/transition/horizontal-slide.css +79 -0
- data/templates/basic/deck.js/transition/horizontal-slide.scss +94 -0
- data/templates/basic/deck.js/transition/vertical-slide.css +97 -0
- data/templates/basic/deck.js/transition/vertical-slide.scss +116 -0
- data/templates/basic/jquery.min.js +4 -0
- data/templates/basic/modernizr.custom.js +4 -0
- data/templates/basic/railscasts.css +64 -0
- metadata +43 -1
@@ -0,0 +1,83 @@
|
|
1
|
+
/*!
|
2
|
+
Deck JS - deck.status
|
3
|
+
Copyright (c) 2011 Caleb Troughton
|
4
|
+
Dual licensed under the MIT license and GPL license.
|
5
|
+
https://github.com/imakewebthings/deck.js/blob/master/MIT-license.txt
|
6
|
+
https://github.com/imakewebthings/deck.js/blob/master/GPL-license.txt
|
7
|
+
*/
|
8
|
+
|
9
|
+
/*
|
10
|
+
This module adds a (current)/(total) style status indicator to the deck.
|
11
|
+
*/
|
12
|
+
(function($, deck, undefined) {
|
13
|
+
var $d = $(document);
|
14
|
+
|
15
|
+
/*
|
16
|
+
Extends defaults/options.
|
17
|
+
|
18
|
+
options.selectors.statusCurrent
|
19
|
+
The element matching this selector displays the current slide number.
|
20
|
+
|
21
|
+
options.selectors.statusTotal
|
22
|
+
The element matching this selector displays the total number of slides.
|
23
|
+
|
24
|
+
options.countNested
|
25
|
+
If false, only top level slides will be counted in the current and
|
26
|
+
total numbers.
|
27
|
+
*/
|
28
|
+
$.extend(true, $[deck].defaults, {
|
29
|
+
selectors: {
|
30
|
+
statusCurrent: '.deck-status-current',
|
31
|
+
statusTotal: '.deck-status-total'
|
32
|
+
},
|
33
|
+
|
34
|
+
countNested: true
|
35
|
+
});
|
36
|
+
|
37
|
+
$d.bind('deck.init', function() {
|
38
|
+
var opts = $[deck]('getOptions');
|
39
|
+
|
40
|
+
// Start on first slide
|
41
|
+
$(opts.selectors.statusCurrent).text(1);
|
42
|
+
// Set total slides once
|
43
|
+
if (opts.countNested) {
|
44
|
+
$(opts.selectors.statusTotal).text($[deck]('getSlides').length);
|
45
|
+
}
|
46
|
+
else {
|
47
|
+
/* Determine root slides by checking each slide's ancestor tree for
|
48
|
+
any of the slide classes. */
|
49
|
+
var rootIndex = 1,
|
50
|
+
slideTest = $.map([
|
51
|
+
opts.classes.before,
|
52
|
+
opts.classes.previous,
|
53
|
+
opts.classes.current,
|
54
|
+
opts.classes.next,
|
55
|
+
opts.classes.after
|
56
|
+
], function(el, i) {
|
57
|
+
return '.' + el;
|
58
|
+
}).join(', ');
|
59
|
+
|
60
|
+
/* Store the 'real' root slide number for use during slide changes. */
|
61
|
+
$.each($[deck]('getSlides'), function(i, $el) {
|
62
|
+
var $parentSlides = $el.parentsUntil(opts.selectors.container, slideTest);
|
63
|
+
|
64
|
+
$el.data('rootSlide', $parentSlides.length ?
|
65
|
+
$parentSlides.last().data('rootSlide') :
|
66
|
+
rootIndex++
|
67
|
+
);
|
68
|
+
});
|
69
|
+
|
70
|
+
$(opts.selectors.statusTotal).text(rootIndex - 1);
|
71
|
+
}
|
72
|
+
})
|
73
|
+
/* Update current slide number with each change event */
|
74
|
+
.bind('deck.change', function(e, from, to) {
|
75
|
+
var opts = $[deck]('getOptions');
|
76
|
+
|
77
|
+
$(opts.selectors.statusCurrent).text(opts.countNested ?
|
78
|
+
to + 1 :
|
79
|
+
$[deck]('getSlide', to).data('rootSlide')
|
80
|
+
);
|
81
|
+
});
|
82
|
+
})(jQuery, 'deck');
|
83
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
.deck-container {
|
2
|
+
.deck-status {
|
3
|
+
position:absolute;
|
4
|
+
bottom:10px;
|
5
|
+
right:5px;
|
6
|
+
color:#888;
|
7
|
+
z-index:3;
|
8
|
+
margin:0;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
body.deck-container {
|
13
|
+
.deck-status {
|
14
|
+
position:fixed;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
|
18
|
+
@media print {
|
19
|
+
.deck-status {
|
20
|
+
display:none;
|
21
|
+
}
|
22
|
+
}
|
@@ -0,0 +1,114 @@
|
|
1
|
+
.deck-container {
|
2
|
+
font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
|
3
|
+
font-size: 1.25em;
|
4
|
+
color: #aaa;
|
5
|
+
background: #000;
|
6
|
+
}
|
7
|
+
.deck-container .slide {
|
8
|
+
background: #000;
|
9
|
+
}
|
10
|
+
.deck-container .slide h1 {
|
11
|
+
color: #0af;
|
12
|
+
font-weight: normal;
|
13
|
+
font-weight: 100;
|
14
|
+
text-shadow: 0 0 50px #0af, 0 0 3px #fff;
|
15
|
+
}
|
16
|
+
.deck-container .slide h2 {
|
17
|
+
color: #af0;
|
18
|
+
border-bottom-color: #ccc;
|
19
|
+
font-weight: normal;
|
20
|
+
font-weight: 100;
|
21
|
+
text-shadow: 0 0 15px #af0, 0 0 2px #fff;
|
22
|
+
border-bottom: 1px solid #333;
|
23
|
+
}
|
24
|
+
.deck-container .slide h3 {
|
25
|
+
color: #fff;
|
26
|
+
font-weight: normal;
|
27
|
+
font-weight: 100;
|
28
|
+
text-shadow: 0 0 10px #fff, 0 0 2px #fff;
|
29
|
+
}
|
30
|
+
.deck-container .slide pre {
|
31
|
+
border-color: #333;
|
32
|
+
}
|
33
|
+
.deck-container .slide pre code {
|
34
|
+
color: #fff;
|
35
|
+
}
|
36
|
+
.deck-container .slide code {
|
37
|
+
color: #f0a;
|
38
|
+
}
|
39
|
+
.deck-container .slide blockquote {
|
40
|
+
font-size: 2em;
|
41
|
+
padding: 1em 2em;
|
42
|
+
color: #fff;
|
43
|
+
border-left: 5px solid #fff;
|
44
|
+
}
|
45
|
+
.deck-container .slide blockquote p {
|
46
|
+
margin: 0;
|
47
|
+
}
|
48
|
+
.deck-container .slide blockquote cite {
|
49
|
+
font-size: .5em;
|
50
|
+
font-style: normal;
|
51
|
+
font-weight: normal;
|
52
|
+
font-weight: 100;
|
53
|
+
color: #aaa;
|
54
|
+
text-shadow: 0 0 15px #fff, 0 0 2px #fff;
|
55
|
+
}
|
56
|
+
.deck-container .slide ::-moz-selection {
|
57
|
+
background: #a0f;
|
58
|
+
}
|
59
|
+
.deck-container .slide ::selection {
|
60
|
+
background: #a0f;
|
61
|
+
}
|
62
|
+
.deck-container .slide a, .deck-container .slide a:hover, .deck-container .slide a:focus, .deck-container .slide a:active, .deck-container .slide a:visited {
|
63
|
+
color: #f0a;
|
64
|
+
text-decoration: none;
|
65
|
+
}
|
66
|
+
.deck-container .slide a:hover, .deck-container .slide a:focus {
|
67
|
+
text-decoration: underline;
|
68
|
+
}
|
69
|
+
.deck-container .deck-prev-link, .deck-container .deck-next-link {
|
70
|
+
background: #f0a;
|
71
|
+
text-shadow: 0 0 3px #fff;
|
72
|
+
}
|
73
|
+
.deck-container .deck-prev-link, .deck-container .deck-prev-link:hover, .deck-container .deck-prev-link:focus, .deck-container .deck-prev-link:active, .deck-container .deck-prev-link:visited, .deck-container .deck-next-link, .deck-container .deck-next-link:hover, .deck-container .deck-next-link:focus, .deck-container .deck-next-link:active, .deck-container .deck-next-link:visited {
|
74
|
+
color: #fff;
|
75
|
+
}
|
76
|
+
.deck-container .deck-prev-link:hover, .deck-container .deck-prev-link:focus, .deck-container .deck-next-link:hover, .deck-container .deck-next-link:focus {
|
77
|
+
text-decoration: none;
|
78
|
+
}
|
79
|
+
.boxshadow .deck-container .deck-prev-link:hover, .boxshadow .deck-container .deck-prev-link:focus, .boxshadow .deck-container .deck-next-link:hover, .boxshadow .deck-container .deck-next-link:focus {
|
80
|
+
-webkit-box-shadow: 0 0 20px #f0a, 0 0 5px #fff;
|
81
|
+
-moz-box-shadow: 0 0 20px #f0a, 0 0 5px #fff;
|
82
|
+
box-shadow: 0 0 20px #f0a, 0 0 5px #fff;
|
83
|
+
}
|
84
|
+
.deck-container .deck-status {
|
85
|
+
font-size: 0.6666em;
|
86
|
+
}
|
87
|
+
.deck-container .goto-form {
|
88
|
+
background: #000;
|
89
|
+
border: 1px solid #f0a;
|
90
|
+
}
|
91
|
+
.deck-container .goto-form label {
|
92
|
+
color: #fff;
|
93
|
+
}
|
94
|
+
.deck-container.deck-menu .slide {
|
95
|
+
background: #333;
|
96
|
+
}
|
97
|
+
.deck-container.deck-menu .deck-current {
|
98
|
+
background: #444;
|
99
|
+
}
|
100
|
+
.boxshadow .deck-container.deck-menu .deck-current {
|
101
|
+
background: #000;
|
102
|
+
-webkit-box-shadow: 0 0 20px #f0a, 0 0 5px #fff;
|
103
|
+
-moz-box-shadow: 0 0 20px #f0a, 0 0 5px #fff;
|
104
|
+
box-shadow: 0 0 20px #f0a, 0 0 5px #fff;
|
105
|
+
}
|
106
|
+
.no-touch .deck-container.deck-menu .slide:hover {
|
107
|
+
background: #444;
|
108
|
+
}
|
109
|
+
.no-touch.boxshadow .deck-container.deck-menu .slide:hover {
|
110
|
+
background: #000;
|
111
|
+
-webkit-box-shadow: 0 0 20px #f0a, 0 0 5px #fff;
|
112
|
+
-moz-box-shadow: 0 0 20px #f0a, 0 0 5px #fff;
|
113
|
+
box-shadow: 0 0 20px #f0a, 0 0 5px #fff;
|
114
|
+
}
|
@@ -0,0 +1,139 @@
|
|
1
|
+
.deck-container {
|
2
|
+
font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
|
3
|
+
font-size:1.25em;
|
4
|
+
color:#aaa;
|
5
|
+
background:#000;
|
6
|
+
|
7
|
+
.slide {
|
8
|
+
background:#000;
|
9
|
+
|
10
|
+
h1 {
|
11
|
+
color:#0af;
|
12
|
+
font-weight:normal;
|
13
|
+
font-weight:100;
|
14
|
+
text-shadow:0 0 50px #0af, 0 0 3px #fff;
|
15
|
+
}
|
16
|
+
|
17
|
+
h2 {
|
18
|
+
color:#af0;
|
19
|
+
border-bottom-color:#ccc;
|
20
|
+
font-weight:normal;
|
21
|
+
font-weight:100;
|
22
|
+
text-shadow:0 0 15px #af0, 0 0 2px #fff;
|
23
|
+
border-bottom:1px solid #333;
|
24
|
+
}
|
25
|
+
|
26
|
+
h3 {
|
27
|
+
color:#fff;
|
28
|
+
font-weight:normal;
|
29
|
+
font-weight:100;
|
30
|
+
text-shadow:0 0 10px #fff, 0 0 2px #fff;
|
31
|
+
}
|
32
|
+
|
33
|
+
pre {
|
34
|
+
border-color:#333;
|
35
|
+
|
36
|
+
code {
|
37
|
+
color:#fff;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
code {
|
42
|
+
color:#f0a;
|
43
|
+
}
|
44
|
+
|
45
|
+
blockquote {
|
46
|
+
font-size:2em;
|
47
|
+
padding:1em 2em;
|
48
|
+
color:#fff;
|
49
|
+
border-left:5px solid #fff;
|
50
|
+
|
51
|
+
p {
|
52
|
+
margin:0;
|
53
|
+
}
|
54
|
+
|
55
|
+
cite {
|
56
|
+
font-size:.5em;
|
57
|
+
font-style:normal;
|
58
|
+
font-weight:normal;
|
59
|
+
font-weight:100;
|
60
|
+
color:#aaa;
|
61
|
+
text-shadow:0 0 15px #fff, 0 0 2px #fff;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
::-moz-selection{ background:#a0f; }
|
66
|
+
::selection { background:#a0f; }
|
67
|
+
|
68
|
+
a {
|
69
|
+
&, &:hover, &:focus, &:active, &:visited {
|
70
|
+
color:#f0a;
|
71
|
+
text-decoration:none;
|
72
|
+
}
|
73
|
+
|
74
|
+
&:hover, &:focus {
|
75
|
+
text-decoration:underline;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
.deck-prev-link, .deck-next-link {
|
81
|
+
background:#f0a;
|
82
|
+
text-shadow:0 0 3px #fff;
|
83
|
+
|
84
|
+
&, &:hover, &:focus, &:active, &:visited {
|
85
|
+
color:#fff;
|
86
|
+
}
|
87
|
+
|
88
|
+
&:hover, &:focus {
|
89
|
+
text-decoration:none;
|
90
|
+
|
91
|
+
.boxshadow & {
|
92
|
+
-webkit-box-shadow:0 0 20px #f0a, 0 0 5px #fff;
|
93
|
+
-moz-box-shadow:0 0 20px #f0a, 0 0 5px #fff;
|
94
|
+
box-shadow:0 0 20px #f0a, 0 0 5px #fff;
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
|
99
|
+
.deck-status {
|
100
|
+
font-size:0.6666em;
|
101
|
+
}
|
102
|
+
|
103
|
+
.goto-form {
|
104
|
+
background:#000;
|
105
|
+
border:1px solid #f0a;
|
106
|
+
|
107
|
+
label {
|
108
|
+
color:#fff;
|
109
|
+
}
|
110
|
+
}
|
111
|
+
|
112
|
+
&.deck-menu {
|
113
|
+
.slide {
|
114
|
+
background:#333;
|
115
|
+
}
|
116
|
+
|
117
|
+
.deck-current {
|
118
|
+
background:#444;
|
119
|
+
|
120
|
+
.boxshadow & {
|
121
|
+
background:#000;
|
122
|
+
-webkit-box-shadow:0 0 20px #f0a, 0 0 5px #fff;
|
123
|
+
-moz-box-shadow:0 0 20px #f0a, 0 0 5px #fff;
|
124
|
+
box-shadow:0 0 20px #f0a, 0 0 5px #fff;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
.no-touch & .slide:hover {
|
129
|
+
background:#444;
|
130
|
+
}
|
131
|
+
|
132
|
+
.no-touch.boxshadow & .slide:hover {
|
133
|
+
background:#000;
|
134
|
+
-webkit-box-shadow:0 0 20px #f0a, 0 0 5px #fff;
|
135
|
+
-moz-box-shadow:0 0 20px #f0a, 0 0 5px #fff;
|
136
|
+
box-shadow:0 0 20px #f0a, 0 0 5px #fff;
|
137
|
+
}
|
138
|
+
}
|
139
|
+
}
|
@@ -0,0 +1,76 @@
|
|
1
|
+
.deck-container {
|
2
|
+
font-family: "Helvetica Neue", sans-serif;
|
3
|
+
font-size: 1.25em;
|
4
|
+
background: #fff;
|
5
|
+
}
|
6
|
+
.deck-container .slide {
|
7
|
+
background: #fff;
|
8
|
+
font-size: 1.75em;
|
9
|
+
}
|
10
|
+
.deck-container .slide h1 {
|
11
|
+
color: #000;
|
12
|
+
}
|
13
|
+
.deck-container .slide h2 {
|
14
|
+
color: #c00;
|
15
|
+
border-bottom-color: #ccc;
|
16
|
+
}
|
17
|
+
.deck-container .slide h3 {
|
18
|
+
color: #888;
|
19
|
+
}
|
20
|
+
.deck-container .slide pre {
|
21
|
+
border-color: #ccc;
|
22
|
+
}
|
23
|
+
.deck-container .slide code {
|
24
|
+
color: #888;
|
25
|
+
}
|
26
|
+
.deck-container .slide blockquote {
|
27
|
+
font-size: 2em;
|
28
|
+
font-style: italic;
|
29
|
+
padding: 1em 2em;
|
30
|
+
color: #000;
|
31
|
+
border-left: 5px solid #ccc;
|
32
|
+
}
|
33
|
+
.deck-container .slide blockquote p {
|
34
|
+
margin: 0;
|
35
|
+
}
|
36
|
+
.deck-container .slide blockquote cite {
|
37
|
+
font-size: .5em;
|
38
|
+
font-style: normal;
|
39
|
+
font-weight: bold;
|
40
|
+
color: #888;
|
41
|
+
}
|
42
|
+
.deck-container .slide ::-moz-selection {
|
43
|
+
background: #c00;
|
44
|
+
color: #fff;
|
45
|
+
}
|
46
|
+
.deck-container .slide ::selection {
|
47
|
+
background: #c00;
|
48
|
+
color: #fff;
|
49
|
+
}
|
50
|
+
.deck-container .slide a, .deck-container .slide a:hover, .deck-container .slide a:focus, .deck-container .slide a:active, .deck-container .slide a:visited {
|
51
|
+
color: #c00;
|
52
|
+
text-decoration: none;
|
53
|
+
}
|
54
|
+
.deck-container .slide a:hover, .deck-container .slide a:focus {
|
55
|
+
text-decoration: underline;
|
56
|
+
}
|
57
|
+
.deck-container .deck-prev-link, .deck-container .deck-next-link {
|
58
|
+
background: #ccc;
|
59
|
+
font-family: serif;
|
60
|
+
}
|
61
|
+
.deck-container .deck-prev-link, .deck-container .deck-prev-link:hover, .deck-container .deck-prev-link:focus, .deck-container .deck-prev-link:active, .deck-container .deck-prev-link:visited, .deck-container .deck-next-link, .deck-container .deck-next-link:hover, .deck-container .deck-next-link:focus, .deck-container .deck-next-link:active, .deck-container .deck-next-link:visited {
|
62
|
+
color: #fff;
|
63
|
+
}
|
64
|
+
.deck-container .deck-prev-link:hover, .deck-container .deck-prev-link:focus, .deck-container .deck-next-link:hover, .deck-container .deck-next-link:focus {
|
65
|
+
background: #c00;
|
66
|
+
text-decoration: none;
|
67
|
+
}
|
68
|
+
.deck-container .deck-status {
|
69
|
+
font-size: 0.6666em;
|
70
|
+
}
|
71
|
+
.deck-container.deck-menu .slide {
|
72
|
+
background: #eee;
|
73
|
+
}
|
74
|
+
.deck-container.deck-menu .deck-current, .no-touch .deck-container.deck-menu .slide:hover {
|
75
|
+
background: #ddf;
|
76
|
+
}
|
@@ -0,0 +1,91 @@
|
|
1
|
+
.deck-container {
|
2
|
+
font-family: "Helvetica Neue", sans-serif;
|
3
|
+
font-size:1.25em;
|
4
|
+
background:#fff;
|
5
|
+
|
6
|
+
.slide {
|
7
|
+
background:#fff;
|
8
|
+
|
9
|
+
h1 {
|
10
|
+
color:#000;
|
11
|
+
}
|
12
|
+
|
13
|
+
h2 {
|
14
|
+
color:#c00;
|
15
|
+
border-bottom-color:#ccc;
|
16
|
+
}
|
17
|
+
|
18
|
+
h3 {
|
19
|
+
color:#888;
|
20
|
+
}
|
21
|
+
|
22
|
+
pre {
|
23
|
+
border-color:#ccc;
|
24
|
+
}
|
25
|
+
|
26
|
+
code {
|
27
|
+
color:#888;
|
28
|
+
}
|
29
|
+
|
30
|
+
blockquote {
|
31
|
+
font-size:2em;
|
32
|
+
font-style:italic;
|
33
|
+
padding:1em 2em;
|
34
|
+
color:#000;
|
35
|
+
border-left:5px solid #ccc;
|
36
|
+
|
37
|
+
p {
|
38
|
+
margin:0;
|
39
|
+
}
|
40
|
+
|
41
|
+
cite {
|
42
|
+
font-size:.5em;
|
43
|
+
font-style:normal;
|
44
|
+
font-weight:bold;
|
45
|
+
color:#888;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
::-moz-selection{ background:#c00; color:#fff; }
|
50
|
+
::selection { background:#c00; color:#fff; }
|
51
|
+
|
52
|
+
a {
|
53
|
+
&, &:hover, &:focus, &:active, &:visited {
|
54
|
+
color:#c00;
|
55
|
+
text-decoration:none;
|
56
|
+
}
|
57
|
+
|
58
|
+
&:hover, &:focus {
|
59
|
+
text-decoration:underline;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
|
64
|
+
.deck-prev-link, .deck-next-link {
|
65
|
+
background:#ccc;
|
66
|
+
font-family:serif; // sans-serif arrows x-browser fail
|
67
|
+
|
68
|
+
&, &:hover, &:focus, &:active, &:visited {
|
69
|
+
color:#fff;
|
70
|
+
}
|
71
|
+
|
72
|
+
&:hover, &:focus {
|
73
|
+
background:#c00;
|
74
|
+
text-decoration:none;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
|
78
|
+
.deck-status {
|
79
|
+
font-size:0.6666em;
|
80
|
+
}
|
81
|
+
|
82
|
+
&.deck-menu {
|
83
|
+
.slide {
|
84
|
+
background:#eee;
|
85
|
+
}
|
86
|
+
|
87
|
+
.deck-current, .no-touch & .slide:hover {
|
88
|
+
background:#ddf;
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|