Files
grafana/public/sass/components/_query_editor.scss
T

131 lines
1.9 KiB
SCSS
Raw Normal View History

2016-02-15 15:27:41 +01:00
.query-keyword {
2017-08-15 23:17:34 +02:00
font-weight: $font-weight-semi-bold;
color: $text-blue !important;
2016-02-15 15:27:41 +01:00
}
.query-segment-operator {
color: $orange !important;
2016-02-15 15:27:41 +01:00
}
2019-12-10 13:00:22 +01:00
.query-placeholder {
color: $gray-2;
}
2016-11-16 18:26:39 +01:00
.tight-form-func {
background: $tight-form-func-bg;
&.show-function-controls {
padding-top: 5px;
min-width: 100px;
text-align: center;
}
}
2017-12-28 16:14:39 -05:00
input[type='text'].tight-form-func-param {
2019-03-21 10:43:06 +01:00
font-size: $font-size-sm;
2016-11-16 18:26:39 +01: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 16:14:39 -05:00
.rst-text::before {
content: ' ';
}
.rst-unknown.rst-directive {
font-family: monospace;
2019-03-21 10:43:06 +01:00
margin-bottom: $space-md;
word-wrap: break-word;
2017-12-28 16:14:39 -05:00
}
.rst-interpreted_text {
font-family: monospace;
display: inline;
}
.rst-bullet-list {
2019-03-21 10:43:06 +01:00
padding-left: $space-lg;
margin-bottom: $space-md;
2017-12-28 16:14:39 -05:00
}
.rst-paragraph:last-child {
margin-bottom: 0;
}
.drop-element.drop-popover.drop-function-def .drop-content {
2019-03-21 10:43:06 +01:00
max-width: 416px;
2017-12-28 16:14:39 -05:00
}
.rst-literal-block .rst-text {
display: block;
}
2019-01-16 14:00:29 +01:00
.query-editor-row {
2019-01-16 14:00:29 +01:00
margin-bottom: 2px;
&:hover {
.query-editor-row__actions {
2019-01-16 14:00:29 +01:00
display: flex;
}
}
&--disabled {
.query-keyword {
color: $text-color-weak;
}
}
2019-01-16 14:00:29 +01:00
}
.query-editor-row__action {
2019-01-16 17:53:40 +01:00
margin-left: 3px;
background: transparent;
border: none;
box-shadow: none;
&:hover {
color: $text-color;
}
2019-01-16 14:00:29 +01:00
}
2019-01-17 13:08:20 +01:00
.query-editor-row__body {
margin: 2px 0 10px 40px;
2019-01-17 13:08:20 +01:00
background: $page-bg;
2019-01-17 13:08:20 +01:00
&--collapsed {
display: none;
}
}