2016-02-15 08:27:41 -06:00
|
|
|
.query-keyword {
|
2017-08-15 16:17:34 -05:00
|
|
|
font-weight: $font-weight-semi-bold;
|
2018-07-20 09:02:41 -05:00
|
|
|
color: $blue;
|
2016-02-15 08:27:41 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.query-segment-operator {
|
|
|
|
color: $orange;
|
|
|
|
}
|
|
|
|
|
2018-12-13 06:05:43 -06:00
|
|
|
.query-editor-rows {
|
2018-12-15 03:04:25 -06:00
|
|
|
margin: 20px 0;
|
2018-12-13 06:05:43 -06:00
|
|
|
}
|
|
|
|
|
2016-04-28 03:13:18 -05:00
|
|
|
.gf-form-query {
|
|
|
|
.gf-form,
|
|
|
|
.gf-form-filler {
|
|
|
|
margin-bottom: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gf-form-switch,
|
|
|
|
.gf-form-switch label,
|
|
|
|
.gf-form-input,
|
|
|
|
.gf-form-select-wrapper,
|
|
|
|
.gf-form-filler,
|
|
|
|
.gf-form-label {
|
|
|
|
margin-right: 2px;
|
|
|
|
}
|
2017-12-12 05:02:44 -06:00
|
|
|
|
|
|
|
.gf-form + .gf-form {
|
2018-11-23 01:06:48 -06:00
|
|
|
margin-left: 0;
|
2017-12-12 05:02:44 -06:00
|
|
|
}
|
2016-04-28 03:13:18 -05:00
|
|
|
}
|
|
|
|
|
2016-11-16 11:26:39 -06:00
|
|
|
.tight-form-func {
|
|
|
|
background: $tight-form-func-bg;
|
|
|
|
|
|
|
|
&.show-function-controls {
|
|
|
|
padding-top: 5px;
|
|
|
|
min-width: 100px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-12-28 15:14:39 -06:00
|
|
|
input[type='text'].tight-form-func-param {
|
2018-01-16 16:17:58 -06:00
|
|
|
font-size: 0.875rem;
|
2016-11-16 11:26:39 -06:00
|
|
|
background: transparent;
|
|
|
|
border: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tight-form-func-controls {
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
.fa-arrow-left {
|
|
|
|
float: left;
|
|
|
|
position: relative;
|
|
|
|
top: 2px;
|
|
|
|
}
|
|
|
|
.fa-arrow-right {
|
|
|
|
float: right;
|
|
|
|
position: relative;
|
|
|
|
top: 2px;
|
|
|
|
}
|
|
|
|
.fa-remove {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.grafana-metric-options {
|
|
|
|
margin-top: 25px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tight-form-func {
|
|
|
|
background: $tight-form-func-bg;
|
|
|
|
|
|
|
|
&.show-function-controls {
|
|
|
|
padding-top: 5px;
|
|
|
|
min-width: 100px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-12-28 15:14:39 -06:00
|
|
|
.rst-text::before {
|
|
|
|
content: ' ';
|
|
|
|
}
|
|
|
|
|
|
|
|
.rst-unknown.rst-directive {
|
|
|
|
font-family: monospace;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rst-interpreted_text {
|
|
|
|
font-family: monospace;
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rst-bullet-list {
|
|
|
|
padding-left: 1.5rem;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rst-paragraph:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.drop-element.drop-popover.drop-function-def .drop-content {
|
|
|
|
max-width: 30rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rst-literal-block .rst-text {
|
|
|
|
display: block;
|
|
|
|
}
|
2019-01-16 07:00:29 -06:00
|
|
|
|
2019-01-17 03:26:08 -06:00
|
|
|
.query-editor-row {
|
2019-01-16 07:00:29 -06:00
|
|
|
margin-bottom: 2px;
|
|
|
|
|
|
|
|
&:hover {
|
2019-01-17 03:26:08 -06:00
|
|
|
.query-editor-row__actions {
|
2019-01-16 07:00:29 -06:00
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
2019-01-17 03:26:08 -06:00
|
|
|
|
|
|
|
&--disabled {
|
|
|
|
.query-keyword {
|
2019-02-11 06:53:07 -06:00
|
|
|
color: $text-color-weak;
|
2019-01-17 03:26:08 -06:00
|
|
|
}
|
|
|
|
}
|
2019-01-16 07:00:29 -06:00
|
|
|
}
|
|
|
|
|
2019-01-17 03:26:08 -06:00
|
|
|
.query-editor-row__header {
|
2019-01-16 07:00:29 -06:00
|
|
|
display: flex;
|
|
|
|
padding: 4px 0px 4px 8px;
|
|
|
|
position: relative;
|
|
|
|
height: 35px;
|
2019-01-16 10:53:40 -06:00
|
|
|
background: $page-bg;
|
2019-01-17 06:08:20 -06:00
|
|
|
flex-wrap: nowrap;
|
|
|
|
align-items: center;
|
2019-01-18 12:22:40 -06:00
|
|
|
}
|
2019-01-17 03:26:08 -06:00
|
|
|
.query-editor-row__ref-id {
|
2019-01-16 07:00:29 -06:00
|
|
|
font-weight: $font-weight-semi-bold;
|
|
|
|
color: $blue;
|
|
|
|
font-size: $font-size-md;
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
i {
|
|
|
|
padding-right: 5px;
|
|
|
|
color: $text-muted;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-17 06:08:20 -06:00
|
|
|
.query-editor-row__collapsed-text {
|
|
|
|
padding: 0 10px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2019-01-16 10:53:40 -06:00
|
|
|
flex-grow: 1;
|
2019-01-17 06:08:20 -06:00
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
> div {
|
|
|
|
color: $text-muted;
|
|
|
|
font-style: italic;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
font-size: $font-size-sm;
|
|
|
|
min-width: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.query-editor-row__actions {
|
|
|
|
flex-shrink: 0;
|
2019-01-16 07:00:29 -06:00
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
2019-01-16 10:53:40 -06:00
|
|
|
color: $text-muted;
|
2019-01-16 07:00:29 -06:00
|
|
|
}
|
|
|
|
|
2019-01-17 03:26:08 -06:00
|
|
|
.query-editor-row__action {
|
2019-01-16 10:53:40 -06:00
|
|
|
margin-left: 3px;
|
|
|
|
background: transparent;
|
|
|
|
border: none;
|
|
|
|
box-shadow: none;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $text-color;
|
|
|
|
}
|
2019-01-16 07:00:29 -06:00
|
|
|
}
|
|
|
|
|
2019-01-17 06:08:20 -06:00
|
|
|
.query-editor-row__body {
|
2019-01-18 12:22:40 -06:00
|
|
|
margin: 2px 0 10px 40px;
|
2019-01-17 06:08:20 -06:00
|
|
|
background: $page-bg;
|
2019-01-17 03:26:08 -06:00
|
|
|
|
2019-01-17 06:08:20 -06:00
|
|
|
&--collapsed {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2019-01-17 03:26:08 -06:00
|
|
|
|
|
|
|
.query-editor-row__context-info {
|
|
|
|
font-style: italic;
|
|
|
|
font-size: $font-size-sm;
|
|
|
|
color: $text-muted;
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|