hyla 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. checksums.yaml +8 -8
  2. data/Rakefile +6 -2
  3. data/bin/hyla +3 -2
  4. data/lib/hyla/commands/generate.rb +43 -41
  5. data/lib/hyla/configuration.rb +1 -1
  6. data/lib/hyla/project.rb +1 -1
  7. data/lib/resources/assets/revealjs-redhat/image/collapsed.png +0 -0
  8. data/lib/resources/assets/revealjs-redhat/image/expanded.png +0 -0
  9. data/lib/resources/assets/revealjs-redhat/lib/css/conference.css +663 -0
  10. data/lib/resources/assets/revealjs-redhat/lib/css/font-awesome-4.3.0.css +2886 -1098
  11. data/lib/resources/assets/revealjs-redhat/lib/css/gpe.css +746 -180
  12. data/lib/resources/assets/revealjs-redhat/lib/css/print/pdf.css +32 -65
  13. data/lib/resources/assets/revealjs-redhat/lib/css/theme-output.css +1509 -395
  14. data/lib/resources/assets/revealjs-redhat/lib/css/theme-v2-liberation.css +4332 -1366
  15. data/lib/resources/assets/revealjs-redhat/lib/css/theme-v2-overpass.css +4320 -1364
  16. data/lib/resources/assets/revealjs-redhat/lib/js/debug/gpe.js +8 -8
  17. data/lib/resources/assets/revealjs-redhat/lib/js/debug/reveal.js +129 -91
  18. data/lib/resources/assets/revealjs-redhat/lib/js/gpe.min.js +3 -3
  19. data/lib/resources/assets/revealjs-redhat/lib/js/reveal.min.js +18 -13
  20. data/lib/resources/assets/revealjs/css/theme/conference-redhat.css +14 -6
  21. data/lib/resources/assets/revealjs/css/theme/old-gpe.css +670 -181
  22. data/lib/resources/assets/revealjs/js/{reveal.js → debug/reveal.js} +1619 -492
  23. data/lib/resources/assets/revealjs/js/reveal.min.js +342 -9
  24. data/lib/resources/assets/revealjs/lib/css/font-awesome-4.3.0.css +2886 -1098
  25. data/lib/resources/assets/sass/conference.scss +589 -0
  26. data/lib/resources/assets/sass/new-gpe.scss +79 -0
  27. data/lib/resources/backends/slim/revealjs-redhat/block_paragraph.html.slim +18 -6
  28. data/lib/resources/backends/slim/revealjs-redhat/block_ulist.html.slim +25 -9
  29. data/lib/resources/backends/slim/revealjs/document.html.slim +1 -1
  30. data/lib/templates/course/audio.txt +2 -2
  31. data/lib/templates/course/cover.txt +19 -7
  32. data/lib/templates/course/footer.txt +1 -3
  33. data/lib/templates/course/index.txt +2 -2
  34. data/lib/templates/course/labinstructions.txt +1 -3
  35. data/lib/templates/course/objectives.txt +1 -12
  36. data/lib/templates/course/summary.txt +1 -8
  37. metadata +7 -3
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MzkzYzdiYTIzNjY1YzNkNmJjMzk0NGFjNTBiYTRmZDYxN2NlZWM4Mg==
4
+ NDE0NzRhOTMxNTc4MWMxYTMyYTAzNTJmNWY3MWJmOTYxNWNhOTE5Yg==
5
5
  data.tar.gz: !binary |-
6
- ZDZkMWI5MzNhMWRmZmRmNGIyMWFhMzg0NDdhNzE4MTk4NWQ1NTllZA==
6
+ NjcxMDlmNTQzMzY1ZTQ5NTM1N2M5ODVmMjc1NjdjMTM2NGE5NjYyYg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NjJhMTE1ZDkyMjY2ZmQzODRiMDJiN2ZkMzg5MDdjODJhODVhNTM0OTc1YjU1
10
- OWM1NDM2ZWU0ZDgxZWMwMzg4M2VmMDQwYjIzZDczZjNmYWVkYTczOTYyMzli
11
- ZTUwNTU0MDc4NTk5NmUxNGFmN2MxM2U3MmJkNDM3NjFkZWFlMGU=
9
+ NDI2ZTQxZjAzYTIzMTFhNzM2MjFiNDM0YjRjNTlkMTA2Y2I5NzI4NDVmNGMz
10
+ YWY3OTk2YzFmYjkyNGI0MmNmMDRjZGI1MDBkZWM3YjNmZTBlOGVjNGNhNmRm
11
+ ZThhOTk1ZmZhNzU2MjExZDc1OTQxZmUwMmZhYTFiNjY4NTgwOWQ=
12
12
  data.tar.gz: !binary |-
