diff options
author | arv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-05 18:46:19 +0000 |
---|---|---|
committer | arv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-05 18:46:19 +0000 |
commit | cef05f213e7f6fecaabbdbc007a3c4ae95aee333 (patch) | |
tree | c6f7f3ae2d55d3b899ad1e2353280a8d0484c3e3 /chrome/browser/resources/ntp/most_visited.css | |
parent | 641c9abcde75980f45771240db3d8131c6656fc7 (diff) | |
download | chromium_src-cef05f213e7f6fecaabbdbc007a3c4ae95aee333.zip chromium_src-cef05f213e7f6fecaabbdbc007a3c4ae95aee333.tar.gz chromium_src-cef05f213e7f6fecaabbdbc007a3c4ae95aee333.tar.bz2 |
Update the HTML source to use the CSS3 syntax for gradients.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/6079010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70528 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources/ntp/most_visited.css')
-rw-r--r-- | chrome/browser/resources/ntp/most_visited.css | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/chrome/browser/resources/ntp/most_visited.css b/chrome/browser/resources/ntp/most_visited.css index 44933b1..2f875e2 100644 --- a/chrome/browser/resources/ntp/most_visited.css +++ b/chrome/browser/resources/ntp/most_visited.css @@ -100,9 +100,8 @@ /* We need background-color as well to get the fade out animation correct */ background-color: hsl(213, 66%, 57%); - background-image: -webkit-gradient(linear, left top, left bottom, - from(hsl(213, 87%, 67%)), - to(hsl(213, 66%, 57%))); + background-image: -webkit-linear-gradient(hsl(213, 87%, 67%), + hsl(213, 66%, 57%)); } .edit-bar > .spacer { @@ -198,11 +197,9 @@ html[dir=rtl] .thumbnail-container > .title > div { border-top-left-radius: 0; border-top-right-radius: 0; - background-image: -webkit-gradient(linear, left top, left bottom, - from(hsla(0, 0%, 0%, 0)), - color-stop(0.85, hsla(0, 0%, 47%, 0)), - to(hsla(0, 0%, 47%, 0.2)) - ); + background-image: -webkit-linear-gradient(hsla(0, 0%, 0%, 0), + hsla(0, 0%, 47%, 0) 85%, + hsla(0, 0%, 47%, 0.2)); /* delay border radius transition as much as the edit bar slide delay */ -webkit-transition-delay: 0, 0, 0, .5s, .5s, 0; |