hyla 1.0.4 → 1.0.5.pre.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YmRkYTZmMjQ5NjFkMzQ2YThiZGYxMzdiYmNlZmY0OGVlMzVlN2Y3Yg==
4
+ Y2M5ODkzOWM4YTcxNTQ4MDUwZGQ2ZDNmMWU5YTg2MDViYzUwNWY1OA==
5
5
  data.tar.gz: !binary |-
6
- YzQyYTc0ZjQwZWJkNTYxNmQyODBlNDlmYWMzMzk1YzNmMDY3NzFmZQ==
6
+ YjQzZWQwZTRlYzE2MWM2MGJjM2ExNzBjNjcxODEyZGVmMTU5YzQ2Yw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZDMzNTQ1Y2I3OGJlNGY2OGQ5OGU4MTgxYzdkODQ1ZGJkOTBmNTk5YzMyMjkz
10
- N2FkMTAyMThmMDczMGE0NGNlMjdhODc1YjE0ZjY1ZGJkN2ZkYWM3ZjY1NmM0
11
- MjBmMjQ2MzRhZjNhMGQxMGE1ZWE1YWVkMWVhMTAxOTg5NGFkOWQ=
9
+ YzE0OGIwNDZlYzc0OWZjMDA1Y2ZjNWE0ODIwZmYzNWZhZmJkMGFmZTg4MjJh
10
+ YzliZjY0YjQzY2EzZmE4NjAxODk4YjdkN2JiNWNjZTNkMWI4NDUyNThiY2Y1
11
+ NzgyYzg5Mjg0N2VlMDY2ZTZmYzA1ZTAwMzZhOWYyMmZlZmFiMWU=
12
12
  data.tar.gz: !binary |-
13
- MzIxMzE1ODc1MjE0YTI2NGFmMmI4MzE3ZDdkY2Q3ZDYyMmM3ZThkZjFjMWI1
14
- YWIxYTc5ZTg4M2ExNmFlYWIzYWFjNmEwZWU4MGY0NTFmYzUyNzRmNmE3MTdi
15
- YzgyMjFhOWJmZjVmZTY4YTQ0NzBiNTlmYWQyNmJkYzU5ZTY2MzQ=
13
+ YWQwNDNlOTMyYWYxMGYzYTE1OWNkNzU0OThkM2EwMGJiZDA3ODkyY2VlNTQw
14
+ OWM1MWRlYmUyYzgyY2E0MWRmNTkwYjRiNzMwZGNkN2U2OGExYzRkNWI3MmYx
15
+ OTg5ZDJiYTZjOWFiZjBkZjc4ZmIwNjRlZTVjY2IwYmRiNTZjYzM=
@@ -73,12 +73,12 @@ And then execute:
73
73
 
74
74
  Clone Git project locally, move to Hyla directory and execute the following commands
75
75
  gem build hyla.gemspec
76
- sudo gem install hyla-1.0.x.gem
76
+ sudo gem install hyla-1.0.x.gem -l
77
77
 
78
78
  == To publish Hyla to Gem Repo
79
79
 
80
80
  gem build hyla.gemspec
81
- gem install hyla-1.0.x.gem
81
+ gem install hyla-1.0.x.gem -l
82
82
  gem yank hyla -v 1.0.x
83
83
  gem push hyla-1.0.x.gem
84
84
 
data/bin/hyla CHANGED
@@ -77,6 +77,11 @@ command :generate do |c|
77
77
  c.option '--t', '--toc [PATH]', String, 'File Path of the asciidoc file containing the Table of Content'
78
78
  c.option '-y', '--style [STYLE]', String, 'Stylesheet theme to be applied : asciidoctor, liberation, github, colony, foundation, ...'
79
79
  c.option '-a', '--attributes [KEY=VALUE,KEY=VALUE]', String, 'Asciidoctor attributes'
80
+ c.option '-o','--cover_image [PNG FILE NAME]', String, 'Name of the cover png image file generated'
81
+ c.option '-n','--course_name [COURSE NAME]', String, 'Name of the course'
82
+ c.option '-l','--cover_file [HTML FILE NAME]', String, 'Name of the cover html image file generated'
83
+ c.option '-m','--module_name [MODULE NAME]', String, 'Name of the module'
84
+ c.option '-i','--image_path [BACKGROUND IMAGE]', String, 'Location of the file used as background'
80
85
 
