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

Side by Side Diff: chrome/browser/resources/ntp4/new_tab.css

Issue 9359002: [ntp] fix font measuring hack (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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 | « no previous file | chrome/browser/resources/ntp4/new_tab.html » ('j') | 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 html { 5 html {
6 font-family: segoe ui, arial, helvetica, sans-serif;
7 font-size: 14px; 6 font-size: 14px;
8 /* It's necessary to put this here instead of in body in order to get the 7 /* It's necessary to put this here instead of in body in order to get the
9 background-size of 100% to work properly */ 8 background-size of 100% to work properly */
10 height: 100%; 9 height: 100%;
11 overflow: hidden; 10 overflow: hidden;
12 } 11 }
13 12
14 body { 13 body {
15 /* Don't highlight links when they're tapped. Safari has bugs here that 14 /* Don't highlight links when they're tapped. Safari has bugs here that
16 show up as flicker when dragging in some situations */ 15 show up as flicker when dragging in some situations */
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 #footer.showing-trash-mode #trash.drag-target .lid { 300 #footer.showing-trash-mode #trash.drag-target .lid {
302 -webkit-transform: rotate(-45deg); 301 -webkit-transform: rotate(-45deg);
303 } 302 }
304 303
305 html[dir='rtl'] #footer.showing-trash-mode #trash.drag-target .lid { 304 html[dir='rtl'] #footer.showing-trash-mode #trash.drag-target .lid {
306 -webkit-transform: rotate(45deg); 305 -webkit-transform: rotate(45deg);
307 } 306 }
308 307
309 #fontMeasuringDiv { 308 #fontMeasuringDiv {
310 /* The font attributes match the nav inputs. */ 309 /* The font attributes match the nav inputs. */
310 font: -webkit-small-control;
311 font-size: 8pt; 311 font-size: 8pt;
312 font-weight: bold; 312 font-weight: bold;
313 pointer-events: none; 313 pointer-events: none;
314 position: absolute; 314 position: absolute;
315 visibility: hidden; 315 visibility: hidden;
316 } 316 }
317 317
318 /* Page switcher buttons. *****************************************************/ 318 /* Page switcher buttons. *****************************************************/
319 319
320 .page-switcher { 320 .page-switcher {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 369
370 /* Reserve space for the menu button even when it's hidden. */ 370 /* Reserve space for the menu button even when it's hidden. */
371 #footer.showing-trash-mode #chrome-web-store-href { 371 #footer.showing-trash-mode #chrome-web-store-href {
372 visibility: hidden; 372 visibility: hidden;
373 } 373 }
374 374
375 #footer.showing-trash-mode #chrome-web-store-href { 375 #footer.showing-trash-mode #chrome-web-store-href {
376 -webkit-transition-delay: 0; 376 -webkit-transition-delay: 0;
377 opacity: 0; 377 opacity: 0;
378 } 378 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/ntp4/new_tab.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698