fortitude 0.9.1 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -1
  3. data/.travis.yml +28 -22
  4. data/CHANGES.md +50 -0
  5. data/CONTRIBUTORS.md +1 -0
  6. data/doc/.gitignore +18 -0
  7. data/doc/Gemfile +21 -0
  8. data/doc/config.rb +92 -0
  9. data/doc/source/images/background.png +0 -0
  10. data/doc/source/images/middleman.png +0 -0
  11. data/doc/source/images/why/icon_button.png +0 -0
  12. data/doc/source/images/why/icon_button@2x.png +0 -0
  13. data/doc/source/images/why/modal_dialog@2x.png +0 -0
  14. data/doc/source/index.html.pcss +96 -0
  15. data/doc/source/index.html.rb +66 -0
  16. data/doc/source/javascripts/all.js +1 -0
  17. data/doc/source/javascripts/highlight.pack.js +1 -0
  18. data/doc/source/layouts/layout.rb +55 -0
  19. data/doc/source/portable/fortitude-bootstrap.rb +53 -0
  20. data/doc/source/shared/base.pcss +62 -0
  21. data/doc/source/shared/base.rb +30 -0
  22. data/doc/source/shared/common.rb +55 -0
  23. data/doc/source/shared/standard_page.rb +40 -0
  24. data/doc/source/stylesheets/_shared_prefix.scss +25 -0
  25. data/doc/source/stylesheets/all.css.scss +7 -0
  26. data/doc/source/stylesheets/basics.css.scss +20 -0
  27. data/doc/source/stylesheets/bootstrap_importer.css.scss +1 -0
  28. data/doc/source/stylesheets/highlight/arta.css +140 -0
  29. data/doc/source/stylesheets/highlight/ascetic.css +52 -0
  30. data/doc/source/stylesheets/highlight/atelier-dune.dark.css +95 -0
  31. data/doc/source/stylesheets/highlight/atelier-dune.light.css +95 -0
  32. data/doc/source/stylesheets/highlight/atelier-forest.dark.css +95 -0
  33. data/doc/source/stylesheets/highlight/atelier-forest.light.css +95 -0
  34. data/doc/source/stylesheets/highlight/atelier-heath.dark.css +95 -0
  35. data/doc/source/stylesheets/highlight/atelier-heath.light.css +95 -0
  36. data/doc/source/stylesheets/highlight/atelier-lakeside.dark.css +95 -0
  37. data/doc/source/stylesheets/highlight/atelier-lakeside.light.css +95 -0
  38. data/doc/source/stylesheets/highlight/atelier-seaside.dark.css +95 -0
  39. data/doc/source/stylesheets/highlight/atelier-seaside.light.css +95 -0
  40. data/doc/source/stylesheets/highlight/brown_paper.css +104 -0
  41. data/doc/source/stylesheets/highlight/brown_papersq.png +0 -0
  42. data/doc/source/stylesheets/highlight/codepen-embed.css +108 -0
  43. data/doc/source/stylesheets/highlight/color-brewer.css +168 -0
  44. data/doc/source/stylesheets/highlight/dark.css +104 -0
  45. data/doc/source/stylesheets/highlight/default.css +152 -0
  46. data/doc/source/stylesheets/highlight/docco.css +135 -0
  47. data/doc/source/stylesheets/highlight/far.css +111 -0
  48. data/doc/source/stylesheets/highlight/foundation.css +136 -0
  49. data/doc/source/stylesheets/highlight/github.css +124 -0
  50. data/doc/source/stylesheets/highlight/googlecode.css +147 -0
  51. data/doc/source/stylesheets/highlight/hybrid.css +170 -0
  52. data/doc/source/stylesheets/highlight/idea.css +125 -0
  53. data/doc/source/stylesheets/highlight/ir_black.css +109 -0
  54. data/doc/source/stylesheets/highlight/kimbie.dark.css +96 -0
  55. data/doc/source/stylesheets/highlight/kimbie.light.css +96 -0
  56. data/doc/source/stylesheets/highlight/magula.css +121 -0
  57. data/doc/source/stylesheets/highlight/mono-blue.css +69 -0
  58. data/doc/source/stylesheets/highlight/monokai.css +127 -0
  59. data/doc/source/stylesheets/highlight/monokai_sublime.css +154 -0
  60. data/doc/source/stylesheets/highlight/obsidian.css +153 -0
  61. data/doc/source/stylesheets/highlight/paraiso.dark.css +95 -0
  62. data/doc/source/stylesheets/highlight/paraiso.light.css +95 -0
  63. data/doc/source/stylesheets/highlight/pojoaque.css +107 -0
  64. data/doc/source/stylesheets/highlight/pojoaque.jpg +0 -0
  65. data/doc/source/stylesheets/highlight/railscasts.css +187 -0
  66. data/doc/source/stylesheets/highlight/rainbow.css +108 -0
  67. data/doc/source/stylesheets/highlight/school_book.css +112 -0
  68. data/doc/source/stylesheets/highlight/school_book.png +0 -0
  69. data/doc/source/stylesheets/highlight/solarized_dark.css +108 -0
  70. data/doc/source/stylesheets/highlight/solarized_light.css +108 -0
  71. data/doc/source/stylesheets/highlight/sunburst.css +164 -0
  72. data/doc/source/stylesheets/highlight/tomorrow-night-blue.css +95 -0
  73. data/doc/source/stylesheets/highlight/tomorrow-night-bright.css +94 -0
  74. data/doc/source/stylesheets/highlight/tomorrow-night-eighties.css +94 -0
  75. data/doc/source/stylesheets/highlight/tomorrow-night.css +95 -0
  76. data/doc/source/stylesheets/highlight/tomorrow.css +92 -0
  77. data/doc/source/stylesheets/highlight/vs.css +93 -0
  78. data/doc/source/stylesheets/highlight/xcode.css +158 -0
  79. data/doc/source/stylesheets/highlight/zenburn.css +118 -0
  80. data/doc/source/why/a_larger_view.html.rb +774 -0
  81. data/doc/source/why/a_simple_helper.html.rb +332 -0
  82. data/doc/source/why/building_a_rich_modal_dialog.html.rb +156 -0
  83. data/doc/source/why/commonality_and_inheritance.html.rb +564 -0
  84. data/doc/source/why/example_list.rb +60 -0
  85. data/doc/source/why/example_page.rb +116 -0
  86. data/doc/source/why/index.html.rb +86 -0
  87. data/doc/source/why/other_benefits.html.rb +110 -0
  88. data/fortitude.gemspec +6 -1
  89. data/lib/fortitude/doctypes/html4_tags_strict.rb +1 -0
  90. data/lib/fortitude/doctypes/html5.rb +1 -0
  91. data/lib/fortitude/method_templates/tag_method_template.rb.smpl +27 -14
  92. data/lib/fortitude/rails/helpers.rb +2 -2
  93. data/lib/fortitude/rendering_context.rb +10 -1
  94. data/lib/fortitude/tags/tag.rb +3 -2
  95. data/lib/fortitude/tags/tag_support.rb +8 -3
  96. data/lib/fortitude/tilt/fortitude_template.rb +6 -2
  97. data/lib/fortitude/version.rb +1 -1
  98. data/lib/fortitude/widget.rb +2 -0
  99. data/lib/fortitude/widget/convenience.rb +30 -0
  100. data/lib/fortitude/widget/files.rb +22 -11
  101. data/lib/fortitude/widget/needs.rb +5 -3
  102. data/spec/helpers/system_helpers.rb +1 -0
  103. data/spec/rails/development_mode_system_spec.rb +0 -1
  104. data/spec/rails/rendering_system_spec.rb +20 -1
  105. data/spec/rails/templates/rendering_system_spec/app/controllers/rendering_system_spec_controller.rb +13 -0
  106. data/spec/rails/templates/rendering_system_spec/app/views/rendering_system_spec/render_hash_subclass.rb +18 -0
  107. data/spec/rails/templates/rendering_system_spec/lib/my_hash.rb +5 -0
  108. data/spec/system/convenience_methods_system_spec.rb +166 -0
  109. data/spec/system/formatting_system_spec.rb +25 -1
  110. data/spec/system/tag_rendering_system_spec.rb +73 -0
  111. data/spec/system/tilt_system_spec.rb +31 -0
  112. data/spec/system/widget_class_from_spec.rb +20 -4
  113. metadata +92 -4
