slide_hero 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-version +1 -1
  3. data/Gemfile +1 -1
  4. data/README.md +2 -2
  5. data/lib/slide_hero/blockquote.rb +10 -0
  6. data/lib/slide_hero/pluggable.rb +4 -4
  7. data/lib/slide_hero/plugins.rb +0 -1
  8. data/lib/slide_hero/presentation.rb +3 -3
  9. data/lib/slide_hero/slide.rb +2 -2
  10. data/lib/slide_hero/version.rb +1 -1
  11. data/lib/slide_hero/views/blockquote.html.erb +3 -0
  12. data/lib/slide_hero.rb +1 -0
  13. data/test/slide_hero/blockquote_spec.rb +13 -0
  14. data/test/slide_hero/plugins_spec.rb +0 -1
  15. data/test/slide_hero/presentation_spec.rb +2 -1
  16. data/test/slide_hero/slide_spec.rb +14 -3
  17. data/test/slide_hero_spec.rb +1 -0
  18. data/vendor/reveal.js/.gitignore +6 -1
  19. data/vendor/reveal.js/.travis.yml +1 -1
  20. data/vendor/reveal.js/CONTRIBUTING.md +4 -0
  21. data/vendor/reveal.js/Gruntfile.js +26 -24
  22. data/vendor/reveal.js/LICENSE +1 -1
  23. data/vendor/reveal.js/README.md +215 -124
  24. data/vendor/reveal.js/bower.json +27 -0
  25. data/vendor/reveal.js/css/print/paper.css +1 -1
  26. data/vendor/reveal.js/css/print/pdf.css +30 -27
  27. data/vendor/reveal.js/css/reveal.css +381 -191
  28. data/vendor/reveal.js/css/reveal.scss +259 -164
  29. data/vendor/reveal.js/css/theme/README.md +2 -6
  30. data/vendor/reveal.js/css/theme/beige.css +75 -49
  31. data/vendor/reveal.js/css/theme/black.css +64 -38
  32. data/vendor/reveal.js/css/theme/blood.css +75 -56
  33. data/vendor/reveal.js/css/theme/league.css +69 -43
  34. data/vendor/reveal.js/css/theme/moon.css +69 -43
  35. data/vendor/reveal.js/css/theme/night.css +64 -38
  36. data/vendor/reveal.js/css/theme/serif.css +66 -40
  37. data/vendor/reveal.js/css/theme/simple.css +63 -37
  38. data/vendor/reveal.js/css/theme/sky.css +69 -43
  39. data/vendor/reveal.js/css/theme/solarized.css +69 -43
  40. data/vendor/reveal.js/css/theme/source/black.scss +1 -1
  41. data/vendor/reveal.js/css/theme/source/blood.scss +3 -15
  42. data/vendor/reveal.js/css/theme/source/white.scss +1 -1
  43. data/vendor/reveal.js/css/theme/template/theme.scss +30 -23
  44. data/vendor/reveal.js/css/theme/white.css +69 -43
  45. data/vendor/reveal.js/demo.html +410 -0
  46. data/vendor/reveal.js/index.html +13 -371
  47. data/vendor/reveal.js/js/reveal.js +643 -175
  48. data/vendor/reveal.js/lib/css/zenburn.css +41 -78
  49. data/vendor/reveal.js/lib/js/head.min.js +9 -8
  50. data/vendor/reveal.js/package.json +20 -24
  51. data/vendor/reveal.js/plugin/highlight/highlight.js +4 -3
  52. data/vendor/reveal.js/plugin/markdown/example.html +1 -1
  53. data/vendor/reveal.js/plugin/markdown/markdown.js +19 -7
  54. data/vendor/reveal.js/plugin/markdown/marked.js +2 -33
  55. data/vendor/reveal.js/plugin/math/math.js +5 -2
  56. data/vendor/reveal.js/plugin/multiplex/client.js +1 -1
  57. data/vendor/reveal.js/plugin/multiplex/index.js +24 -16
  58. data/vendor/reveal.js/plugin/multiplex/master.js +22 -42
  59. data/vendor/reveal.js/plugin/multiplex/package.json +19 -0
  60. data/vendor/reveal.js/plugin/notes/notes.html +11 -3
  61. data/vendor/reveal.js/plugin/notes/notes.js +19 -5
  62. data/vendor/reveal.js/plugin/notes-server/client.js +6 -1
  63. data/vendor/reveal.js/plugin/notes-server/index.js +17 -14
  64. data/vendor/reveal.js/plugin/notes-server/notes.html +17 -6
  65. data/vendor/reveal.js/plugin/print-pdf/print-pdf.js +1 -1
  66. data/vendor/reveal.js/plugin/zoom-js/zoom.js +1 -1
  67. data/vendor/reveal.js/test/examples/slide-backgrounds.html +1 -1
  68. data/vendor/reveal.js/test/examples/slide-transitions.html +101 -0
  69. data/vendor/reveal.js/test/test-markdown-element-attributes.html +3 -3
  70. data/vendor/reveal.js/test/test-markdown-element-attributes.js +1 -1
  71. data/vendor/reveal.js/test/test.html +5 -1
  72. data/vendor/reveal.js/test/test.js +26 -1
  73. metadata +11 -5
  74. data/vendor/reveal.js/plugin/leap/leap.js +0 -159
  75. data/vendor/reveal.js/plugin/remotes/remotes.js +0 -39
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "reveal.js",
3
+ "version": "3.3.0",
4
+ "main": [
5
+ "js/reveal.js",
6
+ "css/reveal.css"
7
+ ],
8
+ "homepage": "http://lab.hakim.se/reveal-js/",
9
+ "license": "MIT",
10
+ "description": "The HTML Presentation Framework",
11
+ "authors": [
12
+ "Hakim El Hattab <hakim.elhattab@gmail.com>"
13
+ ],
14
+ "dependencies": {
15
+ "headjs": "~1.0.3"
16
+ },
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git://github.com/hakimel/reveal.js.git"
20
+ },
21
+ "ignore": [
22
+ "**/.*",
23
+ "node_modules",
24
+ "bower_components",
25
+ "test"
26
+ ]
27
+ }
@@ -141,7 +141,7 @@
141
141
  .reveal .slides section {
142
142
  visibility: visible !important;
143
143
  position: static !important;
144
- width: 100% !important;
144
+ width: auto !important;
145
145
  height: auto !important;
146
146
  display: block !important;
147
147
  overflow: visible !important;
@@ -1,15 +1,9 @@
1
- /* Default Print Stylesheet Template
2
- by Rob Glazebrook of CSSnewbie.com
3
- Last Updated: June 4, 2008
4
-
5
- Feel free (nay, compelled) to edit, append, and
6
- manipulate this file as you see fit. */
7
-
8
-
9
- /* SECTION 1: Set default width, margin, float, and
10
- background. This prevents elements from extending
11
- beyond the edge of the printed page, and prevents
12
- unnecessary background images from printing */
1
+ /**
2
+ * This stylesheet is used to print reveal.js
3
+ * presentations to PDF.
4
+ *
5
+ * https://github.com/hakimel/reveal.js#pdf-export
6
+ */
13
7
 
14
8
  * {
15
9
  -webkit-print-color-adjust: exact;
@@ -29,12 +23,10 @@ html {
29
23
  overflow: visible;
30
24
  }
31
25
 
32
- /* SECTION 2: Remove any elements not needed in print.
33
- This would include navigation, ads, sidebars, etc. */
26
+ /* Remove any elements not needed in print. */
34
27
  .nestedarrow,
35
28
  .reveal .controls,
36
29
  .reveal .progress,
37
- .reveal .slide-number,
38
30
  .reveal .playback,
39
31
  .reveal.overview,
40
32
  .fork-reveal,
@@ -43,16 +35,7 @@ html {
43
35
  display: none !important;
44
36
  }
45
37
 
46
- /* SECTION 3: Set body font face, size, and color.
47
- Consider using a serif font for readability. */
48
- body, p, td, li, div {
49
-
50
- }
51
-
52
- /* SECTION 4: Set heading font face, sizes, and color.
53
- Differentiate your headings from your body text.
54
- Perhaps use a large sans-serif for distinction. */
55
- h1,h2,h3,h4,h5,h6 {
38
+ h1, h2, h3, h4, h5, h6 {
56
39
  text-shadow: 0 0 0 #000 !important;
57
40
  }
58
41
 
@@ -61,8 +44,6 @@ h1,h2,h3,h4,h5,h6 {
61
44
  font-family: Courier, 'Courier New', monospace !important;
62
45
  }
63
46
 
64
-
65
- /* SECTION 5: more reveal.js specific additions by @skypanther */
66
47
  ul, ol, div, p {
67
48
  visibility: visible;
68
49
  position: static;
@@ -100,6 +81,7 @@ ul, ol, div, p {
100
81
  -ms-perspective-origin: 50% 50%;
101
82
  perspective-origin: 50% 50%;
102
83
  }
84
+
103
85
  .reveal .slides section {
104
86
  page-break-after: always !important;
105
87
 
@@ -125,6 +107,7 @@ ul, ol, div, p {
125
107
  -ms-transform: none !important;
126
108
  transform: none !important;
127
109
  }
110
+
128
111
  .reveal section.stack {
129
112
  margin: 0 !important;
130
113
  padding: 0 !important;
@@ -132,9 +115,11 @@ ul, ol, div, p {
132
115
  height: auto !important;
133
116
  min-height: auto !important;
134
117
  }
118
+
135
119
  .reveal img {
136
120
  box-shadow: none;
137
121
  }
122
+
138
123
  .reveal .roll {
139
124
  overflow: visible;
140
125
  line-height: 1em;
@@ -149,9 +134,27 @@ ul, ol, div, p {
149
134
  width: 100%;
150
135
  z-index: -1;
151
136
  }
137
+
152
138
  /* All elements should be above the slide-background */
153
139
  .reveal section>* {
154
140
  position: relative;
155
141
  z-index: 1;
156
142
  }
157
143
 
144
+ /* Display slide speaker notes when 'showNotes' is enabled */
145
+ .reveal .speaker-notes-pdf {
146
+ display: block;
147
+ width: 100%;
148
+ max-height: none;
149
+ left: auto;
150
+ top: auto;
151
+ z-index: 100;
152
+ }
153
+
154
+ /* Display slide numbers when 'slideNumber' is enabled */
155
+ .reveal .slide-number-pdf {
156
+ display: block;
157
+ position: absolute;
158
+ font-size: 14px;
159
+ }
160
+