reveal-ck 0.6.2 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +38 -6
  3. data/files/reveal-ck/templates/index.html/head.html.erb +8 -4
  4. data/files/reveal-ck/templates/index.html/script.js.erb +4 -3
  5. data/files/reveal.js/CONTRIBUTING.md +1 -2
  6. data/files/reveal.js/Gruntfile.js +3 -2
  7. data/files/reveal.js/LICENSE +1 -1
  8. data/files/reveal.js/README.md +88 -23
  9. data/files/reveal.js/css/print/pdf.css +2 -11
  10. data/files/reveal.js/css/reveal.css +1 -41
  11. data/files/reveal.js/css/reveal.scss +1 -42
  12. data/files/reveal.js/css/theme/beige.css +5 -10
  13. data/files/reveal.js/css/theme/black.css +33 -30
  14. data/files/reveal.js/css/theme/blood.css +4 -3
  15. data/files/reveal.js/css/theme/{default.css → league.css} +8 -11
  16. data/files/reveal.js/css/theme/moon.css +5 -10
  17. data/files/reveal.js/css/theme/night.css +4 -3
  18. data/files/reveal.js/css/theme/serif.css +4 -3
  19. data/files/reveal.js/css/theme/simple.css +4 -3
  20. data/files/reveal.js/css/theme/sky.css +4 -3
  21. data/files/reveal.js/css/theme/solarized.css +5 -10
  22. data/files/reveal.js/css/theme/source/beige.scss +1 -12
  23. data/files/reveal.js/css/theme/source/black.scss +17 -12
  24. data/files/reveal.js/css/theme/source/{default.scss → league.scss} +4 -13
  25. data/files/reveal.js/css/theme/source/moon.scss +1 -12
  26. data/files/reveal.js/css/theme/source/solarized.scss +1 -12
  27. data/files/reveal.js/css/theme/source/white.scss +49 -0
  28. data/files/reveal.js/css/theme/template/settings.scss +5 -1
  29. data/files/reveal.js/css/theme/template/theme.scss +4 -3
  30. data/files/reveal.js/css/theme/white.css +261 -0
  31. data/files/reveal.js/index.html +171 -174
  32. data/files/reveal.js/js/reveal.js +32 -36
  33. data/files/reveal.js/lib/font/{league_gothic_license → league-gothic/LICENSE} +0 -0
  34. data/files/reveal.js/lib/font/league-gothic/league-gothic.css +10 -0
  35. data/files/reveal.js/lib/font/league-gothic/league-gothic.eot +0 -0
  36. data/files/reveal.js/lib/font/league-gothic/league-gothic.ttf +0 -0
  37. data/files/reveal.js/lib/font/league-gothic/league-gothic.woff +0 -0
  38. data/files/reveal.js/lib/font/source-sans-pro/LICENSE +45 -0
  39. data/files/reveal.js/lib/font/source-sans-pro/source-sans-pro-italic.eot +0 -0
  40. data/files/reveal.js/lib/font/source-sans-pro/source-sans-pro-italic.ttf +0 -0
  41. data/files/reveal.js/lib/font/source-sans-pro/source-sans-pro-italic.woff +0 -0
  42. data/files/reveal.js/lib/font/source-sans-pro/source-sans-pro-regular.eot +0 -0
  43. data/files/reveal.js/lib/font/source-sans-pro/source-sans-pro-regular.ttf +0 -0
  44. data/files/reveal.js/lib/font/source-sans-pro/source-sans-pro-regular.woff +0 -0
  45. data/files/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibold.eot +0 -0
  46. data/files/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibold.ttf +0 -0
  47. data/files/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibold.woff +0 -0
  48. data/files/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibolditalic.eot +0 -0
  49. data/files/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibolditalic.ttf +0 -0
  50. data/files/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibolditalic.woff +0 -0
  51. data/files/reveal.js/lib/font/source-sans-pro/source-sans-pro.css +39 -0
  52. data/files/reveal.js/package.json +1 -1
  53. data/files/reveal.js/plugin/zoom-js/zoom.js +13 -1
  54. data/lib/reveal-ck/config.rb +1 -1
  55. data/lib/reveal-ck/version.rb +1 -1
  56. data/spec/lib/reveal-ck/config_spec.rb +2 -2
  57. metadata +27 -11
  58. data/files/reveal.js/lib/font/league_gothic-webfont.eot +0 -0
  59. data/files/reveal.js/lib/font/league_gothic-webfont.svg +0 -230
  60. data/files/reveal.js/lib/font/league_gothic-webfont.ttf +0 -0
  61. data/files/reveal.js/lib/font/league_gothic-webfont.woff +0 -0
