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 /* Copy of /resources/shared/css/chrome_shared.css for sample extension. */ | 5 /* Copy of /resources/shared/css/chrome_shared.css for sample extension. */ |
6 | 6 |
7 /* Prevent CSS from overriding the hidden property. */ | 7 /* Prevent CSS from overriding the hidden property. */ |
8 [hidden] { | 8 [hidden] { |
9 display: none !important; | 9 display: none !important; |
10 } | 10 } |
11 | 11 |
12 html.loading * { | 12 html.loading * { |
13 -webkit-transition-delay: 0 !important; | 13 -webkit-transition-delay: 0ms !important; |
14 -webkit-transition-duration: 0 !important; | 14 -webkit-transition-duration: 0ms !important; |
15 } | 15 } |
16 | 16 |
17 body { | 17 body { |
18 cursor: default; | 18 cursor: default; |
19 margin: 0; | 19 margin: 0; |
20 } | 20 } |
21 | 21 |
22 p { | 22 p { |
23 line-height: 1.8em; | 23 line-height: 1.8em; |
24 } | 24 } |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 } | 91 } |
92 | 92 |
93 /* WebKit does not honor alignment for text specified via placeholder attribute. | 93 /* WebKit does not honor alignment for text specified via placeholder attribute. |
94 * This CSS is a workaround. Please remove once WebKit bug is fixed. | 94 * This CSS is a workaround. Please remove once WebKit bug is fixed. |
95 * https://bugs.webkit.org/show_bug.cgi?id=63367 | 95 * https://bugs.webkit.org/show_bug.cgi?id=63367 |
96 */ | 96 */ |
97 html[dir='rtl'] input.weakrtl::-webkit-input-placeholder, | 97 html[dir='rtl'] input.weakrtl::-webkit-input-placeholder, |
98 html[dir='rtl'] .weakrtl input::-webkit-input-placeholder { | 98 html[dir='rtl'] .weakrtl input::-webkit-input-placeholder { |
99 direction: rtl; | 99 direction: rtl; |
100 } | 100 } |
OLD | NEW |