81
86
  add_common_options(c)
82
87
  add_build_options(c)
@@ -82,12 +82,12 @@ where _version_ should be 1.0.2, 1.0.x
82
82
 
83
83
  Clone Git project locally, move to Hyla directory and execute the following commands
84
84
  gem build hyla.gemspec
85
- gem install hyla-1.0.x
85
+ gem install hyla-1.0.x -l
86
86
 
87
87
  == To publish Hyla to Gem Repo
88
88
 
89
89
  gem build hyla.gemspec
90
- gem install hyla-1.0.x.gem
90
+ gem install hyla-1.0.x.gem -l
91
91
  gem push hyla-1.0.x.gem
92
92
 
93
93
  == Usage
@@ -20,22 +20,31 @@ Gem::Specification.new do |s|
20
20
 
21
21
  s.add_development_dependency 'bundler', '~> 1.3'
22
22
  s.add_development_dependency 'rake', '~> 10.1'
23
- s.add_development_dependency 'rdoc', '~> 3.11'
24
23
 
25
24
  # Ruby command-line executables
26
- s.add_runtime_dependency 'commander', '~> 4.1', '>= 4.1.3'
27
25
  s.add_runtime_dependency 'asciidoctor', '~> 0.1', '>= 0.1.4'
26
+ s.add_runtime_dependency 'coderay', '~> 1.1', '>= 1.1.0'
27
+ s.add_runtime_dependency 'commander', '~> 4.1', '~> 4.1.5'
28
28
  s.add_runtime_dependency 'em-websocket', '~> 0.5'
29
- s.add_runtime_dependency 'multi_json', '~> 1.8', '>= 1.8.4'
30
- s.add_runtime_dependency 'tilt', '~> 1.4', '>= 1.4.1'
31
- s.add_runtime_dependency 'haml', '~> 4.0', '>= 4.0.4'
32
- s.add_runtime_dependency 'slim', '~> 2.0', '>= 2.0.2'
29
+ s.add_runtime_dependency 'eventmachine', '~> 1.0', '>= 1.0.3'
30
+ s.add_runtime_dependency 'ffi', '~> 1.9', '>= 1.9.3'
33
31
  s.add_runtime_dependency 'guard', '~> 1.8', '>= 1.8.3'
32
+ s.add_runtime_dependency 'imgkit', '~> 1.4', '>= 1.4.0'
33
+ s.add_runtime_dependency 'haml', '~> 4.0', '>= 4.0.5'
34
+ s.add_runtime_dependency 'highline', '~> 1.6', '>= 1.6.20'
34
35
  s.add_runtime_dependency 'listen', '~> 1.3', '>= 1.3.1'
35
- s.add_runtime_dependency 'safe_yaml', '~> 1.0', '>= 1.0.0'
36
+ s.add_runtime_dependency 'lumberjack', '~> 1.0', '>= 1.0.4'
36
37
  s.add_runtime_dependency 'mail', '~> 2.5', '>= 2.5.4'
37
- s.add_runtime_dependency 'wkhtmltopdf-binary', '~> 0.1', '>= 0.1.2'
38
- s.add_runtime_dependency 'imgkit', '~> 1.0', '>= 1.0.3'
38
+ s.add_runtime_dependency 'multi_json', '~> 1.8', '>= 1.8.4'
39
+ s.add_runtime_dependency 'rdoc', '~> 3.12', '>= 3.12.2'
40
+ s.add_runtime_dependency 'pry', '~> 0.9', '>= 0.9.12.6'
41
+ s.add_runtime_dependency 'safe_yaml', '~> 1.0', '>= 1.0.0'
42
+ s.add_runtime_dependency 'slim', '~> 2.0', '>= 2.0.2'
43
+ s.add_runtime_dependency 'slop', '= 3.5.0'
44
+ s.add_runtime_dependency 'temple', '= 0.6.7'
45
+ s.add_runtime_dependency 'tilt', '~> 1.4', '>= 1.4.1'
46
+ s.add_runtime_dependency 'thor', '= 0.18.1'
47
+ s.add_runtime_dependency 'wkhtmltopdf-binary', '~> 0.9', '>= 0.9.9.1'
39
48
 