@@ -3,7 +3,7 @@
3
3
  * http://lab.hakim.se/reveal-js
4
4
  * MIT licensed
5
5
  *
6
- * Copyright (C) 2014 Hakim El Hattab, http://hakim.se
6
+ * Copyright (C) 2015 Hakim El Hattab, http://hakim.se
7
7
  */
8
8
 
9
9
 
@@ -368,7 +368,6 @@ body {
368
368
  overflow: visible;
369
369
  z-index: 1;
370
370
  text-align: center;
371
- transition: perspective .4s ease;
372
371
  perspective: 600px;
373
372
  perspective-origin: 50% 40%;
374
373
  }
@@ -854,46 +853,6 @@ body {
854
853
  }
855
854
 
856
855
 
857
- /*********************************************
858
- * BACKGROUND STATES [DEPRECATED]
859
- *********************************************/
860
-
861
- .reveal .state-background {
862
- position: absolute;
863
- width: 100%;
864
- height: 100%;
865
- background: rgba( 0, 0, 0, 0 );
866
- transition: background 800ms ease;
867
- }
868
- .alert .reveal .state-background {
869
- background: rgba( 200, 50, 30, 0.6 );
870
- }
871
- .soothe .reveal .state-background {
872
- background: rgba( 50, 200, 90, 0.4 );
873
- }
874
- .blackout .reveal .state-background {
875
- background: rgba( 0, 0, 0, 0.6 );
876
- }
877
- .whiteout .reveal .state-background {
878
- background: rgba( 255, 255, 255, 0.6 );
879
- }
880
- .cobalt .reveal .state-background {
881
- background: rgba( 22, 152, 213, 0.6 );
882
- }
883
- .mint .reveal .state-background {
884
- background: rgba( 22, 213, 75, 0.6 );
885
- }
886
- .submerge .reveal .state-background {
887
- background: rgba( 12, 25, 77, 0.6);
888
- }
889
- .lila .reveal .state-background {
890
- background: rgba( 180, 50, 140, 0.6 );
891
- }
892
- .sunset .reveal .state-background {
893
- background: rgba( 255, 122, 0, 0.6 );
894
- }
895
-
896
-
897
856
  /*********************************************
898
857
  * PER-SLIDE BACKGROUNDS
899
858
  *********************************************/
@@ -1,16 +1,10 @@
1
+ @import url(../../lib/font/league-gothic/league-gothic.css);
1
2
  @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
2
3
  /**
3
4
  * Beige theme for reveal.js.
4
5
  *
5
6
  * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
6
7
  */
7
- @font-face {
8
- font-family: 'League Gothic';
9
- src: url('../../lib/font/league_gothic-webfont.eot');
10
- src: url('../../lib/font/league_gothic-webfont.eot?#iefix') format('embedded-opentype'), url('../../lib/font/league_gothic-webfont.woff') format('woff'), url('../../lib/font/league_gothic-webfont.ttf') format('truetype'), url('../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular') format('svg');
11
- font-weight: normal;
12
- font-style: normal; }
13
-
14
8
  /*********************************************
15
9
  * GLOBAL STYLES
16
10
  *********************************************/
