reveal-ck 3.6.0 → 3.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/files/reveal.js/CONTRIBUTING.md +4 -0
  3. data/files/reveal.js/Gruntfile.js +44 -26
  4. data/files/reveal.js/LICENSE +1 -1
  5. data/files/reveal.js/README.md +375 -161
  6. data/files/reveal.js/bower.json +27 -0
  7. data/files/reveal.js/css/print/paper.css +4 -3
  8. data/files/reveal.js/css/print/pdf.css +53 -38
  9. data/files/reveal.js/css/reveal.css +452 -206
  10. data/files/reveal.js/css/reveal.scss +328 -175
  11. data/files/reveal.js/css/theme/README.md +2 -6
  12. data/files/reveal.js/css/theme/beige.css +81 -50
  13. data/files/reveal.js/css/theme/black.css +70 -39
  14. data/files/reveal.js/css/theme/blood.css +81 -57
  15. data/files/reveal.js/css/theme/league.css +75 -44
  16. data/files/reveal.js/css/theme/moon.css +75 -44
  17. data/files/reveal.js/css/theme/night.css +70 -39
  18. data/files/reveal.js/css/theme/serif.css +72 -41
  19. data/files/reveal.js/css/theme/simple.css +72 -38
  20. data/files/reveal.js/css/theme/sky.css +75 -44
  21. data/files/reveal.js/css/theme/solarized.css +75 -44
  22. data/files/reveal.js/css/theme/source/black.scss +2 -2
  23. data/files/reveal.js/css/theme/source/blood.scss +3 -16
  24. data/files/reveal.js/css/theme/source/night.scss +0 -1
  25. data/files/reveal.js/css/theme/source/simple.scss +5 -0
  26. data/files/reveal.js/css/theme/source/white.scss +2 -2
  27. data/files/reveal.js/css/theme/template/settings.scss +1 -1
  28. data/files/reveal.js/css/theme/template/theme.scss +36 -23
  29. data/files/reveal.js/css/theme/white.css +75 -44
  30. data/files/reveal.js/demo.html +410 -0
  31. data/files/reveal.js/index.html +14 -373
  32. data/files/reveal.js/js/reveal.js +1186 -350
  33. data/files/reveal.js/lib/css/zenburn.css +41 -78
  34. data/files/reveal.js/lib/js/head.min.js +9 -8
  35. data/files/reveal.js/package.json +22 -26
  36. data/files/reveal.js/plugin/highlight/highlight.js +52 -4
  37. data/files/reveal.js/plugin/markdown/example.html +1 -1
  38. data/files/reveal.js/plugin/markdown/markdown.js +40 -21
  39. data/files/reveal.js/plugin/markdown/marked.js +2 -33
  40. data/files/reveal.js/plugin/math/math.js +5 -2
  41. data/files/reveal.js/plugin/multiplex/client.js +1 -1
  42. data/files/reveal.js/plugin/multiplex/index.js +24 -16
  43. data/files/reveal.js/plugin/multiplex/master.js +22 -42
  44. data/files/reveal.js/plugin/multiplex/package.json +19 -0
  45. data/files/reveal.js/plugin/notes-server/client.js +6 -1
  46. data/files/reveal.js/plugin/notes-server/index.js +17 -14
  47. data/files/reveal.js/plugin/notes-server/notes.html +215 -26
  48. data/files/reveal.js/plugin/notes/notes.html +372 -32
  49. data/files/reveal.js/plugin/notes/notes.js +40 -7
  50. data/files/reveal.js/plugin/print-pdf/print-pdf.js +47 -26
  51. data/files/reveal.js/plugin/zoom-js/zoom.js +12 -2
  52. data/files/reveal.js/test/examples/math.html +1 -1
  53. data/files/reveal.js/test/examples/slide-backgrounds.html +1 -1
  54. data/files/reveal.js/test/examples/slide-transitions.html +101 -0
  55. data/files/reveal.js/test/simple.md +12 -0
  56. data/files/reveal.js/test/test-markdown-element-attributes.html +3 -3
  57. data/files/reveal.js/test/test-markdown-element-attributes.js +1 -1
  58. data/files/reveal.js/test/test-markdown-external.html +36 -0
  59. data/files/reveal.js/test/test-markdown-external.js +24 -0
  60. data/files/reveal.js/test/test-markdown-options.html +41 -0
  61. data/files/reveal.js/test/test-markdown-options.js +26 -0
  62. data/files/reveal.js/test/test-markdown.html +1 -1
  63. data/files/reveal.js/test/test.html +5 -1
  64. data/files/reveal.js/test/test.js +26 -1
  65. data/lib/reveal-ck/version.rb +1 -1
  66. metadata +11 -4
  67. data/files/reveal.js/plugin/leap/leap.js +0 -159
  68. data/files/reveal.js/plugin/remotes/remotes.js +0 -39