40
49
  # Colorize Text Terminal
41
50
  s.add_runtime_dependency 'colorator', '~> 0.1'
@@ -195,7 +195,9 @@ module Hyla
195
195
  FileUtils.mkdir_p html_dir
196
196
 
197
197
  # Copy Fonts
198
- self.cp_resources_to_dir(File.dirname(html_dir), 'fonts')
198
+ # TODO : Verify if we still needed as the FONTS liberation have been moved
199
+ # TODO : under local lib directory of revealjs
200
+ # self.cp_resources_to_dir(File.dirname(html_dir), 'fonts')
199
201
 
200
202
  # Copy Resources for Slideshow
201
203
  case options[:backend]
@@ -66,6 +66,7 @@ module Hyla
66
66
 
67
67
  html_part = Mail::Part.new do
68
68
  content_type 'text/html; charset=UTF-8'
69
+ content_transfer_encoding 'quoted-printable'
69
70
  body inline_html
70
71
  end
71
72
 
@@ -1,5 +1,5 @@
1
1
  module Hyla
2
- VERSION = '1.0.4'
2
+ VERSION = '1.0.5.pre.1'
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
@@ -37,7 +37,7 @@ html lang=(attr :lang, 'en' unless attr? :nolang)
37
37
  - else
38
38
  style=Asciidoctor::HTML5.pygments_stylesheet(attr 'pygments-style')
39
39
  - when 'highlightjs'
40
- link rel='stylesheet' href="#{attr :highlightjsdir, 'http://cdnjs.cloudflare.com/ajax/libs/highlight.js/7.3'}/styles/#{attr 'highlightjs-theme', 'default'}.min.css"
40
+ link rel='stylesheet' href="#{attr :highlightjsdir, 'http://cdnjs.cloudflare.com/ajax/libs/highlight.js/7.3'}/styles/#{attr 'highlightjs-theme', 'googlecode'}.min.css"
41
41
  script src="#{attr :highlightjsdir, 'http://cdnjs.cloudflare.com/ajax/libs/highlight.js/7.3'}/highlight.min.js"
42
42
  script hljs.initHighlightingOnLoad()
43
43
  - when 'prettify'
@@ -1,3 +1,6 @@
1
+ - slide_vertical_alignment = (attr? :revealjs_vertical_alignment) ? (attr :revealjs_vertical_alignment) : true
2
+ - browser_history = (attr? :revealjs_history) ? (attr :revealjs_history) : true
3
+ - display_slide_number = (attr? :revealjs_display_slide_number) ? (attr :revealjs_display_slide_number) : false
1
4
  doctype 5
2
5
  html lang=(attr :lang, 'en' unless attr? :nolang)
3
6
  head
@@ -7,9 +10,9 @@ html lang=(attr :lang, 'en' unless attr? :nolang)
7
10
  meta name=key content=(attr key)
8
11
 
9
12
  title=((doctitle :sanitize => true) || (attr 'untitled-label'))
10
- meta content="yes" name="apple-mobile-web-app-capable"
11
- meta content="black-translucent" name="apple-mobile-web-app-status-bar-style"
12
- meta content="width=(device-width, initial-scale=1.0, maximum-scale=1.0,)user-scalable=no" name="viewport"
13
+ meta name="apple-mobile-web-app-capable" content="yes"
14
+ meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"
15
+ meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
13
16
 
14
17
  link href="revealjs/css/reveal.min.css" rel="stylesheet"
15
18
 
@@ -18,11 +21,46 @@ html lang=(attr :lang, 'en' unless attr? :nolang)
18
21
  - else
19
22
  link rel='stylesheet' href='revealjs/css/theme/gpe.css' id='theme'
20
23
 
24
+ - if attr? :icons, 'font'
25
+ - if !(attr 'iconfont-remote', '').nil?
26
+ link rel='stylesheet' href=(attr 'iconfont-cdn', 'http://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css')
27
+ - else
28
+ link rel='stylesheet' href=normalize_web_path("#{attr 'iconfont-name', 'font-awesome'}.css", (attr :stylesdir, ''))
29
+
21
30
  // For syntax highlighting
