boomack 0.14.10 → 0.15.0-preview5

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 (137) hide show
  1. package/README.md +1 -1
  2. package/client/public/css/main.css +7 -0
  3. package/client/public/css/prism-no-theme.css +190 -190
  4. package/client/themes/blue-night/prism.css +128 -128
  5. package/client/themes/blue-night/semantic.full.min.css +403 -403
  6. package/client/themes/blue-night/semantic.full.min.js +10 -10
  7. package/client/themes/blue-night/semantic.slim.min.css +98 -98
  8. package/client/themes/blue-night/semantic.slim.min.js +10 -10
  9. package/client/themes/dark/prism.css +173 -173
  10. package/client/themes/dark/semantic.full.min.css +403 -403
  11. package/client/themes/dark/semantic.full.min.js +10 -10
  12. package/client/themes/dark/semantic.slim.min.css +98 -98
  13. package/client/themes/dark/semantic.slim.min.js +10 -10
  14. package/client/themes/default/prism.css +190 -190
  15. package/client/themes/default/semantic.full.min.css +403 -403
  16. package/client/themes/default/semantic.full.min.js +10 -10
  17. package/client/themes/default/semantic.slim.min.css +98 -98
  18. package/client/themes/default/semantic.slim.min.js +10 -10
  19. package/client/themes/green-night/prism.css +128 -128
  20. package/client/themes/green-night/semantic.full.min.css +403 -403
  21. package/client/themes/green-night/semantic.full.min.js +10 -10
  22. package/client/themes/green-night/semantic.slim.min.css +98 -98
  23. package/client/themes/green-night/semantic.slim.min.js +10 -10
  24. package/client/themes/iron/prism.css +131 -131
  25. package/client/themes/iron/semantic.full.min.css +403 -403
  26. package/client/themes/iron/semantic.full.min.js +10 -10
  27. package/client/themes/iron/semantic.slim.min.css +98 -98
  28. package/client/themes/iron/semantic.slim.min.js +10 -10
  29. package/client/themes/red-night/prism.css +130 -130
  30. package/client/themes/red-night/semantic.full.min.css +403 -403
  31. package/client/themes/red-night/semantic.full.min.js +10 -10
  32. package/client/themes/red-night/semantic.slim.min.css +98 -98
  33. package/client/themes/red-night/semantic.slim.min.js +10 -10
  34. package/client/themes/science/prism.css +161 -161
  35. package/client/themes/science/semantic.full.min.css +403 -403
  36. package/client/themes/science/semantic.full.min.js +10 -10
  37. package/client/themes/science/semantic.slim.min.css +98 -98
  38. package/client/themes/science/semantic.slim.min.js +10 -10
  39. package/client/views/login.ejs +1 -1
  40. package/client/views/parts/client-resources.ejs +2 -2
  41. package/client/views/parts/document-layout.ejs +1 -0
  42. package/client/views/parts/grid-layout.ejs +1 -0
  43. package/client/views/parts/home-head.ejs +1 -1
  44. package/client/views/parts/panel-customization.ejs +40 -1
  45. package/client/views/parts/panel-head.ejs +1 -1
  46. package/client/views/parts/slot.ejs +1 -0
  47. package/package.json +49 -47
  48. package/server-build/index.cjs +497 -0
  49. package/server-build/index.js +467 -481
  50. package/server-build/middleware/basic-auth.js +16 -14
  51. package/server-build/middleware/data-parser.js +151 -149
  52. package/server-build/middleware/standard-auth.js +63 -61
  53. package/server-build/middleware/token-auth.js +51 -50
  54. package/server-build/model/action.js +30 -28
  55. package/server-build/model/action.test.js +31 -27
  56. package/server-build/model/display-request.js +160 -158
  57. package/server-build/model/display-request.test.js +237 -238
  58. package/server-build/model/layout.js +324 -283
  59. package/server-build/model/layout.test.js +341 -330
  60. package/server-build/pipeline/format.js +144 -139
  61. package/server-build/pipeline/format.test.js +362 -365
  62. package/server-build/pipeline/load.js +280 -277
  63. package/server-build/pipeline/load.test.js +319 -318
  64. package/server-build/pipeline/render.js +159 -156
  65. package/server-build/pipeline/render.test.js +114 -115
  66. package/server-build/pipeline/store.js +186 -183
  67. package/server-build/pipeline/store.test.js +183 -181
  68. package/server-build/pipeline/transform.js +75 -72
  69. package/server-build/pipeline/transform.test.js +79 -81
  70. package/server-build/pipeline.js +617 -610
  71. package/server-build/pipeline.test.js +415 -417
  72. package/server-build/plugins/client-resources/tablesort.js +109 -109
  73. package/server-build/plugins/csv.js +158 -156
  74. package/server-build/plugins/generic.js +27 -26
  75. package/server-build/plugins/highlight.js +63 -61
  76. package/server-build/plugins/highlight.types.js +123 -124
  77. package/server-build/plugins/http.js +138 -135
  78. package/server-build/plugins/markdown.js +106 -100
  79. package/server-build/plugins/media.js +100 -99
  80. package/server-build/plugins/shell.js +220 -223
  81. package/server-build/plugins/shell.test.js +293 -294
  82. package/server-build/plugins/tcp.js +142 -141
  83. package/server-build/plugins/text.js +71 -70
  84. package/server-build/plugins/udp.js +83 -82
  85. package/server-build/routes/actions.js +116 -117
  86. package/server-build/routes/display-requests.js +329 -330
  87. package/server-build/routes/eval-requests.js +143 -147
  88. package/server-build/routes/export.js +575 -574
  89. package/server-build/routes/media-types.js +101 -102
  90. package/server-build/routes/panels.js +215 -211
  91. package/server-build/routes/presets.js +88 -89
  92. package/server-build/routes/resources.js +66 -61
  93. package/server-build/routes/web-client.js +725 -668
  94. package/server-build/service/actions.js +162 -153
  95. package/server-build/service/actions.test.js +46 -47
  96. package/server-build/service/char-encoding.js +72 -67
  97. package/server-build/service/char-encoding.test.js +56 -57
  98. package/server-build/service/cli-args.js +89 -85
  99. package/server-build/service/cli-args.test.js +7 -8
  100. package/server-build/service/client-resources.js +28 -29
  101. package/server-build/service/config-check.js +97 -98
  102. package/server-build/service/config.js +465 -448
  103. package/server-build/service/config.test.js +247 -246
  104. package/server-build/service/display-task-helper.js +59 -53
  105. package/server-build/service/highlight.js +65 -62
  106. package/server-build/service/html.js +61 -53
  107. package/server-build/service/html.test.js +66 -67
  108. package/server-build/service/logging.js +72 -74
  109. package/server-build/service/media-types.js +112 -103
  110. package/server-build/service/media-types.test.js +43 -44
  111. package/server-build/service/micro-markdown.js +70 -67
  112. package/server-build/service/micro-markdown.test.js +26 -27
  113. package/server-build/service/mime-type.js +72 -69
  114. package/server-build/service/mime-type.test.js +65 -66
  115. package/server-build/service/panels.js +598 -580
  116. package/server-build/service/panels.test.js +737 -763
  117. package/server-build/service/payload-encoding.js +29 -29
  118. package/server-build/service/persistence.js +146 -147
  119. package/server-build/service/plugins.js +339 -254
  120. package/server-build/service/plugins.test.js +135 -109
  121. package/server-build/service/presets.js +130 -122
  122. package/server-build/service/presets.test.js +128 -129
  123. package/server-build/service/rbac.js +129 -125
  124. package/server-build/service/render.js +64 -57
  125. package/server-build/service/render.test.js +168 -169
  126. package/server-build/service/resources.js +434 -399
  127. package/server-build/service/resources.test.js +385 -376
  128. package/server-build/service/response-messages.js +88 -89
  129. package/server-build/service/themes.js +122 -115
  130. package/server-build/service/transform.js +76 -69
  131. package/server-build/service/transform.test.js +167 -168
  132. package/server-build/service/web-ui-paths.js +58 -51
  133. package/server-build/service/web-user.js +29 -27
  134. package/server-build/typedefs.js +552 -528
  135. package/server-build/utils.js +554 -472
  136. package/server-build/utils.test.js +398 -400
  137. package/server-build/cli.js +0 -3
