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

Side by Side Diff: ui/webui/resources/css/text_defaults_md.css

Issue 2656563006: MD Settings: Fix several global UI polish bugs. (Closed)
Patch Set: use % instead of px to prevent english text orphan Created 3 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
OLDNEW
1 /* Copyright 2015 The Chromium Authors. All rights reserved. 1 /* Copyright 2015 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 /* This file is dynamically processed by a C++ data source handler to fill in 5 /* This file is dynamically processed by a C++ data source handler to fill in
6 * some per-platform/locale styles that dramatically alter the page. This is 6 * some per-platform/locale styles that dramatically alter the page. This is
7 * done to reduce flicker, as JS may not run before the page is rendered. 7 * done to reduce flicker, as JS may not run before the page is rendered.
8 * 8 *
9 * There are two ways to include this stylesheet: 9 * There are two ways to include this stylesheet:
10 * 1. via its chrome://resources/ URL in HTML, i.e.: 10 * 1. via its chrome://resources/ URL in HTML, i.e.:
11 * 11 *
12 * <link rel="stylesheet" href="chrome://resources/css/text_defaults_md.css"> 12 * <link rel="stylesheet" href="chrome://resources/css/text_defaults_md.css">
13 * 13 *
14 * 2. via the webui::AppendWebUICSSTextDefaultsMd() method to directly append it 14 * 2. via the webui::AppendWebUICSSTextDefaultsMd() method to directly append it
15 * to an HTML string. 15 * to an HTML string.
16 * Otherwise its placeholders won't be expanded. */ 16 * Otherwise its placeholders won't be expanded. */
17 17
18 @import url(chrome://resources/css/roboto.css); 18 @import url(chrome://resources/css/roboto.css);
19 19
20 html { 20 html {
21 direction: $i18n{textDirection}; 21 direction: $i18n{textDirection};
22 } 22 }
23 23
24 body { 24 body {
25 font-family: Roboto, $i18nRaw{fontFamily}; 25 font-family: Roboto, $i18nRaw{fontFamily};
26 font-size: 81.25% 26 font-size: 81.25%;
27 } 27 }
28 28
29 button { 29 button {
30 font-family: Roboto, $i18nRaw{fontFamily}; 30 font-family: Roboto, $i18nRaw{fontFamily};
31 } 31 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698