Browse Source

Disabled color: lightgray -> gray

master
rozetko 6 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" <label class="gf-form-label"
ng-style="!analyticUnit.changed && { 'cursor': 'not-allowed' }" ng-style="!analyticUnit.changed && { 'cursor': 'not-allowed' }"
> >
<!-- TODO: different disabled colors for light and dark themes -->
<a class="pointer" <a class="pointer"
ng-click="ctrl.onAnalyticUnitSave(analyticUnit)" ng-click="ctrl.onAnalyticUnitSave(analyticUnit)"
ng-disabled="!analyticUnit.changed" ng-disabled="!analyticUnit.changed"
ng-style="!analyticUnit.changed && { 'color': 'lightgray' }" ng-style="!analyticUnit.changed && { 'color': 'gray' }"
role="menuitem" role="menuitem"
> >
<i class="fa fa-spinner fa-spin" ng-if="analyticUnit.saving"></i> <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" <a class="pointer"
ng-style="!analyticUnit.changed && { ng-style="!analyticUnit.changed && {
'color': 'lightgray', 'color': 'gray',
'cursor': 'not-allowed' 'cursor': 'not-allowed'
}" }"
> >

Loading…
Cancel
Save