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(widgets.css); | 9 @import url(widgets.css); |
10 <if expr="chromeos"> | 10 <if expr="chromeos"> |
11 @import url(chromeos/ui_account_tweaks.css); | 11 @import url(chromeos/ui_account_tweaks.css); |
12 </if> | 12 </if> |
13 | 13 |
14 /* Prevent CSS from overriding the hidden property. */ | 14 /* Prevent CSS from overriding the hidden property. */ |
15 [hidden] { | 15 [hidden] { |
16 display: none !important; | 16 display: none !important; |
17 } | 17 } |
18 | 18 |
19 html { | 19 html { |
20 height: 100%; /* For printing. */ | 20 height: 100%; /* For printing. */ |
21 } | 21 } |
22 | 22 |
23 html.loading * { | 23 html.loading * { |
24 -webkit-transition-delay: 0 !important; | 24 -webkit-transition-delay: 0ms !important; |
25 -webkit-transition-duration: 0 !important; | 25 -webkit-transition-duration: 0ms !important; |
26 } | 26 } |
27 | 27 |
28 body { | 28 body { |
29 cursor: default; | 29 cursor: default; |
30 margin: 0; | 30 margin: 0; |
31 } | 31 } |
32 | 32 |
33 p { | 33 p { |
34 line-height: 1.8em; | 34 line-height: 1.8em; |
35 } | 35 } |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 } | 102 } |
103 | 103 |
104 /* WebKit does not honor alignment for text specified via placeholder attribute. | 104 /* WebKit does not honor alignment for text specified via placeholder attribute. |
105 * This CSS is a workaround. Please remove once WebKit bug is fixed. | 105 * This CSS is a workaround. Please remove once WebKit bug is fixed. |
106 * https://bugs.webkit.org/show_bug.cgi?id=63367 | 106 * https://bugs.webkit.org/show_bug.cgi?id=63367 |
107 */ | 107 */ |
108 html[dir='rtl'] input.weakrtl::-webkit-input-placeholder, | 108 html[dir='rtl'] input.weakrtl::-webkit-input-placeholder, |
109 html[dir='rtl'] .weakrtl input::-webkit-input-placeholder { | 109 html[dir='rtl'] .weakrtl input::-webkit-input-placeholder { |
110 direction: rtl; | 110 direction: rtl; |
111 } | 111 } |
OLD | NEW |