Restyles suggested-action buttons when in the ':disabled' state.

Sets colors for CSS selectors matching
'button.suggestion-action.*:disabled' such that:
- 'color' is set to '@insensitive_text_color'
- 'background-color' is set to '@insensitive_bg_color'

Also the non-standard white color 'rgba(255, 255, 255, 0.4)' that was
used for some suggested-action colors and other button colors has been
replaced with @insensitive_text_color, to ensure that the light text
used for suggested-action buttons is consistent.

Other uses of white (with the same transparency) have also been updated
for consistency.

The following code can be used to create these modifications in the CSS
rewrite tool from https://chromium-review.googlesource.com/1134635

Mod(r'button.suggested-action.*:disabled',
    anti=[r'\.destructive-action'],
    remove=color(),
    replace=r'\n  color: @insensitive_text_color;',
    enabled=True),
Mod(r'button.suggested-action.*:disabled',
    anti=[r'\.destructive-action'],
    remove=background_color(),
    replace=r'\n  background-color: @insensitive_bg_color;',
    enabled=True),
Mod(r'.*',
    remove=r'color: rgba(255, 255, 255, 0.4);',
    replace=r'color: @insensitive_text_color;',
    enabled=True)

Bug: 822495
Change-Id: Idff81449e4957fe3da57b2620269ea63282c8021
Reviewed-on: https://chromium-review.googlesource.com/1132831
Commit-Ready: Josh Pratt <jopra@chromium.org>
Tested-by: Josh Pratt <jopra@chromium.org>
Reviewed-by: Raymes Khoury <raymes@chromium.org>
4 files changed