rails-reveal-js 2.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +17 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +29 -0
  6. data/Rakefile +1 -0
  7. data/lib/rails/reveal/js.rb +10 -0
  8. data/lib/rails/reveal/js/version.rb +7 -0
  9. data/rails-reveal-js.gemspec +25 -0
  10. data/vendor/assets/javascripts/reveal.min.js +9 -0
  11. data/vendor/assets/stylesheets/reveal.min.css +7 -0
  12. data/vendor/assets/stylesheets/theme/README.md +25 -0
  13. data/vendor/assets/stylesheets/theme/beige.css +148 -0
  14. data/vendor/assets/stylesheets/theme/blood.css +175 -0
  15. data/vendor/assets/stylesheets/theme/default.css +148 -0
  16. data/vendor/assets/stylesheets/theme/moon.css +148 -0
  17. data/vendor/assets/stylesheets/theme/night.css +136 -0
  18. data/vendor/assets/stylesheets/theme/serif.css +138 -0
  19. data/vendor/assets/stylesheets/theme/simple.css +138 -0
  20. data/vendor/assets/stylesheets/theme/sky.css +145 -0
  21. data/vendor/assets/stylesheets/theme/solarized.css +148 -0
  22. data/vendor/assets/stylesheets/theme/source/beige.scss +50 -0
  23. data/vendor/assets/stylesheets/theme/source/blood.scss +91 -0
  24. data/vendor/assets/stylesheets/theme/source/default.scss +42 -0
  25. data/vendor/assets/stylesheets/theme/source/moon.scss +68 -0
  26. data/vendor/assets/stylesheets/theme/source/night.scss +35 -0
  27. data/vendor/assets/stylesheets/theme/source/serif.scss +35 -0
  28. data/vendor/assets/stylesheets/theme/source/simple.scss +38 -0
  29. data/vendor/assets/stylesheets/theme/source/sky.scss +46 -0
  30. data/vendor/assets/stylesheets/theme/source/solarized.scss +74 -0
  31. data/vendor/assets/stylesheets/theme/template/mixins.scss +29 -0
  32. data/vendor/assets/stylesheets/theme/template/settings.scss +34 -0
  33. data/vendor/assets/stylesheets/theme/template/theme.scss +170 -0
  34. metadata +119 -0