13
- MGE5ZTU3MmQ1MzQzMTJhNzNiYjUyMmEwZDc5ZWE2NDFiMTJiNzEyZWUyZmYx
14
- YjQ2YWNkZGY4MWVlNGY5YWYxMjhlZjg3ZGJjOTQ1ZGVjNTFiYzZjYWM0ZWM0
15
- Zjk2MmZiY2U2OWE0MWJlZjM5MTRjOTliZWU1YWZkY2Y4ZDc5Yzg=
13
+ OWE5OWZkNGViMDJjOGY0ZjQ5ZGNlOWY5MGM3NjA3OGQyMWVhYzU0NmY3NzI1
14
+ MmUxOGJlMjY4YWU2NGQxYjM5YjIxNmNmZDczMDFlOWRlMDkwMGQwOWM0NTdh
15
+ NmI1MzdkODY0NDNkMjQ5YzQ1MjVlMjE5MDUwYzE2OGM1NWVhZWQ=
data/Rakefile CHANGED
@@ -106,6 +106,7 @@ task :compass, [:mode] do |t, args|
106
106
  sh "cp styles/font-awesome.css #{revealjs_css_vendor_assets}/font-awesome-4.3.0.css"
107
107
 
108
108
  sh "cp styles/new-gpe.css #{revealjs_redhat_css_theme_assets}/gpe.css"
109
+ sh "cp styles/conference.css #{revealjs_redhat_css_theme_assets}/conference.css"
109
110
  sh "cp styles/theme-v2-liberation.css #{revealjs_redhat_css_theme_assets}/theme-v2-liberation.css"
110
111
  sh "cp styles/theme-v2-overpass.css #{revealjs_redhat_css_theme_assets}/theme-v2-overpass.css"
111
112
  sh "cp styles/theme-output.css #{revealjs_redhat_css_theme_assets}/theme-output.css"
@@ -205,8 +206,11 @@ task :publish do
205
206
  end
206
207
 
207
208
  Rake::Minify.new(:minifyjs) do
208
- dir("lib/resources/assets/revealjs-redhat/lib/js/debug") do
209
- add("lib/resources/assets/revealjs-redhat/lib/js/reveal.min.js", "reveal.js")
209
+ dir("lib/resources/assets/revealjs/js/debug") do
210
+ add("lib/resources/assets/revealjs/js/reveal.min.js", "reveal.js")
211
+ end
212
+ dir("lib/resources/assets/revealjs-redhat/lib/js/debug") do
213
+ add("lib/resources/assets/revealjs-redhat/lib/js/reveal.min.js", "reveal.js")
210
214
  add("lib/resources/assets/revealjs-redhat/lib/js/head.min.js", "head.js")
211
215
  add("lib/resources/assets/revealjs-redhat/lib/js/gpe.min.js", "gpe.js")
212
216
  end
data/bin/hyla CHANGED
@@ -39,7 +39,7 @@ command :new do |c|
39
39
  c.description = 'Creates a new Hyla project using a template or blank to the PATH specified'
40
40
  c.description = 'Example : hyla new -b /path/to/myProject'
41
41
  c.option '-f', '--force', 'Force creation even if PATH already exists'
42
- c.option '-b', '--blank', 'Creates project directory containing the YAML config file and a simple readme.ad file'
42
+ c.option '-b', '--blank', 'Creates project directory containing the YAML config file and a simple readme.adoc file'
43
43
  c.option '--t', '--template_type [TEMPLATE_TYPE]', String, 'Template Type to be used (documentation, book, training, training-exercises, blog, web, ...)'
44
44
 
45
45
  add_build_options(c)
@@ -87,7 +87,8 @@ command :generate do |c|
87
87
  c.option '--t', '--toc [PATH]', String, 'File Path of the asciidoc file containing the Table of Content'
88
88
  c.option '-y', '--style [STYLE]', String, 'Stylesheet theme to be applied : asciidoctor, liberation, github, colony, foundation, ...'
89
89
  c.option '-a', '--attributes [KEY=VALUE,KEY=VALUE]', String, 'Asciidoctor attributes'
90
- c.option '-s', '--snippet_content [FLAG TRUE or FALSE]', String, 'Flag used to generate HTML content using the // tag::snippet[].'
90
+ # We don't support anymore snippet generation (see #146)
91
+ # c.option '-s', '--snippet_content [FLAG TRUE or FALSE]', String, 'Flag used to generate HTML content using the // tag::snippet[].'
91
92
 
92
93
  c.option '--course_name [COURSE NAME]', String, 'Name of the course'
93
94
  c.option '--cover_file [HTML FILE NAME]', String, 'Name of the cover html image file generated'
@@ -349,9 +349,6 @@ module Hyla
349
349
  # Copy YAML Config file
350
350
  FileUtils.cp_r [Configuration::configs, Configuration::YAML_CONFIG_FILE_NAME] * '/', @out_dir
351
351
 
352
- # Copy styles
353
- # FileUtils.cp_r Configuration::styles, @out_dir
354
-
355
352
  #
356
353
  # Move to the directory as we will
357
354
  # create content relative to this directory
@@ -383,7 +380,7 @@ module Hyla
383
380
  @counter+=1
384
381
 
385
382
  #
386
- # Add the summary.adoc file
383
+ # Create the summary.adoc file and add it to the index
387
384
  #
388
385
  if @counter > 1
389
386
  self.generate_summary_page()
@@ -402,8 +399,8 @@ module Hyla
402
399
  Dir.chdir(new_dir)
403
400
 
404
401
  # Add image, audio, video directory
405
- # self.create_asset_directory(['image', 'audio', 'video'])
406
- self.create_asset_directory(['image'])
402
+ # self.create_asset_directory(['images', 'audio', 'video'])
403
+ self.create_asset_directory(['images'])
407
404
 
408
405
  #
