Skip to content

Commit

Permalink
Disabled color: lightgray -> gray
Browse files Browse the repository at this point in the history
  • Loading branch information
rozetko committed Jun 4, 2019
1 parent 1b5160c commit 2e9bf72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/panel/graph_panel/partials/analytic_units_5.x.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,11 @@
<label class="gf-form-label"
ng-style="!analyticUnit.changed && { 'cursor': 'not-allowed' }"
>
<!-- TODO: different disabled colors for light and dark themes -->
<a class="pointer"
ng-click="ctrl.onAnalyticUnitSave(analyticUnit)"
ng-disabled="!analyticUnit.changed"
ng-style="!analyticUnit.changed && { 'color': 'lightgray' }"
ng-style="!analyticUnit.changed && { 'color': 'gray' }"
role="menuitem"
>
<i class="fa fa-spinner fa-spin" ng-if="analyticUnit.saving"></i>
Expand Down
2 changes: 1 addition & 1 deletion src/panel/graph_panel/partials/analytic_units_6.x.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
>
<a class="pointer"
ng-style="!analyticUnit.changed && {
'color': 'lightgray',
'color': 'gray',
'cursor': 'not-allowed'
}"
>
Expand Down

0 comments on commit 2e9bf72

Please sign in to comment.