@@ -0,0 +1,127 @@
1
+ /*
2
+ Monokai style - ported by Luigi Maselli - http://grigio.org
3
+ */
4
+
5
+ .hljs {
6
+ display: block;
7
+ overflow-x: auto;
8
+ padding: 0.5em;
9
+ background: #272822;
10
+ -webkit-text-size-adjust: none;
11
+ }
12
+
13
+ .hljs-tag,
14
+ .hljs-tag .hljs-title,
15
+ .hljs-keyword,
16
+ .hljs-literal,
17
+ .hljs-strong,
18
+ .hljs-change,
19
+ .hljs-winutils,
20
+ .hljs-flow,
21
+ .nginx .hljs-title,
22
+ .tex .hljs-special {
23
+ color: #f92672;
24
+ }
25
+
26
+ .hljs {
27
+ color: #ddd;
28
+ }
29
+
30
+ .hljs .hljs-constant,
31
+ .asciidoc .hljs-code,
32
+ .markdown .hljs-code {
33
+ color: #66d9ef;
34
+ }
35
+
36
+ .hljs-code,
37
+ .hljs-class .hljs-title,
38
+ .hljs-header {
39
+ color: white;
40
+ }
41
+
42
+ .hljs-link_label,
43
+ .hljs-attribute,
44
+ .hljs-symbol,
45
+ .hljs-symbol .hljs-string,
46
+ .hljs-value,
47
+ .hljs-regexp {
48
+ color: #bf79db;
49
+ }
50
+
51
+ .hljs-link_url,
52
+ .hljs-tag .hljs-value,
53
+ .hljs-string,
54
+ .hljs-bullet,
55
+ .hljs-subst,
56
+ .hljs-title,
57
+ .hljs-emphasis,
58
+ .hljs-type,
59
+ .hljs-preprocessor,
60
+ .hljs-pragma,
61
+ .ruby .hljs-class .hljs-parent,
62
+ .hljs-built_in,
63
+ .django .hljs-template_tag,
64
+ .django .hljs-variable,
65
+ .smalltalk .hljs-class,
66
+ .hljs-javadoc,
67
+ .django .hljs-filter .hljs-argument,
68
+ .smalltalk .hljs-localvars,
69
+ .smalltalk .hljs-array,
70
+ .hljs-attr_selector,
71
+ .hljs-pseudo,
72
+ .hljs-addition,
73
+ .hljs-stream,
74
+ .hljs-envvar,
75
+ .apache .hljs-tag,
76
+ .apache .hljs-cbracket,
77
+ .tex .hljs-command,
78
+ .hljs-prompt {
79
+ color: #a6e22e;
80
+ }
81
+
82
+ .hljs-comment,
83
+ .hljs-annotation,
84
+ .smartquote,
85
+ .hljs-blockquote,
86
+ .hljs-horizontal_rule,
87
+ .hljs-decorator,
88
+ .hljs-pi,
89
+ .hljs-doctype,
90
+ .hljs-deletion,
91
+ .hljs-shebang,
92
+ .apache .hljs-sqbracket,
93
+ .tex .hljs-formula {
94
+ color: #75715e;
95
+ }
96
+
97
+ .hljs-keyword,
98
+ .hljs-literal,
99
+ .css .hljs-id,
100
+ .hljs-phpdoc,
101
+ .hljs-dartdoc,
102
+ .hljs-title,
103
+ .hljs-header,
104
+ .hljs-type,
105
+ .vbscript .hljs-built_in,
106
+ .rsl .hljs-built_in,
107
+ .smalltalk .hljs-class,
108
+ .diff .hljs-header,
109
+ .hljs-chunk,
110
+ .hljs-winutils,
111
+ .bash .hljs-variable,
112
+ .apache .hljs-tag,
113
+ .tex .hljs-special,
114
+ .hljs-request,
115
+ .hljs-status {
116
+ font-weight: bold;
117
+ }
118
+
119
+ .coffeescript .javascript,
120
+ .javascript .xml,
121
+ .tex .hljs-formula,
122
+ .xml .javascript,
123
+ .xml .vbscript,
124
+ .xml .css,
125
+ .xml .hljs-cdata {
126
+ opacity: 0.5;
127
+ }
@@ -0,0 +1,154 @@
1
+ /*
2
+
3
+ Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-license.org/
4
+
5
+ */
6
+
7
+ .hljs {
8
+ display: block;
9
+ overflow-x: auto;
10
+ padding: 0.5em;
11
+ background: #23241f;
12
+ -webkit-text-size-adjust: none;
13
+ }
14
+
15
+ .hljs,
16
+ .hljs-tag,
17
+ .css .hljs-rules,
18
+ .css .hljs-value,
19
+ .aspectj .hljs-function,
20
+ .css .hljs-function
21
+ .hljs-preprocessor,
22
+ .hljs-pragma {
23
+ color: #f8f8f2;
24
+ }
25
+
26
+ .hljs-strongemphasis,
27
+ .hljs-strong,
28
+ .hljs-emphasis {
29
+ color: #a8a8a2;
30
+ }
31
+
32
+ .hljs-bullet,
33
+ .hljs-blockquote,
34
+ .hljs-horizontal_rule,
35
+ .hljs-number,
36
+ .hljs-regexp,
37
+ .alias .hljs-keyword,
38
+ .hljs-literal,
39
+ .hljs-hexcolor {
40
+ color: #ae81ff;
41
+ }
42
+
43
+ .hljs-tag .hljs-value,
44
+ .hljs-code,
45
+ .hljs-title,
46
+ .css .hljs-class,
47
+ .hljs-class .hljs-title:last-child {
48
+ color: #a6e22e;
49
+ }
50
+
51
+ .hljs-link_url {
52
+ font-size: 80%;
53
+ }
54
+
55
+ .hljs-strong,
56
+ .hljs-strongemphasis {
57
+ font-weight: bold;
58
+ }
59
+
60
+ .hljs-emphasis,
61
+ .hljs-strongemphasis,
62
+ .hljs-class .hljs-title:last-child,
63
+ .hljs-typename {
64
+ font-style: italic;
65
+ }
66
+
67
+ .hljs-keyword,
68
+ .ruby .hljs-class .hljs-keyword:first-child,
69
+ .ruby .hljs-function .hljs-keyword,
70
+ .hljs-function,
71
+ .hljs-change,
72
+ .hljs-winutils,
73
+ .hljs-flow,
74
+ .nginx .hljs-title,
75
+ .tex .hljs-special,
76
+ .hljs-header,
77
+ .hljs-attribute,
78
+ .hljs-symbol,
79
+ .hljs-symbol .hljs-string,
80
+ .hljs-tag .hljs-title,
81
+ .hljs-value,
82
+ .alias .hljs-keyword:first-child,
83
+ .css .hljs-tag,
84
+ .css .unit,
85
+ .css .hljs-important {
86
+ color: #f92672;
87
+ }
88
+
89
+ .hljs-function .hljs-keyword,
90
+ .hljs-class .hljs-keyword:first-child,
91
+ .hljs-aspect .hljs-keyword:first-child,
92
+ .hljs-constant,
93
+ .hljs-typename,
94
+ .css .hljs-attribute {
95
+ color: #66d9ef;
96
+ }
97
+
98
+ .hljs-variable,
99
+ .hljs-params,
100
+ .hljs-class .hljs-title,
101
+ .hljs-aspect .hljs-title {
102
+ color: #f8f8f2;
103
+ }
104
+
105
+ .hljs-string,
106
+ .css .hljs-id,
107
+ .hljs-subst,
108
+ .hljs-type,
109
+ .ruby .hljs-class .hljs-parent,
110
+ .hljs-built_in,
111
+ .django .hljs-template_tag,
112
+ .django .hljs-variable,
113
+ .smalltalk .hljs-class,
114
+ .django .hljs-filter .hljs-argument,
115
+ .smalltalk .hljs-localvars,
116
+ .smalltalk .hljs-array,
117
+ .hljs-attr_selector,
118
+ .hljs-pseudo,
119
+ .hljs-addition,
120
+ .hljs-stream,
121
+ .hljs-envvar,
122
+ .apache .hljs-tag,
123
+ .apache .hljs-cbracket,
124
+ .tex .hljs-command,
125
+ .hljs-prompt,
126
+ .hljs-link_label,
127
+ .hljs-link_url {
128
+ color: #e6db74;
129
+ }
130
+
131
+ .hljs-comment,
132
+ .hljs-javadoc,
133
+ .hljs-annotation,
134
+ .hljs-decorator,
135
+ .hljs-pi,
136
+ .hljs-doctype,
137
+ .hljs-deletion,
138
+ .hljs-shebang,
139
+ .apache .hljs-sqbracket,
140
+ .tex .hljs-formula {
141
+ color: #75715e;
142
+ }
143
+
144
+ .coffeescript .javascript,
145
+ .javascript .xml,
146
+ .tex .hljs-formula,
147
+ .xml .javascript,
148
+ .xml .vbscript,
149
+ .xml .css,
150
+ .xml .hljs-cdata,
151
+ .xml .php,
152
+ .php .xml {
153
+ opacity: 0.5;
154
+ }
@@ -0,0 +1,153 @@
1
+ /**
2
+ * Obsidian style
3
+ * ported by Alexander Marenin (http://github.com/ioncreature)
4
+ */
5
+
6
+ .hljs {
7
+ display: block;
8
+ overflow-x: auto;
9
+ padding: 0.5em;
10
+ background: #282b2e;
11
+ -webkit-text-size-adjust: none;
12
+ }
13
+
14
+ .hljs-keyword,
15
+ .hljs-literal,
16
+ .hljs-change,
17
+ .hljs-winutils,
18
+ .hljs-flow,
19
+ .nginx .hljs-title,
20
+ .css .hljs-id,
21
+ .tex .hljs-special {
22
+ color: #93c763;
23
+ }
24
+
25
+ .hljs-number {
26
+ color: #ffcd22;
27
+ }
28
+
29
+ .hljs {
30
+ color: #e0e2e4;
31
+ }
32
+
33
+ .css .hljs-tag,
34
+ .css .hljs-pseudo {
35
+ color: #d0d2b5;
36
+ }
37
+
38
+ .hljs-attribute,
39
+ .hljs .hljs-constant {
40
+ color: #668bb0;
41
+ }
42
+
43
+ .xml .hljs-attribute {
44
+ color: #b3b689;
45
+ }
46
+
47
+ .xml .hljs-tag .hljs-value {
48
+ color: #e8e2b7;
49
+ }
50
+
51
+ .hljs-code,
52
+ .hljs-class .hljs-title,
53
+ .hljs-header {
54
+ color: white;
55
+ }
56
+
57
+ .hljs-class,
58
+ .hljs-hexcolor {
59
+ color: #93c763;
60
+ }
61
+
62
+ .hljs-regexp {
63
+ color: #d39745;
64
+ }
65
+
66
+ .hljs-at_rule,
67
+ .hljs-at_rule .hljs-keyword {
68
+ color: #a082bd;
69
+ }
70
+
71
+ .hljs-doctype {
72
+ color: #557182;
73
+ }
74
+
75
+ .hljs-link_url,
76
+ .hljs-tag,
77
+ .hljs-tag .hljs-title,
78
+ .hljs-bullet,
79
+ .hljs-subst,
80
+ .hljs-emphasis,
81
+ .hljs-type,
82
+ .hljs-preprocessor,
83
+ .hljs-pragma,
84
+ .ruby .hljs-class .hljs-parent,
85
+ .hljs-built_in,
86
+ .django .hljs-template_tag,
87
+ .django .hljs-variable,
88
+ .smalltalk .hljs-class,
89
+ .hljs-javadoc,
90
+ .django .hljs-filter .hljs-argument,
91
+ .smalltalk .hljs-localvars,
92
+ .smalltalk .hljs-array,
93
+ .hljs-attr_selector,
94
+ .hljs-pseudo,
95
+ .hljs-addition,
96
+ .hljs-stream,
97
+ .hljs-envvar,
98
+ .apache .hljs-tag,
99
+ .apache .hljs-cbracket,
100
+ .tex .hljs-command,
101
+ .hljs-prompt {
102
+ color: #8cbbad;
103
+ }
104
+
105
+ .hljs-string {
106
+ color: #ec7600;
107
+ }
108
+
109
+ .hljs-comment,
110
+ .hljs-annotation,
111
+ .hljs-blockquote,
112
+ .hljs-horizontal_rule,
113
+ .hljs-decorator,
114
+ .hljs-pi,
115
+ .hljs-deletion,
116
+ .hljs-shebang,
117
+ .apache .hljs-sqbracket,
118
+ .tex .hljs-formula {
119
+ color: #818e96;
120
+ }
121
+
122
+ .hljs-keyword,
123
+ .hljs-literal,
124
+ .css .hljs-id,
125
+ .hljs-phpdoc,
126
+ .hljs-dartdoc,
127
+ .hljs-title,
128
+ .hljs-header,
129
+ .hljs-type,
130
+ .vbscript .hljs-built_in,
131
+ .rsl .hljs-built_in,
132
+ .smalltalk .hljs-class,
133
+ .diff .hljs-header,
134
+ .hljs-chunk,
135
+ .hljs-winutils,
136
+ .bash .hljs-variable,
137
+ .apache .hljs-tag,
138
+ .tex .hljs-special,
139
+ .hljs-request,
140
+ .hljs-at_rule .hljs-keyword,
141
+ .hljs-status {
142
+ font-weight: bold;
143
+ }
144
+
145
+ .coffeescript .javascript,
146
+ .javascript .xml,
147
+ .tex .hljs-formula,
148
+ .xml .javascript,
149
+ .xml .vbscript,
150
+ .xml .css,
151
+ .xml .hljs-cdata {
152
+ opacity: 0.5;
153
+ }
@@ -0,0 +1,95 @@
1
+ /*
2
+ Paraíso (dark)
3
+ Created by Jan T. Sott (http://github.com/idleberg)
4
+ Inspired by the art of Rubens LP (http://www.rubenslp.com.br)
5
+ */
6
+
7
+ /* Paraíso Comment */
8
+ .hljs-comment,
9
+ .hljs-title {
10
+ color: #8d8687;
11
+ }
12
+
13
+ /* Paraíso Red */
14
+ .hljs-variable,
15
+ .hljs-attribute,
16
+ .hljs-tag,
17
+ .hljs-regexp,
18
+ .ruby .hljs-constant,
19
+ .xml .hljs-tag .hljs-title,
20
+ .xml .hljs-pi,
21
+ .xml .hljs-doctype,
22
+ .html .hljs-doctype,
23
+ .css .hljs-id,
24
+ .css .hljs-class,
25
+ .css .hljs-pseudo {
26
+ color: #ef6155;
27
+ }
28
+
29
+ /* Paraíso Orange */
30
+ .hljs-number,
31
+ .hljs-preprocessor,
32
+ .hljs-built_in,
33
+ .hljs-literal,
34
+ .hljs-params,
35
+ .hljs-constant {
36
+ color: #f99b15;
37
+ }
38
+
39
+ /* Paraíso Yellow */
40
+ .ruby .hljs-class .hljs-title,
41
+ .css .hljs-rules .hljs-attribute {
42
+ color: #fec418;
43
+ }
44
+
45
+ /* Paraíso Green */
46
+ .hljs-string,
47
+ .hljs-value,
48
+ .hljs-inheritance,
49
+ .hljs-header,
50
+ .ruby .hljs-symbol,
51
+ .xml .hljs-cdata {
52
+ color: #48b685;
53
+ }
54
+
55
+ /* Paraíso Aqua */
56
+ .css .hljs-hexcolor {
57
+ color: #5bc4bf;
58
+ }
59
+
60
+ /* Paraíso Blue */
61
+ .hljs-function,
62
+ .python .hljs-decorator,
63
+ .python .hljs-title,
64
+ .ruby .hljs-function .hljs-title,
65
+ .ruby .hljs-title .hljs-keyword,
66
+ .perl .hljs-sub,
67
+ .javascript .hljs-title,
68
+ .coffeescript .hljs-title {
69
+ color: #06b6ef;
70
+ }
71
+
72
+ /* Paraíso Purple */
73
+ .hljs-keyword,
74
+ .javascript .hljs-function {
75
+ color: #815ba4;
76
+ }
77
+
78
+ .hljs {
79
+ display: block;
80
+ overflow-x: auto;
81
+ background: #2f1e2e;
82
+ color: #a39e9b;
83
+ padding: 0.5em;
84
+ -webkit-text-size-adjust: none;
85
+ }
86
+
87
+ .coffeescript .javascript,
88
+ .javascript .xml,
89
+ .tex .hljs-formula,
90
+ .xml .javascript,
91
+ .xml .vbscript,
92
+ .xml .css,
93
+ .xml .hljs-cdata {
94
+ opacity: 0.5;
95
+ }