409
406
  # Create an index file
@@ -443,29 +440,32 @@ module Hyla
443
440
  file_index = sprintf('%02d', @index)
444
441
  f_name = 'm' + @module_key + 'p' + file_index + '_cover' + Configuration::ADOC_EXT
445
442
  Hyla.logger2.debug '>> Directory name : ' + dir_name.to_s.gsub('_', ' ')
446
- rep_txt = Configuration::COVER_TXT.gsub(/xxx\.png/, dir_name + '.png')
447
- Hyla.logger2.debug "Replaced by : " + rep_txt
443
+ # rep_txt = Configuration::COVER_TXT.gsub(/xxx\.png/, dir_name + '.png')
444
+ # Hyla.logger2.debug "Replaced by : " + rep_txt
448
445
  cover_f = File.new(f_name, 'w')
449
- cover_f.puts rep_txt
446
+ cover_f.puts Configuration::COVER_TXT
450
447
  cover_f.close
451
448
 
449
+ #
450
+ # WE DON'T HAVE TO GENERATE AN IMAGE AS THE IMAGE IS CREATED BY REVEALJS
452
451
  #
453
452
  # Use the filename & generate the cover image
454
453
  #
455
- out_dir = 'image'
456
- file_name = dir_name + '.html'
457
- image_name = dir_name + '.png'
458
- course_name = @project_name
459
- module_name= dir_name
460
- bg_image_path = image_path
461
- Hyla.logger2.debug '>> Out Directory : ' + out_dir.to_s
462
- Hyla.logger2.debug '>> Image name : ' + image_name.to_s
463
- Hyla.logger2.debug '>> Course Name : ' + course_name.to_s
464
- Hyla.logger2.debug '>> Module Name : ' + module_name.to_s
465
- Hyla.logger2.debug '>> Bg Image : ' + bg_image_path.to_s
466
-
467
- self.cover_img(out_dir, file_name, image_name, course_name, module_name, bg_image_path, tool = nil)
468
-
454
+ # out_dir = 'images'
455
+ # file_name = dir_name + '.html'
456
+ # image_name = dir_name + '.png'
457
+ # course_name = @project_name
458
+ # module_name= dir_name
459
+ # bg_image_path = image_path
460
+ # Hyla.logger2.debug '>> Out Directory : ' + out_dir.to_s
461
+ # Hyla.logger2.debug '>> Image name : ' + image_name.to_s
462
+ # Hyla.logger2.debug '>> Course Name : ' + course_name.to_s
463
+ # Hyla.logger2.debug '>> Module Name : ' + module_name.to_s
464
+ # Hyla.logger2.debug '>> Bg Image : ' + bg_image_path.to_s
465
+ #
466
+ # self.cover_img(out_dir, file_name, image_name, course_name, module_name, bg_image_path, tool = nil)
467
+ #
468
+
469
469
  #
470
470
  # Include cover file to index
471
471
  #
@@ -478,18 +478,17 @@ module Hyla
478
478
  @index += 1
479
479
  file_index = sprintf('%02d', @index)
480
480
  f_name = 'm' + @module_key + 'p' + file_index + '_objectives'
481
-
482
- rep_txt = Configuration::OBJECTIVES_TXT.gsub(/xxx\.mp3/, f_name + '.mp3')
483
-
484
481
  f_name = f_name + Configuration::ADOC_EXT
482
+
483
+ # rep_txt = Configuration::OBJECTIVES_TXT.gsub(/xxx\.mp3/, f_name + '.mp3')
485
484
 
486
485
  objectives_f = File.new(f_name, 'w')
487
486
  objectives_f.puts Configuration::HEADER_TXT
488
- objectives_f.puts rep_txt
487
+ objectives_f.puts Configuration::OBJECTIVES_TXT
489
488
  objectives_f.close
490
489
 
491
490
  #
492
- # Include cover file to index
491
+ # Include objectives file to index
493
492
  #
494
493
  @index_file.puts Configuration::INCLUDE_PREFIX + f_name + Configuration::INCLUDE_SUFFIX
495
494
  @index_file.puts "\n"
@@ -528,8 +527,8 @@ module Hyla
528
527
  #
529
528
  # Add Footer_text to the file created
530
529
  #
531
- rep_txt = Configuration::FOOTER_TXT.gsub(/xxx\.mp3/, @previous_f.to_s + '.mp3')
532
- @previous_f.puts rep_txt
530
+ # rep_txt = Configuration::FOOTER_TXT.gsub(/xxx\.mp3/, @previous_f.to_s + '.mp3')
531
+ @previous_f.puts Configuration::FOOTER_TXT
533
532
  @previous_f.close
534
533
  end
535
534
 
@@ -547,17 +546,15 @@ module Hyla
547
546
  @index += 1
548
547
  file_index = sprintf('%02d', @index)
549
548
  f_name = 'm' + @module_key + 'p' + file_index + '_' + f_name
550
-
551
- rep_txt = Configuration::AUDIO_TXT.gsub(/xxx\.mp3/, f_name + '.mp3')
552
-
553
549
  f_asciidoc_name = f_name + Configuration::ADOC_EXT
554
550
 
551
+ # rep_txt = Configuration::AUDIO_TXT.gsub(/xxx\.mp3/, f_name + '.mp3')
552
+
555
553
  #
