Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Side by Side Diff: chrome/browser/resources/file_manager/css/gdrive_welcome.css

Issue 10804010: HiDPI assets for Chrome OS Files app (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changed ID ranges to accommodate new resources Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 /* Google Drive welcome banners.*/ 5 /* Google Drive welcome banners.*/
6 .gdrive-welcome-wrapper { 6 .gdrive-welcome-wrapper {
7 background-image: url('../images/clouds.png'); 7 /* This image looks good in high DPI as is. */
8 background-image: url('../images/files/ui/clouds.png');
8 background-repeat: repeat-x; 9 background-repeat: repeat-x;
9 } 10 }
10 11
11 .gdrive-welcome-icon { 12 .gdrive-welcome-icon {
12 background-image: url('../images/gdrive_logo.png'); 13 background-image: -webkit-image-set(
14 url('../images/files/ui/gdrive_logo.png') 1x,
15 url('../images/files/ui/2x/gdrive_logo.png') 2x);
13 background-repeat: no-repeat; 16 background-repeat: no-repeat;
14 } 17 }
15 18
16 .gdrive-welcome-links { 19 .gdrive-welcome-links {
17 -webkit-box-orient: horizontal; 20 -webkit-box-orient: horizontal;
18 display: -webkit-box; 21 display: -webkit-box;
19 } 22 }
20 23
21 /* Header welcome banner. */ 24 /* Header welcome banner. */
22 .gdrive-welcome.header { 25 .gdrive-welcome.header {
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 margin-left: 20px; 134 margin-left: 20px;
132 } 135 }
133 136
134 body:not([type='full-page']) .gdrive-welcome.page .gdrive-welcome-wrapper { 137 body:not([type='full-page']) .gdrive-welcome.page .gdrive-welcome-wrapper {
135 background-position: 0 0; 138 background-position: 0 0;
136 } 139 }
137 140
138 body:not([type='full-page']) .gdrive-welcome.page .gdrive-welcome-icon { 141 body:not([type='full-page']) .gdrive-welcome.page .gdrive-welcome-icon {
139 height: 200px; 142 height: 200px;
140 } 143 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698