Browse Source

Disabled color: lightgray -> gray

master
rozetko 5 years ago
parent
commit
2e9bf72c64
  1. 3
      src/panel/graph_panel/partials/analytic_units_5.x.html
  2. 2
      src/panel/graph_panel/partials/analytic_units_6.x.html

3
src/panel/graph_panel/partials/analytic_units_5.x.html

@ -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>

2
src/panel/graph_panel/partials/analytic_units_6.x.html

@ -81,7 +81,7 @@
>
<a class="pointer"
ng-style="!analyticUnit.changed && {
'color': 'lightgray',
'color': 'gray',
'cursor': 'not-allowed'
}"
>

Loading…
Cancel
Save