hyla 1.0.7.pre.3 → 1.0.7.pre.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/Rakefile +15 -12
- data/lib/hyla/commands/generate.rb +35 -32
- data/lib/hyla/configuration.rb +3 -1
- data/lib/hyla/project.rb +1 -1
- data/lib/resources/assets/cover/cover.slim +1 -1
- data/lib/resources/assets/revealjs-redhat/lib/css/gpe.css +176 -214
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/agate.min.css +17 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/androidstudio.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/arta.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/ascetic.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/atelier-dune.dark.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/atelier-dune.light.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/atelier-forest.dark.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/atelier-forest.light.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/atelier-heath.dark.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/atelier-heath.light.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/atelier-lakeside.dark.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/atelier-lakeside.light.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/atelier-seaside.dark.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/atelier-seaside.light.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/brown_paper.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/codepen-embed.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/color-brewer.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/dark.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/darkula.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/default.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/docco.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/far.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/foundation.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/github.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/googlecode.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/hybrid.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/idea.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/ir_black.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/kimbie.dark.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/kimbie.light.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/magula.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/mono-blue.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/monokai.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/monokai_sublime.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/obsidian.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/paraiso.dark.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/paraiso.light.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/pojoaque.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/railscasts.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/rainbow.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/school_book.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/solarized_dark.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/solarized_light.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/sunburst.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/tomorrow-night-blue.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/tomorrow-night-bright.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/tomorrow-night-eighties.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/tomorrow-night.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/tomorrow.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/vs.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/xcode.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/highlightjs/zenburn.min.css +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/theme-output.css +817 -663
- data/lib/resources/assets/revealjs-redhat/lib/css/theme-v2-liberation.css +4346 -0
- data/lib/resources/assets/revealjs-redhat/lib/css/theme-v2-overpass.css +4334 -0
- data/lib/resources/assets/revealjs-redhat/lib/font/liberation/LiberationSans-Bold-webfont.eot +0 -0
- data/lib/resources/assets/revealjs-redhat/lib/font/liberation/LiberationSans-Bold-webfont.svg +351 -0
- data/lib/resources/assets/revealjs-redhat/lib/font/liberation/LiberationSans-Bold-webfont.ttf +0 -0
- data/lib/resources/assets/revealjs-redhat/lib/font/liberation/LiberationSans-Bold-webfont.woff +0 -0
- data/lib/resources/assets/revealjs-redhat/lib/font/liberation/LiberationSans-BoldItalic-webfont.eot +0 -0
- data/lib/resources/assets/revealjs-redhat/lib/font/liberation/LiberationSans-BoldItalic-webfont.svg +347 -0
- data/lib/resources/assets/revealjs-redhat/lib/font/liberation/LiberationSans-BoldItalic-webfont.ttf +0 -0
- data/lib/resources/assets/revealjs-redhat/lib/font/liberation/LiberationSans-BoldItalic-webfont.woff +0 -0
- data/lib/resources/assets/revealjs-redhat/lib/font/liberation/LiberationSans-Italic-webfont.eot +0 -0
- data/lib/resources/assets/revealjs-redhat/lib/font/liberation/LiberationSans-Italic-webfont.svg +348 -0
- data/lib/resources/assets/revealjs-redhat/lib/font/liberation/LiberationSans-Italic-webfont.ttf +0 -0
- data/lib/resources/assets/revealjs-redhat/lib/font/liberation/LiberationSans-Italic-webfont.woff +0 -0
- data/lib/resources/assets/revealjs-redhat/lib/font/liberation/LiberationSans-Regular-webfont.eot +0 -0
- data/lib/resources/assets/revealjs-redhat/lib/font/liberation/LiberationSans-Regular-webfont.svg +354 -0
- data/lib/resources/assets/revealjs-redhat/lib/font/liberation/LiberationSans-Regular-webfont.ttf +0 -0
- data/lib/resources/assets/revealjs-redhat/lib/font/liberation/LiberationSans-Regular-webfont.woff +0 -0
- data/lib/resources/assets/revealjs-redhat/lib/js/debug/head.js +131 -0
- data/lib/resources/assets/revealjs-redhat/lib/js/debug/reveal.js +1280 -0
- data/lib/resources/assets/revealjs-redhat/lib/js/gpe.js +11 -0
- data/lib/resources/assets/revealjs-redhat/lib/js/head.min.js +1 -131
- data/lib/resources/assets/revealjs-redhat/lib/js/jquery-1.11.2.min.js +4 -0
- data/lib/resources/assets/revealjs-redhat/lib/js/reveal.min.js +2 -1279
- data/lib/resources/assets/revealjs/css/theme/gpe.css +4 -4
- data/lib/resources/assets/revealjs/lib/css/highlightjs/agate.min.css +17 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/androidstudio.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/arta.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/ascetic.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/atelier-dune.dark.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/atelier-dune.light.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/atelier-forest.dark.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/atelier-forest.light.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/atelier-heath.dark.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/atelier-heath.light.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/atelier-lakeside.dark.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/atelier-lakeside.light.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/atelier-seaside.dark.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/atelier-seaside.light.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/brown_paper.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/codepen-embed.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/color-brewer.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/dark.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/darkula.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/default.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/docco.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/far.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/foundation.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/github.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/googlecode.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/hybrid.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/idea.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/ir_black.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/kimbie.dark.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/kimbie.light.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/magula.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/mono-blue.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/monokai.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/monokai_sublime.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/obsidian.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/paraiso.dark.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/paraiso.light.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/pojoaque.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/railscasts.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/rainbow.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/school_book.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/solarized_dark.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/solarized_light.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/sunburst.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/tomorrow-night-blue.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/tomorrow-night-bright.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/tomorrow-night-eighties.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/tomorrow-night.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/tomorrow.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/vs.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/xcode.min.css +1 -0
- data/lib/resources/assets/revealjs/lib/css/highlightjs/zenburn.min.css +1 -0
- data/lib/resources/assets/sass/_liberation.scss +16 -16
- data/lib/resources/assets/sass/_liberation2.scss +43 -0
- data/lib/resources/assets/sass/{overpass.scss → _overpass.scss} +0 -0
- data/lib/resources/assets/sass/gpe2.scss +92 -99
- data/lib/resources/assets/sass/theme-output.scss +1359 -0
- data/lib/resources/assets/sass/theme-v2-liberation.scss +3646 -0
- data/lib/resources/assets/{revealjs-redhat/lib/css/offline-v2.css → sass/theme-v2-overpass.scss} +1 -1
- data/lib/resources/backends/slim/revealjs-redhat/block_image.html.slim +1 -1
- data/lib/resources/backends/slim/revealjs-redhat/block_paragraph.html.slim +2 -2
- data/lib/resources/backends/slim/revealjs-redhat/document.html.slim +21 -13
- data/lib/resources/backends/slim/revealjs/document.html.slim +55 -31
- data/lib/templates/_config.yaml +26 -6
- metadata +133 -5
- data/lib/resources/assets/revealjs/lib/css/zenburn.css +0 -114
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NjM3ODU2N2Q0N2I5YzYzMTczNjMyZmJlMTA2NzRhMzQ1MzZjMmRlNA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MTdlMDZmZGY3ZDNlNmI3ZTI2NmQzZDhlYTlkODgwZmNlOTQzMjdlOA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MmZmYjg4NjQ2ZTc1MWQ2NWE5YmZlMTdiNGRiODQwMmExZTY4OWVmOTYyYWJm
|
10
|
+
ZDIxZGMyZThmYzU3YjVlZDFjOTA3OGQ2NTBjNDEwYTg4NjVlN2Y4NTJkZDBk
|
11
|
+
YjJmM2RmMzNlODk2Mjk5NjA2NjBhMWE2OWRiMTk2NjNlYmY4ZDA=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
M2Q1OTY2OTRiZjBjZmJkMzMyNzA1NWQ5YmUxNGY0NDI0YmM5ZDRiYzBkOGY1
|
14
|
+
MjYwOTRmYTliODgyNWU1M2Y5MjRlNzBiYmEzOGE3NDVkMDM2NDI2NmMyOTE4
|
15
|
+
ZjQ2OTQ3MWNkOTRjNTFlMGIzN2FmZTZhOTZmOTZjMzEyMTc0ZTM=
|
data/Rakefile
CHANGED
@@ -98,6 +98,9 @@ task :compass do
|
|
98
98
|
sh "cp styles/font-awesome.css #{revealjs_css_vendor_assets}/font-awesome-4.3.0.css"
|
99
99
|
|
100
100
|
sh "cp styles/gpe2.css #{revealjs_redhat_css_theme_assets}/gpe.css"
|
101
|
+
sh "cp styles/theme-v2-liberation.css #{revealjs_redhat_css_theme_assets}/theme-v2-liberation.css"
|
102
|
+
sh "cp styles/theme-v2-overpass.css #{revealjs_redhat_css_theme_assets}/theme-v2-overpass.css"
|
103
|
+
sh "cp styles/theme-output.css #{revealjs_redhat_css_theme_assets}/theme-output.css"
|
101
104
|
sh "cp styles/font-awesome.css #{revealjs_redhat_css_theme_assets}/font-awesome-4.3.0.css"
|
102
105
|
|
103
106
|
# sh "cp gpe.scss #{revealjs_css_theme_assets}"
|
@@ -108,22 +111,22 @@ task :compass do
|
|
108
111
|
|
109
112
|
end
|
110
113
|
|
111
|
-
|
114
|
+
desc "Build the Gem"
|
112
115
|
task :build do
|
113
116
|
system "gem build #{gemspec_file}"
|
114
117
|
end
|
115
118
|
|
116
|
-
|
119
|
+
desc "Build the Gem & deploy it locally"
|
117
120
|
task :install => :build do
|
118
121
|
system "gem install #{gem_file} -l"
|
119
122
|
end
|
120
123
|
|
121
|
-
|
124
|
+
desc "Build the Gem, install it locally & push it"
|
122
125
|
task :deploy => :install do
|
123
126
|
system "gem push #{gem_file}"
|
124
127
|
end
|
125
128
|
|
126
|
-
|
129
|
+
desc "Tag Hyla release to github repo"
|
127
130
|
task :tag_release do
|
128
131
|
system "git tag -a #{name}-#{version} -m 'Release of hyla #{version}'"
|
129
132
|
system "git push origin #{name}-#{version}"
|
@@ -191,11 +194,11 @@ task :publish do
|
|
191
194
|
puts 'Done.'
|
192
195
|
end
|
193
196
|
|
194
|
-
desc 'Say Hello'
|
195
|
-
task :hello, [:msg1, :msg2] do |t, args|
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
end
|
197
|
+
# desc 'Say Hello'
|
198
|
+
# task :hello, [:msg1, :msg2] do |t, args|
|
199
|
+
# msg1 = args.msg1 or
|
200
|
+
# fail "Msg1 is mandatory"
|
201
|
+
# msg2 = args[:msg2] || "Man"
|
202
|
+
# puts msg1.upcase + '!'
|
203
|
+
# puts msg2.downcase + '!'
|
204
|
+
# end
|
@@ -96,8 +96,9 @@ module Hyla
|
|
96
96
|
course_name = options[:course_name]
|
97
97
|
module_name = options[:module_name]
|
98
98
|
bg_image_path = options[:image_path]
|
99
|
+
tool = options[:tool] || 'imgkit'
|
99
100
|
|
100
|
-
self.cover_img(out_dir, file_name, image_name, course_name, module_name, bg_image_path)
|
101
|
+
self.cover_img(out_dir, file_name, image_name, course_name, module_name, bg_image_path, tool)
|
101
102
|
|
102
103
|
else
|
103
104
|
Hyla.logger.error ">> Unknow rendering"
|
@@ -128,47 +129,49 @@ module Hyla
|
|
128
129
|
# Cover Function
|
129
130
|
# Create a png file using the HTML generated with the Slim cover template
|
130
131
|
#
|
131
|
-
def self.cover_img(out_dir, file_name, image_name, course_name, module_name, bg_image_path)
|
132
|
+
def self.cover_img(out_dir, file_name, image_name, course_name, module_name, bg_image_path, tool)
|
132
133
|
|
133
134
|
unless Dir.exist? out_dir
|
134
135
|
FileUtils.mkdir_p out_dir
|
135
136
|
end
|
136
137
|
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
course_name = course_name.gsub('_', ' ')
|
144
|
-
# Replace underscore with space, next digits & space with nothing & Capitalize
|
145
|
-
module_name = module_name.gsub('_', ' ').gsub(/^\d{1,2}\s/, '').capitalize
|
146
|
-
|
147
|
-
# f_html = File.read(Configuration::covers + '/cover.html')
|
138
|
+
case tool
|
139
|
+
when 'imgkit'
|
140
|
+
# Configure Slim engine
|
141
|
+
slim_file = Configuration::cover_template
|
142
|
+
slim_tmpl = File.read(slim_file)
|
143
|
+
template = Slim::Template.new(:pretty => true) { slim_tmpl }
|
148
144
|
|
149
|
-
|
145
|
+
# Replace underscore with space
|
146
|
+
course_name = course_name.gsub('_', ' ')
|
147
|
+
# Replace underscore with space, next digits & space with nothing & Capitalize
|
148
|
+
module_name = module_name.gsub('_', ' ').gsub(/^\d{1,2}\s/, '').capitalize
|
150
149
|
|
151
|
-
|
152
|
-
|
153
|
-
:module_name => module_name,
|
154
|
-
:image_path => bg_image_path }
|
155
|
-
res = template.render(Object.new, parameters)
|
150
|
+
Hyla.logger.debug "Module name : " + module_name
|
151
|
+
Hyla.logger.info "Curent directory : #{Dir.pwd}"
|
156
152
|
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
153
|
+
# Use slim template & render the HTML
|
154
|
+
parameters = {:course_name => course_name,
|
155
|
+
:module_name => module_name,
|
156
|
+
:image_path => bg_image_path }
|
157
|
+
res = template.render(Object.new, parameters)
|
158
|
+
#
|
159
|
+
# Create the cover file and do the rendering of the image
|
160
|
+
#
|
161
|
+
Dir.chdir(out_dir) do
|
162
|
+
out_file = File.new(file_name, 'w')
|
163
|
+
out_file.puts res
|
164
|
+
out_file.puts "\n"
|
166
165
|
|
167
|
-
|
168
|
-
|
166
|
+
# Do the Rendering Image
|
167
|
+
kit = IMGKit.new(res, quality: 100, width: 1280, height: 800)
|
169
168
|
|
170
|
-
|
171
|
-
|
169
|
+
kit.to_img(:png)
|
170
|
+
kit.to_file(image_name)
|
171
|
+
end
|
172
|
+
|
173
|
+
when 'wkhtmltopdf'
|
174
|
+
|
172
175
|
end
|
173
176
|
|
174
177
|
end
|
data/lib/hyla/configuration.rb
CHANGED
@@ -273,7 +273,9 @@ module Hyla
|
|
273
273
|
|
274
274
|
BACKENDS = '../../lib/resources/backends'
|
275
275
|
|
276
|
-
COVER_TEMPLATE = '../../lib/resources/assets/cover/
|
276
|
+
COVER_TEMPLATE = '../../lib/resources/assets/cover/cover.slim'
|
277
|
+
|
278
|
+
NEW_COVER_TEMPLATE = '../../lib/resources/assets/cover/new_cover.slim'
|
277
279
|
|
278
280
|
ASSESSMENT_TXT = File.open(self.templates + '/course/assessment.txt','r').read
|
279
281
|
|
data/lib/hyla/project.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
module Hyla
|
2
|
-
VERSION = '1.0.7.pre.
|
2
|
+
VERSION = '1.0.7.pre.5'
|
3
3
|
DESCRIPTION = 'Asciidoctor Hyla - Command Line tool to create new project, watch modifications, generate content, publish or consult it live !'
|
4
4
|
SUMMARY = 'Asciidoctor Hyla - builder/generator of HTML5, slideshow. Watch modifications, generate content, publish or consult it live !'
|
5
5
|
end
|
@@ -1,60 +1,91 @@
|
|
1
1
|
/* $debug-configuration: true; */
|
2
|
-
@font-face {
|
3
|
-
font-family: 'Overpass';
|
4
|
-
src: local("Overpass"), url("../../lib/font/overpass/overpass_regular-web.eot?#iefix") format("eot"), url("../../lib/font/overpass/overpass_regular-web.woff") format("woff"), url("../../lib/font/overpass/overpass_regular-web.ttf") format("truetype"), url("../../lib/font/overpass/overpass_regular-web.svg#webfontLTZe4IYH") format("svg");
|
5
|
-
font-weight: normal;
|
6
|
-
font-style: normal;
|
7
|
-
}
|
8
|
-
@font-face {
|
9
|
-
font-family: 'Overpass';
|
10
|
-
src: local("Overpass Bold"), local("OverpassBold"), url("../../lib/font/overpass/overpass_bold-web.eot?#iefix") format("eot"), url("../../lib/font/overpass/overpass_bold-web.woff") format("woff"), url("../../lib/font/overpass/overpass_bold-web.ttf") format("truetype"), url("../../lib/font/overpass/overpass_bold-web.svg#webfontzAU82Ltw") format("svg");
|
11
|
-
font-weight: bold;
|
12
|
-
font-style: normal;
|
13
|
-
}
|
14
|
-
@font-face {
|
15
|
-
font-family: 'Liberation Sans';
|
16
|
-
src: local("Liberation"), url("../../lib/font/liberation/Liberation-Regular-webfont.eot?#iefix") format("eot"), url("../../lib/font/liberation/Liberation-Regular-webfont.woff") format("woff"), url("../../lib/font/liberation/Liberation-Regular-webfont.ttf") format("truetype"), url("../../lib/font/liberation/Liberation-Regular-webfont.svg#webfontLTZe4IYH") format("svg");
|
17
|
-
font-weight: normal;
|
18
|
-
font-style: normal;
|
19
|
-
}
|
20
|
-
@font-face {
|
21
|
-
font-family: 'Liberation Sans';
|
22
|
-
src: local("Liberation Bold"), local("LiberationBold"), url("../../lib/font/liberation/Liberation-Bold-webfont.eot?#iefix") format("eot"), url("../../lib/font/liberation/Liberation-Bold-webfont.woff") format("woff"), url("../../lib/font/liberation/Liberation-Bold-webfont.ttf") format("truetype"), url("../../lib/font/liberation/Liberation-Bold-webfont.svg#webfontzAU82Ltw") format("svg");
|
23
|
-
font-weight: bold;
|
24
|
-
font-style: normal;
|
25
|
-
}
|
26
|
-
@font-face {
|
27
|
-
font-family: 'Liberation Sans';
|
28
|
-
src: local("Liberation Italic"), local("LiberationItalic"), url("../../lib/font/liberation/Liberation-Italic-webfont.eot?#iefix") format("eot"), url("../../lib/font/liberation/Liberation-Italic-webfont.woff") format("woff"), url("../../lib/font/liberation/Liberation-Italic-webfont.ttf") format("truetype"), url("../../lib/font/liberation/Liberation-Italic-webfont.svg#webfontzAU82Ltw") format("svg");
|
29
|
-
font-weight: normal;
|
30
|
-
font-style: italic;
|
31
|
-
}
|
32
|
-
@font-face {
|
33
|
-
font-family: 'Liberation Sans';
|
34
|
-
src: local("Liberation Bold Italic"), local("LiberationBoldItalic"), url("../../lib/font/liberation/Liberation-BoldItalic-webfont.eot?#iefix") format("eot"), url("../../lib/font/liberation/Liberation-BoldItalic-webfont.woff") format("woff"), url("../../lib/font/liberation/Liberation-BoldItalic-webfont.ttf") format("truetype"), url("../../lib/font/liberation/Liberation-BoldItalic-webfont.svg#webfontzAU82Ltw") format("svg");
|
35
|
-
font-weight: bold;
|
36
|
-
font-style: italic;
|
37
|
-
}
|
38
2
|
/*
|
39
3
|
* We dont import the css content of font-awesome hre
|
40
4
|
* as it will added to the HTML of the slideshow as a local/remote resource
|
41
5
|
* @import "font-awesome";
|
42
6
|
*/
|
43
|
-
|
44
|
-
|
7
|
+
/* $fonts: 'Overpass', 'Liberation Sans', 'Open Sans', sans-serif; */
|
8
|
+
/*********************************************
|
9
|
+
* GLOBAL STYLES
|
10
|
+
* Feb 24, ART: added a border to the body, attempting to see how the margin is being used.
|
11
|
+
* Feb 24, ART: added a border to the reveal section, attempting to see how the margin is being used.
|
12
|
+
*********************************************/
|
13
|
+
/* line 18, ../gpe2.scss */
|
45
14
|
body {
|
46
|
-
font-family: "
|
15
|
+
font-family: "Liberation Sans", "Overpass", "Open Sans", sans-serif;
|
16
|
+
}
|
17
|
+
|
18
|
+
/* line 22, ../gpe2.scss */
|
19
|
+
.reveal {
|
20
|
+
font-family: "Liberation Sans", "Overpass", "Open Sans", sans-serif;
|
21
|
+
font-size: 28px;
|
22
|
+
font-weight: normal;
|
23
|
+
letter-spacing: -0.02em;
|
24
|
+
color: black;
|
25
|
+
}
|
26
|
+
|
27
|
+
/* line 31, ../gpe2.scss */
|
28
|
+
::selection {
|
29
|
+
color: white;
|
30
|
+
background: rgba(0, 0, 0, 0.99);
|
31
|
+
text-shadow: none;
|
32
|
+
}
|
33
|
+
|
34
|
+
/*********************************************
|
35
|
+
* HEADERS
|
36
|
+
*********************************************/
|
37
|
+
/* line 40, ../gpe2.scss */
|
38
|
+
.reveal h1,
|
39
|
+
.reveal h2,
|
40
|
+
.reveal h3,
|
41
|
+
.reveal h4,
|
42
|
+
.reveal h5,
|
43
|
+
.reveal h6 {
|
44
|
+
margin: 0 0 20px 0;
|
45
|
+
color: #3E4349;
|
46
|
+
font-family: "Liberation Sans", "Overpass", "Open Sans", sans-serif;
|
47
|
+
line-height: 0.9em;
|
48
|
+
letter-spacing: 0.02em;
|
49
|
+
text-transform: none;
|
50
|
+
text-shadow: none;
|
51
|
+
}
|
52
|
+
|
53
|
+
/**************************************************************
|
54
|
+
* Change color of the cover slide using class sl-block-content
|
55
|
+
**************************************************************/
|
56
|
+
/* line 58, ../gpe2.scss */
|
57
|
+
.reveal .sl-block-content h1,
|
58
|
+
.reveal .sl-block-content h2,
|
59
|
+
.reveal .sl-block-content h3,
|
60
|
+
.reveal .sl-block-content h4,
|
61
|
+
.reveal .sl-block-content h5,
|
62
|
+
.reveal .sl-block-content h6 {
|
63
|
+
color: white;
|
47
64
|
}
|
48
65
|
|
49
|
-
|
50
|
-
*
|
51
|
-
* Add a fixed position for all the slides excepted
|
52
|
-
* the cover
|
66
|
+
/***************************************************
|
67
|
+
* Feb 26, ART: Font Size 2em and width: 900px added
|
53
68
|
**************************************************/
|
54
|
-
/* line
|
55
|
-
.reveal
|
56
|
-
|
57
|
-
|
69
|
+
/* line 70, ../gpe2.scss */
|
70
|
+
.reveal h1 {
|
71
|
+
text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
|
72
|
+
font-size: 2em;
|
73
|
+
width: 900px;
|
74
|
+
}
|
75
|
+
|
76
|
+
/* line 76, ../gpe2.scss */
|
77
|
+
.reveal h2 {
|
78
|
+
font-size: 2em;
|
79
|
+
}
|
80
|
+
|
81
|
+
/******************************************
|
82
|
+
* Fill screen to 100% & align text on left
|
83
|
+
* Feb 26, CHM : Add top: 370px to fill the screen to 100%
|
84
|
+
* Mar 24 3015, CHM : Remove top due to cutoff with safari, firefox
|
85
|
+
******************************************/
|
86
|
+
/* line 85, ../gpe2.scss */
|
87
|
+
.reveal .slides {
|
88
|
+
text-align: left;
|
58
89
|
}
|
59
90
|
|
60
91
|
/*********************************************
|
@@ -65,7 +96,7 @@ body {
|
|
65
96
|
* Mar 02, CHM: Increase height from 600 to 670px
|
66
97
|
* Mar 06, CHM: Change overflow from scroll to auto
|
67
98
|
*********************************************/
|
68
|
-
/* line
|
99
|
+
/* line 98, ../gpe2.scss */
|
69
100
|
.scrollbar {
|
70
101
|
border: 1px solid #eee;
|
71
102
|
height: 600px;
|
@@ -79,7 +110,7 @@ body {
|
|
79
110
|
* Add this tag [.cover] before the picture of the cover page
|
80
111
|
* Mar 04 2015, CHM: Initial
|
81
112
|
**************************************************************/
|
82
|
-
/* line
|
113
|
+
/* line 111, ../gpe2.scss */
|
83
114
|
.cover {
|
84
115
|
position: absolute;
|
85
116
|
top: 20px;
|
@@ -90,7 +121,7 @@ body {
|
|
90
121
|
* Corporate Logo Header Image
|
91
122
|
* Feb 26, CHM: Changed the height from 80px to 0px
|
92
123
|
*********************************************/
|
93
|
-
/* line
|
124
|
+
/* line 121, ../gpe2.scss */
|
94
125
|
.header {
|
95
126
|
position: absolute;
|
96
127
|
margin: 0 auto;
|
@@ -98,7 +129,7 @@ body {
|
|
98
129
|
right: 0;
|
99
130
|
top: 0;
|
100
131
|
height: 0px;
|
101
|
-
font-family: "
|
132
|
+
font-family: "Liberation Sans", "Overpass", "Open Sans", sans-serif;
|
102
133
|
font-size: 20px;
|
103
134
|
text-align: center;
|
104
135
|
}
|
@@ -107,27 +138,28 @@ body {
|
|
107
138
|
* Copyright Footer
|
108
139
|
* Feb 24, ART: Changed to footer height from 80 to 40
|
109
140
|
* Mar 13 2015, CHM : Add footer-cover to override the color for cover slide
|
141
|
+
* Mar 24 2015, CHM : Remove hard coded px and use percentages
|
110
142
|
******************************************************/
|
111
|
-
/* line
|
143
|
+
/* line 139, ../gpe2.scss */
|
112
144
|
.reveal .footer {
|
113
145
|
position: absolute;
|
114
146
|
margin: 0 auto;
|
115
147
|
left: 0;
|
116
148
|
right: 0;
|
117
|
-
bottom: -
|
149
|
+
bottom: -20%;
|
118
150
|
height: 80px;
|
119
|
-
font-family: "
|
151
|
+
font-family: "Liberation Sans", "Overpass", "Open Sans", sans-serif;
|
120
152
|
font-size: 14px;
|
121
153
|
text-align: center;
|
122
154
|
}
|
123
155
|
|
124
|
-
/* line
|
156
|
+
/* line 151, ../gpe2.scss */
|
125
157
|
.reveal .footer-cover {
|
126
158
|
position: absolute;
|
127
159
|
margin: 0 auto;
|
128
160
|
left: 0;
|
129
161
|
right: 0;
|
130
|
-
bottom:
|
162
|
+
bottom: -15%;
|
131
163
|
height: 80px;
|
132
164
|
font-family: "Overpass", "Liberation Sans", "Open Sans", sans-serif;
|
133
165
|
font-size: 14px;
|
@@ -135,102 +167,10 @@ body {
|
|
135
167
|
color: white;
|
136
168
|
}
|
137
169
|
|
138
|
-
/*********************************************
|
139
|
-
* GLOBAL STYLES
|
140
|
-
* Feb 24, ART: added a border to the body, attempting to see how the margin is being used.
|
141
|
-
* Feb 24, ART: added a border to the reveal section, attempting to see how the margin is being used.
|
142
|
-
*********************************************/
|
143
|
-
/* line 107, ../gpe2.scss */
|
144
|
-
body {
|
145
|
-
background: white;
|
146
|
-
background-color: white;
|
147
|
-
}
|
148
|
-
|
149
|
-
/* line 112, ../gpe2.scss */
|
150
|
-
.reveal {
|
151
|
-
font-family: "Overpass", "Liberation Sans", "Open Sans", sans-serif;
|
152
|
-
font-size: 28px;
|
153
|
-
font-weight: normal;
|
154
|
-
letter-spacing: -0.02em;
|
155
|
-
color: black;
|
156
|
-
}
|
157
|
-
|
158
|
-
/* line 121, ../gpe2.scss */
|
159
|
-
::selection {
|
160
|
-
color: white;
|
161
|
-
background: rgba(0, 0, 0, 0.99);
|
162
|
-
text-shadow: none;
|
163
|
-
}
|
164
|
-
|
165
|
-
/*********************************************
|
166
|
-
* TODO - To be verified if we use it or not
|
167
|
-
*******************************************/
|
168
|
-
/* line 130, ../gpe2.scss */
|
169
|
-
.reveal section {
|
170
|
-
text-align: left;
|
171
|
-
}
|
172
|
-
|
173
|
-
/******************************************
|
174
|
-
* Fill screen to 100% & align text on left
|
175
|
-
* Feb 26, CHM : Add top: 370px to fill the screen to 100%
|
176
|
-
******************************************/
|
177
|
-
/* line 138, ../gpe2.scss */
|
178
|
-
.reveal .slides {
|
179
|
-
text-align: left;
|
180
|
-
top: 370px;
|
181
|
-
}
|
182
|
-
|
183
|
-
/*********************************************
|
184
|
-
* HEADERS
|
185
|
-
*********************************************/
|
186
|
-
/* line 146, ../gpe2.scss */
|
187
|
-
.reveal h1,
|
188
|
-
.reveal h2,
|
189
|
-
.reveal h3,
|
190
|
-
.reveal h4,
|
191
|
-
.reveal h5,
|
192
|
-
.reveal h6 {
|
193
|
-
margin: 0 0 20px 0;
|
194
|
-
color: #3E4349;
|
195
|
-
font-family: "Overpass", "Liberation Sans", "Open Sans", sans-serif;
|
196
|
-
line-height: 0.9em;
|
197
|
-
letter-spacing: 0.02em;
|
198
|
-
text-transform: none;
|
199
|
-
text-shadow: none;
|
200
|
-
}
|
201
|
-
|
202
|
-
/**************************************************************
|
203
|
-
* Change color of the cover slide using class sl-block-content
|
204
|
-
**************************************************************/
|
205
|
-
/* line 164, ../gpe2.scss */
|
206
|
-
.reveal .sl-block-content h1,
|
207
|
-
.reveal .sl-block-content h2,
|
208
|
-
.reveal .sl-block-content h3,
|
209
|
-
.reveal .sl-block-content h4,
|
210
|
-
.reveal .sl-block-content h5,
|
211
|
-
.reveal .sl-block-content h6 {
|
212
|
-
color: white;
|
213
|
-
}
|
214
|
-
|
215
|
-
/***************************************************
|
216
|
-
* Feb 26, ART: Font Size 2em and width: 900px added
|
217
|
-
**************************************************/
|
218
|
-
/* line 176, ../gpe2.scss */
|
219
|
-
.reveal h1 {
|
220
|
-
text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
|
221
|
-
font-size: 2em;
|
222
|
-
width: 900px;
|
223
|
-
}
|
224
|
-
|
225
|
-
/* line 182, ../gpe2.scss */
|
226
|
-
.reveal h2 {
|
227
|
-
font-size: 2em;
|
228
|
-
}
|
229
|
-
|
230
170
|
/*********************************************
|
231
171
|
* LINKS
|
232
172
|
*********************************************/
|
233
|
-
/* line
|
173
|
+
/* line 167, ../gpe2.scss */
|
234
174
|
.reveal a:not(.image) {
|
235
175
|
color: #a70000;
|
236
176
|
text-decoration: none;
|
@@ -241,14 +181,14 @@ body {
|
|
241
181
|
transition: color .15s ease;
|
242
182
|
}
|
243
183
|
|
244
|
-
/* line
|
184
|
+
/* line 178, ../gpe2.scss */
|
245
185
|
.reveal a:not(.image):hover {
|
246
186
|
color: #a70000;
|
247
187
|
text-shadow: none;
|
248
188
|
border: none;
|
249
189
|
}
|
250
190
|
|
251
|
-
/* line
|
191
|
+
/* line 184, ../gpe2.scss */
|
252
192
|
.reveal .roll span:after {
|
253
193
|
color: #fff;
|
254
194
|
background: #a70000;
|
@@ -258,11 +198,9 @@ body {
|
|
258
198
|
* IMAGES
|
259
199
|
* Mar 13 2015, CHM : Remove the shadow box around the image
|
260
200
|
*********************************************/
|
261
|
-
/* line
|
201
|
+
/* line 193, ../gpe2.scss */
|
262
202
|
.reveal section img {
|
263
203
|
margin: 15px 0px;
|
264
|
-
/* background: rgba(255, 255, 255, 0.12);
|
265
|
-
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);*/
|
266
204
|
-webkit-transition: all .2s linear;
|
267
205
|
-moz-transition: all .2s linear;
|
268
206
|
-ms-transition: all .2s linear;
|
@@ -270,7 +208,7 @@ body {
|
|
270
208
|
transition: all .2s linear;
|
271
209
|
}
|
272
210
|
|
273
|
-
/* line
|
211
|
+
/* line 202, ../gpe2.scss */
|
274
212
|
.reveal a:hover img {
|
275
213
|
background: rgba(255, 255, 255, 0.2);
|
276
214
|
border-color: #a70000;
|
@@ -280,46 +218,46 @@ body {
|
|
280
218
|
/*********************************************
|
281
219
|
* NAVIGATION CONTROLS
|
282
220
|
*********************************************/
|
283
|
-
/* line
|
221
|
+
/* line 211, ../gpe2.scss */
|
284
222
|
.reveal .controls div.navigate-left,
|
285
223
|
.reveal .controls div.navigate-left.enabled {
|
286
224
|
border-right-color: #C1100C;
|
287
225
|
}
|
288
226
|
|
289
|
-
/* line
|
227
|
+
/* line 216, ../gpe2.scss */
|
290
228
|
.reveal .controls div.navigate-right,
|
291
229
|
.reveal .controls div.navigate-right.enabled {
|
292
230
|
border-left-color: #C1100C;
|
293
231
|
}
|
294
232
|
|
295
|
-
/* line
|
233
|
+
/* line 221, ../gpe2.scss */
|
296
234
|
.reveal .controls div.navigate-up,
|
297
235
|
.reveal .controls div.navigate-up.enabled {
|
298
236
|
border-bottom-color: #C1100C;
|
299
237
|
}
|
300
238
|
|
301
|
-
/* line
|
239
|
+
/* line 226, ../gpe2.scss */
|
302
240
|
.reveal .controls div.navigate-down,
|
303
241
|
.reveal .controls div.navigate-down.enabled {
|
304
242
|
border-top-color: #C1100C;
|
305
243
|
}
|
306
244
|
|
307
|
-
/* line
|
245
|
+
/* line 231, ../gpe2.scss */
|
308
246
|
.reveal .controls div.navigate-left.enabled:hover {
|
309
247
|
border-right-color: #ef6f16;
|
310
248
|
}
|
311
249
|
|
312
|
-
/* line
|
250
|
+
/* line 235, ../gpe2.scss */
|
313
251
|
.reveal .controls div.navigate-right.enabled:hover {
|
314
252
|
border-left-color: #ef6f16;
|
315
253
|
}
|
316
254
|
|
317
|
-
/* line
|
255
|
+
/* line 239, ../gpe2.scss */
|
318
256
|
.reveal .controls div.navigate-up.enabled:hover {
|
319
257
|
border-bottom-color: #ef6f16;
|
320
258
|
}
|
321
259
|
|
322
|
-
/* line
|
260
|
+
/* line 243, ../gpe2.scss */
|
323
261
|
.reveal .controls div.navigate-down.enabled:hover {
|
324
262
|
border-top-color: #ef6f16;
|
325
263
|
}
|
@@ -327,12 +265,12 @@ body {
|
|
327
265
|
/*********************************************
|
328
266
|
* PROGRESS BAR
|
329
267
|
*********************************************/
|
330
|
-
/* line
|
268
|
+
/* line 250, ../gpe2.scss */
|
331
269
|
.reveal .progress {
|
332
270
|
background: rgba(0, 0, 0, 0.2);
|
333
271
|
}
|
334
272
|
|
335
|
-
/* line
|
273
|
+
/* line 254, ../gpe2.scss */
|
336
274
|
.reveal .progress span {
|
337
275
|
background: #a70000;
|
338
276
|
-webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
@@ -345,7 +283,7 @@ body {
|
|
345
283
|
/*********************************************
|
346
284
|
* SLIDE NUMBER
|
347
285
|
*********************************************/
|
348
|
-
/* line
|
286
|
+
/* line 266, ../gpe2.scss */
|
349
287
|
.reveal .slide-number {
|
350
288
|
color: darkblue;
|
351
289
|
}
|
@@ -358,28 +296,28 @@ body {
|
|
358
296
|
* Mar 13 2015, CHM: Change color to black and revert square, disc & circle
|
359
297
|
*********************************************************************************/
|
360
298
|
/* line 287, ../gpe.scss */
|
361
|
-
/* line
|
299
|
+
/* line 278, ../gpe2.scss */
|
362
300
|
.reveal ul li p, ul li li p, ul li li p {
|
363
301
|
color: black;
|
364
302
|
list-style: none;
|
365
303
|
}
|
366
304
|
|
367
305
|
/* line 293, ../gpe.scss */
|
368
|
-
/* line
|
306
|
+
/* line 284, ../gpe2.scss */
|
369
307
|
.reveal ul li {
|
370
308
|
list-style-type: disc;
|
371
309
|
color: black;
|
372
310
|
}
|
373
311
|
|
374
312
|
/* line 298, ../gpe.scss */
|
375
|
-
/* line
|
313
|
+
/* line 290, ../gpe2.scss */
|
376
314
|
.reveal ul li li {
|
377
315
|
list-style-type: square;
|
378
316
|
color: black;
|
379
317
|
}
|
380
318
|
|
381
319
|
/* line 303, ../gpe.scss */
|
382
|
-
/* line
|
320
|
+
/* line 296, ../gpe2.scss */
|
383
321
|
.reveal ul li li li {
|
384
322
|
list-style-type: circle;
|
385
323
|
color: black;
|
@@ -390,7 +328,7 @@ body {
|
|
390
328
|
* Font Awesome icons for NOTE, WARNING, REMARK, ....
|
391
329
|
* Feb, CHM: Added
|
392
330
|
*******************************************************************/
|
393
|
-
/* line
|
331
|
+
/* line 306, ../gpe2.scss */
|
394
332
|
.reveal i.fa {
|
395
333
|
font-family: 'FontAwesome';
|
396
334
|
font-style: normal;
|
@@ -401,7 +339,7 @@ body {
|
|
401
339
|
* Support asciidoctor callout
|
402
340
|
* Feb 27, CHM: Added
|
403
341
|
*********************************************/
|
404
|
-
/* line
|
342
|
+
/* line 316, ../gpe2.scss */
|
405
343
|
.reveal i.conum {
|
406
344
|
display: inline-block;
|
407
345
|
color: white !important;
|
@@ -420,22 +358,22 @@ body {
|
|
420
358
|
letter-spacing: -2px;
|
421
359
|
}
|
422
360
|
|
423
|
-
/* line
|
361
|
+
/* line 334, ../gpe2.scss */
|
424
362
|
.reveal i.conum * {
|
425
363
|
color: white !important;
|
426
364
|
}
|
427
365
|
|
428
|
-
/* line
|
366
|
+
/* line 338, ../gpe2.scss */
|
429
367
|
.reveal i.conum + b {
|
430
368
|
display: none;
|
431
369
|
}
|
432
370
|
|
433
|
-
/* line
|
371
|
+
/* line 342, ../gpe2.scss */
|
434
372
|
.reveal i.conum:after {
|
435
373
|
content: attr(data-value);
|
436
374
|
}
|
437
375
|
|
438
|
-
/* line
|
376
|
+
/* line 346, ../gpe2.scss */
|
439
377
|
.reveal i.conum:not([data-value]):empty {
|
440
378
|
display: none;
|
441
379
|
}
|
@@ -447,7 +385,7 @@ body {
|
|
447
385
|
* Mar 03, CHM: Improve style to be compliant with Redhat styles
|
448
386
|
* Mar 06, CHM: Add a noredheader class to avoid to display the first line in red of a table containing images, ..
|
449
387
|
******************************************************/
|
450
|
-
/* line
|
388
|
+
/* line 357, ../gpe2.scss */
|
451
389
|
table.tableblock, table.tableblock td {
|
452
390
|
border-style: solid;
|
453
391
|
border-color: #b7bcbe;
|
@@ -457,7 +395,7 @@ table.tableblock, table.tableblock td {
|
|
457
395
|
padding: 5px;
|
458
396
|
}
|
459
397
|
|
460
|
-
/* line
|
398
|
+
/* line 366, ../gpe2.scss */
|
461
399
|
table.tableblock > caption {
|
462
400
|
line-height: 1.4;
|
463
401
|
color: #333333;
|
@@ -469,7 +407,7 @@ table.tableblock > caption {
|
|
469
407
|
display: table-caption;
|
470
408
|
}
|
471
409
|
|
472
|
-
/* line
|
410
|
+
/* line 377, ../gpe2.scss */
|
473
411
|
table.tableblock:not(.noredheader) tr:first-child td {
|
474
412
|
background-color: #a70000;
|
475
413
|
text-align: left;
|
@@ -478,47 +416,47 @@ table.tableblock:not(.noredheader) tr:first-child td {
|
|
478
416
|
font-size: 24px;
|
479
417
|
}
|
480
418
|
|
481
|
-
/* line
|
419
|
+
/* line 385, ../gpe2.scss */
|
482
420
|
table.tableblock.noredheader tr:first-child td {
|
483
421
|
background-color: #EEEEEE;
|
484
422
|
}
|
485
423
|
|
486
|
-
/* line
|
424
|
+
/* line 389, ../gpe2.scss */
|
487
425
|
table.tableblock tr:nth-child(even) {
|
488
426
|
background: white;
|
489
427
|
}
|
490
428
|
|
491
|
-
/* line
|
429
|
+
/* line 393, ../gpe2.scss */
|
492
430
|
table.tableblock tr:nth-child(odd) {
|
493
431
|
background: #eeeeee;
|
494
432
|
}
|
495
433
|
|
496
|
-
/* line
|
434
|
+
/* line 397, ../gpe2.scss */
|
497
435
|
th.tableblock.halign-left, td.tableblock.halign-left {
|
498
436
|
text-align: left;
|
499
437
|
}
|
500
438
|
|
501
|
-
/* line
|
439
|
+
/* line 401, ../gpe2.scss */
|
502
440
|
th.tableblock.halign-right, td.tableblock.halign-right {
|
503
441
|
text-align: right;
|
504
442
|
}
|
505
443
|
|
506
|
-
/* line
|
444
|
+
/* line 405, ../gpe2.scss */
|
507
445
|
th.tableblock.halign-center, td.tableblock.halign-center {
|
508
446
|
text-align: center;
|
509
447
|
}
|
510
448
|
|
511
|
-
/* line
|
449
|
+
/* line 409, ../gpe2.scss */
|
512
450
|
th.tableblock.valign-top, td.tableblock.valign-top {
|
513
451
|
vertical-align: top;
|
514
452
|
}
|
515
453
|
|
516
|
-
/* line
|
454
|
+
/* line 413, ../gpe2.scss */
|
517
455
|
th.tableblock.valign-bottom, td.tableblock.valign-bottom {
|
518
456
|
vertical-align: bottom;
|
519
457
|
}
|
520
458
|
|
521
|
-
/* line
|
459
|
+
/* line 417, ../gpe2.scss */
|
522
460
|
th.tableblock.valign-middle, td.tableblock.valign-middle {
|
523
461
|
vertical-align: middle;
|
524
462
|
}
|
@@ -528,7 +466,7 @@ th.tableblock.valign-middle, td.tableblock.valign-middle {
|
|
528
466
|
* Here is a trick to support that <strong>text</strong> enclosed in <li> tag & color
|
529
467
|
* Feb 27, CHM: Added
|
530
468
|
**************************************************************/
|
531
|
-
/* line
|
469
|
+
/* line 426, ../gpe2.scss */
|
532
470
|
li strong {
|
533
471
|
color: #a70000;
|
534
472
|
font-weight: bold;
|
@@ -538,12 +476,12 @@ li strong {
|
|
538
476
|
* Override Revealjs Pre class
|
539
477
|
* Mar 04 2015, CHM : Change width from 90% to 100% and margin to reduce size of the box hightlighted
|
540
478
|
*************************************************************/
|
541
|
-
/* line
|
479
|
+
/* line 435, ../gpe2.scss */
|
542
480
|
.reveal pre {
|
543
481
|
width: 100%;
|
544
482
|
}
|
545
483
|
|
546
|
-
/* line
|
484
|
+
/* line 439, ../gpe2.scss */
|
547
485
|
.listingblock .content {
|
548
486
|
margin-right: 50px;
|
549
487
|
padding-right: 50px;
|
@@ -554,42 +492,42 @@ li strong {
|
|
554
492
|
* Mar 06 2015, CHM : Numbers displayed were cut
|
555
493
|
* Mar 16 2015, CHM : Change margin left for font overlap otherwise it is cut
|
556
494
|
****************/
|
557
|
-
/* line
|
495
|
+
/* line 449, ../gpe2.scss */
|
558
496
|
.reveal ol {
|
559
497
|
margin-left: 50px;
|
560
498
|
}
|
561
499
|
|
562
|
-
/* line
|
500
|
+
/* line 453, ../gpe2.scss */
|
563
501
|
ol.arabic {
|
564
502
|
list-style-type: decimal;
|
565
503
|
}
|
566
504
|
|
567
|
-
/* line
|
505
|
+
/* line 457, ../gpe2.scss */
|
568
506
|
ol.decimal {
|
569
507
|
list-style-type: decimal-leading-zero;
|
570
508
|
}
|
571
509
|
|
572
|
-
/* line
|
510
|
+
/* line 461, ../gpe2.scss */
|
573
511
|
ol.loweralpha {
|
574
512
|
list-style-type: lower-alpha;
|
575
513
|
}
|
576
514
|
|
577
|
-
/* line
|
515
|
+
/* line 465, ../gpe2.scss */
|
578
516
|
ol.upperalpha {
|
579
517
|
list-style-type: upper-alpha;
|
580
518
|
}
|
581
519
|
|
582
|
-
/* line
|
520
|
+
/* line 469, ../gpe2.scss */
|
583
521
|
ol.lowerroman {
|
584
522
|
list-style-type: lower-roman;
|
585
523
|
}
|
586
524
|
|
587
|
-
/* line
|
525
|
+
/* line 473, ../gpe2.scss */
|
588
526
|
ol.upperroman {
|
589
527
|
list-style-type: upper-roman;
|
590
528
|
}
|
591
529
|
|
592
|
-
/* line
|
530
|
+
/* line 477, ../gpe2.scss */
|
593
531
|
ol.lowergreek {
|
594
532
|
list-style-type: lower-greek;
|
595
533
|
}
|
@@ -599,13 +537,13 @@ ol.lowergreek {
|
|
599
537
|
*
|
600
538
|
* Mar 03, CHM: Added
|
601
539
|
**************************************************************/
|
602
|
-
/* line
|
540
|
+
/* line 486, ../gpe2.scss */
|
603
541
|
.admonitionblock td.content > .title, .exampleblock > .title, .imageblock > .title, .listingblock > .title, .literalblock > .title, .mathblock > .title, .openblock > .title, .paragraph > .title, .quoteblock > .title, .sidebarblock > .title, .tableblock > .title, .verseblock > .title, .videoblock > .title, .dlist > .title, .olist > .title, .ulist > .title, .qlist > .title, .hdlist > .title {
|
604
542
|
text-align: left;
|
605
543
|
font-weight: bold;
|
606
544
|
}
|
607
545
|
|
608
|
-
/* line
|
546
|
+
/* line 491, ../gpe2.scss */
|
609
547
|
.admonitionblock > table {
|
610
548
|
border: 0;
|
611
549
|
background: none;
|
@@ -613,24 +551,24 @@ ol.lowergreek {
|
|
613
551
|
padding: 5px 0px;
|
614
552
|
}
|
615
553
|
|
616
|
-
/* line
|
554
|
+
/* line 498, ../gpe2.scss */
|
617
555
|
.admonitionblock > table td.icon {
|
618
556
|
text-align: center;
|
619
557
|
width: 80px;
|
620
558
|
}
|
621
559
|
|
622
|
-
/* line
|
560
|
+
/* line 503, ../gpe2.scss */
|
623
561
|
.admonitionblock > table td.icon img {
|
624
562
|
max-width: none;
|
625
563
|
}
|
626
564
|
|
627
|
-
/* line
|
565
|
+
/* line 507, ../gpe2.scss */
|
628
566
|
.admonitionblock > table td.icon .title {
|
629
567
|
font-weight: bold;
|
630
568
|
text-transform: uppercase;
|
631
569
|
}
|
632
570
|
|
633
|
-
/* line
|
571
|
+
/* line 512, ../gpe2.scss */
|
634
572
|
.admonitionblock > table td.content {
|
635
573
|
padding-left: 1.125em;
|
636
574
|
padding-right: 1.25em;
|
@@ -641,22 +579,22 @@ ol.lowergreek {
|
|
641
579
|
}
|
642
580
|
|
643
581
|
/* Override the color for the list */
|
644
|
-
/* line
|
582
|
+
/* line 522, ../gpe2.scss */
|
645
583
|
.admonitionblock > table td.content ul li, .admonitionblock > table td.content ol li, .admonitionblock > table td.content ol p, .admonitionblock > table td.content ul p {
|
646
584
|
color: #6f6f6f;
|
647
585
|
}
|
648
586
|
|
649
|
-
/* line
|
587
|
+
/* line 526, ../gpe2.scss */
|
650
588
|
.admonitionblock > table td.content > :last-child > :last-child {
|
651
589
|
margin-bottom: 0;
|
652
590
|
}
|
653
591
|
|
654
|
-
/* line
|
592
|
+
/* line 530, ../gpe2.scss */
|
655
593
|
.admonitionblock > table td.icon {
|
656
594
|
vertical-align: middle;
|
657
595
|
}
|
658
596
|
|
659
|
-
/* line
|
597
|
+
/* line 534, ../gpe2.scss */
|
660
598
|
.admonitionblock td.icon [class^="icon-"]:before {
|
661
599
|
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
|
662
600
|
cursor: default;
|
@@ -671,14 +609,14 @@ ol.lowergreek {
|
|
671
609
|
top: 5px;
|
672
610
|
}
|
673
611
|
|
674
|
-
/* line
|
612
|
+
/* line 548, ../gpe2.scss */
|
675
613
|
.admonitionblock td.icon .icon-note:before {
|
676
614
|
content: "\f05a";
|
677
615
|
color: #005498;
|
678
616
|
color: #003f72;
|
679
617
|
}
|
680
618
|
|
681
|
-
/* line
|
619
|
+
/* line 554, ../gpe2.scss */
|
682
620
|
.admonitionblock td.icon .icon-tip:before {
|
683
621
|
content: "\f0eb";
|
684
622
|
text-shadow: 1px 1px 2px rgba(155, 155, 0, 0.8);
|
@@ -686,20 +624,44 @@ ol.lowergreek {
|
|
686
624
|
}
|
687
625
|
|
688
626
|
/* Use a more yellow lighter color */
|
689
|
-
/* line
|
627
|
+
/* line 561, ../gpe2.scss */
|
690
628
|
.admonitionblock td.icon .icon-warning:before {
|
691
629
|
content: "\f071";
|
692
630
|
color: #EFEF0C;
|
693
631
|
}
|
694
632
|
|
695
|
-
/* line
|
633
|
+
/* line 566, ../gpe2.scss */
|
696
634
|
.admonitionblock td.icon .icon-caution:before {
|
697
635
|
content: "\f06d";
|
698
636
|
color: #bf3400;
|
699
637
|
}
|
700
638
|
|
701
|
-
/* line
|
639
|
+
/* line 571, ../gpe2.scss */
|
702
640
|
.admonitionblock td.icon .icon-important:before {
|
703
641
|
content: "\f06a";
|
704
642
|
color: #bf0000;
|
705
643
|
}
|
644
|
+
|
645
|
+
/**************************************************************
|
646
|
+
* Audio, pre tag, ...
|
647
|
+
* Mar 23 2015, CHM: Added
|
648
|
+
**************************************************************/
|
649
|
+
/* line 580, ../gpe2.scss */
|
650
|
+
.reveal .audioblock {
|
651
|
+
padding: 15px 0px;
|
652
|
+
}
|
653
|
+
|
654
|
+
/* line 583, ../gpe2.scss */
|
655
|
+
.reveal p, .reveal ol, .reveal ul, .reveal table, .reveal .colist td {
|
656
|
+
font-size: 0.85em;
|
657
|
+
}
|
658
|
+
|
659
|
+
/* line 586, ../gpe2.scss */
|
660
|
+
.reveal pre {
|
661
|
+
font-size: 0.7em;
|
662
|
+
}
|
663
|
+
|
664
|
+
/* line 589, ../gpe2.scss */
|
665
|
+
.reveal .listingblock {
|
666
|
+
padding-bottom: 10px;
|
667
|
+
}
|