summaryrefslogtreecommitdiffstats
path: root/static/styles
diff options
context:
space:
mode:
authorEd Tanous <ed.tanous@intel.com>2018-03-17 14:40:09 -0700
committerEd Tanous <ed.tanous@intel.com>2018-04-22 18:15:25 +0000
commit257f5795a314fe29e4e9488658fb47a8d450fd5c (patch)
tree2c2c5f64da78a52c7518eca39407d445b65865a8 /static/styles
parent64530018a8b9c564be992e3166741ad50e8a64b0 (diff)
downloadbmcweb-257f5795a314fe29e4e9488658fb47a8d450fd5c.tar.gz
bmcweb-257f5795a314fe29e4e9488658fb47a8d450fd5c.zip
Implement pretty printing json to HTML
Change-Id: Ibe3cdc2cd53470ccd437b1b6e21bc7dd29c4b85e Signed-off-by: Ed Tanous <ed.tanous@intel.com>
Diffstat (limited to 'static/styles')
-rw-r--r--static/styles/default.css99
1 files changed, 99 insertions, 0 deletions
diff --git a/static/styles/default.css b/static/styles/default.css
new file mode 100644
index 0000000..f1bfade
--- /dev/null
+++ b/static/styles/default.css
@@ -0,0 +1,99 @@
+/*
+
+Original highlight.js style (c) Ivan Sagalaev <maniac@softwaremaniacs.org>
+
+*/
+
+.hljs {
+ display: block;
+ overflow-x: auto;
+ padding: 0.5em;
+ background: #F0F0F0;
+}
+
+
+/* Base color: saturation 0; */
+
+.hljs,
+.hljs-subst {
+ color: #444;
+}
+
+.hljs-comment {
+ color: #888888;
+}
+
+.hljs-keyword,
+.hljs-attribute,
+.hljs-selector-tag,
+.hljs-meta-keyword,
+.hljs-doctag,
+.hljs-name {
+ font-weight: bold;
+}
+
+
+/* User color: hue: 0 */
+
+.hljs-type,
+.hljs-string,
+.hljs-number,
+.hljs-selector-id,
+.hljs-selector-class,
+.hljs-quote,
+.hljs-template-tag,
+.hljs-deletion {
+ color: #880000;
+}
+
+.hljs-title,
+.hljs-section {
+ color: #880000;
+ font-weight: bold;
+}
+
+.hljs-regexp,
+.hljs-symbol,
+.hljs-variable,
+.hljs-template-variable,
+.hljs-link,
+.hljs-selector-attr,
+.hljs-selector-pseudo {
+ color: #BC6060;
+}
+
+
+/* Language color: hue: 90; */
+
+.hljs-literal {
+ color: #78A960;
+}
+
+.hljs-built_in,
+.hljs-bullet,
+.hljs-code,
+.hljs-addition {
+ color: #397300;
+}
+
+
+/* Meta color: hue: 200 */
+
+.hljs-meta {
+ color: #1f7199;
+}
+
+.hljs-meta-string {
+ color: #4d99bf;
+}
+
+
+/* Misc effects */
+
+.hljs-emphasis {
+ font-style: italic;
+}
+
+.hljs-strong {
+ font-weight: bold;
+}
OpenPOWER on IntegriCloud