22
31
  link href="revealjs/lib/css/zenburn.css" rel="stylesheet"
32
+
33
+ - case attr 'source-highlighter'
34
+ - when 'coderay'
35
+ - if (attr 'coderay-css', 'class') == 'class'
36
+ - if @safe >= Asciidoctor::SafeMode::SECURE || (attr? :linkcss)
37
+ link rel='stylesheet' href=normalize_web_path('asciidoctor-coderay.css', (attr :stylesdir, ''))
38
+ - else
39
+ style=Asciidoctor::HTML5.default_coderay_stylesheet
40
+ - when 'pygments'
41
+ - if (attr 'pygments-css', 'class') == 'class'
42
+ - if @safe >= Asciidoctor::SafeMode::SECURE || (attr? :linkcss)
43
+ link rel='stylesheet' href=normalize_web_path('asciidoctor-pygments.css', (attr :stylesdir, ''))
44
+ - else
45
+ style=Asciidoctor::HTML5.pygments_stylesheet(attr 'pygments-style')
46
+ - when 'highlightjs'
47
+ link rel='stylesheet' href="#{attr :highlightjsdir, 'http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.0'}/styles/#{attr 'highlightjs-theme', 'default'}.min.css"
48
+ script src="#{attr :highlightjsdir, 'http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.0'}/highlight.min.js"
49
+ script hljs.initHighlightingOnLoad()
50
+ - when 'prettify'
51
+ link rel='stylesheet' href="#{attr :prettifydir, 'http://cdnjs.cloudflare.com/ajax/libs/prettify/r298'}/#{attr 'prettify-theme', 'prettify'}.min.css"
52
+ script src="#{attr :prettifydir, 'http://cdnjs.cloudflare.com/ajax/libs/prettify/r298'}/prettify.min.js"
53
+ script document.addEventListener('DOMContentLoaded', prettyPrint)
54
+
23
55
  // If the query includes 'print-pdf', use the PDF print sheet
24
56
  javascript:
25
- document.write( '<link rel="stylesheet" href="css/print/' + ( window.location.search.match( /print-pdf/gi ) ? 'pdf' : 'paper' ) + '.css" type="text/css" media="print">' );
57
+ if( window.location.search.match( /print-pdf/gi ) ) {
58
+ var link = document.createElement( 'link' );
59
+ link.rel = 'stylesheet';
60
+ link.type = 'text/css';
61
+ link.href = 'revealjs/css/print/pdf.css';
62
+ document.getElementsByTagName( 'head' )[0].appendChild( link );
63
+ }
26
64
  body
27
65
  .reveal
28
66
  - if attr? :header_image_path
@@ -46,13 +84,13 @@ html lang=(attr :lang, 'en' unless attr? :nolang)
46
84
  // Display a presentation progress bar
47
85
  progress: true,
48
86
  // Push each slide change to the browser history
49
- history: false,
87
+ history: #{browser_history},
50
88
  // Enable keyboard shortcuts for navigation
51
89
  keyboard: true,
52
90
  // Enable the slide overview mode
53
91
  overview: true,
54
92
  // Vertical centering of slides
55
- center: true,
93
+ center: #{slide_vertical_alignment},
56
94
  // Loop the presentation
57
95
  loop: false,
58
96
  // Change the presentation direction to be RTL
@@ -66,7 +104,10 @@ html lang=(attr :lang, 'en' unless attr? :nolang)
66
104
  // Apply a 3D roll to links on hover
67
105
  rollingLinks: true,
68
106
 
69
- margin: 0.2,
107
+ margin: 0.2,
108
+
109
+ // Display for each slide a number
110
+ slideNumber: #{display_slide_number},
70
111
 
71
112
  // Transition speed
72
113
  transitionSpeed: 'default', // default/fast/slow
@@ -87,9 +128,11 @@ html lang=(attr :lang, 'en' unless attr? :nolang)
87
128
  { src: 'revealjs/lib/js/classList.js', condition: function() { return !document.body.classList; } },
