Skip to content

Commit

Permalink
Update for version 20201001-grafana7
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Ferrero committed Oct 1, 2020
1 parent eecaaa1 commit ee4f05d
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 16 deletions.
34 changes: 24 additions & 10 deletions src/css/plugin.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.group-by-tag-checkbox input+label::before,
.group-by-tag-checkbox input+label::after {
.group-by-tag-checkbox input + label::before,
.group-by-tag-checkbox input + label::after {
transition: none !important;
background: #292929 none;
}
Expand All @@ -8,19 +8,19 @@
margin-left: -3px;
}

.group-by-tag-checkbox input+label::before {
.group-by-tag-checkbox input + label::before {
color: #eb6618;
}

.group-by-tag-checkbox:hover input+label::before {
.group-by-tag-checkbox:hover input + label::before {
color: #eb6618;
}

.group-by-tag-checkbox input+label::after {
.group-by-tag-checkbox input + label::after {
color: #5bbf00;
}

.group-by-tag-checkbox:hover input+label::after {
.group-by-tag-checkbox:hover input + label::after {
color: #5bbf00;
}

Expand All @@ -44,9 +44,11 @@
.red {
color: #F44336;
}

.darkgray {
color: darkgray;
}

.orange {
color: #eb6618;
}
Expand All @@ -71,11 +73,19 @@
cursor: pointer;
}

.fa {
text-align: center;
}

.disabled .fa, .enabled .fa {
color: white;
}

.italic{
.fa-exclamation-triangle {
padding-right: 4px;
}

.italic {
font-style: italic;
}

Expand All @@ -84,7 +94,7 @@
margin: 0 5px;
}

.highlight .separator{
.highlight .separator {
border-right: 2px solid lightgoldenrodyellow;
}

Expand All @@ -102,16 +112,16 @@
padding: 2px 10px;
margin-left: 5px;
margin-right: 5px;
margin-top: -3px;
margin-top: 5px;
height: 23px;
}

.custom-tag-value > span {
margin-left: 5px;
margin-top: -5px;
}

.tag-value-input {
margin-top: -9px;
}

.filter-error {
Expand Down Expand Up @@ -148,3 +158,7 @@
.gf-form-label.error {
color: red !important;
}

.padding-left-4 {
padding-left: 4px !important;
}
2 changes: 1 addition & 1 deletion src/partials/feature.component.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="gf-form">
<div class="gf-form padding-left-4">
<label class="gf-form-label feature-label query-keyword width-11 offset-width-11" data-placement="left">
{{ctrl.component.label}}
</label>
Expand Down
8 changes: 4 additions & 4 deletions src/partials/filters.editor.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="gf-form-inline"
ng-repeat="(filterIndex, filter) in ctrl.filters"
ng-class="{'filter-error': !filter.name || (filter.name && filter.values.length === 0) }">
<div class="gf-form offset-width-11">
<div class="gf-form padding-left-4 offset-width-11">
<label ng-if="!filter.showInput"
class="gf-form-label min-width-10"
ng-click="ctrl.showInput(filterIndex)"
Expand Down Expand Up @@ -39,9 +39,9 @@
<i class="fa fa-times"></i>
</a>
</label>
<div class="gf-form gf-form--grow">
<div class="gf-form-label gf-form-label--grow">
<label class="filter-error-label" ng-if="!filter.name || (filter.name && filter.values.length === 0)">
<div class="gf-form gf-form--grow" ng-if="!filter.name || (filter.name && filter.values.length === 0)">
<div class="gf-form-label">
<label class="filter-error-label">
You must choose a tag name and at least one value to apply this filter to the query
</label>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/partials/tags.select.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="gf-form">
<div class="gf-form padding-left-4">
<div class="tags-container offset-width-11">
<div class="gf-form">
<label class="gf-form-label width-10"
Expand Down

0 comments on commit ee4f05d

Please sign in to comment.