summaryrefslogtreecommitdiffstats
path: root/testapi/3rd_party/static/testapi-ui/assets/lib/angular-json-tree/angular-json-tree.css
diff options
context:
space:
mode:
Diffstat (limited to 'testapi/3rd_party/static/testapi-ui/assets/lib/angular-json-tree/angular-json-tree.css')
-rw-r--r--testapi/3rd_party/static/testapi-ui/assets/lib/angular-json-tree/angular-json-tree.css76
1 files changed, 76 insertions, 0 deletions
diff --git a/testapi/3rd_party/static/testapi-ui/assets/lib/angular-json-tree/angular-json-tree.css b/testapi/3rd_party/static/testapi-ui/assets/lib/angular-json-tree/angular-json-tree.css
new file mode 100644
index 0000000..f25142a
--- /dev/null
+++ b/testapi/3rd_party/static/testapi-ui/assets/lib/angular-json-tree/angular-json-tree.css
@@ -0,0 +1,76 @@
+/* Structure */
+json-tree {
+ box-sizing: border-box;
+}
+json-tree *,
+json-tree *:before,
+json-tree *:after {
+ box-sizing: border-box;
+}
+json-tree .key {
+ vertical-align: middle;
+}
+json-tree .expandable {
+ position: relative;
+ padding-left: 0px
+}
+json-tree .expandable::before {
+ pointer-events: none;
+}
+json-tree .branch-preview {
+ display: inline-block;
+ vertical-align: middle;
+}
+/* Looks */
+json-tree ul {
+ padding-left: 0px;
+ margin-bottom: 0px;
+}
+json-tree li,
+json-tree ul {
+ list-style: none;
+}
+json-tree li {
+ line-height: 1.5em;
+}
+json-tree .key {
+ font-weight: bold;
+ color: #D02828;
+ /* padding: 5px 10px 5px 15px; */
+}
+json-tree .key::after {
+ content: ':';
+}
+json-tree json-node.expandable::before {
+ /* content: '\25b6'; */
+ position: absolute;
+ left: 0px;
+ font-size: 10px;
+ -webkit-transition: -webkit-transform .1s ease;
+ transition: -webkit-transform .1s ease;
+ transition: transform .1s ease;
+ transition: transform .1s ease, -webkit-transform .1s ease;
+}
+json-tree json-node.expandable.expanded::before {
+ -webkit-transform: rotate(90deg);
+ transform: rotate(90deg);
+}
+json-tree .leaf-value,
+json-tree .branch-preview {
+ word-break: break-all;
+}
+json-tree .branch-preview {
+ overflow: hidden;
+ font-style: italic;
+ max-width: 40%;
+ height: 1.5em;
+ opacity: .7;
+}
+
+json-tree .firstkey::after {
+ content: '';
+}
+
+li > json-node > ul {
+ padding-left: 10px;
+} \ No newline at end of file