556
554
  # Create File and add configuration HEADER_TXT
557
555
  #
558
556
  @new_f = File.new(f_asciidoc_name, 'w')
559
557
  @new_f.puts Configuration::HEADER_TXT
560
- @new_f.puts "\n"
561
558
 
562
559
  Hyla.logger2.info ' # File created : ' + f_asciidoc_name.to_s
563
560
 
@@ -575,14 +572,14 @@ module Hyla
575
572
  #
576
573
  # Add audio text after the name of the title
577
574
  #
578
- # ifdef::audioscript[]
575
+ # ifdef::showscript[]
579
576
  # audio::audio/m01p03_why_use_messaging[]
580
- # endif::[]
577
+ # endif::showscript[]
581
578
  #
582
579
  if line.start_with?('==')
583
580
  @new_f.puts line
584
581
  @new_f.puts "\n"
585
- @new_f.puts rep_txt
582
+ # @new_f.puts rep_txt
586
583
  else
587
584
  @new_f.puts line
588
585
  end
@@ -628,15 +625,20 @@ module Hyla
628
625
  @index += 1
629
626
  file_index = sprintf('%02d', @index)
630
627
  f_name = 'm' + @module_key + 'p' + file_index + '_summary'
631
-
632
- rep_txt = Configuration::SUMMARY_TXT.gsub(/xxx\.mp3/, f_name + '.mp3')
633
-
634
628
  f_name = f_name + Configuration::ADOC_EXT
635
629
 
630
+ # rep_txt = Configuration::SUMMARY_TXT.gsub(/xxx\.mp3/, f_name + '.mp3')
631
+
636
632
  summary_f = File.new(f_name, 'w')
637
633
  summary_f.puts Configuration::HEADER_TXT
638
- summary_f.puts rep_txt
634
+ summary_f.puts Configuration::SUMMARY_TXT
639
635
  summary_f.close
636
+
637
+ #
638
+ # Include summary file to index
639
+ #
640
+ @index_file.puts Configuration::INCLUDE_PREFIX + f_name + Configuration::INCLUDE_SUFFIX
641
+ @index_file.puts "\n"
640
642
  end
641
643
 
642
644
  def self.html_to_pdf(file_name, source, destination, footer_text, header_html_path, cover_path)
@@ -48,7 +48,7 @@ module Hyla
48
48
 
49
49
  SNIPPET_TAG = 'snippet'
50
50
 
51
- HEADER_TXT = "// Asciidoctor attributes\n"
51
+ HEADER_TXT = "\n"
52
52
 
53
53
  LEVEL_1 = '= '
54
54
 
@@ -1,5 +1,5 @@
1
1
  module Hyla