88
129
  { src: 'revealjs/plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
89
130
  { src: 'revealjs/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
90
- { src: 'revealjs/plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
91
131
  { src: 'revealjs/plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
92
- { src: 'revealjs/plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }
132
+ { src: 'revealjs/plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } },
133
+ { src: 'revealjs/plugin/math/math.js', async: true }
93
134
  ]
135
+ // TODO : Add a parameter to enable/disbale REMOTE
136
+ // { src: 'revealjs/plugin/remotes/remotes.js', async: true, condition: function() { return !!document.body.classList; } },
94
137
  });
95
138
 
@@ -1,7 +1,18 @@
1
- section id=@id data-transition=(attr 'data-transition') data-transition-speed=(attr 'data-transition-speed') data-background=(attr 'data-background') data-background-size=(attr 'data-background-size') data-background-repeat=(attr 'data-background-repeat') data-background-transition=(attr 'data-background-transition')
2
- h2=title
3
- - if attr? :scrollbar
4
- .scrollbar
5
- =content
6
- - else
7
- =content.chomp
1
+ - resize_text = (attr? :resize_section) ? (attr :resize_section) : false
2
+ - if resize_text == 'true'
3
+ div style="position:absolute; top:150px; left:10px; right:10px;"
4
+ section id=@id data-transition=(attr 'data-transition') data-transition-speed=(attr 'data-transition-speed') data-background=(attr 'data-background') data-background-size=(attr 'data-background-size') data-background-repeat=(attr 'data-background-repeat') data-background-transition=(attr 'data-background-transition')
5
+ h2=title
6
+ - if attr? :scrollbar
7
+ .scrollbar
8
+ =content
9
+ - else
10
+ =content.chomp
11
+ - else
12
+ section id=@id data-transition=(attr 'data-transition') data-transition-speed=(attr 'data-transition-speed') data-background=(attr 'data-background') data-background-size=(attr 'data-background-size') data-background-repeat=(attr 'data-background-repeat') data-background-transition=(attr 'data-background-transition')
13
+ h2=title
14
+ - if attr? :scrollbar
15
+ .scrollbar
16
+ =content
17
+ - else
18
+ =content.chomp
@@ -0,0 +1,313 @@
1
+ /********************************************
2
+ * FONTS
3
+ *********************************************/
4
+ @font-face {
5
+ font-family: 'liberation';
6
+ src: url(../../lib/font/liberation_sans-regular.ttf) format('truetype');
7
+ font-weight: normal;
8
+ font-style: normal;
9
+ }
10
+
11
+ /**
12
+ * RedHat GPE Conference theme
13
+ */
14
+
15
+ /*********************************************
16
+ * GLOBAL STYLES
17
+ *********************************************/
18
+ body {
19
+ background: white;
20
+ background-color: white;
21
+ }
22
+
23
+ .reveal {
24
+ font-family: 'liberation';
25
+ font-size: 32px;
26
+ font-weight: normal;
27
+ letter-spacing: -0.02em;
28
+ /* Color used within paragraphs - text */
29
+ color: #4E4E4E;
30
+ }
31
+
32
+ /*.reveal .slides {
33
+ margin-top: 80px;
34
+ }*/
35
+
36
+ .reveal section {
37
+ text-align: left;
38
+ }
39
+
40
+ ::selection {
41
+ color: white;
42
+ background: rgba(0, 0, 0, 0.99);
43
+ text-shadow: none; }
44
+
45
+ /*********************************************
46
+ * HEADERS
47
+ *********************************************/
48
+ .reveal h1,
49
+ .reveal h2,
50
+ .reveal h3,
51
+ .reveal h4,
52
+ .reveal h5,
53
+ .reveal h6 {
54
+ margin: 0 0 20px 0;
55
+ color: #3E4349;
56
+ font-family: 'liberation';
57
+ line-height: 0.9em;
58
+ letter-spacing: 0.02em;
59
+
60
+ /* text-transform: uppercase; */
61
+ text-transform: none;
62
+ text-shadow: none;
63
+ text-align: left;
64
+ }
65
+
66
+ /*.reveal h1 {
67
+ text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
68
+ }*/
69
+
70
+ .reveal h2 {
71
+ font-size: 2em;
72
+ }
73
+
74
+ /*********************************************
75
+ * LINKS
76
+ *********************************************/
77
+ .reveal a:not(.image) {
78
+ /* color: darkblue;*/
79
+ color: #C1100C;
80
+ text-decoration: none;
81
+ -webkit-transition: color .15s ease;
82
+ -moz-transition: color .15s ease;
83
+ -ms-transition: color .15s ease;
84
+ -o-transition: color .15s ease;
85
+ transition: color .15s ease;
86
+ }
87
+
88
+ .reveal a:not(.image):hover {
89
+ /*color: #0000f1;*/
90
+ color: #C1100C;
91
+ text-shadow: none;
92
+ border: none;
93
+ }
94
+
95
+ .reveal .roll span:after {
96
+ color: #fff;
97
+ /* background: #00003f;*/
98
+ background: #C1100C;
99
+ }
100
+
101
+ /*********************************************
102
+ * IMAGES
103
+ *********************************************/
104
+ .reveal section img {
105
+ margin: 15px 0px;
106
+ background: rgba(255, 255, 255, 0.12);
107
+ /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);*/
108
+ box-shadow: 0 0 0 rgba(0, 0, 0, 0.15);
109
+ -webkit-transition: all .2s linear;
110
+ -moz-transition: all .2s linear;
111
+ -ms-transition: all .2s linear;
112
+ -o-transition: all .2s linear;
113
+ transition: all .2s linear; }
114
+
115
+ .reveal a:hover img {
116
+ background: rgba(255, 255, 255, 0.2);
117
+ /*border-color: darkblue;*/
118
+ border-color: #C1100C;
119
+ box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }
120
+
121
+ /*********************************************
122
+ * NAVIGATION CONTROLS
123
+ *********************************************/
124
+ .reveal .controls div.navigate-left,
125
+ .reveal .controls div.navigate-left.enabled {
126
+ border-right-color: #C1100C; }
127
+
128
+ .reveal .controls div.navigate-right,
129
+ .reveal .controls div.navigate-right.enabled {
130
+ border-left-color: #C1100C; }
131
+
132
+ .reveal .controls div.navigate-up,
133
+ .reveal .controls div.navigate-up.enabled {
134
+ border-bottom-color: #C1100C; }
135
+
136
+ .reveal .controls div.navigate-down,
137
+ .reveal .controls div.navigate-down.enabled {
138
+ border-top-color: #C1100C; }
139
+
140
+ .reveal .controls div.navigate-left.enabled:hover {
141
+ border-right-color: #0000f1; }
142
+
143
+ .reveal .controls div.navigate-right.enabled:hover {
144
+ border-left-color: #0000f1; }
145
+
146
+ .reveal .controls div.navigate-up.enabled:hover {
147
+ border-bottom-color: #0000f1; }
148
+
149
+ .reveal .controls div.navigate-down.enabled:hover {
150
+ border-top-color: #0000f1; }
151
+
152
+ /*********************************************
153
+ * PROGRESS BAR
154
+ *********************************************/
155
+ .reveal .progress {
156
+ background: rgba(0, 0, 0, 0.2); }
157
+
158
+ .reveal .progress span {
159
+ background: darkblue;
160
+ -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
161
+ -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
162
+ -ms-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
163
+ -o-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
164
+ transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
165
+
166
+ /*********************************************
167
+ * SLIDE NUMBER
168
+ *********************************************/
169
+ .reveal .slide-number {
170
+ color: darkblue; }
171
+
172
+ /***********************************************
173
+ * Modified for RedHat Style
174
+ ***********************************************/
175
+
176
+ /*********************************************
177
+ * ScrollBar
178
+ *********************************************/
179
+ .scrollbar {
180
+ border: 1px solid #eee;
181
+ height: 450px;
182
+ overflow: scroll;
183
+ margin: 20px 0 0;
184
+ padding: 10px 20px 20px 20px;
185
+ }
186
+
187
+ /*********************************************
188
+ * Corporate Logo Header Image
189
+ *********************************************/
190
+ .header {
191
+ position: absolute;
192
+ margin: 0 auto;
193
+ left: 0;
194
+ right: 25px;
195
+ top: 5px;
196
+ height: 80px;
197
+ font-family: 'liberation';
198
+ font-size: 20px;
199
+ text-align: right;
200
+ }
201
+
202
+ .reveal .slides {
203
+ text-align: left;
204
+ }
205
+
206
+ table thead th, table tfoot th { font-weight: bold; }
207
+ /*
208
+ table.tableblock.grid-all { border-collapse: separate; border-spacing: 1px; -webkit-border-radius: 4px; border-radius: 4px; border-top: 1px solid #dddddd; border-bottom: 1px solid #dddddd; }
209
+ */
210
+ table.tableblock.frame-topbot, table.tableblock.frame-none { border-left: 0; border-right: 0; }
211
+ table.tableblock.frame-sides, table.tableblock.frame-none { border-top: 0; border-bottom: 0; }
212
+ table.tableblock td .paragraph:last-child p > p:last-child, table.tableblock th > p:last-child, table.tableblock td > p:last-child { margin-bottom: 0; }
213
+ th.tableblock.halign-left, td.tableblock.halign-left { text-align: left; }
214
+ th.tableblock.halign-right, td.tableblock.halign-right { text-align: right; }
215
+ th.tableblock.halign-center, td.tableblock.halign-center { text-align: center; }
216
+ th.tableblock.valign-top, td.tableblock.valign-top { vertical-align: top; }
217
+ th.tableblock.valign-bottom, td.tableblock.valign-bottom { vertical-align: bottom; }
218
+ th.tableblock.valign-middle, td.tableblock.valign-middle { vertical-align: middle; }
219
+
220
+ /*
221
+ Used for <strong>text</strong> enclosed in <li> tag
222
+ & color
223
+ */
224
+ li strong {
225
+ /* color: #268bd2;*/
226
+ color: #C1100C;
227
+ font-weight: bold;
228
+ }
229
+
230
+ /*
231
+ Trick to avoid to define [square] or [circle] for each item of an unordered list
232
+ and solve issue that we have here as we have nested lists
233
+ */
234
+ ul li {list-style-type:square;}
235
+ ul li li {list-style-type:disc;}
236
+ ul li li li {list-style-type:circle;}
237
+
238
+ /*
239
+ * .reveal i must be overrided to let to use Font Awesome
240
+ */
241
+ .reveal i.fa {
242
+ font-family: 'FontAwesome';
243
+ font-style: normal;
244
+ font-size: 100%;
245
+ }
246
+
247
+ /*********************************************
248
+ * Callout
249
+ *********************************************/
250
+ .reveal i.conum {
251
+ display: inline-block;
252
+ color: white !important;
253
+ background-color: #222222;
254
+ -webkit-border-radius: 100px;
255
+ border-radius: 100px;
256
+ text-align: center;
257
+ width: 25px; height: 25px; font-size: 14px;
258
+ font-weight: bold;
259
+ line-height: 25px;
260
+ font-style: normal;
261
+ position: relative; top: -2px;letter-spacing: -2px;
262
+ }
263
+ .reveal i.conum * { color: white !important; }
264
+ .reveal i.conum + b { display: none; }
265
+ .reveal i.conum:after { content: attr(data-value); }
266
+ .reveal i.conum:not([data-value]):empty { display: none; }
267
+
268
+
269
+ .paragraph p {
270
+ display:block;
271
+ line-height: 1.3;
272
+ }
273
+
274
+ .newline:before {
275
+ content: '\A';
276
+ white-space:pre;
277
+ }
278
+
279
+ /*********************************************
280
+ * Copyright Footer
281
+ *********************************************/
282
+ .footer {
283
+ position: absolute;
284
+ margin: 0 auto;
285
+ left: 0;
286
+ right: 0;
287
+ bottom: 0;
288
+ height: 50px;
289
+ font-family: 'liberation';
290
+ font-size: 15px;
291
+ color: #aeb3b6;
292
+ text-align: center;
293
+ }
294
+
295
+ /*
296
+ First Page - Background Red
297
+ Title H2 Strong - white
298
+ Paragraph class - white
299
+ */
300
+ .reveal h2 strong {
301
+ color: #ffffff;
302
+ }
303
+
304
+ .paragraph {
305
+ color: #ffffff;
306
+ }
307
+
308
+ .cover {
309
+ position:absolute;
310
+ top:150px;
311
+ left:10px;
312
+ right:10px;
313
+ }