slippery 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (212) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -0
  3. data/assets/deck.js/core/deck.core.css +60 -0
  4. data/assets/deck.js/core/deck.core.js +728 -0
  5. data/assets/deck.js/core/deck.core.scss +65 -0
  6. data/assets/deck.js/core/print.css +25 -0
  7. data/assets/deck.js/core/print.scss +14 -0
  8. data/assets/deck.js/css/common.css +216 -0
  9. data/assets/deck.js/css/common.scss +233 -0
  10. data/assets/deck.js/css/home.css +790 -0
  11. data/assets/deck.js/css/home.scss +892 -0
  12. data/assets/deck.js/extensions/goto/deck.goto.css +36 -0
  13. data/assets/deck.js/extensions/goto/deck.goto.html +7 -0
  14. data/assets/deck.js/extensions/goto/deck.goto.js +190 -0
  15. data/assets/deck.js/extensions/goto/deck.goto.scss +39 -0
  16. data/assets/deck.js/extensions/hash/deck.hash.css +13 -0
  17. data/assets/deck.js/extensions/hash/deck.hash.html +2 -0
  18. data/assets/deck.js/extensions/hash/deck.hash.js +145 -0
  19. data/assets/deck.js/extensions/hash/deck.hash.scss +13 -0
  20. data/assets/deck.js/extensions/menu/deck.menu.css +45 -0
  21. data/assets/deck.js/extensions/menu/deck.menu.js +225 -0
  22. data/assets/deck.js/extensions/menu/deck.menu.scss +55 -0
  23. data/assets/deck.js/extensions/navigation/deck.navigation.css +42 -0
  24. data/assets/deck.js/extensions/navigation/deck.navigation.html +5 -0
  25. data/assets/deck.js/extensions/navigation/deck.navigation.js +94 -0
  26. data/assets/deck.js/extensions/navigation/deck.navigation.scss +44 -0
  27. data/assets/deck.js/extensions/scale/deck.scale.css +20 -0
  28. data/assets/deck.js/extensions/scale/deck.scale.js +190 -0
  29. data/assets/deck.js/extensions/scale/deck.scale.scss +22 -0
  30. data/assets/deck.js/extensions/status/deck.status.css +18 -0
  31. data/assets/deck.js/extensions/status/deck.status.html +6 -0
  32. data/assets/deck.js/extensions/status/deck.status.js +108 -0
  33. data/assets/deck.js/extensions/status/deck.status.scss +18 -0
  34. data/assets/deck.js/modernizr.custom.js +4 -0
  35. data/assets/deck.js/themes/style/_reset.scss +300 -0
  36. data/assets/deck.js/themes/style/neon.css +421 -0
  37. data/assets/deck.js/themes/style/neon.scss +148 -0
  38. data/assets/deck.js/themes/style/swiss.css +389 -0
  39. data/assets/deck.js/themes/style/swiss.scss +109 -0
  40. data/assets/deck.js/themes/style/web-2.0.css +500 -0
  41. data/assets/deck.js/themes/style/web-2.0.scss +228 -0
  42. data/assets/deck.js/themes/transition/fade.css +35 -0
  43. data/assets/deck.js/themes/transition/fade.scss +59 -0
  44. data/assets/deck.js/themes/transition/horizontal-slide.css +53 -0
  45. data/assets/deck.js/themes/transition/horizontal-slide.scss +72 -0
  46. data/assets/deck.js/themes/transition/vertical-slide.css +67 -0
  47. data/assets/deck.js/themes/transition/vertical-slide.scss +92 -0
  48. data/assets/highlight.js/CHANGES.md +953 -0
  49. data/assets/highlight.js/LICENSE +24 -0
  50. data/assets/highlight.js/README.md +101 -0
  51. data/assets/highlight.js/README.ru.md +101 -0
  52. data/assets/highlight.js/highlight-0.8.default.min.css +1 -0
  53. data/assets/highlight.js/highlight-0.8.min.js +1 -0
  54. data/assets/highlight.js/highlight.pack.js +1 -0
  55. data/assets/highlight.js/styles/arta.css +141 -0
  56. data/assets/highlight.js/styles/ascetic.css +53 -0
  57. data/assets/highlight.js/styles/atelier-dune.dark.css +95 -0
  58. data/assets/highlight.js/styles/atelier-dune.light.css +95 -0
  59. data/assets/highlight.js/styles/atelier-forest.dark.css +95 -0
  60. data/assets/highlight.js/styles/atelier-forest.light.css +95 -0
  61. data/assets/highlight.js/styles/atelier-heath.dark.css +95 -0
  62. data/assets/highlight.js/styles/atelier-heath.light.css +95 -0
  63. data/assets/highlight.js/styles/atelier-lakeside.dark.css +95 -0
  64. data/assets/highlight.js/styles/atelier-lakeside.light.css +95 -0
  65. data/assets/highlight.js/styles/atelier-seaside.dark.css +95 -0
  66. data/assets/highlight.js/styles/atelier-seaside.light.css +95 -0
  67. data/assets/highlight.js/styles/brown_paper.css +105 -0
  68. data/assets/highlight.js/styles/brown_papersq.png +0 -0
  69. data/assets/highlight.js/styles/codepen-embed.css +108 -0
  70. data/assets/highlight.js/styles/color-brewer.css +169 -0
  71. data/assets/highlight.js/styles/dark.css +105 -0
  72. data/assets/highlight.js/styles/default.css +153 -0
  73. data/assets/highlight.js/styles/docco.css +136 -0
  74. data/assets/highlight.js/styles/far.css +112 -0
  75. data/assets/highlight.js/styles/foundation.css +136 -0
  76. data/assets/highlight.js/styles/github.css +127 -0
  77. data/assets/highlight.js/styles/googlecode.css +148 -0
  78. data/assets/highlight.js/styles/hybrid.css +171 -0
  79. data/assets/highlight.js/styles/idea.css +126 -0
  80. data/assets/highlight.js/styles/ir_black.css +110 -0
  81. data/assets/highlight.js/styles/kimbie.dark.css +96 -0
  82. data/assets/highlight.js/styles/kimbie.light.css +96 -0
  83. data/assets/highlight.js/styles/magula.css +122 -0
  84. data/assets/highlight.js/styles/mono-blue.css +70 -0
  85. data/assets/highlight.js/styles/monokai.css +127 -0
  86. data/assets/highlight.js/styles/monokai_sublime.css +148 -0
  87. data/assets/highlight.js/styles/obsidian.css +154 -0
  88. data/assets/highlight.js/styles/paraiso.dark.css +95 -0
  89. data/assets/highlight.js/styles/paraiso.light.css +95 -0
  90. data/assets/highlight.js/styles/pojoaque.css +108 -0
  91. data/assets/highlight.js/styles/pojoaque.jpg +0 -0
  92. data/assets/highlight.js/styles/railscasts.css +185 -0
  93. data/assets/highlight.js/styles/rainbow.css +109 -0
  94. data/assets/highlight.js/styles/school_book.css +113 -0
  95. data/assets/highlight.js/styles/school_book.png +0 -0
  96. data/assets/highlight.js/styles/solarized_dark.css +109 -0
  97. data/assets/highlight.js/styles/solarized_light.css +109 -0
  98. data/assets/highlight.js/styles/sunburst.css +165 -0
  99. data/assets/highlight.js/styles/tomorrow-night-blue.css +95 -0
  100. data/assets/highlight.js/styles/tomorrow-night-bright.css +94 -0
  101. data/assets/highlight.js/styles/tomorrow-night-eighties.css +94 -0
  102. data/assets/highlight.js/styles/tomorrow-night.css +95 -0
  103. data/assets/highlight.js/styles/tomorrow.css +92 -0
  104. data/assets/highlight.js/styles/vs.css +94 -0
  105. data/assets/highlight.js/styles/xcode.css +159 -0
  106. data/assets/highlight.js/styles/zenburn.css +119 -0
  107. data/assets/jquery/jquery-2.1.0.min.js +4 -0
  108. data/assets/reveal.js/css/print/paper.css +1 -1
  109. data/assets/reveal.js/css/print/pdf.css +2 -2
  110. data/assets/reveal.js/css/reveal.css +372 -108
  111. data/assets/reveal.js/css/reveal.min.css +2 -2
  112. data/assets/reveal.js/css/theme/README.md +3 -1
  113. data/assets/reveal.js/css/theme/beige.css +7 -1
  114. data/assets/reveal.js/css/theme/blood.css +175 -0
  115. data/assets/reveal.js/css/theme/default.css +7 -1
  116. data/assets/reveal.js/css/theme/moon.css +7 -1
  117. data/assets/reveal.js/css/theme/night.css +7 -1
  118. data/assets/reveal.js/css/theme/serif.css +7 -1
  119. data/assets/reveal.js/css/theme/simple.css +7 -1
  120. data/assets/reveal.js/css/theme/sky.css +7 -1
  121. data/assets/reveal.js/css/theme/solarized.css +7 -1
  122. data/assets/reveal.js/css/theme/source/blood.scss +91 -0
  123. data/assets/reveal.js/css/theme/template/settings.scss +1 -0
  124. data/assets/reveal.js/css/theme/template/theme.scss +9 -2
  125. data/assets/reveal.js/js/reveal.js +1238 -433
  126. data/assets/reveal.js/js/reveal.min.js +4 -3
  127. data/assets/reveal.js/lib/css/zenburn.css +16 -17
  128. data/assets/reveal.js/plugin/highlight/highlight.js +3 -2
  129. data/assets/reveal.js/plugin/leap/leap.js +3 -0
  130. data/assets/reveal.js/plugin/markdown/example.html +37 -5
  131. data/assets/reveal.js/plugin/markdown/example.md +2 -0
  132. data/assets/reveal.js/plugin/markdown/markdown.js +373 -171
  133. data/assets/reveal.js/plugin/math/math.js +64 -0
  134. data/assets/reveal.js/plugin/multiplex/master.js +2 -1
  135. data/assets/reveal.js/plugin/notes/notes.html +33 -19
  136. data/assets/reveal.js/plugin/notes/notes.js +25 -47
  137. data/assets/reveal.js/plugin/remotes/remotes.js +4 -4
  138. data/assets/reveal.js/plugin/zoom-js/zoom.js +3 -1
  139. data/assets/reveal.old/css/print/paper.css +176 -0
  140. data/assets/reveal.old/css/print/pdf.css +190 -0
  141. data/assets/reveal.old/css/reveal.css +1616 -0
  142. data/assets/reveal.old/css/reveal.min.css +7 -0
  143. data/assets/reveal.old/css/theme/README.md +23 -0
  144. data/assets/reveal.old/css/theme/beige.css +142 -0
  145. data/assets/reveal.old/css/theme/default.css +142 -0
  146. data/assets/reveal.old/css/theme/moon.css +142 -0
  147. data/assets/reveal.old/css/theme/night.css +130 -0
  148. data/assets/reveal.old/css/theme/serif.css +132 -0
  149. data/assets/reveal.old/css/theme/simple.css +132 -0
  150. data/assets/reveal.old/css/theme/sky.css +139 -0
  151. data/assets/reveal.old/css/theme/solarized.css +142 -0
  152. data/assets/reveal.old/css/theme/source/beige.scss +50 -0
  153. data/assets/reveal.old/css/theme/source/default.scss +42 -0
  154. data/assets/reveal.old/css/theme/source/moon.scss +68 -0
  155. data/assets/reveal.old/css/theme/source/night.scss +35 -0
  156. data/assets/reveal.old/css/theme/source/serif.scss +35 -0
  157. data/assets/reveal.old/css/theme/source/simple.scss +38 -0
  158. data/assets/reveal.old/css/theme/source/sky.scss +46 -0
  159. data/assets/reveal.old/css/theme/source/solarized.scss +74 -0
  160. data/assets/reveal.old/css/theme/template/mixins.scss +29 -0
  161. data/assets/reveal.old/css/theme/template/settings.scss +33 -0
  162. data/assets/reveal.old/css/theme/template/theme.scss +163 -0
  163. data/assets/{reveal.js → reveal.old}/js/head.min.js +0 -0
  164. data/assets/reveal.old/js/reveal.js +2577 -0
  165. data/assets/reveal.old/js/reveal.min.js +8 -0
  166. data/assets/reveal.old/lib/css/zenburn.css +115 -0
  167. data/assets/reveal.old/lib/font/league_gothic-webfont.eot +0 -0
  168. data/assets/reveal.old/lib/font/league_gothic-webfont.svg +230 -0
  169. data/assets/reveal.old/lib/font/league_gothic-webfont.ttf +0 -0
  170. data/assets/reveal.old/lib/font/league_gothic-webfont.woff +0 -0
  171. data/assets/reveal.old/lib/font/league_gothic_license +2 -0
  172. data/assets/reveal.old/lib/js/classList.js +2 -0
  173. data/assets/reveal.old/lib/js/head.min.js +8 -0
  174. data/assets/reveal.old/lib/js/html5shiv.js +7 -0
  175. data/assets/reveal.old/plugin/highlight/highlight.js +31 -0
  176. data/assets/reveal.old/plugin/leap/leap.js +154 -0
  177. data/assets/reveal.old/plugin/markdown/example.html +97 -0
  178. data/assets/reveal.old/plugin/markdown/example.md +29 -0
  179. data/assets/reveal.old/plugin/markdown/markdown.js +190 -0
  180. data/assets/reveal.old/plugin/markdown/marked.js +37 -0
  181. data/assets/reveal.old/plugin/multiplex/client.js +13 -0
  182. data/assets/reveal.old/plugin/multiplex/index.js +56 -0
  183. data/assets/reveal.old/plugin/multiplex/master.js +50 -0
  184. data/assets/reveal.old/plugin/notes-server/client.js +57 -0
  185. data/assets/reveal.old/plugin/notes-server/index.js +59 -0
  186. data/assets/reveal.old/plugin/notes-server/notes.html +142 -0
  187. data/assets/reveal.old/plugin/notes/notes.html +253 -0
  188. data/assets/reveal.old/plugin/notes/notes.js +100 -0
  189. data/assets/reveal.old/plugin/postmessage/example.html +39 -0
  190. data/assets/reveal.old/plugin/postmessage/postmessage.js +42 -0
  191. data/assets/reveal.old/plugin/print-pdf/print-pdf.js +44 -0
  192. data/assets/reveal.old/plugin/remotes/remotes.js +39 -0
  193. data/assets/reveal.old/plugin/search/search.js +196 -0
  194. data/assets/reveal.old/plugin/zoom-js/zoom.js +256 -0
  195. data/bin/slippery +1 -0
  196. data/code_of_conduct.md +32 -0
  197. data/lib/slippery.rb +5 -3
  198. data/lib/slippery/document.rb +2 -2
  199. data/lib/slippery/presentation.rb +10 -1
  200. data/lib/slippery/processor.rb +18 -0
  201. data/lib/slippery/processor_helpers.rb +16 -2
  202. data/lib/slippery/processors/add_highlight.rb +9 -2
  203. data/lib/slippery/processors/deck_js.rb +81 -0
  204. data/lib/slippery/processors/fathom_js.rb +31 -0
  205. data/lib/slippery/processors/impress_js/add_impress_js.rb +2 -2
  206. data/lib/slippery/processors/jquery.rb +12 -0
  207. data/lib/slippery/processors/reveal_js/add_reveal_js.rb +12 -9
  208. data/lib/slippery/rake_tasks.rb +59 -31
  209. data/lib/slippery/version.rb +1 -1
  210. data/slippery.gemspec +5 -4
  211. metadata +215 -33
  212. data/lib/slippery/converter.rb +0 -132
