diff options
author | benrg@chromium.org <benrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-16 16:44:04 +0000 |
---|---|---|
committer | benrg@chromium.org <benrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-16 16:44:04 +0000 |
commit | 6a5d193856b7c6400c5f18dea7c8938fdff0462f (patch) | |
tree | 9a02806380700587804f0661b5cf7ff89032560f /chrome/browser/resources/ntp4 | |
parent | 334b8189916a733965999d766aebc7a698ec06cd (diff) | |
download | chromium_src-6a5d193856b7c6400c5f18dea7c8938fdff0462f.zip chromium_src-6a5d193856b7c6400c5f18dea7c8938fdff0462f.tar.gz chromium_src-6a5d193856b7c6400c5f18dea7c8938fdff0462f.tar.bz2 |
Move remaining images from ui/resources to default_100_percent and use correct scale in css files
BUG=129203
TEST=Build
Review URL: https://chromiumcodereview.appspot.com/10544148
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142602 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources/ntp4')
-rw-r--r-- | chrome/browser/resources/ntp4/new_tab.css | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/chrome/browser/resources/ntp4/new_tab.css b/chrome/browser/resources/ntp4/new_tab.css index cc67183..cdaabae 100644 --- a/chrome/browser/resources/ntp4/new_tab.css +++ b/chrome/browser/resources/ntp4/new_tab.css @@ -73,7 +73,9 @@ html[dir='rtl'] #notification-container { background: no-repeat; background-color: transparent; /* TODO(estade): this should animate between states. */ - background-image: url('../../../../ui/resources/close_bar.png'); + background-image: -webkit-image-set( + url('../../../../ui/resources/default_100_percent/close_bar.png') 1x, + url('../../../../ui/resources/default_200_percent/close_bar.png') 2x); border: 0; cursor: default; display: inline-block; @@ -84,11 +86,19 @@ html[dir='rtl'] #notification-container { .close-button:hover, .close-button:focus { - background-image: url('../../../../ui/resources/close_bar_h.png'); + background-image: -webkit-image-set( + url('../../../../ui/resources/default_100_percent/close_bar_hover.png') + 1x, + url('../../../../ui/resources/default_200_percent/close_bar_hover.png') + 2x); } .close-button:active { - background-image: url('../../../../ui/resources/close_bar_p.png'); + background-image: -webkit-image-set( + url('../../../../ui/resources/default_100_percent/close_bar_pressed.png') + 1x, + url('../../../../ui/resources/default_200_percent/close_bar_pressed.png') + 2x); } .link-button { |