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. This contrasts chrome_shared.css, which it is meant to | 6 * chrome:// pages. This contrasts chrome_shared.css, which it is meant to |
7 * replace, but has CSS specific to options and options-like pages. */ | 7 * replace, but has CSS specific to options and options-like pages. */ |
8 | 8 |
9 @import url("chrome://resources/css/widgets.css"); | 9 @import url("chrome://resources/css/widgets.css"); |
| 10 <if expr="pp_ifdef('chromeos')"> |
| 11 @import url("chrome://resources/css/chromeos/ui_account_tweaks.css"); |
| 12 </if> |
10 | 13 |
11 /* Prevent CSS from overriding the hidden property. */ | 14 /* Prevent CSS from overriding the hidden property. */ |
12 [hidden] { | 15 [hidden] { |
13 display: none !important; | 16 display: none !important; |
14 } | 17 } |
15 | 18 |
16 html.loading * { | 19 html.loading * { |
17 -webkit-transition-delay: 0 !important; | 20 -webkit-transition-delay: 0 !important; |
18 -webkit-transition-duration: 0 !important; | 21 -webkit-transition-duration: 0 !important; |
19 } | 22 } |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 } | 98 } |
96 | 99 |
97 /* WebKit does not honor alignment for text specified via placeholder attribute. | 100 /* WebKit does not honor alignment for text specified via placeholder attribute. |
98 * This CSS is a workaround. Please remove once WebKit bug is fixed. | 101 * This CSS is a workaround. Please remove once WebKit bug is fixed. |
99 * https://bugs.webkit.org/show_bug.cgi?id=63367 | 102 * https://bugs.webkit.org/show_bug.cgi?id=63367 |
100 */ | 103 */ |
101 html[dir='rtl'] input.weakrtl::-webkit-input-placeholder, | 104 html[dir='rtl'] input.weakrtl::-webkit-input-placeholder, |
102 html[dir='rtl'] .weakrtl input::-webkit-input-placeholder { | 105 html[dir='rtl'] .weakrtl input::-webkit-input-placeholder { |
103 direction: rtl; | 106 direction: rtl; |
104 } | 107 } |
OLD | NEW |