@@ -0,0 +1,892 @@
1
+ @mixin border-radius($r) {
2
+ -webkit-border-radius:$r;
3
+ -moz-border-radius:$r;
4
+ border-radius:$r;
5
+ }
6
+
7
+ @mixin box-shadow($x, $y, $blur, $color) {
8
+ -webkit-box-shadow:$x $y $blur $color;
9
+ -moz-box-shadow:$x $y $blur $color;
10
+ box-shadow:$x $y $blur $color;
11
+ }
12
+
13
+ @mixin translate($x: 0, $y: 0, $z: 0) {
14
+ -webkit-transform:translate3d($x, $y, $z);
15
+ -moz-transform:translate($x, $y);
16
+ -ms-transform:translate($x, $y);
17
+ -o-transform:translate($x, $y);
18
+ transform:translate3d($x, $y, $z);
19
+ }
20
+
21
+ @mixin transition($prop, $duration, $easing: ease-in-out, $delay: 0ms) {
22
+ -webkit-transition:$prop $duration $easing $delay;
23
+ -moz-transition:$prop $duration $easing $delay;
24
+ -ms-transition:$prop $duration $easing $delay;
25
+ -o-transition:$prop $duration $easing $delay;
26
+ transition:$prop $duration $easing $delay;
27
+ }
28
+
29
+ @mixin transform($val) {
30
+ -webkit-transform:$val;
31
+ -moz-transform:$val;
32
+ -ms-transform:$val;
33
+ -o-transform:$val;
34
+ transform:$val;
35
+ }
36
+
37
+ @media screen {
38
+
39
+ .home {
40
+ > article {
41
+ position:absolute;
42
+ top:32px;
43
+ bottom:0;
44
+ left:0;
45
+ right:0;
46
+
47
+ > .slide {
48
+ width:940px;
49
+ padding:0 10px;
50
+ height:100%;
51
+ margin:0 auto;
52
+
53
+ h2 {
54
+ border-bottom:0;
55
+ padding-top:0;
56
+ margin:0;
57
+ }
58
+ }
59
+ }
60
+ }
61
+
62
+ #intro {
63
+ text-align:center;
64
+
65
+ > div {
66
+ padding-top:24px;
67
+
68
+ .csstransforms & {
69
+ padding-top:0;
70
+ position:absolute;
71
+ top:50%;
72
+ left:0;
73
+ right:0;
74
+ -webkit-transform:translate(0, -50%);
75
+ -moz-transform:translate(0, -50%);
76
+ -ms-transform:translate(0, -50%);
77
+ -o-transform:translate(0, -50%);
78
+ transform:translate(0, -50%);
79
+ }
80
+ }
81
+
82
+ h1 {
83
+ position:static;
84
+ font-size:84px;
85
+ font-weight:normal;
86
+ margin:0 0 8px 0;
87
+ padding:0 48px;
88
+ -webkit-transform:none;
89
+ -moz-transform:none;
90
+ -ms-transform:none;
91
+ -o-transform:none;
92
+ transform:none;
93
+ font-family: "UltraRegular", Georgia, sans-serif;
94
+ color:#000;
95
+ text-shadow:3px 3px 3px rgba(0,0,0,.2);
96
+ }
97
+
98
+ h2 {
99
+ font-size:24px;
100
+ letter-spacing:2px;
101
+ color:#999;
102
+ font-weight:100;
103
+ text-shadow:1px 1px 1px #fff;
104
+ }
105
+
106
+ hgroup {
107
+ margin-bottom:32px;
108
+ }
109
+
110
+ p {
111
+ padding-bottom:10px;
112
+ }
113
+ }
114
+
115
+ .download, .next, .cta {
116
+ text-decoration:none;
117
+ font-weight:bold;
118
+
119
+
120
+ .borderradius & {
121
+ @include border-radius(3px);
122
+ }
123
+
124
+ .boxshadow & {
125
+ @include box-shadow(3px, 3px, 3px, rgba(0,0,0,.3));
126
+
127
+ &:hover, &:focus {
128
+ position:relative;
129
+ top:1px;
130
+ left:1px;
131
+ @include box-shadow(1px, 1px, 1px, rgba(0,0,0,.5));
132
+ }
133
+ }
134
+ }
135
+
136
+ .download, .cta {
137
+ background:#599;
138
+ padding:5px 10px;
139
+ margin-right:4px;
140
+ color:#fff;
141
+ text-shadow:-1px -1px 1px rgba(0,0,0,.1);
142
+
143
+ .no-boxshadow & {
144
+ &:hover, &:focus {
145
+ background:#83b5b5;
146
+ }
147
+ }
148
+ }
149
+
150
+ .next {
151
+ background:#ccc;
152
+ color:#888;
153
+ padding:2px 4px;
154
+ margin:0 4px;
155
+ text-shadow:1px 1px 1px rgba(255,255,255,.3);
156
+
157
+ .no-boxshadow & {
158
+ &:hover, &:focus {
159
+ background:#83b5b5;
160
+ }
161
+ }
162
+ }
163
+
164
+
165
+ #sample {
166
+ > pre {
167
+ border:1px solid #ddd;
168
+ padding:10px;
169
+ background:#fff;
170
+ -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.1), 0 0 40px rgba(0, 0, 0, 0.05) inset;
171
+ -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.1), 0 0 40px rgba(0, 0, 0, 0.05) inset;
172
+ box-shadow:0 1px 4px rgba(0, 0, 0, 0.1), 0 0 40px rgba(0, 0, 0, 0.05) inset;
173
+ position:relative;
174
+ float:right;
175
+ width:435px;
176
+ margin:32px 0 16px 30px;
177
+
178
+ &:before {
179
+ position:absolute;
180
+ content:"";
181
+ z-index:-2;
182
+ top:10px;
183
+ bottom:10px;
184
+ left:0;
185
+ right:0;
186
+ -webkit-box-shadow:0 0 15px rgba(0,0,0,0.3);
187
+ -moz-box-shadow:0 0 15px rgba(0,0,0,0.3);
188
+ box-shadow:0 0 15px rgba(0,0,0,0.3);
189
+ -moz-border-radius:10px / 150px;
190
+ border-radius:10px / 150px;
191
+ }
192
+
193
+
194
+ > code {
195
+ color:#aaa;
196
+ }
197
+ }
198
+
199
+ > h2 {
200
+ font-family:"UltraRegular", Georgia, serif;
201
+ font-weight:normal;
202
+ font-size:36px;
203
+ padding:42px 0 24px 0;
204
+ color:#000;
205
+ text-shadow:2px 2px 2px rgba(0,0,0,.2);
206
+ }
207
+
208
+ .deck-previous, .deck-before {
209
+ color:#aaa;
210
+ }
211
+
212
+ .deck-current {
213
+ color:#444;
214
+ }
215
+ }
216
+
217
+
218
+ .sample-content {
219
+ overflow:hidden;
220
+ zoom:1;
221
+ font-size:22px;
222
+ text-shadow:1px 1px 1px #fff;
223
+
224
+ > p {
225
+ margin-bottom:1em;
226
+ }
227
+
228
+ a {
229
+ color:#599;
230
+ text-decoration:none;
231
+
232
+ &:hover, &:focus {
233
+ text-decoration:underline;
234
+ }
235
+ }
236
+ }
237
+
238
+ .goto-form {
239
+ display:none;
240
+ position:absolute;
241
+ z-index:3;
242
+ bottom:35px;
243
+ left:50%;
244
+ margin-left:-140px;
245
+ width:260px;
246
+ padding:5px 10px;
247
+ height:25px;
248
+ line-height:25px;
249
+ background:#fff;
250
+ border:1px solid #ddd;
251
+ @include border-radius(10px);
252
+
253
+ .boxshadow & {
254
+ @include box-shadow(3px, 3px, 4px, rgba(0,0,0,.2));
255
+ }
256
+
257
+ label {
258
+ float:left;
259
+ margin-right:5px;
260
+ }
261
+
262
+ input[type="submit"] {
263
+ display:inline;
264
+ }
265
+
266
+ &:after {
267
+ content:"deck.goto";
268
+ text-shadow:none;
269
+ background:rgba(0,0,0,.5);
270
+ color:#fff;
271
+ font-size:12px;
272
+ height:18px;
273
+ line-height:18px;
274
+ padding:0 6px;
275
+ position:absolute;
276
+ top:-25px;
277
+ left:50%;
278
+ }
279
+
280
+ &:before {
281
+ content:"";
282
+ display:block;
283
+ position:absolute;
284
+ top:-7px;
285
+ left:50%;
286
+ margin-left:15px;
287
+ width:0;
288
+ height:0;
289
+ border:5px solid rgba(0,0,0,.5);
290
+ border-color:rgba(0,0,0,.5) transparent transparent transparent;
291
+ }
292
+ }
293
+
294
+ #goto-slide {
295
+ float:left;
296
+ width:130px;
297
+ margin-right:5px;
298
+ height:20px;
299
+ }
300
+
301
+ .deck-prev-link, .deck-next-link {
302
+ display:none;
303
+ position:absolute;
304
+ z-index:3;
305
+ bottom:38px;
306
+ width:24px;
307
+ height:24px;
308
+ line-height:24px;
309
+ background:#fff;
310
+ text-align:center;
311
+ color:#aaa;
312
+ text-decoration:none;
313
+ border:1px solid #ddd;
314
+ font-weight:bold;
315
+ @include border-radius(20px);
316
+
317
+ .no-boxshadow & {
318
+ &:hover, &:focus {
319
+ border-color:#999;
320
+ color:#444;
321
+ }
322
+ }
323
+
324
+ &:after {
325
+ content:"deck.navigation";
326
+ text-shadow:none;
327
+ background:rgba(0,0,0,.5);
328
+ color:#fff;
329
+ font-size:12px;
330
+ font-weight:normal;
331
+ height:18px;
332
+ line-height:18px;
333
+ padding:0 6px;
334
+ position:absolute;
335
+ top:-25px;
336
+ }
337
+
338
+ &:before {
339
+ content:"";
340
+ display:block;
341
+ position:absolute;
342
+ top:-7px;
343
+ width:0;
344
+ height:0;
345
+ border:5px solid rgba(0,0,0,.5);
346
+ border-color:rgba(0,0,0,.5) transparent transparent transparent;
347
+ }
348
+ }
349
+
350
+ .deck-prev-link {
351
+ left:50%;
352
+ margin-left:-178px;
353
+
354
+ .boxshadow & {
355
+ @include box-shadow(3px, 3px, 4px, rgba(0,0,0,.2));
356
+
357
+ &:hover, &:focus {
358
+ bottom:37px;
359
+ @include box-shadow(1px, 1px, 2px, rgba(0,0,0,.2));
360
+ }
361
+ }
362
+
363
+ &:after {
364
+ right:-10px;
365
+ }
366
+
367
+ &:before {
368
+ right:7px;
369
+ }
370
+ }
371
+
372
+ .deck-next-link {
373
+ left:50%;
374
+ margin-left:153px;
375
+
376
+ .boxshadow & {
377
+ @include box-shadow(3px, 3px, 4px, rgba(0,0,0,.2));
378
+
379
+ &:hover, &:focus {
380
+ bottom:37px;
381
+ @include box-shadow(1px, 1px, 2px, rgba(0,0,0,.2));
382
+ }
383
+ }
384
+
385
+ &:after {
386
+ left:-10px;
387
+ }
388
+
389
+ &:before {
390
+ left:7px;
391
+ }
392
+ }
393
+
394
+ .deck-status {
395
+ display:none;
396
+ position:absolute;
397
+ z-index:4;
398
+ bottom:8px;
399
+ left:50%;
400
+ margin-left:-30px;
401
+ width:60px;
402
+ text-align:center;
403
+ color:#888;
404
+ font-size:14px;
405
+ text-shadow:1px 1px 1px #fff;
406
+
407
+ &:after {
408
+ content:"deck.status";
409
+ text-shadow:none;
410
+ background:rgba(0,0,0,.5);
411
+ color:#fff;
412
+ font-size:12px;
413
+ height:18px;
414
+ line-height:18px;
415
+ padding:0 6px;
416
+ position:absolute;
417
+ bottom:0px;
418
+ left:100%;
419
+ }
420
+
421
+ &:before {
422
+ content:"";
423
+ display:block;
424
+ position:absolute;
425
+ bottom:4px;
426
+ right:0;
427
+ width:0;
428
+ height:0;
429
+ border:5px solid rgba(0,0,0,.5);
430
+ border-color:transparent rgba(0,0,0,.5) transparent transparent;
431
+ }
432
+ }
433
+
434
+
435
+
436
+ #now-what {
437
+ > h2 {
438
+ font-family:"UltraRegular", Georgia, serif;
439
+ font-weight:normal;
440
+ font-size:36px;
441
+ padding:42px 0 24px 0;
442
+ color:#000;
443
+ text-shadow:2px 2px 2px rgba(0,0,0,.2);
444
+ text-align:center;
445
+ position:relative;
446
+ z-index:3;
447
+
448
+ &:after {
449
+ content:"";
450
+ width:1px;
451
+ height:24px;
452
+ overflow:hidden;
453
+ position:absolute;
454
+ left:50%;
455
+ bottom:0;
456
+ background:#ddd;
457
+ }
458
+ }
459
+
460
+ > p {
461
+ padding:42px 0 16px 0;
462
+ text-align:center;
463
+ position:relative;
464
+ z-index:2;
465
+
466
+ &:after {
467
+ content:"";
468
+ width:1px;
469
+ height:32px;
470
+ overflow:hidden;
471
+ position:absolute;
472
+ left:50%;
473
+ top:0;
474
+ background:#ddd;
475
+ }
476
+
477
+ .download {
478
+ font-size:36px;
479
+ padding:10px 16px;
480
+ @include border-radius(6px);
481
+ }
482
+ }
483
+ }
484
+
485
+ .personas {
486
+ overflow:hidden;
487
+ zoom:1;
488
+ background:#fff;
489
+ border:1px solid #eee;
490
+ text-shadow:1px 1px 2px rgba(0,0,0,.1);
491
+
492
+ .boxshadow & {
493
+ @include box-shadow(3px, 3px, 6px, rgba(0,0,0,.2));
494
+ }
495
+
496
+ .borderradius & {
497
+ @include border-radius(10px);
498
+ }
499
+
500
+ > .slide {
501
+ width:25%;
502
+ padding:2% 4%;
503
+ position:relative;
504
+ top:0;
505
+ left:0;
506
+ z-index:2;
507
+ }
508
+
509
+ h3 {
510
+ font-weight:100;
511
+ font-size:24px;
512
+ margin-bottom:8px;
513
+ color:#aaa;
514
+ }
515
+
516
+ p {
517
+ padding-bottom:16px;
518
+ }
519
+ }
520
+
521
+ #noob {
522
+ float:left;
523
+ border-right:1px solid #eee;
524
+ }
525
+
526
+ #badass {
527
+ float:right;
528
+ border-left:1px solid #eee;
529
+ }
530
+
531
+ #in-between {
532
+ margin:0 auto;
533
+
534
+ p {
535
+ padding-bottom:0;
536
+ }
537
+ }
538
+
539
+ .on-slide-0, .on-slide-1 {
540
+ #sample > pre > code {
541
+ color:#fff;
542
+ }
543
+ }
544
+
545
+ .on-slide-1 {
546
+ #sample pre {
547
+ position:relative;
548
+
549
+ &:after {
550
+ content:"Use arrow keys to navigate";
551
+ text-shadow:1px 1px 1px rgba(0,0,0,.1);
552
+ color:#aaa;
553
+ font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
554
+ font-weight:normal;
555
+ font-size:24px;
556
+ height:32px;
557
+ position:absolute;
558
+ top:50%;
559
+ margin-top:-16px;
560
+ left:0;
561
+ right:0;
562
+ text-align:center;
563
+
564
+ .touch & {
565
+ content: "Swipe left/right to navigate";
566
+ }
567
+ }
568
+ }
569
+ }
570
+
571
+ .on-slide-2 {
572
+ #sample > pre > code {
573
+ color:#333;
574
+ }
575
+ }
576
+
577
+ .on-slide-0, .on-slide-1, .on-slide-2 {
578
+ .slide-state {
579
+ position:absolute;
580
+ left:-999em;
581
+ top:-999em;
582
+ }
583
+ }
584
+ .on-slide-3 .slide-state {
585
+ color:#c00;
586
+ }
587
+
588
+ .on-slide-0, .on-slide-1, .on-slide-2, .on-slide-3 {
589
+ .deck-state {
590
+ position:absolute;
591
+ left:-999em;
592
+ top:-999em;
593
+ }
594
+ }
595
+ .on-slide-4 .deck-state {
596
+ color:#c00;
597
+ }
598
+
599
+ .on-slide-5 .example-current {
600
+ color:#c00;
601
+ }
602
+
603
+ .on-slide-6 {
604
+ .example-next {
605
+ color:#c00;
606
+ }
607
+ }
608
+
609
+ .on-slide-7, .on-slide-8 {
610
+ .deck-status {
611
+ display:block;
612
+ }
613
+ }
614
+
615
+ .on-slide-8 {
616
+ .goto-form, .deck-next-link, .deck-prev-link {
617
+ display:block;
618
+ }
619
+ }
620
+
621
+ .csstransforms.csstransitions {
622
+ #intro {
623
+ &.deck-previous, &.deck-before {
624
+ left:0;
625
+ top:0;
626
+ right:0;
627
+
628
+ h1, h2, p {
629
+ @include translate(-300%, 0);
630
+ }
631
+ }
632
+
633
+ h1 {
634
+ -webkit-transition: -webkit-transform 300ms ease-in-out;
635
+ -moz-transition: -moz-transform 300ms ease-in-out;
636
+ -ms-transition: -ms-transform 300ms ease-in-out;
637
+ -o-transition: -o-transform 300ms ease-in-out;
638
+ transition: transform 300ms ease-in-out;
639
+ }
640
+
641
+ h2 {
642
+ -webkit-transition: -webkit-transform 300ms ease-in-out 100ms;
643
+ -moz-transition: -moz-transform 300ms ease-in-out 100ms;
644
+ -ms-transition: -ms-transform 300ms ease-in-out 100ms;
645
+ -o-transition: -o-transform 300ms ease-in-out 100ms;
646
+ transition: transform 300ms ease-in-out 100ms;
647
+ }
648
+
649
+ p {
650
+ -webkit-transition: -webkit-transform 300ms ease-in-out 200ms;
651
+ -moz-transition: -moz-transform 300ms ease-in-out 200ms;
652
+ -ms-transition: -ms-transform 300ms ease-in-out 200ms;
653
+ -o-transition: -o-transform 300ms ease-in-out 200ms;
654
+ transition: transform 300ms ease-in-out 200ms;
655
+ }
656
+ }
657
+
658
+ #sample {
659
+ &.deck-next, &.deck-before:not(.deck-child-current) {
660
+ left:0;
661
+ top:0;
662
+ right:0;
663
+
664
+ h2, pre, .sample-content {
665
+ @include translate(0, -300%);
666
+ }
667
+ }
668
+
669
+ h2, .sample-content {
670
+ -webkit-transition: -webkit-transform 300ms ease-in-out 200ms;
671
+ -moz-transition: -moz-transform 300ms ease-in-out 200ms;
672
+ -ms-transition: -ms-transform 300ms ease-in-out 200ms;
673
+ -o-transition: -o-transform 300ms ease-in-out 200ms;
674
+ transition: transform 300ms ease-in-out 200ms;
675
+ }
676
+
677
+ pre {
678
+ -webkit-transition: -webkit-transform 300ms ease-in-out;
679
+ -moz-transition: -moz-transform 300ms ease-in-out;
680
+ -ms-transition: -ms-transform 300ms ease-in-out;
681
+ -o-transition: -o-transform 300ms ease-in-out;
682
+ transition: transform 300ms ease-in-out;
683
+ }
684
+
685
+ .slide {
686
+ visibility:visible;
687
+ opacity:0;
688
+ -webkit-transition: color 300ms ease-in-out, opacity 300ms ease-in-out;
689
+ -moz-transition: color 300ms ease-in-out, opacity 300ms ease-in-out;
690
+ -ms-transition: color 300ms ease-in-out, opacity 300ms ease-in-out;
691
+ -o-transition: color 300ms ease-in-out, opacity 300ms ease-in-out;
692
+ transition: color 300ms ease-in-out, opacity 300ms ease-in-out;
693
+ }
694
+
695
+ .deck-current, .deck-before, .deck-previous {
696
+ opacity:1;
697
+ }
698
+ }
699
+
700
+ .on-slide-4, .on-slide-5, .on-slide-6, .on-slide-7 {
701
+ .example-current, .example-next {
702
+ @include transition(color, 600ms);
703
+ }
704
+ }
705
+
706
+ .deck-status, .goto-form, .deck-next-link, .deck-prev-link {
707
+ display:block;
708
+ @include transform(scale(0));
709
+ -webkit-transition: -webkit-transform 100ms ease-in-out;
710
+ -moz-transition: -moz-transform 100ms ease-in-out;
711
+ -ms-transition: -ms-transform 100ms ease-in-out;
712
+ -o-transition: -o-transform 100ms ease-in-out;
713
+ transition: transform 100ms ease-in-out;
714
+ }
715
+
716
+ .on-slide-7, .on-slide-8 {
717
+ .deck-status {
718
+ @include transform(scale(1));
719
+ }
720
+ }
721
+
722
+ .on-slide-8 {
723
+ .goto-form, .deck-next-link, .deck-prev-link {
724
+ @include transform(scale(1));
725
+ }
726
+ }
727
+
728
+ #now-what {
729
+ &.deck-next, &.deck-after {
730
+ left:0;
731
+ top:0;
732
+ right:0;
733
+
734
+ .personas {
735
+ @include translate(-300%, 0);
736
+ }
737
+
738
+ h2 {
739
+ @include translate(0, -1000%);
740
+ }
741
+ }
742
+
743
+ .personas .slide {
744
+ visibility:visible;
745
+ @include transition(opacity, 200ms);
746
+
747
+ &.deck-next, &.deck-after {
748
+ opacity:0;
749
+ }
750
+ }
751
+
752
+ .personas, h2 {
753
+ -webkit-transition: -webkit-transform 300ms ease-in-out;
754
+ -moz-transition: -moz-transform 300ms ease-in-out;
755
+ -ms-transition: -ms-transform 300ms ease-in-out;
756
+ -o-transition: -o-transform 300ms ease-in-out;
757
+ transition: transform 300ms ease-in-out;
758
+ }
759
+
760
+ > p {
761
+ left:0;
762
+ top:0;
763
+ visibility:visible;
764
+ opacity:0;
765
+ @include transition(opacity, 300ms);
766
+
767
+ &.deck-current {
768
+ opacity:1;
769
+ }
770
+ }
771
+ }
772
+
773
+ .on-slide-10 #now-what {
774
+ .personas, h2 {
775
+ -webkit-transition-delay:200ms;
776
+ -moz-transition-delay:200ms;
777
+ -ms-transition-delay:200ms;
778
+ -o-transition-delay:200ms;
779
+ transition-delay:200ms;
780
+ }
781
+ }
782
+ }
783
+
784
+ .pointerevents.csstransforms.csstransitions {
785
+ .deck-current {
786
+ z-index:auto; // um, webkit bug if z-index + transforms + transitions
787
+ }
788
+
789
+ .deck-after, .deck-before, .deck-previous, .deck-next {
790
+ &:not(.deck-child-current) {
791
+ pointer-events:none;
792
+ }
793
+ }
794
+
795
+ .deck-child-current {
796
+ .deck-before, .deck-previous {
797
+ pointer-events:auto;
798
+ }
799
+ }
800
+ }
801
+
802
+ .no-pointerevents.csstransforms.csstransitions { //aka Opera
803
+ .deck-current, .deck-child-current {
804
+ z-index:4;
805
+ }
806
+ }
807
+
808
+ .slide .slide {
809
+ min-height:0;
810
+ height:auto;
811
+ }
812
+
813
+ }
814
+
815
+
816
+ @media print {
817
+ * {
818
+ background: transparent !important;
819
+ color: black !important;
820
+ }
821
+
822
+ a, a:visited { text-decoration: none; }
823
+ pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
824
+ @page { margin: 0.5cm; }
825
+ p, h2, h3 { orphans: 3; widows: 3; }
826
+ h2, h3{ page-break-after: avoid; }
827
+
828
+ header, footer, #intro p, .goto-form, .deck-prev-link, .deck-next-link, .deck-status {
829
+ display:none;
830
+ }
831
+
832
+ article {
833
+ width:auto !important;
834
+ font-size:12pt;
835
+
836
+ > .slide {
837
+ page-break-after:always;
838
+ }
839
+ }
840
+
841
+ #intro {
842
+ text-align:center;
843
+
844
+ h1 {
845
+ font-family: "UltraRegular", Georgia, sans-serif;
846
+ font-size:90pt;
847
+ }
848
+
849
+ h2 {
850
+ font-size:24pt;
851
+ }
852
+ }
853
+
854
+ #sample {
855
+ pre {
856
+ padding:5px;
857
+ width:75%;
858
+ }
859
+
860
+ h2 {
861
+ font-family: "UltraRegular", Georgia, sans-serif;
862
+ font-size:24pt;
863
+ margin:.5em 0;
864
+ }
865
+
866
+ p {
867
+ margin:1em 0;
868
+ width:75%;
869
+ }
870
+
871
+ span {
872
+ display: inline !important;
873
+ }
874
+ }
875
+
876
+ #now-what {
877
+ h2 {
878
+ font-family: "UltraRegular", Georgia, sans-serif;
879
+ font-size:24pt;
880
+ margin:.5em 0 .25em 0;
881
+ }
882
+
883
+ p {
884
+ margin:.25em 0 1em 0;
885
+ width:75%;
886
+ }
887
+
888
+ a {
889
+ display:none;
890
+ }
891
+ }
892
+ }