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.
- checksums.yaml +4 -4
- data/files/reveal.js/CONTRIBUTING.md +4 -0
- data/files/reveal.js/Gruntfile.js +44 -26
- data/files/reveal.js/LICENSE +1 -1
- data/files/reveal.js/README.md +375 -161
- data/files/reveal.js/bower.json +27 -0
- data/files/reveal.js/css/print/paper.css +4 -3
- data/files/reveal.js/css/print/pdf.css +53 -38
- data/files/reveal.js/css/reveal.css +452 -206
- data/files/reveal.js/css/reveal.scss +328 -175
- data/files/reveal.js/css/theme/README.md +2 -6
- data/files/reveal.js/css/theme/beige.css +81 -50
- data/files/reveal.js/css/theme/black.css +70 -39
- data/files/reveal.js/css/theme/blood.css +81 -57
- data/files/reveal.js/css/theme/league.css +75 -44
- data/files/reveal.js/css/theme/moon.css +75 -44
- data/files/reveal.js/css/theme/night.css +70 -39
- data/files/reveal.js/css/theme/serif.css +72 -41
- data/files/reveal.js/css/theme/simple.css +72 -38
- data/files/reveal.js/css/theme/sky.css +75 -44
- data/files/reveal.js/css/theme/solarized.css +75 -44
- data/files/reveal.js/css/theme/source/black.scss +2 -2
- data/files/reveal.js/css/theme/source/blood.scss +3 -16
- data/files/reveal.js/css/theme/source/night.scss +0 -1
- data/files/reveal.js/css/theme/source/simple.scss +5 -0
- data/files/reveal.js/css/theme/source/white.scss +2 -2
- data/files/reveal.js/css/theme/template/settings.scss +1 -1
- data/files/reveal.js/css/theme/template/theme.scss +36 -23
- data/files/reveal.js/css/theme/white.css +75 -44
- data/files/reveal.js/demo.html +410 -0
- data/files/reveal.js/index.html +14 -373
- data/files/reveal.js/js/reveal.js +1186 -350
- data/files/reveal.js/lib/css/zenburn.css +41 -78
- data/files/reveal.js/lib/js/head.min.js +9 -8
- data/files/reveal.js/package.json +22 -26
- data/files/reveal.js/plugin/highlight/highlight.js +52 -4
- data/files/reveal.js/plugin/markdown/example.html +1 -1
- data/files/reveal.js/plugin/markdown/markdown.js +40 -21
- data/files/reveal.js/plugin/markdown/marked.js +2 -33
- data/files/reveal.js/plugin/math/math.js +5 -2
- data/files/reveal.js/plugin/multiplex/client.js +1 -1
- data/files/reveal.js/plugin/multiplex/index.js +24 -16
- data/files/reveal.js/plugin/multiplex/master.js +22 -42
- data/files/reveal.js/plugin/multiplex/package.json +19 -0
- data/files/reveal.js/plugin/notes-server/client.js +6 -1
- data/files/reveal.js/plugin/notes-server/index.js +17 -14
- data/files/reveal.js/plugin/notes-server/notes.html +215 -26
- data/files/reveal.js/plugin/notes/notes.html +372 -32
- data/files/reveal.js/plugin/notes/notes.js +40 -7
- data/files/reveal.js/plugin/print-pdf/print-pdf.js +47 -26
- data/files/reveal.js/plugin/zoom-js/zoom.js +12 -2
- data/files/reveal.js/test/examples/math.html +1 -1
- data/files/reveal.js/test/examples/slide-backgrounds.html +1 -1
- data/files/reveal.js/test/examples/slide-transitions.html +101 -0
- data/files/reveal.js/test/simple.md +12 -0
- data/files/reveal.js/test/test-markdown-element-attributes.html +3 -3
- data/files/reveal.js/test/test-markdown-element-attributes.js +1 -1
- data/files/reveal.js/test/test-markdown-external.html +36 -0
- data/files/reveal.js/test/test-markdown-external.js +24 -0
- data/files/reveal.js/test/test-markdown-options.html +41 -0
- data/files/reveal.js/test/test-markdown-options.js +26 -0
- data/files/reveal.js/test/test-markdown.html +1 -1
- data/files/reveal.js/test/test.html +5 -1
- data/files/reveal.js/test/test.js +26 -1
- data/lib/reveal-ck/version.rb +1 -1
- metadata +11 -4
- data/files/reveal.js/plugin/leap/leap.js +0 -159
- data/files/reveal.js/plugin/remotes/remotes.js +0 -39
@@ -1,7 +1,7 @@
|
|
1
1
|
/**
|
2
2
|
* Black theme for reveal.js. This is the opposite of the 'white' theme.
|
3
3
|
*
|
4
|
-
*
|
4
|
+
* By Hakim El Hattab, http://hakim.se
|
5
5
|
*/
|
6
6
|
|
7
7
|
|
@@ -21,7 +21,7 @@ $backgroundColor: #222;
|
|
21
21
|
$mainColor: #fff;
|
22
22
|
$headingColor: #fff;
|
23
23
|
|
24
|
-
$mainFontSize:
|
24
|
+
$mainFontSize: 42px;
|
25
25
|
$mainFont: 'Source Sans Pro', Helvetica, sans-serif;
|
26
26
|
$headingFont: 'Source Sans Pro', Helvetica, sans-serif;
|
27
27
|
$headingTextShadow: none;
|
@@ -24,9 +24,10 @@ $blood: #a23;
|
|
24
24
|
$coal: #222;
|
25
25
|
$codeBackground: #23241f;
|
26
26
|
|
27
|
+
$backgroundColor: $coal;
|
28
|
+
|
27
29
|
// Main text
|
28
30
|
$mainFont: Ubuntu, 'sans-serif';
|
29
|
-
$mainFontSize: 36px;
|
30
31
|
$mainColor: #eee;
|
31
32
|
|
32
33
|
// Headings
|
@@ -45,10 +46,6 @@ $linkColorHover: lighten( $linkColor, 20% );
|
|
45
46
|
$selectionBackgroundColor: $blood;
|
46
47
|
$selectionColor: #fff;
|
47
48
|
|
48
|
-
// Background generator
|
49
|
-
@mixin bodyBackground() {
|
50
|
-
@include radial-gradient( $coal, lighten( $coal, 25% ) );
|
51
|
-
}
|
52
49
|
|
53
50
|
// Theme template ------------------------------
|
54
51
|
@import "../template/theme";
|
@@ -61,7 +58,7 @@ $selectionColor: #fff;
|
|
61
58
|
text-shadow: 1px 1px $coal;
|
62
59
|
}
|
63
60
|
|
64
|
-
.reveal h1,
|
61
|
+
.reveal h1,
|
65
62
|
.reveal h2,
|
66
63
|
.reveal h3,
|
67
64
|
.reveal h4,
|
@@ -70,16 +67,6 @@ $selectionColor: #fff;
|
|
70
67
|
font-weight: 700;
|
71
68
|
}
|
72
69
|
|
73
|
-
.reveal a,
|
74
|
-
.reveal a:hover {
|
75
|
-
text-shadow: 2px 2px 2px #000;
|
76
|
-
}
|
77
|
-
|
78
|
-
.reveal small a,
|
79
|
-
.reveal small a:hover {
|
80
|
-
text-shadow: 1px 1px 1px #000;
|
81
|
-
}
|
82
|
-
|
83
70
|
.reveal p code {
|
84
71
|
background-color: $codeBackground;
|
85
72
|
display: inline-block;
|
@@ -31,6 +31,11 @@ $linkColor: #00008B;
|
|
31
31
|
$linkColorHover: lighten( $linkColor, 20% );
|
32
32
|
$selectionBackgroundColor: rgba(0, 0, 0, 0.99);
|
33
33
|
|
34
|
+
section.has-dark-background {
|
35
|
+
&, h1, h2, h3, h4, h5, h6 {
|
36
|
+
color: #fff;
|
37
|
+
}
|
38
|
+
}
|
34
39
|
|
35
40
|
|
36
41
|
// Theme template ------------------------------
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/**
|
2
2
|
* White theme for reveal.js. This is the opposite of the 'black' theme.
|
3
3
|
*
|
4
|
-
*
|
4
|
+
* By Hakim El Hattab, http://hakim.se
|
5
5
|
*/
|
6
6
|
|
7
7
|
|
@@ -21,7 +21,7 @@ $backgroundColor: #fff;
|
|
21
21
|
$mainColor: #222;
|
22
22
|
$headingColor: #222;
|
23
23
|
|
24
|
-
$mainFontSize:
|
24
|
+
$mainFontSize: 42px;
|
25
25
|
$mainFont: 'Source Sans Pro', Helvetica, sans-serif;
|
26
26
|
$headingFont: 'Source Sans Pro', Helvetica, sans-serif;
|
27
27
|
$headingTextShadow: none;
|
@@ -22,6 +22,12 @@ body {
|
|
22
22
|
text-shadow: none;
|
23
23
|
}
|
24
24
|
|
25
|
+
::-moz-selection {
|
26
|
+
color: $selectionColor;
|
27
|
+
background: $selectionBackgroundColor;
|
28
|
+
text-shadow: none;
|
29
|
+
}
|
30
|
+
|
25
31
|
.reveal .slides>section,
|
26
32
|
.reveal .slides>section>section {
|
27
33
|
line-height: 1.3;
|
@@ -178,8 +184,6 @@ body {
|
|
178
184
|
overflow: auto;
|
179
185
|
max-height: 400px;
|
180
186
|
word-wrap: normal;
|
181
|
-
background: #3F3F3F;
|
182
|
-
color: #DCDCDC;
|
183
187
|
}
|
184
188
|
|
185
189
|
.reveal table {
|
@@ -199,8 +203,19 @@ body {
|
|
199
203
|
border-bottom: 1px solid;
|
200
204
|
}
|
201
205
|
|
202
|
-
.reveal table
|
203
|
-
|
206
|
+
.reveal table th[align="center"],
|
207
|
+
.reveal table td[align="center"] {
|
208
|
+
text-align: center;
|
209
|
+
}
|
210
|
+
|
211
|
+
.reveal table th[align="right"],
|
212
|
+
.reveal table td[align="right"] {
|
213
|
+
text-align: right;
|
214
|
+
}
|
215
|
+
|
216
|
+
.reveal table tbody tr:last-child th,
|
217
|
+
.reveal table tbody tr:last-child td {
|
218
|
+
border-bottom: none;
|
204
219
|
}
|
205
220
|
|
206
221
|
.reveal sup {
|
@@ -259,6 +274,11 @@ body {
|
|
259
274
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
|
260
275
|
}
|
261
276
|
|
277
|
+
.reveal section img.plain {
|
278
|
+
border: 0;
|
279
|
+
box-shadow: none;
|
280
|
+
}
|
281
|
+
|
262
282
|
.reveal a img {
|
263
283
|
-webkit-transition: all .15s linear;
|
264
284
|
-moz-transition: all .15s linear;
|
@@ -277,39 +297,39 @@ body {
|
|
277
297
|
* NAVIGATION CONTROLS
|
278
298
|
*********************************************/
|
279
299
|
|
280
|
-
.reveal .controls
|
281
|
-
.reveal .controls
|
300
|
+
.reveal .controls .navigate-left,
|
301
|
+
.reveal .controls .navigate-left.enabled {
|
282
302
|
border-right-color: $linkColor;
|
283
303
|
}
|
284
304
|
|
285
|
-
.reveal .controls
|
286
|
-
.reveal .controls
|
305
|
+
.reveal .controls .navigate-right,
|
306
|
+
.reveal .controls .navigate-right.enabled {
|
287
307
|
border-left-color: $linkColor;
|
288
308
|
}
|
289
309
|
|
290
|
-
.reveal .controls
|
291
|
-
.reveal .controls
|
310
|
+
.reveal .controls .navigate-up,
|
311
|
+
.reveal .controls .navigate-up.enabled {
|
292
312
|
border-bottom-color: $linkColor;
|
293
313
|
}
|
294
314
|
|
295
|
-
.reveal .controls
|
296
|
-
.reveal .controls
|
315
|
+
.reveal .controls .navigate-down,
|
316
|
+
.reveal .controls .navigate-down.enabled {
|
297
317
|
border-top-color: $linkColor;
|
298
318
|
}
|
299
319
|
|
300
|
-
.reveal .controls
|
320
|
+
.reveal .controls .navigate-left.enabled:hover {
|
301
321
|
border-right-color: $linkColorHover;
|
302
322
|
}
|
303
323
|
|
304
|
-
.reveal .controls
|
324
|
+
.reveal .controls .navigate-right.enabled:hover {
|
305
325
|
border-left-color: $linkColorHover;
|
306
326
|
}
|
307
327
|
|
308
|
-
.reveal .controls
|
328
|
+
.reveal .controls .navigate-up.enabled:hover {
|
309
329
|
border-bottom-color: $linkColorHover;
|
310
330
|
}
|
311
331
|
|
312
|
-
.reveal .controls
|
332
|
+
.reveal .controls .navigate-down.enabled:hover {
|
313
333
|
border-top-color: $linkColorHover;
|
314
334
|
}
|
315
335
|
|
@@ -329,11 +349,4 @@ body {
|
|
329
349
|
transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
330
350
|
}
|
331
351
|
|
332
|
-
/*********************************************
|
333
|
-
* SLIDE NUMBER
|
334
|
-
*********************************************/
|
335
|
-
.reveal .slide-number {
|
336
|
-
color: $linkColor;
|
337
|
-
}
|
338
|
-
|
339
352
|
|
@@ -1,9 +1,9 @@
|
|
1
|
-
@import url(../../lib/font/source-sans-pro/source-sans-pro.css);
|
2
1
|
/**
|
3
2
|
* White theme for reveal.js. This is the opposite of the 'black' theme.
|
4
3
|
*
|
5
|
-
*
|
4
|
+
* By Hakim El Hattab, http://hakim.se
|
6
5
|
*/
|
6
|
+
@import url(../../lib/font/source-sans-pro/source-sans-pro.css);
|
7
7
|
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 {
|
8
8
|
color: #fff; }
|
9
9
|
|
@@ -15,8 +15,8 @@ body {
|
|
15
15
|
background-color: #fff; }
|
16
16
|
|
17
17
|
.reveal {
|
18
|
-
font-family:
|
19
|
-
font-size:
|
18
|
+
font-family: "Source Sans Pro", Helvetica, sans-serif;
|
19
|
+
font-size: 42px;
|
20
20
|
font-weight: normal;
|
21
21
|
color: #222; }
|
22
22
|
|
@@ -25,17 +25,28 @@ body {
|
|
25
25
|
background: #98bdef;
|
26
26
|
text-shadow: none; }
|
27
27
|
|
28
|
-
|
28
|
+
::-moz-selection {
|
29
|
+
color: #fff;
|
30
|
+
background: #98bdef;
|
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,
|
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: #222;
|
38
|
-
font-family:
|
49
|
+
font-family: "Source Sans Pro", Helvetica, sans-serif;
|
39
50
|
font-weight: 600;
|
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,
|
80
|
+
.reveal img,
|
81
|
+
.reveal video,
|
82
|
+
.reveal iframe {
|
70
83
|
max-width: 95%;
|
71
84
|
max-height: 95%; }
|
72
85
|
|
73
|
-
.reveal strong,
|
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,
|
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,
|
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,
|
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,
|
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,
|
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
|
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,18 +212,18 @@ body {
|
|
183
212
|
.reveal a {
|
184
213
|
color: #2a76dd;
|
185
214
|
text-decoration: none;
|
186
|
-
-webkit-transition: color
|
187
|
-
-moz-transition: color
|
188
|
-
transition: color
|
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: #
|
220
|
+
color: #6ca0e8;
|
192
221
|
text-shadow: none;
|
193
222
|
border: none; }
|
194
223
|
|
195
224
|
.reveal .roll span:after {
|
196
225
|
color: #fff;
|
197
|
-
background: #
|
226
|
+
background: #1a53a1; }
|
198
227
|
|
199
228
|
/*********************************************
|
200
229
|
* IMAGES
|
@@ -205,10 +234,14 @@ body {
|
|
205
234
|
border: 4px solid #222;
|
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
|
210
|
-
-moz-transition: all
|
211
|
-
transition: all
|
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
|
254
|
+
.reveal .controls .navigate-left,
|
255
|
+
.reveal .controls .navigate-left.enabled {
|
222
256
|
border-right-color: #2a76dd; }
|
223
257
|
|
224
|
-
.reveal .controls
|
258
|
+
.reveal .controls .navigate-right,
|
259
|
+
.reveal .controls .navigate-right.enabled {
|
225
260
|
border-left-color: #2a76dd; }
|
226
261
|
|
227
|
-
.reveal .controls
|
262
|
+
.reveal .controls .navigate-up,
|
263
|
+
.reveal .controls .navigate-up.enabled {
|
228
264
|
border-bottom-color: #2a76dd; }
|
229
265
|
|
230
|
-
.reveal .controls
|
266
|
+
.reveal .controls .navigate-down,
|
267
|
+
.reveal .controls .navigate-down.enabled {
|
231
268
|
border-top-color: #2a76dd; }
|
232
269
|
|
233
|
-
.reveal .controls
|
234
|
-
border-right-color: #
|
270
|
+
.reveal .controls .navigate-left.enabled:hover {
|
271
|
+
border-right-color: #6ca0e8; }
|
235
272
|
|
236
|
-
.reveal .controls
|
237
|
-
border-left-color: #
|
273
|
+
.reveal .controls .navigate-right.enabled:hover {
|
274
|
+
border-left-color: #6ca0e8; }
|
238
275
|
|
239
|
-
.reveal .controls
|
240
|
-
border-bottom-color: #
|
276
|
+
.reveal .controls .navigate-up.enabled:hover {
|
277
|
+
border-bottom-color: #6ca0e8; }
|
241
278
|
|
242
|
-
.reveal .controls
|
243
|
-
border-top-color: #
|
279
|
+
.reveal .controls .navigate-down.enabled:hover {
|
280
|
+
border-top-color: #6ca0e8; }
|
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: #2a76dd; }
|