package/README.md CHANGED
@@ -8,7 +8,7 @@ Inspired by ideas from Daniel Kiertscher
8
8
 
9
9
  ## Requirements
10
10
 
11
- * NodeJS ≥ 16
11
+ * NodeJS ≥ 18
12
12
 
13
13
  ## Getting Started
14
14
 
@@ -236,6 +236,10 @@ header.home-header {
236
236
  box-shadow: none;
237
237
  }
238
238
 
239
+ .slot.click-through {
240
+ pointer-events: none;
241
+ }
242
+
239
243
  .slot.maximized {
240
244
  grid-column: 1 / -1 !important;
241
245
  grid-row: 1 / -1 !important;
@@ -292,6 +296,9 @@ header.home-header {
292
296
  }
293
297
  }
294
298
 
299
+ .slot-toolbar {
300
+ pointer-events: all;
301
+ }
295
302
  .slot-toolbar.ui.top {
296
303
  z-index: 2;
297
304
  }
@@ -1,190 +1,190 @@
1
- /* PrismJS 1.17.1
2
- https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+abap+abnf+actionscript+ada+antlr4+apacheconf+apl+applescript+aql+c+arff+asciidoc+asm6502+csharp+autohotkey+autoit+bash+basic+batch+bbcode+bison+bnf+brainfuck+brightscript+bro+cpp+aspnet+arduino+cil+coffeescript+cmake+clojure+ruby+csp+css-extras+d+dart+diff+markup-templating+dns-zone-file+docker+ebnf+eiffel+ejs+elixir+elm+lua+erb+erlang+fsharp+firestore-security-rules+flow+fortran+ftl+gcode+gdscript+gedcom+gherkin+git+glsl+gml+go+graphql+groovy+less+handlebars+haskell+haxe+hcl+http+hpkp+hsts+ichigojam+icon+inform7+ini+io+j+java+scala+php+javastacktrace+jolie+jq+javadoclike+n4js+markdown+json+jsonp+json5+julia+keyman+kotlin+latex+crystal+scheme+liquid+lisp+livescript+lolcode+etlua+makefile+js-templates+django+matlab+mel+mizar+monkey+moonscript+n1ql+typescript+nand2tetris-hdl+nasm+nginx+nim+nix+nsis+objectivec+ocaml+opencl+oz+parigp+parser+pascal+pascaligo+pcaxis+perl+jsdoc+phpdoc+php-extras+sql+powershell+processing+prolog+properties+protobuf+scss+puppet+pure+python+q+qore+r+js-extras+jsx+renpy+reason+vala+rest+rip+roboconf+robotframework+textile+rust+plsql+sass+stylus+javadoc+lilypond+shell-session+smalltalk+smarty+solidity+soy+turtle+splunk-spl+sqf+sas+twig+swift+yaml+tcl+haml+toml+tt2+sparql+pug+tsx+t4-templating+visual-basic+t4-cs+regex+vbnet+velocity+verilog+vhdl+vim+t4-vb+wasm+wiki+xeora+xojo+xquery+tap+zig&plugins=line-numbers */
3
- /**
4
- * prism.js default theme for JavaScript, CSS and HTML
5
- * Based on dabblet (http://dabblet.com)
6
- * @author Lea Verou
7
- */
8
-
9
- code[class*="language-"],
10
- pre[class*="language-"] {
11
- color: black;
12
- background: none;
13
- text-shadow: 0 1px white;
14
- font-family: "Roboto Mono", Consolas, Courier, monospace;
15
- font-size: 1em;
16
- text-align: left;
17
- white-space: pre;
18
- word-spacing: normal;
19
- word-break: normal;
20
- word-wrap: normal;
21
- line-height: 1.5;
22
-
23
- -moz-tab-size: 4;
24
- -o-tab-size: 4;
25
- tab-size: 4;
26
-
27
- -webkit-hyphens: none;
28
- -moz-hyphens: none;
29
- -ms-hyphens: none;
30
- hyphens: none;
31
- }
32
-
33
- pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
34
- code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
35
- text-shadow: none;
36
- background: #b3d4fc;
37
- }
38
-
39
- pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
40
- code[class*="language-"]::selection, code[class*="language-"] ::selection {
41
- text-shadow: none;
42
- background: #b3d4fc;
43
- }
44
-
45
- @media print {
46
- code[class*="language-"],
47
- pre[class*="language-"] {
48
- text-shadow: none;
49
- }
50
- }
51
-
52
- /* Code blocks */
53
- pre[class*="language-"] {
54
- padding: 1em;
55
- margin: .5em 0;
56
- overflow: auto;
57
- }
58
-
59
- :not(pre) > code[class*="language-"],
60
- pre[class*="language-"] {
61
- background: #f5f2f0;
62
- }
63
-
64
- /* Inline code */
65
- :not(pre) > code[class*="language-"] {
66
- padding: .1em;
67
- border-radius: .3em;
68
- white-space: normal;
69
- }
70
-
71
- .token.comment,
72
- .token.block-comment,
73
- .token.prolog,
74
- .token.doctype,
75
- .token.cdata {
76
- color: slategray;
77
- }
78
-
79
- .token.comment,
80
- .token.block-comment {
81
- font-style: italic;
82
- }
83
-
84
- .token.punctuation {
85
- color: #999;
86
- }
87
-
88
- .namespace {
89
- opacity: .7;
90
- }
91
-
92
- .token.property,
93
- .token.tag,
94
- .token.boolean,
95
- .token.number,
96
- .token.constant,
97
- .token.symbol,
98
- .token.deleted {
99
- color: #905;
100
- }
101
-
102
- .token.selector,
103
- .token.attr-name,
104
- .token.string,
105
- .token.char,
106
- .token.builtin,
107
- .token.inserted {
108
- color: #690;
109
- }
110
-
111
- .token.operator,
112
- .token.entity,
113
- .token.url,
114
- .language-css .token.string,
115
- .style .token.string {
116
- color: #9a6e3a;
117
- background: hsla(0, 0%, 100%, .5);
118
- }
119
-
120
- .token.atrule,
121
- .token.attr-value,
122
- .token.keyword {
123
- color: #07a;
124
- }
125
-
126
- .token.function,
127
- .token.class-name {
128
- color: #DD4A68;
129
- }
130
-
131
- .token.regex,
132
- .token.important,
133
- .token.variable {
134
- color: #e90;
135
- }
136
-
137
- .token.important,
138
- .token.bold {
139
- font-weight: bold;
140
- }
141
- .token.italic {
142
- font-style: italic;
143
- }
144
-
145
- .token.entity {
146
- cursor: help;
147
- }
148
-
149
- pre[class*="language-"].line-numbers {
150
- position: relative;
151
- padding-left: 3.8em;
152
- counter-reset: linenumber;
153
- }
154
-
155
- pre[class*="language-"].line-numbers > code {
156
- position: relative;
157
- white-space: inherit;
158
- }
159
-
160
- .line-numbers .line-numbers-rows {
161
- position: absolute;
162
- pointer-events: none;
163
- top: 0;
164
- font-size: 100%;
165
- left: -3.8em;
166
- width: 3em; /* works for line-numbers below 1000 lines */
167
- letter-spacing: -1px;
168
- border-right: 1px solid #999;
169
-
170
- -webkit-user-select: none;
171
- -moz-user-select: none;
172
- -ms-user-select: none;
173
- user-select: none;
174
-
175
- }
176
-
177
- .line-numbers-rows > span {
178
- pointer-events: none;
179
- display: block;
180
- counter-increment: linenumber;
181
- }
182
-
183
- .line-numbers-rows > span:before {
184
- content: counter(linenumber);
185
- color: #999;
186
- display: block;
187
- padding-right: 0.8em;
188
- text-align: right;
189
- }
190
-
1
+ /* PrismJS 1.17.1
2
+ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+abap+abnf+actionscript+ada+antlr4+apacheconf+apl+applescript+aql+c+arff+asciidoc+asm6502+csharp+autohotkey+autoit+bash+basic+batch+bbcode+bison+bnf+brainfuck+brightscript+bro+cpp+aspnet+arduino+cil+coffeescript+cmake+clojure+ruby+csp+css-extras+d+dart+diff+markup-templating+dns-zone-file+docker+ebnf+eiffel+ejs+elixir+elm+lua+erb+erlang+fsharp+firestore-security-rules+flow+fortran+ftl+gcode+gdscript+gedcom+gherkin+git+glsl+gml+go+graphql+groovy+less+handlebars+haskell+haxe+hcl+http+hpkp+hsts+ichigojam+icon+inform7+ini+io+j+java+scala+php+javastacktrace+jolie+jq+javadoclike+n4js+markdown+json+jsonp+json5+julia+keyman+kotlin+latex+crystal+scheme+liquid+lisp+livescript+lolcode+etlua+makefile+js-templates+django+matlab+mel+mizar+monkey+moonscript+n1ql+typescript+nand2tetris-hdl+nasm+nginx+nim+nix+nsis+objectivec+ocaml+opencl+oz+parigp+parser+pascal+pascaligo+pcaxis+perl+jsdoc+phpdoc+php-extras+sql+powershell+processing+prolog+properties+protobuf+scss+puppet+pure+python+q+qore+r+js-extras+jsx+renpy+reason+vala+rest+rip+roboconf+robotframework+textile+rust+plsql+sass+stylus+javadoc+lilypond+shell-session+smalltalk+smarty+solidity+soy+turtle+splunk-spl+sqf+sas+twig+swift+yaml+tcl+haml+toml+tt2+sparql+pug+tsx+t4-templating+visual-basic+t4-cs+regex+vbnet+velocity+verilog+vhdl+vim+t4-vb+wasm+wiki+xeora+xojo+xquery+tap+zig&plugins=line-numbers */
3
+ /**
4
+ * prism.js default theme for JavaScript, CSS and HTML
5
+ * Based on dabblet (http://dabblet.com)
6
+ * @author Lea Verou
7
+ */
8
+
9
+ code[class*="language-"],
10
+ pre[class*="language-"] {
11
+ color: black;
12
+ background: none;
13
+ text-shadow: 0 1px white;
14
+ font-family: "Roboto Mono", Consolas, Courier, monospace;
15
+ font-size: 1em;
16
+ text-align: left;
17
+ white-space: pre;
18
+ word-spacing: normal;
19
+ word-break: normal;
20
+ word-wrap: normal;
21
+ line-height: 1.5;
22
+
23
+ -moz-tab-size: 4;
24
+ -o-tab-size: 4;
25
+ tab-size: 4;
26
+
27
+ -webkit-hyphens: none;
28
+ -moz-hyphens: none;
29
+ -ms-hyphens: none;
30
+ hyphens: none;
31
+ }
32
+
33
+ pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
34
+ code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
35
+ text-shadow: none;
36
+ background: #b3d4fc;
37
+ }
38
+
39
+ pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
40
+ code[class*="language-"]::selection, code[class*="language-"] ::selection {
41
+ text-shadow: none;
42
+ background: #b3d4fc;
43
+ }
44
+
45
+ @media print {
46
+ code[class*="language-"],
47
+ pre[class*="language-"] {
48
+ text-shadow: none;
49
+ }
50
+ }
51
+
52
+ /* Code blocks */
53
+ pre[class*="language-"] {
54
+ padding: 1em;
55
+ margin: .5em 0;
56
+ overflow: auto;
57
+ }
58
+
59
+ :not(pre) > code[class*="language-"],
60
+ pre[class*="language-"] {
61
+ background: #f5f2f0;
62
+ }
63
+
64
+ /* Inline code */
65
+ :not(pre) > code[class*="language-"] {
66
+ padding: .1em;
67
+ border-radius: .3em;
68
+ white-space: normal;
69
+ }
70
+
71
+ .token.comment,
72
+ .token.block-comment,
73
+ .token.prolog,
74
+ .token.doctype,
75
+ .token.cdata {
76
+ color: slategray;
77
+ }
78
+
79
+ .token.comment,
80
+ .token.block-comment {
81
+ font-style: italic;
82
+ }
83
+
84
+ .token.punctuation {
85
+ color: #999;
86
+ }
87
+
88
+ .namespace {
89
+ opacity: .7;
90
+ }
91
+
92
+ .token.property,
93
+ .token.tag,
94
+ .token.boolean,
95
+ .token.number,
96
+ .token.constant,
97
+ .token.symbol,
98
+ .token.deleted {
99
+ color: #905;
100
+ }
101
+
102
+ .token.selector,
103
+ .token.attr-name,
104
+ .token.string,
105
+ .token.char,
106
+ .token.builtin,
107
+ .token.inserted {
108
+ color: #690;
109
+ }
110
+
111
+ .token.operator,
112
+ .token.entity,
113
+ .token.url,
114
+ .language-css .token.string,
115
+ .style .token.string {
116
+ color: #9a6e3a;
117
+ background: hsla(0, 0%, 100%, .5);
118
+ }
119
+
120
+ .token.atrule,
121
+ .token.attr-value,
122
+ .token.keyword {
123
+ color: #07a;
124
+ }
125
+
126
+ .token.function,
127
+ .token.class-name {
128
+ color: #DD4A68;
129
+ }
130
+
131
+ .token.regex,
132
+ .token.important,
133
+ .token.variable {
134
+ color: #e90;
135
+ }
136
+
137
+ .token.important,
138
+ .token.bold {
139
+ font-weight: bold;
140
+ }
141
+ .token.italic {
142
+ font-style: italic;
143
+ }
144
+
145
+ .token.entity {
146
+ cursor: help;
147
+ }
148
+
149
+ pre[class*="language-"].line-numbers {
150
+ position: relative;
151
+ padding-left: 3.8em;
152
+ counter-reset: linenumber;
153
+ }
154
+
155
+ pre[class*="language-"].line-numbers > code {
156
+ position: relative;
157
+ white-space: inherit;
158
+ }
159
+
160
+ .line-numbers .line-numbers-rows {
161
+ position: absolute;
162
+ pointer-events: none;
163
+ top: 0;
164
+ font-size: 100%;
165
+ left: -3.8em;
166
+ width: 3em; /* works for line-numbers below 1000 lines */
167
+ letter-spacing: -1px;
168
+ border-right: 1px solid #999;
169
+
170
+ -webkit-user-select: none;
171
+ -moz-user-select: none;
172
+ -ms-user-select: none;
173
+ user-select: none;
174
+
175
+ }
176
+
177
+ .line-numbers-rows > span {
178
+ pointer-events: none;
179
+ display: block;
180
+ counter-increment: linenumber;
181
+ }
182
+
183
+ .line-numbers-rows > span:before {
184
+ content: counter(linenumber);
185
+ color: #999;
186
+ display: block;
187
+ padding-right: 0.8em;
188
+ text-align: right;
189
+ }
190
+
@@ -1,128 +1,128 @@
1
- /**
2
- * BlueNight for Boomack blue-night theme.
3
- * @author Tobias Kiertscher
4
- */
5
-
6
- code[class*="language-"],
7
- pre[class*="language-"] {
8
- color: #0000C0;
9
- background: none;
10
- font-family: "Roboto Mono", Consolas, Courier, monospace;
11
- font-size: 1em;
12
- text-align: left;
13
- white-space: pre;
14
- word-spacing: normal;
15
- word-break: normal;
16
- word-wrap: normal;
17
- line-height: 1.5;
18
-
19
- -moz-tab-size: 4;
20
- -o-tab-size: 4;
21
- tab-size: 4;
22
-
23
- -webkit-hyphens: none;
24
- -moz-hyphens: none;
25
- -ms-hyphens: none;
26
- hyphens: none;
27
- }
28
- /* Code blocks */
29
- pre[class*="language-"] {
30
- padding: 1em;
31
- margin: .5em 0;
32
- overflow: auto;
33
- }
34
-
35
- :not(pre) > code[class*="language-"],
36
- pre[class*="language-"] {
37
- background: #000000;
38
- }
39
-
40
- /* Inline code */
41
- :not(pre) > code[class*="language-"] {
42
- padding: .1em;
43
- border-radius: .3em;
44
- white-space: normal;
45
- }
46
-
47
- .token.comment,
48
- .token.block-comment,
49
- .token.prolog,
50
- .token.doctype,
51
- .token.cdata {
52
- color: #000060;
53
- }
54
-
55
- .token.comment,
56
- .token.block-comment {
57
- font-style: italic;
58
- }
59
-
60
- .token.punctuation {
61
- color: #0000D0;
62
- }
63
-
64
- .token.tag,
65
- .token.attr-name,
66
- .token.namespace,
67
- .token.deleted {
68
- color: #0000FF;
69
- }
70
-
71
- .token.function,
72
- .token.function-name {
73
- color: #0000FF;
74
- font-style: italic;
75
- }
76
-
77
- .token.boolean,
78
- .token.number {
79
- color: #0000C0;
80
- }
81
-
82
- .token.property,
83
- .token.class-name,
84
- .token.constant,
85
- .token.symbol {
86
- color: #0000FF;
87
- }
88
-
89
- .token.selector,
90
- .token.important,
91
- .token.atrule,
92
- .token.keyword,
93
- .token.builtin {
94
- color: #0000B8;
95
- font-weight: 700;
96
- }
97
-
98
- .token.string,
99
- .token.char,
100
- .token.attr-value,
101
- .token.regex,
102
- .token.variable {
103
- color: #0000E0;
104
- }
105
-
106
- .token.operator,
107
- .token.url {
108
- color: #0000F0;
109
- }
110
-
111
- .token.important,
112
- .token.bold {
113
- font-weight: bold;
114
- }
115
- .token.italic {
116
- font-style: italic;
117
- }
118
-
119
- .token.entity {
120
- background: #000040;
121
- color: #0000E0;
122
- font-style: italic;
123
- cursor: help;
124
- }
125
-
126
- .token.inserted {
127
- color: #5050FF;
128
- }
1
+ /**
2
+ * BlueNight for Boomack blue-night theme.
3
+ * @author Tobias Kiertscher
4
+ */
5
+
6
+ code[class*="language-"],
7
+ pre[class*="language-"] {
8
+ color: #0000C0;
9
+ background: none;
10
+ font-family: "Roboto Mono", Consolas, Courier, monospace;
11
+ font-size: 1em;
12
+ text-align: left;
13
+ white-space: pre;
14
+ word-spacing: normal;
15
+ word-break: normal;
16
+ word-wrap: normal;
17
+ line-height: 1.5;
18
+
19
+ -moz-tab-size: 4;
20
+ -o-tab-size: 4;
21
+ tab-size: 4;
22
+
23
+ -webkit-hyphens: none;
24
+ -moz-hyphens: none;
25
+ -ms-hyphens: none;
26
+ hyphens: none;
27
+ }
28
+ /* Code blocks */
29
+ pre[class*="language-"] {
30
+ padding: 1em;
31
+ margin: .5em 0;
32
+ overflow: auto;
33
+ }
34
+
35
+ :not(pre) > code[class*="language-"],
36
+ pre[class*="language-"] {
37
+ background: #000000;
38
+ }
39
+
40
+ /* Inline code */
41
+ :not(pre) > code[class*="language-"] {
42
+ padding: .1em;
43
+ border-radius: .3em;
44
+ white-space: normal;
45
+ }
46
+
47
+ .token.comment,
48
+ .token.block-comment,
49
+ .token.prolog,
50
+ .token.doctype,
51
+ .token.cdata {
52
+ color: #000060;
53
+ }
54
+
55
+ .token.comment,
56
+ .token.block-comment {
57
+ font-style: italic;
58
+ }
59
+
60
+ .token.punctuation {
61
+ color: #0000D0;
62
+ }
63
+
64
+ .token.tag,
65
+ .token.attr-name,
66
+ .token.namespace,
67
+ .token.deleted {
68
+ color: #0000FF;
69
+ }
70
+
71
+ .token.function,
72
+ .token.function-name {
73
+ color: #0000FF;
74
+ font-style: italic;
75
+ }
76
+
77
+ .token.boolean,
78
+ .token.number {
79
+ color: #0000C0;
80
+ }
81
+
82
+ .token.property,
83
+ .token.class-name,
84
+ .token.constant,
85
+ .token.symbol {
86
+ color: #0000FF;
87
+ }
88
+
89
+ .token.selector,
90
+ .token.important,
91
+ .token.atrule,
92
+ .token.keyword,
93
+ .token.builtin {
94
+ color: #0000B8;
95
+ font-weight: 700;
96
+ }
97
+
98
+ .token.string,
99
+ .token.char,
100
+ .token.attr-value,
101
+ .token.regex,
102
+ .token.variable {
103
+ color: #0000E0;
104
+ }
105
+
106
+ .token.operator,
107
+ .token.url {
108
+ color: #0000F0;
109
+ }
110
+
111
+ .token.important,
112
+ .token.bold {
113
+ font-weight: bold;
114
+ }
115
+ .token.italic {
116
+ font-style: italic;
117
+ }
118
+
119
+ .token.entity {
120
+ background: #000040;
121
+ color: #0000E0;
122
+ font-style: italic;
123
+ cursor: help;
124
+ }
125
+
126
+ .token.inserted {
127
+ color: #5050FF;
128
+ }