Skip to content

Commit

Permalink
* bugfix - no data panel didn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
YehonatanVonage committed Apr 18, 2017
1 parent d069f0a commit 28401d4
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 11 deletions.
6 changes: 3 additions & 3 deletions dist/css/status_panel.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/status_panel.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions dist/editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ <h5 class="section-heading">{{ measurement.alias }}</h5>
</div>
<gf-form-switch class="gf-form"
label-class="width-12"

label="Make panel gray when no data" checked="ctrl.panel.isGrayColor"
label="Make panel gray when no data" checked="ctrl.panel.isGrayOnNoData"
on-change="ctrl.onRender()"></gf-form-switch>
</div>
Expand Down
6 changes: 3 additions & 3 deletions src/css/status_panel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -106,16 +106,16 @@
transform: rotateY(-180deg);
}

.st-card.effect-hover:hover:not(.no-data-state) .st-card-front, .st-card.effect-hover.flipped:not(.no-data-state) .st-card-front {
.st-card.effect-hover:hover .st-card-front, .st-card.effect-hover.flipped .st-card-front {
-webkit-transform: rotateY(-180deg);
transform: rotateY(-180deg);
}

.st-card.effect-hover:hover:not(.no-data-state) .st-card-back, .st-card.effect-hover.flipped:not(.no-data-state) .st-card-back {
.st-card.effect-hover:hover .st-card-back, .st-card.effect-hover.flipped .st-card-back {
-webkit-transform: rotateY(0);
transform: rotateY(0);
}

.st-card:not(.effect-hover):not(.no-data-state) .st-card-front {
.st-card:not(.effect-hover) .st-card-front {
display: none;
}
2 changes: 0 additions & 2 deletions src/editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ <h5 class="section-heading">{{ measurement.alias }}</h5>
</div>
<gf-form-switch class="gf-form"
label-class="width-12"

label="Make panel gray when no data" checked="ctrl.panel.isGrayColor"
label="Make panel gray when no data" checked="ctrl.panel.isGrayOnNoData"
on-change="ctrl.onRender()"></gf-form-switch>
</div>
Expand Down

0 comments on commit 28401d4

Please sign in to comment.