grafana/public/sass/components/_query_editor.scss

131 lines
1.9 KiB
SCSS
Raw Normal View History

2016-02-15 08:27:41 -06:00
.query-keyword {
2017-08-15 16:17:34 -05:00
font-weight: $font-weight-semi-bold;
color: $text-blue;
2016-02-15 08:27:41 -06:00
}
.query-segment-operator {
color: $orange;
}
.query-placeholder {
color: $gray-2;
}
.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 {
2019-03-21 04:43:06 -05:00
font-size: $font-size-sm;
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;
2019-03-21 04:43:06 -05:00
margin-bottom: $space-md;
word-wrap: break-word;
2017-12-28 15:14:39 -06:00
}
.rst-interpreted_text {
font-family: monospace;
display: inline;
}
.rst-bullet-list {
2019-03-21 04:43:06 -05:00
padding-left: $space-lg;
margin-bottom: $space-md;
2017-12-28 15:14:39 -06:00
}
.rst-paragraph:last-child {
margin-bottom: 0;
}
.drop-element.drop-popover.drop-function-def .drop-content {
2019-03-21 04:43:06 -05:00
max-width: 416px;
2017-12-28 15:14:39 -06:00
}
.rst-literal-block .rst-text {
display: block;
}
.query-editor-row {
margin-bottom: 2px;
&:hover {
.query-editor-row__actions {
display: flex;
}
}
&--disabled {
.query-keyword {
color: $text-color-weak;
}
}
}
.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-17 06:08:20 -06:00
.query-editor-row__body {
margin: 2px 0 10px 40px;
2019-01-17 06:08:20 -06:00
background: $page-bg;
2019-01-17 06:08:20 -06:00
&--collapsed {
display: none;
}
}