mirror of
https://github.com/getredash/redash.git
synced 2026-03-22 01:00:14 -04:00
113 lines
1.6 KiB
Plaintext
113 lines
1.6 KiB
Plaintext
@import (reference, less) "~bootstrap/less/variables.less";
|
|
@import (reference, less) "~@/assets/less/main.less";
|
|
|
|
@jvi-gutter: 20px;
|
|
@jvi-spacing: 2px;
|
|
|
|
.jvi-root {
|
|
display: block;
|
|
font-family: @font-family-monospace;
|
|
}
|
|
|
|
.jvi-block {
|
|
display: block;
|
|
border-left: 1px dotted @table-border-color;
|
|
margin: 0 0 0 2px;
|
|
}
|
|
|
|
.jvi-item {
|
|
display: block;
|
|
position: relative;
|
|
padding: 0 0 0 @jvi-gutter;
|
|
white-space: nowrap;
|
|
|
|
.jvi-item {
|
|
margin: @jvi-spacing 0;
|
|
}
|
|
|
|
&.jvi-nested-last > span > .jvi-punctuation.jvi-comma {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.jvi-toggle {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: @jvi-gutter;
|
|
height: @jvi-gutter;
|
|
line-height: @jvi-gutter;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
z-index: 1;
|
|
color: @text-color;
|
|
opacity: 0.5;
|
|
|
|
&:hover {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
i {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
&.hidden {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.jvi-punctuation {
|
|
color: @text-color;
|
|
|
|
&.jvi-string {
|
|
color: @state-success-text;
|
|
}
|
|
|
|
&.jvi-braces {
|
|
margin: 0 @jvi-spacing;
|
|
}
|
|
|
|
&.jvi-ellipsis {
|
|
padding: 0 @jvi-spacing;
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
&.hidden {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.jvi-value {
|
|
color: @state-success-text;
|
|
|
|
&.jvi-primitive {
|
|
color: @brand-warning;
|
|
}
|
|
|
|
&.jvi-string {
|
|
white-space: normal;
|
|
}
|
|
}
|
|
|
|
.jvi-object-key {
|
|
.jvi-value, .jvi-punctuation {
|
|
color: @brand-primary;
|
|
}
|
|
}
|
|
|
|
.jvi-comment {
|
|
color: @text-muted;
|
|
font-family: @redash-font;
|
|
font-style: italic;
|
|
margin: 0 0 0 2 * @jvi-spacing;
|
|
opacity: 0.5;
|
|
|
|
&.hidden {
|
|
display: none;
|
|
}
|
|
}
|