2
- VERSION = '1.0.7'
2
+ VERSION = '1.0.8'
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
@@ -0,0 +1,663 @@
1
+ /* $fonts: 'Overpass', 'Liberation Sans', 'Open Sans', sans-serif; */
2
+ /*********************************************
3
+ * GLOBAL STYLES
4
+ * Feb 24, ART: added a border to the body, attempting to see how the margin is being used.
5
+ * Feb 24, ART: added a border to the reveal section, attempting to see how the margin is being used.
6
+ *********************************************/
7
+ /* line 13, ../conference.scss */
8
+ body {
9
+ font-family: "Liberation Sans", "Overpass", "Open Sans", sans-serif;
10
+ }
11
+
12
+ /* line 17, ../conference.scss */
13
+ .reveal {
14
+ font-family: "Liberation Sans", "Overpass", "Open Sans", sans-serif;
15
+ font-size: 28px;
16
+ font-weight: normal;
17
+ letter-spacing: -0.02em;
18
+ color: black;
19
+ }
20
+
21
+ /* line 25, ../conference.scss */
22
+ ::selection {
23
+ color: white;
24
+ background: rgba(0, 0, 0, 0.99);
25
+ text-shadow: none;
26
+ }
27
+
28
+ /*********************************************
29
+ * HEADERS
30
+ *********************************************/
31
+ /* line 34, ../conference.scss */
32
+ .reveal h1,
33
+ .reveal h2,
34
+ .reveal h3,
35
+ .reveal h4,
36
+ .reveal h5,
37
+ .reveal h6 {
38
+ margin: 0 0 20px 0;
39
+ color: #3E4349;
40
+ font-family: "Liberation Sans", "Overpass", "Open Sans", sans-serif;
41
+ line-height: 0.9em;
42
+ letter-spacing: 0.02em;
43
+ text-transform: none;
44
+ text-shadow: none;
45
+ }
46
+
47
+ /**************************************************************
48
+ * Change color of the cover slide using class sl-block-content
49
+ **************************************************************/
50
+ /* line 52, ../conference.scss */
51
+ .reveal .sl-block-content h1,
52
+ .reveal .sl-block-content h2,
53
+ .reveal .sl-block-content h3,
54
+ .reveal .sl-block-content h4,
55
+ .reveal .sl-block-content h5,
56
+ .reveal .sl-block-content h6 {
57
+ color: white;
58
+ }
59
+
60
+ /***************************************************
61
+ * Feb 26, ART: Font Size 2em and width: 900px added
62
+ **************************************************/
63
+ /* line 64, ../conference.scss */
64
+ .reveal h1 {
65
+ text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
66
+ font-size: 2em;
67
+ width: 900px;
68
+ }
69
+
70
+ /* line 70, ../conference.scss */
71
+ .reveal h2 {
72
+ font-size: 2em;
73
+ }
74
+
75
+ /******************************************
76
+ * Fill screen to 100% & align text on left
77
+ * Feb 26, CHM : Add top: 370px to fill the screen to 100%
78
+ * Mar 24 3015, CHM : Remove top due to cutoff with safari, firefox & add margin-top
79
+ ******************************************/
80
+ /* line 79, ../conference.scss */
81
+ .reveal .slides {
82
+ text-align: left;
83
+ /* margin-top: $slides-margin-top; WE don't use it as the value is assigned by Revealjs */
84
+ }
85
+
86
+ /*********************************************
87
+ * ScrollBar
88
+ * Feb 24, ART: Changed the height of the scrollbar from 450 600
89
+ * Feb 24, ART: Changed the padding from 10 20 20 20 to 5 10 10 10
90
+ * Feb 24, ART: Changed the margin from 20px 0 0 to 5px 0 0
91
+ * Mar 02, CHM: Increase height from 600 to 670px
92
+ * Mar 06, CHM: Change overflow from scroll to auto
93
+ *********************************************/
94
+ /* line 92, ../conference.scss */
95
+ .scrollbar {
96
+ border: 1px solid #eee;
97
+ height: 600px;
98
+ overflow: auto;
99
+ margin: 5px 0 0;
100
+ padding: 5px 10px 10px 10px;
101
+ }
102
+
103
+ /**************************************************************
104
+ * Style used to display the cover picture full screen
105
+ * Add this tag [.cover] before the picture of the cover page
106
+ * Mar 04 2015, CHM: Initial
107
+ **************************************************************/
108
+ /* line 105, ../conference.scss */
109
+ .cover {
110
+ position: absolute;
111
+ top: 20px;
112
+ text-align: center;
113
+ }
114
+
115
+ /*********************************************
116
+ * Corporate Logo Header Image
117
+ * Feb 26, CHM: Changed the height from 80px to 0px
118
+ *********************************************/
119
+ /* line 115, ../conference.scss */
120
+ .header {
121
+ position: absolute;
122
+ margin: 0 auto;
123
+ left: 0;
124
+ right: 0;
125
+ top: 0;
126
+ height: 0px;
127
+ font-family: "Liberation Sans", "Overpass", "Open Sans", sans-serif;
128
+ font-size: 20px;
129
+ text-align: center;
130
+ }
131
+
132
+ /*****************************************************
133
+ * Copyright Footer
134
+ * Feb 24, ART: Changed to footer height from 80 to 40
135
+ * Mar 13 2015, CHM : Add footer-cover to override the color for cover slide
136
+ * Mar 24 2015, CHM : Remove hard coded px and use percentages
137
+ ******************************************************/
138
+ /* line 133, ../conference.scss */
139
+ .reveal .footer {
140
+ position: absolute;
141
+ margin: 0 auto;
142
+ left: 0;
143
+ right: 0;
144
+ bottom: -25%;
145
+ height: 80px;
146
+ font-family: "Liberation Sans", "Overpass", "Open Sans", sans-serif;
147
+ font-size: 14px;
148
+ text-align: center;
149
+ }
150
+
151
+ /* line 145, ../conference.scss */
152
+ .reveal .footer-cover {
153
+ position: absolute;
154
+ margin: 0 auto;
155
+ left: 0;
156
+ right: 0;
157
+ bottom: -25%;
158
+ height: 80px;
159
+ font-family: "Overpass", "Liberation Sans", "Open Sans", sans-serif;
160
+ font-size: 14px;
161
+ text-align: center;
162
+ color: white;
163
+ }
164
+
165
+ /*********************************************
166
+ * LINKS
167
+ *********************************************/
168
+ /* line 161, ../conference.scss */
169
+ .reveal a:not(.image) {
170
+ color: #a70000;
171
+ text-decoration: none;
172
+ -webkit-transition: color .15s ease;
173
+ -moz-transition: color .15s ease;
174
+ -ms-transition: color .15s ease;
175
+ -o-transition: color .15s ease;
176
+ transition: color .15s ease;
177
+ }
178
+
179
+ /* line 172, ../conference.scss */
180
+ .reveal a:not(.image):hover {
181
+ color: #a70000;
182
+ text-shadow: none;
183
+ border: none;
184
+ }
185
+
186
+ /* line 178, ../conference.scss */
187
+ .reveal .roll span:after {
188
+ color: #fff;
189
+ background: #a70000;
190
+ }
191
+
192
+ /*********************************************
193
+ * IMAGES
194
+ * Mar 13 2015, CHM : Remove the shadow box around the image
195
+ *********************************************/
196
+ /* line 187, ../conference.scss */
197
+ .reveal section img {
198
+ margin: 15px 0px;
199
+ -webkit-transition: all .2s linear;
200
+ -moz-transition: all .2s linear;
201
+ -ms-transition: all .2s linear;
202
+ -o-transition: all .2s linear;
203
+ transition: all .2s linear;
204
+ }
205
+
206
+ /* line 196, ../conference.scss */
207
+ .reveal a:hover img {
208
+ background: rgba(255, 255, 255, 0.2);
209
+ border-color: #a70000;
210
+ box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
211
+ }
212
+
213
+ /*********************************************
214
+ * NAVIGATION CONTROLS
215
+ *********************************************/
216
+ /* line 205, ../conference.scss */
217
+ .reveal .controls div.navigate-left,
218
+ .reveal .controls div.navigate-left.enabled {
219
+ border-right-color: #C1100C;
220
+ }
221
+
222
+ /* line 210, ../conference.scss */
223
+ .reveal .controls div.navigate-right,
224
+ .reveal .controls div.navigate-right.enabled {
225
+ border-left-color: #C1100C;
226
+ }
227
+
228
+ /* line 215, ../conference.scss */
229
+ .reveal .controls div.navigate-up,
230
+ .reveal .controls div.navigate-up.enabled {
231
+ border-bottom-color: #C1100C;
232
+ }
233
+
234
+ /* line 220, ../conference.scss */
235
+ .reveal .controls div.navigate-down,
236
+ .reveal .controls div.navigate-down.enabled {
237
+ border-top-color: #C1100C;
238
+ }
239
+
240
+ /* line 225, ../conference.scss */
241
+ .reveal .controls div.navigate-left.enabled:hover {
242
+ border-right-color: #ef6f16;
243
+ }
244
+
245
+ /* line 229, ../conference.scss */
246
+ .reveal .controls div.navigate-right.enabled:hover {
247
+ border-left-color: #ef6f16;
248
+ }
249
+
250
+ /* line 233, ../conference.scss */
251
+ .reveal .controls div.navigate-up.enabled:hover {
252
+ border-bottom-color: #ef6f16;
253
+ }
254
+
255
+ /* line 237, ../conference.scss */
256
+ .reveal .controls div.navigate-down.enabled:hover {
257
+ border-top-color: #ef6f16;
258
+ }
259
+
260
+ /*********************************************
261
+ * PROGRESS BAR
262
+ *********************************************/
263
+ /* line 244, ../conference.scss */
264
+ .reveal .progress {
265
+ background: rgba(0, 0, 0, 0.2);
266
+ }
267
+
268
+ /* line 248, ../conference.scss */
269
+ .reveal .progress span {
270
+ background: #a70000;
271
+ -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
272
+ -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
273
+ -ms-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
274
+ -o-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
275
+ transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
276
+ }
277
+
278
+ /*********************************************
279
+ * SLIDE NUMBER
280
+ *********************************************/
281
+ /* line 260, ../conference.scss */
282
+ .reveal .slide-number {
283
+ color: darkblue;
284
+ }
285
+
286
+ /*********************************************************************************
287
+ * Trick to avoid to define [square] or [circle] for each item of an unordered list
288
+ * and solve issue that we have here as we have nested lists
289
+ * Feb 27, CHM : Added
290
+ * Mar 04 2015, CHM: Add red colors & square, disc & circle
291
+ * Mar 13 2015, CHM: Change color to black and revert square, disc & circle
292
+ *********************************************************************************/
293
+ /* line 287, ../gpe.scss */
294
+ /* line 272, ../conference.scss */
295
+ .reveal ul li p, ul li li p, ul li li p {
296
+ color: black;
297
+ list-style: none;
298
+ }
299
+
300
+ /* line 293, ../gpe.scss */
301
+ /* line 278, ../conference.scss */
302
+ .reveal ul li {
303
+ list-style-type: disc;
304
+ color: black;
305
+ }
306
+
307
+ /* line 298, ../gpe.scss */
308
+ /* line 284, ../conference.scss */
309
+ .reveal ul li li {
310
+ list-style-type: square;
311
+ color: black;
312
+ }
313
+
314
+ /* line 303, ../gpe.scss */
315
+ /* line 290, ../conference.scss */
316
+ .reveal ul li li li {
317
+ list-style-type: circle;
318
+ color: black;
319
+ }
320
+
321
+ /*******************************************************************
322
+ * .reveal i must be override in order to be able to use Asciidoctor and
323
+ * Font Awesome icons for NOTE, WARNING, REMARK, ....
324
+ * Feb, CHM: Added
325
+ *******************************************************************/
326
+ /* line 300, ../conference.scss */
327
+ .reveal i.fa {
328
+ font-family: 'FontAwesome';
329
+ font-style: normal;
330
+ font-size: 100%;
331
+ }
332
+
333
+ /*********************************************
334
+ * Support asciidoctor callout
335
+ * Feb 27, CHM: Added
336
+ *********************************************/
337
+ /* line 310, ../conference.scss */
338
+ .reveal i.conum {
339
+ display: inline-block;
340
+ color: white !important;
341
+ background-color: #a70000;
342
+ -webkit-border-radius: 100px;
343
+ border-radius: 100px;
344
+ text-align: center;
345
+ width: 25px;
346
+ height: 25px;
347
+ font-size: 14px;
348
+ font-weight: bold;
349
+ line-height: 25px;
350
+ font-style: normal;
351
+ position: relative;
352
+ top: -2px;
353
+ letter-spacing: -2px;
354
+ }
355
+
356
+ /* line 328, ../conference.scss */
357
+ .reveal i.conum * {
358
+ color: white !important;
359
+ }
360
+
361
+ /* line 332, ../conference.scss */
362
+ .reveal i.conum + b {
363
+ display: none;
364
+ }
365
+
366
+ /* line 336, ../conference.scss */
367
+ .reveal i.conum:after {
368
+ content: attr(data-value);
369
+ }
370
+
371
+ /* line 340, ../conference.scss */
372
+ .reveal i.conum:not([data-value]):empty {
373
+ display: none;
374
+ }
375
+
376
+ /*******************************************************
377
+ * Asciidoctor Table style rendering
378
+ * Feb 27, CHM: Added & Refactor to display the borders
379
+ * Mar 02, CHM: Add caption to display the Table title with a different style, color
380
+ * Mar 03, CHM: Improve style to be compliant with Redhat styles
381
+ * Mar 06, CHM: Add a noredheader class to avoid to display the first line in red of a table containing images, ..
382
+ ******************************************************/
383
+ /* line 351, ../conference.scss */
384
+ table.tableblock, table.tableblock td {
385
+ border-style: none;
386
+ border-color: #F3F4F4;
387
+ border-width: 0px;
388
+ border-collapse: collapse;
389
+ border-spacing: 0px;
390
+ padding: 5px;
391
+ }
392
+
393
+ /* line 360, ../conference.scss */
394
+ table.tableblock > caption {
395
+ line-height: 1.4;
396
+ color: #333333;
397
+ margin-top: 0.2em;
398
+ margin-bottom: 0.5em;
399
+ overflow: visible;
400
+ max-width: 0;
401
+ white-space: nowrap;
402
+ display: table-caption;
403
+ }
404
+
405
+ /* line 371, ../conference.scss */
406
+ table.tableblock:not(.noredheader) thead tr, table.tableblock:not(.noredheader) :not(thead) + tbody tr:first-child td {
407
+ background-color: #a70000;
408
+ text-align: left;
409
+ padding: 10px;
410
+ color: white;
411
+ font-size: 24px;
412
+ }
413
+
414
+ /* line 379, ../conference.scss */
415
+ table.tableblock.noredheader tr:first-child td {
416
+ /* background-color: #EEEEEE;*/
417
+ }
418
+
419
+ /* line 383, ../conference.scss */
420
+ table.tableblock tr:nth-child(even) {
421
+ /* background: white;*/
422
+ }
423
+
424
+ /* line 387, ../conference.scss */
425
+ table.tableblock tr:nth-child(odd) {
426
+ /* background-color: #F3F4F4;*/
427
+ }
428
+
429
+ /* line 391, ../conference.scss */
430
+ th.tableblock.halign-left, td.tableblock.halign-left {
431
+ text-align: left;
432
+ }
433
+
434
+ /* line 395, ../conference.scss */
435
+ th.tableblock.halign-right, td.tableblock.halign-right {
436
+ text-align: right;
437
+ }
438
+
439
+ /* line 399, ../conference.scss */
440
+ th.tableblock.halign-center, td.tableblock.halign-center {
441
+ text-align: center;
442
+ }
443
+
444
+ /* line 403, ../conference.scss */
445
+ th.tableblock.valign-top, td.tableblock.valign-top {
446
+ vertical-align: top;
447
+ }
448
+
449
+ /* line 407, ../conference.scss */
450
+ th.tableblock.valign-bottom, td.tableblock.valign-bottom {
451
+ vertical-align: bottom;
452
+ }
453
+
454
+ /* line 411, ../conference.scss */
455
+ th.tableblock.valign-middle, td.tableblock.valign-middle {
456
+ vertical-align: middle;
457
+ }
458
+
459
+ /**************************************************************
460
+ * By default, it is not possible to display text in Bold, ... within <li> tag
461
+ * Here is a trick to support that <strong>text</strong> enclosed in <li> tag & color
462
+ * Feb 27, CHM: Added
463
+ **************************************************************/
464
+ /* line 420, ../conference.scss */
465
+ li strong {
466
+ color: #a70000;
467
+ font-weight: bold;
468
+ }
469
+
470
+ /**************************************************************
471
+ * Override Revealjs Pre class
472
+ * Mar 04 2015, CHM : Change width from 90% to 100% and margin to reduce size of the box hightlighted
473
+ *************************************************************/
474
+ /* line 429, ../conference.scss */
475
+ .reveal pre {
476
+ width: 100%;
477
+ }
478
+
479
+ /* line 433, ../conference.scss */
480
+ .listingblock .content {
481
+ margin-right: 50px;
482
+ padding-right: 50px;
483
+ }
484
+
485
+ /****************
486
+ * Override Revealjs ordered list
487
+ * Mar 06 2015, CHM : Numbers displayed were cut
488
+ * Mar 16 2015, CHM : Change margin left for font overlap otherwise it is cut
489
+ ****************/
490
+ /* line 443, ../conference.scss */
491
+ .reveal ol {
492
+ margin-left: 50px;
493
+ }
494
+
495
+ /* line 447, ../conference.scss */
496
+ ol.arabic {
497
+ list-style-type: decimal;
498
+ }
499
+
500
+ /* line 451, ../conference.scss */
501
+ ol.decimal {
502
+ list-style-type: decimal-leading-zero;
503
+ }
504
+
505
+ /* line 455, ../conference.scss */
506
+ ol.loweralpha {
507
+ list-style-type: lower-alpha;
508
+ }
509
+
510
+ /* line 459, ../conference.scss */
511
+ ol.upperalpha {
512
+ list-style-type: upper-alpha;
513
+ }
514
+
515
+ /* line 463, ../conference.scss */
516
+ ol.lowerroman {
517
+ list-style-type: lower-roman;
518
+ }
519
+
520
+ /* line 467, ../conference.scss */
521
+ ol.upperroman {
522
+ list-style-type: upper-roman;
523
+ }
524
+
525
+ /* line 471, ../conference.scss */
526
+ ol.lowergreek {
527
+ list-style-type: lower-greek;
528
+ }
529
+
530
+ /**************************************************************
531
+ * Admonition Asciidoctor
532
+ *
533
+ * Mar 03, CHM: Added
534
+ **************************************************************/
535
+ /* line 480, ../conference.scss */
536
+ .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 {
537
+ text-align: left;
538
+ font-weight: bold;
539
+ }
540
+
541
+ /* line 485, ../conference.scss */
542
+ .admonitionblock > table {
543
+ border: 0;
544
+ background: none;
545
+ width: 100%;
546
+ padding: 5px 0px;
547
+ }
548
+
549
+ /* line 492, ../conference.scss */
550
+ .admonitionblock > table td.icon {
551
+ text-align: center;
552
+ width: 80px;
553
+ }
554
+
555
+ /* line 497, ../conference.scss */
556
+ .admonitionblock > table td.icon img {
557
+ max-width: none;
558
+ }
559
+
560
+ /* line 501, ../conference.scss */
561
+ .admonitionblock > table td.icon .title {
562
+ font-weight: bold;
563
+ text-transform: uppercase;
564
+ }
565
+
566
+ /* line 506, ../conference.scss */
567
+ .admonitionblock > table td.content {
568
+ padding-left: 1.125em;
569
+ padding-right: 1.25em;
570
+ border-left: 1px solid #dddddd;
571
+ color: #6f6f6f;
572
+ font-size: 20px;
573
+ font-style: normal;
574
+ }
575
+
576
+ /* Override the color for the list */
577
+ /* line 516, ../conference.scss */
578
+ .admonitionblock > table td.content ul li, .admonitionblock > table td.content ol li, .admonitionblock > table td.content ol p, .admonitionblock > table td.content ul p {
579
+ color: #6f6f6f;
580
+ }
581
+
582
+ /* line 520, ../conference.scss */
583
+ .admonitionblock > table td.content > :last-child > :last-child {
584
+ margin-bottom: 0;
585
+ }
586
+
587
+ /* line 524, ../conference.scss */
588
+ .admonitionblock > table td.icon {
589
+ vertical-align: middle;
590
+ }
591
+
592
+ /* line 528, ../conference.scss */
593
+ .admonitionblock td.icon [class^="icon-"]:before {
594
+ text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
595
+ cursor: default;
596
+ font-style: normal;
597
+ font-weight: normal;
598
+ font-family: FontAwesome;
599
+ text-decoration: inherit;
600
+ font-size: 46px;
601
+ padding-right: 0.5em;
602
+ position: relative;
603
+ left: 0;
604
+ top: 5px;
605
+ }
606
+
607
+ /* line 542, ../conference.scss */
608
+ .admonitionblock td.icon .icon-note:before {
609
+ content: "\f05a";
610
+ color: #005498;
611
+ color: #003f72;
612
+ }
613
+
614
+ /* line 548, ../conference.scss */
615
+ .admonitionblock td.icon .icon-tip:before {
616
+ content: "\f0eb";
617
+ text-shadow: 1px 1px 2px rgba(155, 155, 0, 0.8);
618
+ color: #111;
619
+ }
620
+
621
+ /* Use a more yellow lighter color */
622
+ /* line 555, ../conference.scss */
623
+ .admonitionblock td.icon .icon-warning:before {
624
+ content: "\f071";
625
+ color: #EFEF0C;
626
+ }
627
+
628
+ /* line 560, ../conference.scss */
629
+ .admonitionblock td.icon .icon-caution:before {
630
+ content: "\f06d";
631
+ color: #bf3400;
632
+ }
633
+
634
+ /* line 565, ../conference.scss */
635
+ .admonitionblock td.icon .icon-important:before {
636
+ content: "\f06a";
637
+ color: #bf0000;
638
+ }
639
+
640
+ /**************************************************************
641
+ * Audio, pre tag, ...
642
+ * Mar 23 2015, CHM: Added
643
+ * Mar 25 2015, CHM: Change font size to 28px;
644
+ **************************************************************/
645
+ /* line 575, ../conference.scss */
646
+ .reveal .audioblock {
647
+ padding: 15px 0px;
648
+ }
649
+
650
+ /* line 579, ../conference.scss */
651
+ .reveal p, .reveal ol, .reveal ul, .reveal table, .reveal .colist td {
652
+ font-size: 28px;
653
+ }
654
+
655
+ /* line 583, ../conference.scss */
656
+ .reveal pre {
657
+ font-size: 0.55em;
658
+ }
659
+
660
+ /* line 587, ../conference.scss */
661
+ .reveal .listingblock {
662
+ padding-bottom: 10px;
663
+ }