@@ -1,9 +1,9 @@
1
- @import url(../../lib/font/league-gothic/league-gothic.css);
2
- @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
3
1
  /**
4
2
  * Solarized Dark theme for reveal.js.
5
3
  * Author: Achim Staebler
6
4
  */
5
+ @import url(../../lib/font/league-gothic/league-gothic.css);
6
+ @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
7
7
  /**
8
8
  * Solarized colors by Ethan Schoonover
9
9
  */
@@ -19,8 +19,8 @@ body {
19
19
  background-color: #002b36; }
20
20
 
21
21
  .reveal {
22
- font-family: 'Lato', sans-serif;
23
- font-size: 36px;
22
+ font-family: "Lato", sans-serif;
23
+ font-size: 40px;
24
24
  font-weight: normal;
25
25
  color: #93a1a1; }
26
26
 
@@ -29,17 +29,28 @@ body {
29
29
  background: #d33682;
30
30
  text-shadow: none; }
31
31
 
32
- .reveal .slides > section, .reveal .slides > section > section {
32
+ ::-moz-selection {
33
+ color: #fff;
34
+ background: #d33682;
35
+ text-shadow: none; }
36
+
37
+ .reveal .slides > section,
38
+ .reveal .slides > section > section {
33
39
  line-height: 1.3;
34
40
  font-weight: inherit; }
35
41
 
36
42
  /*********************************************
37
43
  * HEADERS
38
44
  *********************************************/
39
- .reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5, .reveal h6 {
45
+ .reveal h1,
46
+ .reveal h2,
47
+ .reveal h3,
48
+ .reveal h4,
49
+ .reveal h5,
50
+ .reveal h6 {
40
51
  margin: 0 0 20px 0;
41
52
  color: #eee8d5;
42
- font-family: 'League Gothic', Impact, sans-serif;
53
+ font-family: "League Gothic", Impact, sans-serif;
43
54
  font-weight: normal;
44
55
  line-height: 1.2;
45
56
  letter-spacing: normal;
@@ -70,17 +81,22 @@ body {
70
81
  line-height: 1.3; }
71
82
 
72
83
  /* Ensure certain elements are never larger than the slide itself */
73
- .reveal img, .reveal video, .reveal iframe {
84
+ .reveal img,
85
+ .reveal video,
86
+ .reveal iframe {
74
87
  max-width: 95%;
75
88
  max-height: 95%; }
76
89
 
77
- .reveal strong, .reveal b {
90
+ .reveal strong,
91
+ .reveal b {
78
92
  font-weight: bold; }
79
93
 
80
94
  .reveal em {
81
95
  font-style: italic; }
82
96
 
83
- .reveal ol, .reveal dl, .reveal ul {
97
+ .reveal ol,
98
+ .reveal dl,
99
+ .reveal ul {
84
100
  display: inline-block;
85
101
  text-align: left;
86
102
  margin: 0 0 0 1em; }
@@ -97,7 +113,10 @@ body {
97
113
  .reveal ul ul ul {
98
114
  list-style-type: circle; }
99
115
 
100
- .reveal ul ul, .reveal ul ol, .reveal ol ol, .reveal ol ul {
116
+ .reveal ul ul,
117
+ .reveal ul ol,
118
+ .reveal ol ol,
119
+ .reveal ol ul {
101
120
  display: block;
102
121
  margin-left: 40px; }
103
122
 
@@ -107,7 +126,8 @@ body {
107
126
  .reveal dd {
108
127
  margin-left: 40px; }
109
128
 
110
- .reveal q, .reveal blockquote {
129
+ .reveal q,
130
+ .reveal blockquote {
111
131
  quotes: none; }
112
132
 
113
133
  .reveal blockquote {
@@ -120,7 +140,8 @@ body {
120
140
  background: rgba(255, 255, 255, 0.05);
121
141
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); }
122
142
 
123
- .reveal blockquote p:first-child, .reveal blockquote p:last-child {
143
+ .reveal blockquote p:first-child,
144
+ .reveal blockquote p:last-child {
124
145
  display: inline-block; }
125
146
 
126
147
  .reveal q {
@@ -146,9 +167,7 @@ body {
146
167
  padding: 5px;
147
168
  overflow: auto;
148
169
  max-height: 400px;
149
- word-wrap: normal;
150
- background: #3F3F3F;
151
- color: #DCDCDC; }
170
+ word-wrap: normal; }
152
171
 
153
172
  .reveal table {
154
173
  margin: auto;
@@ -158,12 +177,22 @@ body {
158
177
  .reveal table th {
159
178
  font-weight: bold; }
160
179
 
161
- .reveal table th, .reveal table td {
180
+ .reveal table th,
181
+ .reveal table td {
162
182
  text-align: left;
163
183
  padding: 0.2em 0.5em 0.2em 0.5em;
164
184
  border-bottom: 1px solid; }
165
185
 
166
- .reveal table tr:last-child td {
186
+ .reveal table th[align="center"],
187
+ .reveal table td[align="center"] {
188
+ text-align: center; }
189
+
190
+ .reveal table th[align="right"],
191
+ .reveal table td[align="right"] {
192
+ text-align: right; }
193
+
194
+ .reveal table tbody tr:last-child th,
195
+ .reveal table tbody tr:last-child td {
167
196
  border-bottom: none; }
168
197
 
169
198
  .reveal sup {
@@ -187,18 +216,18 @@ body {
187
216
  .reveal a {
188
217
  color: #268bd2;
189
218
  text-decoration: none;
190
- -webkit-transition: color 0.15s ease;
191
- -moz-transition: color 0.15s ease;
192
- transition: color 0.15s ease; }
219
+ -webkit-transition: color .15s ease;
220
+ -moz-transition: color .15s ease;
221
+ transition: color .15s ease; }
193
222
 
194
223
  .reveal a:hover {
195
- color: #78bae6;
224
+ color: #78b9e6;
196
225
  text-shadow: none;
197
226
  border: none; }
198
227
 
199
228
  .reveal .roll span:after {
200
229
  color: #fff;
201
- background: #1a6291; }
230
+ background: #1a6091; }
202
231
 
203
232
  /*********************************************
204
233
  * IMAGES
@@ -209,10 +238,14 @@ body {
209
238
  border: 4px solid #93a1a1;
210
239
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
211
240
 
241
+ .reveal section img.plain {
242
+ border: 0;
243
+ box-shadow: none; }
244
+
212
245
  .reveal a img {
213
- -webkit-transition: all 0.15s linear;
214
- -moz-transition: all 0.15s linear;
215
- transition: all 0.15s linear; }
246
+ -webkit-transition: all .15s linear;
247
+ -moz-transition: all .15s linear;
248
+ transition: all .15s linear; }
216
249
 
217
250
  .reveal a:hover img {
218
251
  background: rgba(255, 255, 255, 0.2);
@@ -222,29 +255,33 @@ body {
222
255
  /*********************************************
223
256
  * NAVIGATION CONTROLS
224
257
  *********************************************/
225
- .reveal .controls div.navigate-left, .reveal .controls div.navigate-left.enabled {
258
+ .reveal .controls .navigate-left,
259
+ .reveal .controls .navigate-left.enabled {
226
260
  border-right-color: #268bd2; }
227
261
 
228
- .reveal .controls div.navigate-right, .reveal .controls div.navigate-right.enabled {
262
+ .reveal .controls .navigate-right,
263
+ .reveal .controls .navigate-right.enabled {
229
264
  border-left-color: #268bd2; }
230
265
 
231
- .reveal .controls div.navigate-up, .reveal .controls div.navigate-up.enabled {
266
+ .reveal .controls .navigate-up,
267
+ .reveal .controls .navigate-up.enabled {
232
268
  border-bottom-color: #268bd2; }
233
269
 
234
- .reveal .controls div.navigate-down, .reveal .controls div.navigate-down.enabled {
270
+ .reveal .controls .navigate-down,
271
+ .reveal .controls .navigate-down.enabled {
235
272
  border-top-color: #268bd2; }
236
273
 
237
- .reveal .controls div.navigate-left.enabled:hover {
238
- border-right-color: #78bae6; }
274
+ .reveal .controls .navigate-left.enabled:hover {
275
+ border-right-color: #78b9e6; }
239
276
 
240
- .reveal .controls div.navigate-right.enabled:hover {
241
- border-left-color: #78bae6; }
277
+ .reveal .controls .navigate-right.enabled:hover {
278
+ border-left-color: #78b9e6; }
242
279
 
243
- .reveal .controls div.navigate-up.enabled:hover {
244
- border-bottom-color: #78bae6; }
280
+ .reveal .controls .navigate-up.enabled:hover {
281
+ border-bottom-color: #78b9e6; }
245
282
 
246
- .reveal .controls div.navigate-down.enabled:hover {
247
- border-top-color: #78bae6; }
283
+ .reveal .controls .navigate-down.enabled:hover {
284
+ border-top-color: #78b9e6; }
248
285
 
249
286
  /*********************************************
250
287
  * PROGRESS BAR
@@ -257,9 +294,3 @@ body {
257
294
  -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
258
295
  -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
259
296
  transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
260
-
261
- /*********************************************
262
- * SLIDE NUMBER
263
- *********************************************/
264
- .reveal .slide-number {
265
- color: #268bd2; }
@@ -1,10 +1,10 @@
1
- @import url(https://fonts.googleapis.com/css?family=Montserrat:700);
2
- @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic);
3
1
  /**
4
2
  * Black theme for reveal.js.
5
3
  *
6
4
  * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
7
5
  */
6
+ @import url(https://fonts.googleapis.com/css?family=Montserrat:700);
7
+ @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic);
8
8
  /*********************************************
9
9
  * GLOBAL STYLES
10
10
  *********************************************/
@@ -13,8 +13,8 @@ body {
13
13
  background-color: #111; }
14
14
 
15
15
  .reveal {
16
- font-family: 'Open Sans', sans-serif;
17
- font-size: 30px;
16
+ font-family: "Open Sans", sans-serif;
17
+ font-size: 40px;
18
18
  font-weight: normal;
19
19
  color: #eee; }
20
20
 
@@ -23,17 +23,28 @@ body {
23
23
  background: #e7ad52;
24
24
  text-shadow: none; }
25
25
 
26
- .reveal .slides > section, .reveal .slides > section > section {
26
+ ::-moz-selection {
27
+ color: #fff;
28
+ background: #e7ad52;
29
+ text-shadow: none; }
30
+
31
+ .reveal .slides > section,
32
+ .reveal .slides > section > section {
27
33
  line-height: 1.3;
28
34
  font-weight: inherit; }
29
35
 
30
36
  /*********************************************
31
37
  * HEADERS
32
38
  *********************************************/
33
- .reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5, .reveal h6 {
39
+ .reveal h1,
40
+ .reveal h2,
41
+ .reveal h3,
42
+ .reveal h4,
43
+ .reveal h5,
44
+ .reveal h6 {
34
45
  margin: 0 0 20px 0;
35
46
  color: #eee;
36
- font-family: 'Montserrat', Impact, sans-serif;
47
+ font-family: "Montserrat", Impact, sans-serif;
37
48
  font-weight: normal;
38
49
  line-height: 1.2;
39
50
  letter-spacing: -0.03em;
@@ -64,17 +75,22 @@ body {
64
75
  line-height: 1.3; }
65
76
 
66
77
  /* Ensure certain elements are never larger than the slide itself */
67
- .reveal img, .reveal video, .reveal iframe {
78
+ .reveal img,
79
+ .reveal video,
80
+ .reveal iframe {
68
81
  max-width: 95%;
69
82
  max-height: 95%; }
70
83
 
71
- .reveal strong, .reveal b {
84
+ .reveal strong,
85
+ .reveal b {
72
86
  font-weight: bold; }
73
87
 
74
88
  .reveal em {
75
89
  font-style: italic; }
76
90
 
77
- .reveal ol, .reveal dl, .reveal ul {
91
+ .reveal ol,
92
+ .reveal dl,
93
+ .reveal ul {
78
94
  display: inline-block;
79
95
  text-align: left;
80
96
  margin: 0 0 0 1em; }
@@ -91,7 +107,10 @@ body {
91
107
  .reveal ul ul ul {
92
108
  list-style-type: circle; }
93
109
 
94
- .reveal ul ul, .reveal ul ol, .reveal ol ol, .reveal ol ul {
110
+ .reveal ul ul,
111
+ .reveal ul ol,
112
+ .reveal ol ol,
113
+ .reveal ol ul {
95
114
  display: block;
96
115
  margin-left: 40px; }
97
116
 
@@ -101,7 +120,8 @@ body {
101
120
  .reveal dd {
102
121
  margin-left: 40px; }
103
122
 
104
- .reveal q, .reveal blockquote {
123
+ .reveal q,
124
+ .reveal blockquote {
105
125
  quotes: none; }
106
126
 
107
127
  .reveal blockquote {
@@ -114,7 +134,8 @@ body {
114
134
  background: rgba(255, 255, 255, 0.05);
115
135
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); }
116
136
 
117
- .reveal blockquote p:first-child, .reveal blockquote p:last-child {
137
+ .reveal blockquote p:first-child,
138
+ .reveal blockquote p:last-child {
118
139
  display: inline-block; }
119
140
 
120
141
  .reveal q {
@@ -140,9 +161,7 @@ body {
140
161
  padding: 5px;
141
162
  overflow: auto;
142
163
  max-height: 400px;
143
- word-wrap: normal;
144
- background: #3F3F3F;
145
- color: #DCDCDC; }
164
+ word-wrap: normal; }
146
165
 
147
166
  .reveal table {
148
167
  margin: auto;
@@ -152,12 +171,22 @@ body {
152
171
  .reveal table th {
153
172
  font-weight: bold; }
154
173
 
155
- .reveal table th, .reveal table td {
174
+ .reveal table th,
175
+ .reveal table td {
156
176
  text-align: left;
157
177
  padding: 0.2em 0.5em 0.2em 0.5em;
158
178
  border-bottom: 1px solid; }
159
179
 
160
- .reveal table tr:last-child td {
180
+ .reveal table th[align="center"],
181
+ .reveal table td[align="center"] {
182
+ text-align: center; }
183
+
184
+ .reveal table th[align="right"],
185
+ .reveal table td[align="right"] {
186
+ text-align: right; }
187
+
188
+ .reveal table tbody tr:last-child th,
189
+ .reveal table tbody tr:last-child td {
161
190
  border-bottom: none; }
162
191
 
163
192
  .reveal sup {
@@ -181,9 +210,9 @@ body {
181
210
  .reveal a {
182
211
  color: #e7ad52;
183
212
  text-decoration: none;
184
- -webkit-transition: color 0.15s ease;
185
- -moz-transition: color 0.15s ease;
186
- transition: color 0.15s ease; }
213
+ -webkit-transition: color .15s ease;
214
+ -moz-transition: color .15s ease;
215
+ transition: color .15s ease; }
187
216
 
188
217
  .reveal a:hover {
189
218
  color: #f3d7ac;
@@ -192,7 +221,7 @@ body {
192
221
 
193
222
  .reveal .roll span:after {
194
223
  color: #fff;
195
- background: #d0881d; }
224
+ background: #d08a1d; }
196
225
 
197
226
  /*********************************************
198
227
  * IMAGES
@@ -203,10 +232,14 @@ body {
203
232
  border: 4px solid #eee;
204
233
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
205
234
 
235
+ .reveal section img.plain {
236
+ border: 0;
237
+ box-shadow: none; }
238
+
206
239
  .reveal a img {
207
- -webkit-transition: all 0.15s linear;
208
- -moz-transition: all 0.15s linear;
209
- transition: all 0.15s linear; }
240
+ -webkit-transition: all .15s linear;
241
+ -moz-transition: all .15s linear;
242
+ transition: all .15s linear; }
210
243
 
211
244
  .reveal a:hover img {
212
245
  background: rgba(255, 255, 255, 0.2);
@@ -216,28 +249,32 @@ body {
216
249
  /*********************************************
217
250
  * NAVIGATION CONTROLS
218
251
  *********************************************/
219
- .reveal .controls div.navigate-left, .reveal .controls div.navigate-left.enabled {
252
+ .reveal .controls .navigate-left,
253
+ .reveal .controls .navigate-left.enabled {
220
254
  border-right-color: #e7ad52; }
221
255
 
222
- .reveal .controls div.navigate-right, .reveal .controls div.navigate-right.enabled {
256
+ .reveal .controls .navigate-right,
257
+ .reveal .controls .navigate-right.enabled {
223
258
  border-left-color: #e7ad52; }
224
259
 
225
- .reveal .controls div.navigate-up, .reveal .controls div.navigate-up.enabled {
260
+ .reveal .controls .navigate-up,
261
+ .reveal .controls .navigate-up.enabled {
226
262
  border-bottom-color: #e7ad52; }
227
263
 
228
- .reveal .controls div.navigate-down, .reveal .controls div.navigate-down.enabled {
264
+ .reveal .controls .navigate-down,
265
+ .reveal .controls .navigate-down.enabled {
229
266
  border-top-color: #e7ad52; }
230
267
 
231
- .reveal .controls div.navigate-left.enabled:hover {
268
+ .reveal .controls .navigate-left.enabled:hover {
232
269
  border-right-color: #f3d7ac; }
233
270
 
234
- .reveal .controls div.navigate-right.enabled:hover {
271
+ .reveal .controls .navigate-right.enabled:hover {
235
272
  border-left-color: #f3d7ac; }
236
273
 
237
- .reveal .controls div.navigate-up.enabled:hover {
274
+ .reveal .controls .navigate-up.enabled:hover {
238
275
  border-bottom-color: #f3d7ac; }
239
276
 
240
- .reveal .controls div.navigate-down.enabled:hover {
277
+ .reveal .controls .navigate-down.enabled:hover {
241
278
  border-top-color: #f3d7ac; }
242
279
 
243
280
  /*********************************************
@@ -251,9 +288,3 @@ body {
251
288
  -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
252
289
  -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
253
290
  transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
254
-
255
- /*********************************************
256
- * SLIDE NUMBER
257
- *********************************************/
258
- .reveal .slide-number {
259
- color: #e7ad52; }