Description[Local NTP] Implement style updates for Material Design
Applying new styling, with some refactoring and bug fixes. Details:
- Sizing and positioning tweaks.
- Change of assets for "X" and for default favicon (if it's missing).
- Using image as mask, and setting color by CSS (since design uses
solid colors).
- The new PNG files have been minimized.
- Fixed bug: "Undo" and "Restore All" links continue to be selectable
via tab after they fades out.
- Alternative Google logo (white): using image as mask and setting
background color to #eee. Will delete old image for M39.
- Theme title color in title.html <iframe>: now injecting it from local
NTP in "c=RRGGBBAA" format. The old behavior of reading it from
<iframe> and using it to override "c=RRGGBB" are kept, for
compatibility with server-side NTP.
BUG=407943
NOTRY=1
R=mathp@chromium.org, oshima@chromium.org
Committed: https://chromium.googlesource.com/chromium/src/+/00f25d4b013c5aa5e619aacd9e160de53379fe75
Patch Set 1 : #
Total comments: 14
Patch Set 2 : Removing unused resources; fixing comments. #
Total comments: 2
Patch Set 3 : Style and .grd tweak. #Patch Set 4 : Move assets to common/; switching to -webkit-image-set() for 2x images. #Patch Set 5 : Synched; removing ntp_white_google_logo.png again. #Patch Set 6 : Putting back white logos; showing Fakebox text when not focused. #Patch Set 7 : Fix non-Google case (and unit test); remove extra .grd comment for stability. #Patch Set 8 : Small comment fix. #Messages
Total messages: 42 (8 generated)
|