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