reveal-ck 3.6.0 → 3.7.0

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -15,8 +15,8 @@ body {
15
15
  background-color: #F0F1EB; }
16
16
 
17
17
  .reveal {
18
- font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif;
19
- font-size: 36px;
18
+ font-family: "Palatino Linotype", "Book Antiqua", Palatino, FreeSerif, serif;
19
+ font-size: 40px;
20
20
  font-weight: normal;
21
21
  color: #000; }
22
22
 
@@ -25,17 +25,28 @@ body {
25
25
  background: #26351C;
26
26
  text-shadow: none; }
27
27
 
28
- .reveal .slides > section, .reveal .slides > section > section {
28
+ ::-moz-selection {
29
+ color: #fff;
30
+ background: #26351C;
31
+ text-shadow: none; }
32
+
33
+ .reveal .slides > section,
34
+ .reveal .slides > section > section {
29
35
  line-height: 1.3;
30
36
  font-weight: inherit; }
31
37
 
32
38
  /*********************************************
33
39
  * HEADERS
34
40
  *********************************************/
35
- .reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5, .reveal h6 {
41
+ .reveal h1,
42
+ .reveal h2,
43
+ .reveal h3,
44
+ .reveal h4,
45
+ .reveal h5,
46
+ .reveal h6 {
36
47
  margin: 0 0 20px 0;
37
48
  color: #383D3D;
38
- font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif;
49
+ font-family: "Palatino Linotype", "Book Antiqua", Palatino, FreeSerif, serif;
39
50
  font-weight: normal;
40
51
  line-height: 1.2;
41
52
  letter-spacing: normal;
@@ -66,17 +77,22 @@ body {
66
77
  line-height: 1.3; }
67
78
 
68
79
  /* Ensure certain elements are never larger than the slide itself */
69
- .reveal img, .reveal video, .reveal iframe {
80
+ .reveal img,
81
+ .reveal video,
82
+ .reveal iframe {
70
83
  max-width: 95%;
71
84
  max-height: 95%; }
72
85
 
73
- .reveal strong, .reveal b {
86
+ .reveal strong,
87
+ .reveal b {
74
88
  font-weight: bold; }
75
89
 
76
90
  .reveal em {
77
91
  font-style: italic; }
78
92
 
79
- .reveal ol, .reveal dl, .reveal ul {
93
+ .reveal ol,
94
+ .reveal dl,
95
+ .reveal ul {
80
96
  display: inline-block;
81
97
  text-align: left;
82
98
  margin: 0 0 0 1em; }
@@ -93,7 +109,10 @@ body {
93
109
  .reveal ul ul ul {
94
110
  list-style-type: circle; }
95
111
 
96
- .reveal ul ul, .reveal ul ol, .reveal ol ol, .reveal ol ul {
112
+ .reveal ul ul,
113
+ .reveal ul ol,
114
+ .reveal ol ol,
115
+ .reveal ol ul {
97
116
  display: block;
98
117
  margin-left: 40px; }
99
118
 
@@ -103,7 +122,8 @@ body {
103
122
  .reveal dd {
104
123
  margin-left: 40px; }
105
124
 
106
- .reveal q, .reveal blockquote {
125
+ .reveal q,
126
+ .reveal blockquote {
107
127
  quotes: none; }
108
128
 
109
129
  .reveal blockquote {
@@ -116,7 +136,8 @@ body {
116
136
  background: rgba(255, 255, 255, 0.05);
117
137
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); }
118
138
 
119
- .reveal blockquote p:first-child, .reveal blockquote p:last-child {
139
+ .reveal blockquote p:first-child,
140
+ .reveal blockquote p:last-child {
120
141
  display: inline-block; }
121
142
 
122
143
  .reveal q {
@@ -142,9 +163,7 @@ body {
142
163
  padding: 5px;
143
164
  overflow: auto;
144
165
  max-height: 400px;
145
- word-wrap: normal;
146
- background: #3F3F3F;
147
- color: #DCDCDC; }
166
+ word-wrap: normal; }
148
167
 
149
168
  .reveal table {
150
169
  margin: auto;
@@ -154,12 +173,22 @@ body {
154
173
  .reveal table th {
155
174
  font-weight: bold; }
156
175
 
157
- .reveal table th, .reveal table td {
176
+ .reveal table th,
177
+ .reveal table td {
158
178
  text-align: left;
159
179
  padding: 0.2em 0.5em 0.2em 0.5em;
160
180
  border-bottom: 1px solid; }
161
181
 
162
- .reveal table tr:last-child td {
182
+ .reveal table th[align="center"],
183
+ .reveal table td[align="center"] {
184
+ text-align: center; }
185
+
186
+ .reveal table th[align="right"],
187
+ .reveal table td[align="right"] {
188
+ text-align: right; }
189
+
190
+ .reveal table tbody tr:last-child th,
191
+ .reveal table tbody tr:last-child td {
163
192
  border-bottom: none; }
164
193
 
165
194
  .reveal sup {
@@ -183,12 +212,12 @@ body {
183
212
  .reveal a {
184
213
  color: #51483D;
185
214
  text-decoration: none;
186
- -webkit-transition: color 0.15s ease;
187
- -moz-transition: color 0.15s ease;
188
- transition: color 0.15s ease; }
215
+ -webkit-transition: color .15s ease;
216
+ -moz-transition: color .15s ease;
217
+ transition: color .15s ease; }
189
218
 
190
219
  .reveal a:hover {
191
- color: #8b7b69;
220
+ color: #8b7c69;
192
221
  text-shadow: none;
193
222
  border: none; }
194
223
 
@@ -205,10 +234,14 @@ body {
205
234
  border: 4px solid #000;
206
235
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
207
236
 
237
+ .reveal section img.plain {
238
+ border: 0;
239
+ box-shadow: none; }
240
+
208
241
  .reveal a img {
209
- -webkit-transition: all 0.15s linear;
210
- -moz-transition: all 0.15s linear;
211
- transition: all 0.15s linear; }
242
+ -webkit-transition: all .15s linear;
243
+ -moz-transition: all .15s linear;
244
+ transition: all .15s linear; }
212
245
 
213
246
  .reveal a:hover img {
214
247
  background: rgba(255, 255, 255, 0.2);
@@ -218,29 +251,33 @@ body {
218
251
  /*********************************************
219
252
  * NAVIGATION CONTROLS
220
253
  *********************************************/
221
- .reveal .controls div.navigate-left, .reveal .controls div.navigate-left.enabled {
254
+ .reveal .controls .navigate-left,
255
+ .reveal .controls .navigate-left.enabled {
222
256
  border-right-color: #51483D; }
223
257
 
224
- .reveal .controls div.navigate-right, .reveal .controls div.navigate-right.enabled {
258
+ .reveal .controls .navigate-right,
259
+ .reveal .controls .navigate-right.enabled {
225
260
  border-left-color: #51483D; }
226
261
 
227
- .reveal .controls div.navigate-up, .reveal .controls div.navigate-up.enabled {
262
+ .reveal .controls .navigate-up,
263
+ .reveal .controls .navigate-up.enabled {
228
264
  border-bottom-color: #51483D; }
229
265
 
230
- .reveal .controls div.navigate-down, .reveal .controls div.navigate-down.enabled {
266
+ .reveal .controls .navigate-down,
267
+ .reveal .controls .navigate-down.enabled {
231
268
  border-top-color: #51483D; }
232
269
 
233
- .reveal .controls div.navigate-left.enabled:hover {
234
- border-right-color: #8b7b69; }
270
+ .reveal .controls .navigate-left.enabled:hover {
271
+ border-right-color: #8b7c69; }
235
272
 
236
- .reveal .controls div.navigate-right.enabled:hover {
237
- border-left-color: #8b7b69; }
273
+ .reveal .controls .navigate-right.enabled:hover {
274
+ border-left-color: #8b7c69; }
238
275
 
239
- .reveal .controls div.navigate-up.enabled:hover {
240
- border-bottom-color: #8b7b69; }
276
+ .reveal .controls .navigate-up.enabled:hover {
277
+ border-bottom-color: #8b7c69; }
241
278
 
242
- .reveal .controls div.navigate-down.enabled:hover {
243
- border-top-color: #8b7b69; }
279
+ .reveal .controls .navigate-down.enabled:hover {
280
+ border-top-color: #8b7c69; }
244
281
 
245
282
  /*********************************************
246
283
  * PROGRESS BAR
@@ -253,9 +290,3 @@ body {
253
290
  -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
254
291
  -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
255
292
  transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
256
-
257
- /*********************************************
258
- * SLIDE NUMBER
259
- *********************************************/
260
- .reveal .slide-number {
261
- color: #51483D; }
@@ -1,5 +1,3 @@
1
- @import url(https://fonts.googleapis.com/css?family=News+Cycle:400,700);
2
- @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
3
1
  /**
4
2
  * A simple theme for reveal.js presentations, similar
5
3
  * to the default theme. The accent color is darkblue.
@@ -7,6 +5,11 @@
7
5
  * This theme is Copyright (C) 2012 Owen Versteeg, https://github.com/StereotypicalApps. It is MIT licensed.
8
6
  * reveal.js is Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
9
7
  */
8
+ @import url(https://fonts.googleapis.com/css?family=News+Cycle:400,700);
9
+ @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
10
+ section.has-dark-background, section.has-dark-background h1, section.has-dark-background h2, section.has-dark-background h3, section.has-dark-background h4, section.has-dark-background h5, section.has-dark-background h6 {
11
+ color: #fff; }
12
+
10
13
  /*********************************************
11
14
  * GLOBAL STYLES
12
15
  *********************************************/
@@ -15,8 +18,8 @@ body {
15
18
  background-color: #fff; }
16
19
 
17
20
  .reveal {
18
- font-family: 'Lato', sans-serif;
19
- font-size: 36px;
21
+ font-family: "Lato", sans-serif;
22
+ font-size: 40px;
20
23
  font-weight: normal;
21
24
  color: #000; }
22
25
 
@@ -25,17 +28,28 @@ body {
25
28
  background: rgba(0, 0, 0, 0.99);
26
29
  text-shadow: none; }
27
30
 
28
- .reveal .slides > section, .reveal .slides > section > section {
31
+ ::-moz-selection {
32
+ color: #fff;
33
+ background: rgba(0, 0, 0, 0.99);
34
+ text-shadow: none; }
35
+
36
+ .reveal .slides > section,
37
+ .reveal .slides > section > section {
29
38
  line-height: 1.3;
30
39
  font-weight: inherit; }
31
40
 
32
41
  /*********************************************
33
42
  * HEADERS
34
43
  *********************************************/
35
- .reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5, .reveal h6 {
44
+ .reveal h1,
45
+ .reveal h2,
46
+ .reveal h3,
47
+ .reveal h4,
48
+ .reveal h5,
49
+ .reveal h6 {
36
50
  margin: 0 0 20px 0;
37
51
  color: #000;
38
- font-family: 'News Cycle', Impact, sans-serif;
52
+ font-family: "News Cycle", Impact, sans-serif;
39
53
  font-weight: normal;
40
54
  line-height: 1.2;
41
55
  letter-spacing: normal;
@@ -66,17 +80,22 @@ body {
66
80
  line-height: 1.3; }
67
81
 
68
82
  /* Ensure certain elements are never larger than the slide itself */
69
- .reveal img, .reveal video, .reveal iframe {
83
+ .reveal img,
84
+ .reveal video,
85
+ .reveal iframe {
70
86
  max-width: 95%;
71
87
  max-height: 95%; }
72
88
 
73
- .reveal strong, .reveal b {
89
+ .reveal strong,
90
+ .reveal b {
74
91
  font-weight: bold; }
75
92
 
76
93
  .reveal em {
77
94
  font-style: italic; }
78
95
 
79
- .reveal ol, .reveal dl, .reveal ul {
96
+ .reveal ol,
97
+ .reveal dl,
98
+ .reveal ul {
80
99
  display: inline-block;
81
100
  text-align: left;
82
101
  margin: 0 0 0 1em; }
@@ -93,7 +112,10 @@ body {
93
112
  .reveal ul ul ul {
94
113
  list-style-type: circle; }
95
114
 
96
- .reveal ul ul, .reveal ul ol, .reveal ol ol, .reveal ol ul {
115
+ .reveal ul ul,
116
+ .reveal ul ol,
117
+ .reveal ol ol,
118
+ .reveal ol ul {
97
119
  display: block;
98
120
  margin-left: 40px; }
99
121
 
@@ -103,7 +125,8 @@ body {
103
125
  .reveal dd {
104
126
  margin-left: 40px; }
105
127
 
106
- .reveal q, .reveal blockquote {
128
+ .reveal q,
129
+ .reveal blockquote {
107
130
  quotes: none; }
108
131
 
109
132
  .reveal blockquote {
@@ -116,7 +139,8 @@ body {
116
139
  background: rgba(255, 255, 255, 0.05);
117
140
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); }
118
141
 
119
- .reveal blockquote p:first-child, .reveal blockquote p:last-child {
142
+ .reveal blockquote p:first-child,
143
+ .reveal blockquote p:last-child {
120
144
  display: inline-block; }
121
145
 
122
146
  .reveal q {
@@ -142,9 +166,7 @@ body {
142
166
  padding: 5px;
143
167
  overflow: auto;
144
168
  max-height: 400px;
145
- word-wrap: normal;
146
- background: #3F3F3F;
147
- color: #DCDCDC; }
169
+ word-wrap: normal; }
148
170
 
149
171
  .reveal table {
150
172
  margin: auto;
@@ -154,12 +176,22 @@ body {
154
176
  .reveal table th {
155
177
  font-weight: bold; }
156
178
 
157
- .reveal table th, .reveal table td {
179
+ .reveal table th,
180
+ .reveal table td {
158
181
  text-align: left;
159
182
  padding: 0.2em 0.5em 0.2em 0.5em;
160
183
  border-bottom: 1px solid; }
161
184
 
162
- .reveal table tr:last-child td {
185
+ .reveal table th[align="center"],
186
+ .reveal table td[align="center"] {
187
+ text-align: center; }
188
+
189
+ .reveal table th[align="right"],
190
+ .reveal table td[align="right"] {
191
+ text-align: right; }
192
+
193
+ .reveal table tbody tr:last-child th,
194
+ .reveal table tbody tr:last-child td {
163
195
  border-bottom: none; }
164
196
 
165
197
  .reveal sup {
@@ -183,9 +215,9 @@ body {
183
215
  .reveal a {
184
216
  color: #00008B;
185
217
  text-decoration: none;
186
- -webkit-transition: color 0.15s ease;
187
- -moz-transition: color 0.15s ease;
188
- transition: color 0.15s ease; }
218
+ -webkit-transition: color .15s ease;
219
+ -moz-transition: color .15s ease;
220
+ transition: color .15s ease; }
189
221
 
190
222
  .reveal a:hover {
191
223
  color: #0000f1;
@@ -205,10 +237,14 @@ body {
205
237
  border: 4px solid #000;
206
238
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
207
239
 
240
+ .reveal section img.plain {
241
+ border: 0;
242
+ box-shadow: none; }
243
+
208
244
  .reveal a img {
209
- -webkit-transition: all 0.15s linear;
210
- -moz-transition: all 0.15s linear;
211
- transition: all 0.15s linear; }
245
+ -webkit-transition: all .15s linear;
246
+ -moz-transition: all .15s linear;
247
+ transition: all .15s linear; }
212
248
 
213
249
  .reveal a:hover img {
214
250
  background: rgba(255, 255, 255, 0.2);
@@ -218,28 +254,32 @@ body {
218
254
  /*********************************************
219
255
  * NAVIGATION CONTROLS
220
256
  *********************************************/
221
- .reveal .controls div.navigate-left, .reveal .controls div.navigate-left.enabled {
257
+ .reveal .controls .navigate-left,
258
+ .reveal .controls .navigate-left.enabled {
222
259
  border-right-color: #00008B; }
223
260
 
224
- .reveal .controls div.navigate-right, .reveal .controls div.navigate-right.enabled {
261
+ .reveal .controls .navigate-right,
262
+ .reveal .controls .navigate-right.enabled {
225
263
  border-left-color: #00008B; }
226
264
 
227
- .reveal .controls div.navigate-up, .reveal .controls div.navigate-up.enabled {
265
+ .reveal .controls .navigate-up,
266
+ .reveal .controls .navigate-up.enabled {
228
267
  border-bottom-color: #00008B; }
229
268
 
230
- .reveal .controls div.navigate-down, .reveal .controls div.navigate-down.enabled {
269
+ .reveal .controls .navigate-down,
270
+ .reveal .controls .navigate-down.enabled {
231
271
  border-top-color: #00008B; }
232
272
 
233
- .reveal .controls div.navigate-left.enabled:hover {
273
+ .reveal .controls .navigate-left.enabled:hover {
234
274
  border-right-color: #0000f1; }
235
275
 
236
- .reveal .controls div.navigate-right.enabled:hover {
276
+ .reveal .controls .navigate-right.enabled:hover {
237
277
  border-left-color: #0000f1; }
238
278
 
239
- .reveal .controls div.navigate-up.enabled:hover {
279
+ .reveal .controls .navigate-up.enabled:hover {
240
280
  border-bottom-color: #0000f1; }
241
281
 
242
- .reveal .controls div.navigate-down.enabled:hover {
282
+ .reveal .controls .navigate-down.enabled:hover {
243
283
  border-top-color: #0000f1; }
244
284
 
245
285
  /*********************************************
@@ -253,9 +293,3 @@ body {
253
293
  -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
254
294
  -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
255
295
  transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
256
-
257
- /*********************************************
258
- * SLIDE NUMBER
259
- *********************************************/
260
- .reveal .slide-number {
261
- color: #00008B; }