| OLD | NEW |
| 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 /* This file holds CSS that should be shared, in theory, by all user-visible | 5 /* This file holds CSS that should be shared, in theory, by all user-visible |
| 6 * chrome:// pages. */ | 6 * chrome:// pages. */ |
| 7 | 7 |
| 8 @import url(chrome://resources/css/text_defaults.css); | 8 @import url(chrome://resources/css/text_defaults.css); |
| 9 @import url(i18n_process.css); | 9 @import url(i18n_process.css); |
| 10 @import url(widgets.css); | 10 @import url(widgets.css); |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 margin: 0; | 31 margin: 0; |
| 32 } | 32 } |
| 33 | 33 |
| 34 p { | 34 p { |
| 35 line-height: 1.8em; | 35 line-height: 1.8em; |
| 36 } | 36 } |
| 37 | 37 |
| 38 h1, | 38 h1, |
| 39 h2, | 39 h2, |
| 40 h3 { | 40 h3 { |
| 41 -webkit-user-select: none; | |
| 42 font-weight: normal; | 41 font-weight: normal; |
| 43 /* Makes the vertical size of the text the same for all fonts. */ | 42 /* Makes the vertical size of the text the same for all fonts. */ |
| 44 line-height: 1; | 43 line-height: 1; |
| 44 user-select: none; |
| 45 } | 45 } |
| 46 | 46 |
| 47 h1 { | 47 h1 { |
| 48 font-size: 1.5em; | 48 font-size: 1.5em; |
| 49 } | 49 } |
| 50 | 50 |
| 51 h2 { | 51 h2 { |
| 52 font-size: 1.3em; | 52 font-size: 1.3em; |
| 53 margin-bottom: 0.4em; | 53 margin-bottom: 0.4em; |
| 54 } | 54 } |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 direction: ltr; | 99 direction: ltr; |
| 100 } | 100 } |
| 101 | 101 |
| 102 /* WebKit does not honor alignment for text specified via placeholder attribute. | 102 /* WebKit does not honor alignment for text specified via placeholder attribute. |
| 103 * This CSS is a workaround. Please remove once WebKit bug is fixed. | 103 * This CSS is a workaround. Please remove once WebKit bug is fixed. |
| 104 * https://bugs.webkit.org/show_bug.cgi?id=63367 */ | 104 * https://bugs.webkit.org/show_bug.cgi?id=63367 */ |
| 105 html[dir='rtl'] input.weakrtl::-webkit-input-placeholder, | 105 html[dir='rtl'] input.weakrtl::-webkit-input-placeholder, |
| 106 html[dir='rtl'] .weakrtl input::-webkit-input-placeholder { | 106 html[dir='rtl'] .weakrtl input::-webkit-input-placeholder { |
| 107 direction: rtl; | 107 direction: rtl; |
| 108 } | 108 } |
| OLD | NEW |