@@ -46,6 +40,7 @@ body {
46
40
  margin: 0 0 20px 0;
47
41
  color: #333;
48
42
  font-family: 'League Gothic', Impact, sans-serif;
43
+ font-weight: normal;
49
44
  line-height: 1.2;
50
45
  letter-spacing: normal;
51
46
  text-transform: uppercase;
@@ -71,7 +66,7 @@ body {
71
66
  * OTHER
72
67
  *********************************************/
73
68
  .reveal p {
74
- margin-bottom: 10px;
69
+ margin: 20px 0;
75
70
  line-height: 1.3; }
76
71
 
77
72
  /* Ensure certain elements are never larger than the slide itself */
@@ -119,7 +114,7 @@ body {
119
114
  display: block;
120
115
  position: relative;
121
116
  width: 70%;
122
- margin: 5px auto;
117
+ margin: 20px auto;
123
118
  padding: 5px;
124
119
  font-style: italic;
125
120
  background: rgba(255, 255, 255, 0.05);
@@ -135,7 +130,7 @@ body {
135
130
  display: block;
136
131
  position: relative;
137
132
  width: 90%;
138
- margin: 15px auto;
133
+ margin: 20px auto;
139
134
  text-align: left;
140
135
  font-size: 0.55em;
141
136
  font-family: monospace;
@@ -1,26 +1,28 @@
1
- @import url(https://fonts.googleapis.com/css?family=Montserrat:400);
2
- @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic);
1
+ @import url(../../lib/font/source-sans-pro/source-sans-pro.css);
3
2
  /**
4
- * Black theme for reveal.js.
3
+ * Black theme for reveal.js. This is the opposite of the 'white' theme.
5
4
  *
6
- * Copyright (C) 2014 Hakim El Hattab, http://hakim.se
5
+ * Copyright (C) 2015 Hakim El Hattab, http://hakim.se
7
6
  */
7
+ section.has-light-background, section.has-light-background h1, section.has-light-background h2, section.has-light-background h3, section.has-light-background h4, section.has-light-background h5, section.has-light-background h6 {
8
+ color: #222; }
9
+
8
10
  /*********************************************
9
11
  * GLOBAL STYLES
10
12
  *********************************************/
11
13
  body {
12
- background: #111;
13
- background-color: #111; }
14
+ background: #222;
15
+ background-color: #222; }
14
16
 
15
17
  .reveal {
16
- font-family: 'Open Sans', Helvetica, sans-serif;
17
- font-size: 34px;
18
+ font-family: 'Source Sans Pro', Helvetica, sans-serif;
19
+ font-size: 38px;
18
20
  font-weight: normal;
19
21
  color: #fff; }
20
22
 
21
23
  ::selection {
22
24
  color: #fff;
23
- background: #b6d7fe;
25
+ background: #bee4fd;
24
26
  text-shadow: none; }
25
27
 
26
28
  .reveal .slides > section, .reveal .slides > section > section {
@@ -33,7 +35,8 @@ body {
33
35
  .reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5, .reveal h6 {
34
36
  margin: 0 0 20px 0;
35
37
  color: #fff;
36
- font-family: 'Montserrat', Helvetica, sans-serif;
38
+ font-family: 'Source Sans Pro', Helvetica, sans-serif;
39
+ font-weight: 600;
37
40
  line-height: 1.2;
38
41
  letter-spacing: normal;
39
42
  text-transform: uppercase;
@@ -41,13 +44,13 @@ body {
41
44
  word-wrap: break-word; }
42
45
 
43
46
  .reveal h1 {
44
- font-size: 2.8em; }
47
+ font-size: 2.5em; }
45
48
 
46
49
  .reveal h2 {
47
- font-size: 1.8em; }
50
+ font-size: 1.6em; }
48
51
 
49
52
  .reveal h3 {
50
- font-size: 1.5em; }
53
+ font-size: 1.3em; }
51
54
 
52
55
  .reveal h4 {
53
56
  font-size: 1em; }
@@ -59,7 +62,7 @@ body {
59
62
  * OTHER
60
63
  *********************************************/
61
64
  .reveal p {
62
- margin-bottom: 10px;
65
+ margin: 20px 0;
63
66
  line-height: 1.3; }
64
67
 
65
68
  /* Ensure certain elements are never larger than the slide itself */
@@ -107,7 +110,7 @@ body {
107
110
  display: block;
108
111
  position: relative;
109
112
  width: 70%;
110
- margin: 5px auto;
113
+ margin: 20px auto;
111
114
  padding: 5px;
112
115
  font-style: italic;
113
116
  background: rgba(255, 255, 255, 0.05);
@@ -123,7 +126,7 @@ body {
123
126
  display: block;
124
127
  position: relative;
125
128
  width: 90%;
126
- margin: 15px auto;
129
+ margin: 20px auto;
127
130
  text-align: left;
128
131
  font-size: 0.55em;
129
132
  font-family: monospace;
@@ -178,20 +181,20 @@ body {
178
181
  * LINKS
179
182
  *********************************************/
180
183
  .reveal a {
181
- color: #3992fb;
184
+ color: #42affa;
182
185
  text-decoration: none;
183
186
  -webkit-transition: color 0.15s ease;
184
187
  -moz-transition: color 0.15s ease;
185
188
  transition: color 0.15s ease; }
186
189
 
187
190
  .reveal a:hover {
188
- color: #84bcfd;
191
+ color: #8dcffc;
189
192
  text-shadow: none;
190
193
  border: none; }
191
194
 
192
195
  .reveal .roll span:after {
193
196
  color: #fff;
194
- background: #056ce3; }
197
+ background: #068ee9; }
195
198
 
196
199
  /*********************************************
197
200
  * IMAGES
@@ -209,35 +212,35 @@ body {
209
212
 
210
213
  .reveal a:hover img {
211
214
  background: rgba(255, 255, 255, 0.2);
212
- border-color: #3992fb;
215
+ border-color: #42affa;
213
216
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }
214
217
 
215
218
  /*********************************************
216
219
  * NAVIGATION CONTROLS
217
220
  *********************************************/
218
221
  .reveal .controls div.navigate-left, .reveal .controls div.navigate-left.enabled {
219
- border-right-color: #3992fb; }
222
+ border-right-color: #42affa; }
220
223
 
221
224
  .reveal .controls div.navigate-right, .reveal .controls div.navigate-right.enabled {
222
- border-left-color: #3992fb; }
225
+ border-left-color: #42affa; }
223
226
 
224
227
  .reveal .controls div.navigate-up, .reveal .controls div.navigate-up.enabled {
225
- border-bottom-color: #3992fb; }
228
+ border-bottom-color: #42affa; }
226
229
 
227
230
  .reveal .controls div.navigate-down, .reveal .controls div.navigate-down.enabled {
228
- border-top-color: #3992fb; }
231
+ border-top-color: #42affa; }
229
232
 
230
233
  .reveal .controls div.navigate-left.enabled:hover {
231
- border-right-color: #84bcfd; }
234
+ border-right-color: #8dcffc; }
232
235
 
233
236
  .reveal .controls div.navigate-right.enabled:hover {
234
- border-left-color: #84bcfd; }
237
+ border-left-color: #8dcffc; }
235
238
 
236
239
  .reveal .controls div.navigate-up.enabled:hover {
237
- border-bottom-color: #84bcfd; }
240
+ border-bottom-color: #8dcffc; }
238
241
 
239
242
  .reveal .controls div.navigate-down.enabled:hover {
240
- border-top-color: #84bcfd; }
243
+ border-top-color: #8dcffc; }
241
244
 
242
245
  /*********************************************
243
246
  * PROGRESS BAR
@@ -246,7 +249,7 @@ body {
246
249
  background: rgba(0, 0, 0, 0.2); }
247
250
 
248
251
  .reveal .progress span {
249
- background: #3992fb;
252
+ background: #42affa;
250
253
  -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
251
254
  -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
252
255
  transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
@@ -255,4 +258,4 @@ body {
255
258
  * SLIDE NUMBER
256
259
  *********************************************/
257
260
  .reveal .slide-number {
258
- color: #3992fb; }
261
+ color: #42affa; }
@@ -45,6 +45,7 @@ body {
45
45
  margin: 0 0 20px 0;
46
46
  color: #eee;
47
47
  font-family: Ubuntu, 'sans-serif';
48
+ font-weight: normal;
48
49
  line-height: 1.2;
49
50
  letter-spacing: normal;
50
51
  text-transform: uppercase;
@@ -70,7 +71,7 @@ body {
70
71
  * OTHER
71
72
  *********************************************/
72
73
  .reveal p {
73
- margin-bottom: 10px;
74
+ margin: 20px 0;
74
75
  line-height: 1.3; }
75
76
 
76
77
  /* Ensure certain elements are never larger than the slide itself */
@@ -118,7 +119,7 @@ body {
118
119
  display: block;
119
120
  position: relative;
120
121
  width: 70%;
121
- margin: 5px auto;
122
+ margin: 20px auto;
122
123
  padding: 5px;
123
124
  font-style: italic;
124
125
  background: rgba(255, 255, 255, 0.05);
@@ -134,7 +135,7 @@ body {
134
135
  display: block;
135
136
  position: relative;
136
137
  width: 90%;
137
- margin: 15px auto;
138
+ margin: 20px auto;
138
139
  text-align: left;
139
140
  font-size: 0.55em;
140
141
  font-family: monospace;
@@ -1,16 +1,12 @@
1
+ @import url(../../lib/font/league-gothic/league-gothic.css);
1
2
  @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
2
3
  /**
3
- * Default theme for reveal.js.
4
+ * League theme for reveal.js.
5
+ *
6
+ * This was the default theme pre-3.0.0.
4
7
  *
5
8
  * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
6
9
  */
7
- @font-face {
8
- font-family: 'League Gothic';
9
- src: url('../../lib/font/league_gothic-webfont.eot');
10
- src: url('../../lib/font/league_gothic-webfont.eot?#iefix') format('embedded-opentype'), url('../../lib/font/league_gothic-webfont.woff') format('woff'), url('../../lib/font/league_gothic-webfont.ttf') format('truetype'), url('../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular') format('svg');
11
- font-weight: normal;
12
- font-style: normal; }
13
-
14
10
  /*********************************************
15
11
  * GLOBAL STYLES
16
12
  *********************************************/
@@ -46,6 +42,7 @@ body {
46
42
  margin: 0 0 20px 0;
47
43
  color: #eee;
48
44
  font-family: 'League Gothic', Impact, sans-serif;
45
+ font-weight: normal;
49
46
  line-height: 1.2;
50
47
  letter-spacing: normal;
51
48
  text-transform: uppercase;
@@ -71,7 +68,7 @@ body {
71
68
  * OTHER
72
69
  *********************************************/
73
70
  .reveal p {
74
- margin-bottom: 10px;
71
+ margin: 20px 0;
75
72
  line-height: 1.3; }
76
73
 
77
74
  /* Ensure certain elements are never larger than the slide itself */
@@ -119,7 +116,7 @@ body {
119
116
  display: block;
120
117
  position: relative;
121
118
  width: 70%;
122
- margin: 5px auto;
119
+ margin: 20px auto;
123
120
  padding: 5px;
124
121
  font-style: italic;
125
122
  background: rgba(255, 255, 255, 0.05);
@@ -135,7 +132,7 @@ body {
135
132
  display: block;
136
133
  position: relative;
137
134
  width: 90%;
138
- margin: 15px auto;
135
+ margin: 20px auto;
139
136
  text-align: left;
140
137
  font-size: 0.55em;
141
138
  font-family: monospace;
@@ -1,15 +1,9 @@
1
+ @import url(../../lib/font/league-gothic/league-gothic.css);
1
2
  @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
2
3
  /**
3
4
  * Solarized Dark theme for reveal.js.
4
5
  * Author: Achim Staebler
5
6
  */
6
- @font-face {
7
- font-family: 'League Gothic';
8
- src: url('../../lib/font/league_gothic-webfont.eot');
9
- src: url('../../lib/font/league_gothic-webfont.eot?#iefix') format('embedded-opentype'), url('../../lib/font/league_gothic-webfont.woff') format('woff'), url('../../lib/font/league_gothic-webfont.ttf') format('truetype'), url('../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular') format('svg');
10
- font-weight: normal;
11
- font-style: normal; }
12
-
13
7
  /**
14
8
  * Solarized colors by Ethan Schoonover
15
9
  */
@@ -46,6 +40,7 @@ body {
46
40
  margin: 0 0 20px 0;
47
41
  color: #eee8d5;
48
42
  font-family: 'League Gothic', Impact, sans-serif;
43
+ font-weight: normal;
49
44
  line-height: 1.2;
50
45
  letter-spacing: normal;
51
46
  text-transform: uppercase;
@@ -71,7 +66,7 @@ body {
71
66
  * OTHER
72
67
  *********************************************/
73
68
  .reveal p {
74
- margin-bottom: 10px;
69
+ margin: 20px 0;
75
70
  line-height: 1.3; }
76
71
 
77
72
  /* Ensure certain elements are never larger than the slide itself */
@@ -119,7 +114,7 @@ body {
119
114
  display: block;
120
115
  position: relative;
121
116
  width: 70%;
122
- margin: 5px auto;
117
+ margin: 20px auto;
123
118
  padding: 5px;
124
119
  font-style: italic;
125
120
  background: rgba(255, 255, 255, 0.05);
@@ -135,7 +130,7 @@ body {
135
130
  display: block;
136
131
  position: relative;
137
132
  width: 90%;
138
- margin: 15px auto;
133
+ margin: 20px auto;
139
134
  text-align: left;
140
135
  font-size: 0.55em;
141
136
  font-family: monospace;
@@ -34,6 +34,7 @@ body {
34
34
  margin: 0 0 20px 0;
35
35
  color: #eee;
36
36
  font-family: 'Montserrat', Impact, sans-serif;
37
+ font-weight: normal;
37
38
  line-height: 1.2;
38
39
  letter-spacing: -0.03em;
39
40
  text-transform: none;
@@ -59,7 +60,7 @@ body {
59
60
  * OTHER
60
61
  *********************************************/
61
62
  .reveal p {
62
- margin-bottom: 10px;
63
+ margin: 20px 0;
63
64
  line-height: 1.3; }
64
65
 
65
66
  /* Ensure certain elements are never larger than the slide itself */
@@ -107,7 +108,7 @@ body {
107
108
  display: block;
108
109
  position: relative;
109
110
  width: 70%;
110
- margin: 5px auto;
111
+ margin: 20px auto;
111
112
  padding: 5px;
112
113
  font-style: italic;
113
114
  background: rgba(255, 255, 255, 0.05);
@@ -123,7 +124,7 @@ body {
123
124
  display: block;
124
125
  position: relative;
125
126
  width: 90%;
126
- margin: 15px auto;
127
+ margin: 20px auto;
127
128
  text-align: left;
128
129
  font-size: 0.55em;
129
130
  font-family: monospace;