@import "variable"; @import "mixin"; .container { pointer-events: none; will-change: transform; position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 100000; color: $gray-dark; transform: translateZ(0); font-family: $font-family; font-size: $font-size; * { box-sizing: border-box; pointer-events: all; user-select: none; -webkit-tap-highlight-color: transparent; } ul { list-style: none; padding: 0; margin: 0; } h1, h2, h3, h4 { margin: 0; } } .hidden { display: none; } .blue { color: $blue; } .red { color: $red; } .green { color: $green; } .container .json { @include overflow-auto(x); cursor: default; font-family: $font-family-code; font-size: $font-size-s; line-height: 1.2; background: #fff; min-height: 100%; &, ul { list-style: none !important; } ul { padding: 0 !important; padding-left: 20px !important; margin: 0 !important; } li { position: relative; white-space: nowrap; } & > li > .key, & .array .key { display: none; } .array .object .key { display: inline; } .null { color: #0086b3; } .string { color: #183691; } .number { color: #0086b3; } .boolean { color: #0086b3; } .key { color: #a71d5d; } .expanded:before { content: ""; width: 0; height: 0; border: 4px solid transparent; position: absolute; border-top-color: $gray; left: -12px; top: 5px; } .collapsed:before { content: ""; border-left-color: $gray; border-top-color: transparent; left: -10px; top: 3px; } li .collapsed ~ .close:before { content: "... "; color: #999; } .hidden ~ ul { display: none; } span { position: static !important; } }