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

Side by Side Diff: chrome/browser/resources/flags.css

Issue 11791026: Use HighDPI asset on about:flags (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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
« no previous file with comments | « chrome/app/theme/flags_section.png ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 body { 5 body {
6 margin: 10px; 6 margin: 10px;
7 min-width: 47em; 7 min-width: 47em;
8 /* Should match needs-restart.(height + padding-top + padding-bottom + 5) */ 8 /* Should match needs-restart.(height + padding-top + padding-bottom + 5) */
9 padding-bottom: 65px; 9 padding-bottom: 65px;
10 } 10 }
(...skipping 10 matching lines...) Expand all
21 /* 67px is the height of the header's background image. */ 21 /* 67px is the height of the header's background image. */
22 min-height: 67px; 22 min-height: 67px;
23 overflow: hidden; 23 overflow: hidden;
24 padding-bottom: 20px; 24 padding-bottom: 20px;
25 padding-top: 20px; 25 padding-top: 20px;
26 position: relative; 26 position: relative;
27 } 27 }
28 28
29 #header h1 { 29 #header h1 {
30 -webkit-padding-start: 75px; 30 -webkit-padding-start: 75px;
31 background: url('../../app/theme/flags_section.png') 0 20px no-repeat; 31 background: -webkit-image-set(
32 url('../../app/theme/default_100_percent/flags_section.png') 1x,
Dan Beam 2013/01/07 19:39:21 if possible I'd like to use grit to autogenerate t
33 url('../../app/theme/default_200_percent/flags_section.png') 2x)
34 0 20px no-repeat;
32 display: inline; 35 display: inline;
33 margin: 0; 36 margin: 0;
34 padding-bottom: 40px; 37 padding-bottom: 40px;
35 padding-top: 40px; 38 padding-top: 40px;
36 } 39 }
37 40
38 html[dir=rtl] #header h1 { 41 html[dir=rtl] #header h1 {
39 background: url('../../app/theme/flags_section.png') right no-repeat; 42 background: -webkit-image-set(
43 url('../../app/theme/default_100_percent/flags_section.png') 1x,
44 url('../../app/theme/default_200_percent/flags_section.png') 2x)
45 right no-repeat;
40 } 46 }
41 47
42 h1 { 48 h1 {
43 font-size: 156%; 49 font-size: 156%;
44 font-weight: bold; 50 font-weight: bold;
45 margin: 0; 51 margin: 0;
46 padding: 0; 52 padding: 0;
47 } 53 }
48 54
49 #blurb-container { 55 #blurb-container {
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 /* If you change this, update body.padding-bottom */ 162 /* If you change this, update body.padding-bottom */
157 padding-top: 15px; 163 padding-top: 15px;
158 position: fixed; 164 position: fixed;
159 width: 100%; 165 width: 100%;
160 } 166 }
161 167
162 button { 168 button {
163 font-size: 104%; 169 font-size: 104%;
164 } 170 }
165 171
OLDNEW
« no previous file with comments | « chrome/app/theme/flags_section.png ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698