diff options
author | 2018-01-26 09:34:28 +0100 | |
---|---|---|
committer | 2018-01-26 09:34:58 +0100 | |
commit | 0ee62da86da6b65d3639532462b39394a3321413 (patch) | |
tree | 72fef1ce4f45bd65a456c2a162052b8597c2fcd9 /ll-database-binding/htdocs/persistence/binding-debug.css | |
parent | 5dfef8a03edaa1cd27d4b77a08c0f5381a642bcd (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.css | 61 |
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; +} |