@@ -0,0 +1,34 @@
1
+ // Base settings for all themes that can optionally be
2
+ // overridden by the super-theme
3
+
4
+ // Background of the presentation
5
+ $backgroundColor: #2b2b2b;
6
+
7
+ // Primary/body text
8
+ $mainFont: 'Lato', sans-serif;
9
+ $mainFontSize: 36px;
10
+ $mainColor: #eee;
11
+
12
+ // Headings
13
+ $headingMargin: 0 0 20px 0;
14
+ $headingFont: 'League Gothic', Impact, sans-serif;
15
+ $headingColor: #eee;
16
+ $headingLineHeight: 0.9em;
17
+ $headingLetterSpacing: 0.02em;
18
+ $headingTextTransform: uppercase;
19
+ $headingTextShadow: 0px 0px 6px rgba(0,0,0,0.2);
20
+ $heading1TextShadow: $headingTextShadow;
21
+
22
+ // Links and actions
23
+ $linkColor: #13DAEC;
24
+ $linkColorHover: lighten( $linkColor, 20% );
25
+
26
+ // Text selection
27
+ $selectionBackgroundColor: #FF5E99;
28
+ $selectionColor: #fff;
29
+
30
+ // Generates the presentation background, can be overridden
31
+ // to return a background image or gradient
32
+ @mixin bodyBackground() {
33
+ background: $backgroundColor;
34
+ }
@@ -0,0 +1,170 @@
1
+ // Base theme template for reveal.js
2
+
3
+ /*********************************************
4
+ * GLOBAL STYLES
5
+ *********************************************/
6
+
7
+ body {
8
+ @include bodyBackground();
9
+ background-color: $backgroundColor;
10
+ }
11
+
12
+ .reveal {
13
+ font-family: $mainFont;
14
+ font-size: $mainFontSize;
15
+ font-weight: normal;
16
+ letter-spacing: -0.02em;
17
+ color: $mainColor;
18
+ }
19
+
20
+ ::selection {
21
+ color: $selectionColor;
22
+ background: $selectionBackgroundColor;
23
+ text-shadow: none;
24
+ }
25
+
26
+ /*********************************************
27
+ * HEADERS
28
+ *********************************************/
29
+
30
+ .reveal h1,
31
+ .reveal h2,
32
+ .reveal h3,
33
+ .reveal h4,
34
+ .reveal h5,
35
+ .reveal h6 {
36
+ margin: $headingMargin;
37
+ color: $headingColor;
38
+
39
+ font-family: $headingFont;
40
+ line-height: $headingLineHeight;
41
+ letter-spacing: $headingLetterSpacing;
42
+
43
+ text-transform: $headingTextTransform;
44
+ text-shadow: $headingTextShadow;
45
+ }
46
+
47
+ .reveal h1 {
48
+ text-shadow: $heading1TextShadow;
49
+ }
50
+
51
+
52
+ /*********************************************
53
+ * LINKS
54
+ *********************************************/
55
+
56
+ .reveal a:not(.image) {
57
+ color: $linkColor;
58
+ text-decoration: none;
59
+
60
+ -webkit-transition: color .15s ease;
61
+ -moz-transition: color .15s ease;
62
+ -ms-transition: color .15s ease;
63
+ -o-transition: color .15s ease;
64
+ transition: color .15s ease;
65
+ }
66
+ .reveal a:not(.image):hover {
67
+ color: $linkColorHover;
68
+
69
+ text-shadow: none;
70
+ border: none;
71
+ }
72
+
73
+ .reveal .roll span:after {
74
+ color: #fff;
75
+ background: darken( $linkColor, 15% );
76
+ }
77
+
78
+
79
+ /*********************************************
80
+ * IMAGES
81
+ *********************************************/
82
+
83
+ .reveal section img {
84
+ margin: 15px 0px;
85
+ background: rgba(255,255,255,0.12);
86
+ border: 4px solid $mainColor;
87
+
88
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
89
+
90
+ -webkit-transition: all .2s linear;
91
+ -moz-transition: all .2s linear;
92
+ -ms-transition: all .2s linear;
93
+ -o-transition: all .2s linear;
94
+ transition: all .2s linear;
95
+ }
96
+
97
+ .reveal a:hover img {
98
+ background: rgba(255,255,255,0.2);
99
+ border-color: $linkColor;
100
+
101
+ box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
102
+ }
103
+
104
+
105
+ /*********************************************
106
+ * NAVIGATION CONTROLS
107
+ *********************************************/
108
+
109
+ .reveal .controls div.navigate-left,
110
+ .reveal .controls div.navigate-left.enabled {
111
+ border-right-color: $linkColor;
112
+ }
113
+
114
+ .reveal .controls div.navigate-right,
115
+ .reveal .controls div.navigate-right.enabled {
116
+ border-left-color: $linkColor;
117
+ }
118
+
119
+ .reveal .controls div.navigate-up,
120
+ .reveal .controls div.navigate-up.enabled {
121
+ border-bottom-color: $linkColor;
122
+ }
123
+
124
+ .reveal .controls div.navigate-down,
125
+ .reveal .controls div.navigate-down.enabled {
126
+ border-top-color: $linkColor;
127
+ }
128
+
129
+ .reveal .controls div.navigate-left.enabled:hover {
130
+ border-right-color: $linkColorHover;
131
+ }
132
+
133
+ .reveal .controls div.navigate-right.enabled:hover {
134
+ border-left-color: $linkColorHover;
135
+ }
136
+
137
+ .reveal .controls div.navigate-up.enabled:hover {
138
+ border-bottom-color: $linkColorHover;
139
+ }
140
+
141
+ .reveal .controls div.navigate-down.enabled:hover {
142
+ border-top-color: $linkColorHover;
143
+ }
144
+
145
+
146
+ /*********************************************
147
+ * PROGRESS BAR
148
+ *********************************************/
149
+
150
+ .reveal .progress {
151
+ background: rgba(0,0,0,0.2);
152
+ }
153
+ .reveal .progress span {
154
+ background: $linkColor;
155
+
156
+ -webkit-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
157
+ -moz-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
158
+ -ms-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
159
+ -o-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
160
+ transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
161
+ }
162
+
163
+ /*********************************************
164
+ * SLIDE NUMBER
165
+ *********************************************/
166
+ .reveal .slide-number {
167
+ color: $linkColor;
168
+ }
169
+
170
+
metadata ADDED
@@ -0,0 +1,119 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rails-reveal-js
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.6.1
5
+ platform: ruby
6
+ authors:
7
+ - Mark Miyashita
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-03-20 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.5'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.5'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: railties
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '4.0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '4.0'
55
+ description: Loads Reveal.js stylesheets and javascript libraries into the Rails Asset
56
+ Pipeline
57
+ email:
58
+ - negativetwelve@gmail.com
59
+ executables: []
60
+ extensions: []
61
+ extra_rdoc_files: []
62
+ files:
63
+ - ".gitignore"
64
+ - Gemfile
65
+ - LICENSE.txt
66
+ - README.md
67
+ - Rakefile
68
+ - lib/rails/reveal/js.rb
69
+ - lib/rails/reveal/js/version.rb
70
+ - rails-reveal-js.gemspec
71
+ - vendor/assets/javascripts/reveal.min.js
72
+ - vendor/assets/stylesheets/reveal.min.css
73
+ - vendor/assets/stylesheets/theme/README.md
74
+ - vendor/assets/stylesheets/theme/beige.css
75
+ - vendor/assets/stylesheets/theme/blood.css
76
+ - vendor/assets/stylesheets/theme/default.css
77
+ - vendor/assets/stylesheets/theme/moon.css
78
+ - vendor/assets/stylesheets/theme/night.css
79
+ - vendor/assets/stylesheets/theme/serif.css
80
+ - vendor/assets/stylesheets/theme/simple.css
81
+ - vendor/assets/stylesheets/theme/sky.css
82
+ - vendor/assets/stylesheets/theme/solarized.css
83
+ - vendor/assets/stylesheets/theme/source/beige.scss
84
+ - vendor/assets/stylesheets/theme/source/blood.scss
85
+ - vendor/assets/stylesheets/theme/source/default.scss
86
+ - vendor/assets/stylesheets/theme/source/moon.scss
87
+ - vendor/assets/stylesheets/theme/source/night.scss
88
+ - vendor/assets/stylesheets/theme/source/serif.scss
89
+ - vendor/assets/stylesheets/theme/source/simple.scss
90
+ - vendor/assets/stylesheets/theme/source/sky.scss
91
+ - vendor/assets/stylesheets/theme/source/solarized.scss
92
+ - vendor/assets/stylesheets/theme/template/mixins.scss
93
+ - vendor/assets/stylesheets/theme/template/settings.scss
94
+ - vendor/assets/stylesheets/theme/template/theme.scss
95
+ homepage: https://github.com/negativetwelve/rails-reveal-js
96
+ licenses:
97
+ - MIT
98
+ metadata: {}
99
+ post_install_message:
100
+ rdoc_options: []
101
+ require_paths:
102
+ - lib
103
+ required_ruby_version: !ruby/object:Gem::Requirement
104
+ requirements:
105
+ - - ">="
106
+ - !ruby/object:Gem::Version
107
+ version: '0'
108
+ required_rubygems_version: !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - ">="
111
+ - !ruby/object:Gem::Version
112
+ version: '0'
113
+ requirements: []
114
+ rubyforge_project:
115
+ rubygems_version: 2.1.11
116
+ signing_key:
117
+ specification_version: 4
118
+ summary: Gem to add Reveal.js to the Rails Asset Pipeline.
119
+ test_files: []