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/mediaplayer.html | |
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/mediaplayer.html')
-rw-r--r-- | chrome/browser/resources/mediaplayer.html | 44 |
1 files changed, 8 insertions, 36 deletions
diff --git a/chrome/browser/resources/mediaplayer.html b/chrome/browser/resources/mediaplayer.html index effa78b..094a263 100644 --- a/chrome/browser/resources/mediaplayer.html +++ b/chrome/browser/resources/mediaplayer.html @@ -25,11 +25,7 @@ body { height: 8px; opacity: .4; position: absolute; - background: -webkit-gradient(linear, - left bottom, - left top, - from(white), - to(transparent)); + background: -webkit-linear-gradient(transparent, white); } .audiotitle { @@ -61,11 +57,7 @@ body { opacity: .9; right: 0; position: absolute; - background: -webkit-gradient(linear, - left top, - left bottom, - from(#323232), - to(#070707)); + background: -webkit-linear-gradient(#323232, #070707); } .sliderback { @@ -75,11 +67,7 @@ body { height: 5px; position: absolute; border-radius: 3px; - background: -webkit-gradient(linear, - left top, - left bottom, - from(#ced9fa), - to(#e8ecf9)); + background: -webkit-linear-gradient(#ced9fa, #e8ecf9); border: 1px solid #ffffff; } @@ -91,11 +79,7 @@ body { border-radius: 3px; border: 1px solid #9ca5b7; position: absolute; - background: -webkit-gradient(linear, - left top, - left bottom, - from(#4a5d84), - to(#232c3d)); + background: -webkit-linear-gradient(#4a5d84, #232c3d); } .sliderloaded { @@ -117,11 +101,7 @@ body { opacity: .9; right: 0; position: absolute; - background: -webkit-gradient(linear, - left top, - left bottom, - from(#323232), - to(#070707)); + background: -webkit-linear-gradient(#323232, #070707); } .soundbutton { @@ -154,11 +134,7 @@ body { right: 30px; z-index: 99999; background: black; - background: -webkit-gradient(linear, - left top, - left bottom, - from(#323232), - to(#070707)); + background: -webkit-linear-gradient(#323232, #070707); } .fullscreen { @@ -286,11 +262,7 @@ body { } .controlbutton:hover { - background: -webkit-gradient(linear, - left top, - left bottom, - from(#6a7eac), - to(#000000)); + background: -webkit-linear-gradient(#6a7eac, #000); } .icon { @@ -358,7 +330,7 @@ function onLoadedProgress(e) { function onMediaError(e) { console.log('Got new error' + e); - chrome.send('playbackError', ['Error playing back', + chrome.send('playbackError', ['Error playing back', currentPlaylist[currentItem].path]); if (currentPlaylist.length == 1) { $('error').textContent = localStrings.getString('errorstring'); |