summaryrefslogtreecommitdiffstats
path: root/ll-database-binding/htdocs/persistence/binding-debug.css
diff options
context:
space:
mode:
authorLoïc Collignon <loic.collignon@iot.bzh>2018-01-26 09:34:28 +0100
committerLoïc Collignon <loic.collignon@iot.bzh>2018-01-26 09:34:28 +0100
commitff3386eb00cd8b5c1f3301168fca26e422595f71 (patch)
tree99e1ae57bdf786b7d9737b0cdd58d1a30ae5f886 /ll-database-binding/htdocs/persistence/binding-debug.css
parentf72bbd81d73ed5ebf8b884dd401fad7d2e9630bf (diff)
add debugging html ui.
Change-Id: I4e84bec38d9a2483ad6dbe0e393cde62e8c2a862 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'll-database-binding/htdocs/persistence/binding-debug.css')
-rw-r--r--ll-database-binding/htdocs/persistence/binding-debug.css61
1 files changed, 61 insertions, 0 deletions
diff --git a/ll-database-binding/htdocs/persistence/binding-debug.css b/ll-database-binding/htdocs/persistence/binding-debug.css
new file mode 100644
index 0000000..f41c940
--- /dev/null
+++ b/ll-database-binding/htdocs/persistence/binding-debug.css
@@ -0,0 +1,61 @@
+#debug-panel {
+ float: right;
+}
+
+#debug-panel.collapsed {
+ background-color: transparent;
+ overflow-x: hidden;
+}
+
+#debug-panel.expanded {
+ background-color: lightyellow;
+ max-width: 25%;
+ overflow-x: scroll;
+}
+
+#debug-panel.collapsed > #debug-panel-collapse {
+ display: none;
+}
+
+#debug-panel.expanded > #debug-panel-collapse {
+ display: block;
+}
+
+#debug-panel.collapsed > #debug-panel-expand {
+ display: block;
+}
+
+#debug-panel.expanded > #debug-panel-expand {
+ display: none;
+}
+
+#debug-panel.expanded > #debug-panel-content {
+ display: block;
+}
+
+#debug-panel.collapsed > #debug-panel-content {
+ display: none;
+}
+
+.json-key {
+ color: cornflowerblue;
+ font-weight: bold;
+}
+
+.json-string {
+ color: crimson;
+}
+
+.json-number {
+ color: sandybrown;
+}
+
+.json-boolean {
+ color: fuchsia;
+ font-weight: bold;
+}
+
+.json-null {
+ color: black;
+ font-weight: bold;
+}