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 | 5 |
6 /* This file defines styles for form controls. The order of rule blocks is | 6 /* This file defines styles for form controls. The order of rule blocks is |
7 * important as there are some rules with equal specificity that rely on order | 7 * important as there are some rules with equal specificity that rely on order |
8 * as a tiebreaker. These are marked with OVERRIDE. | 8 * as a tiebreaker. These are marked with OVERRIDE. |
9 */ | 9 */ |
10 | 10 |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
210 } | 210 } |
211 | 211 |
212 input[type='password']:disabled, | 212 input[type='password']:disabled, |
213 input[type='search']:disabled, | 213 input[type='search']:disabled, |
214 input[type='text']:disabled, | 214 input[type='text']:disabled, |
215 input[type='url']:disabled, | 215 input[type='url']:disabled, |
216 input:not([type]):disabled { | 216 input:not([type]):disabled { |
217 color: #999; | 217 color: #999; |
218 } | 218 } |
219 | 219 |
220 <if expr="pp_ifdef('chromeos')"> | |
Nikita (slow)
2012/04/06 12:36:09
chrome_shared2.css seems to be a better place for
Denis Kuznetsov (DE-MUC)
2012/04/09 11:21:30
On the other hand, widgets.css is the common part
Nikita (slow)
2012/04/09 12:18:49
Good point. So it's either code duplication (placi
Denis Kuznetsov (DE-MUC)
2012/04/09 13:17:03
Done.
| |
221 .guest-disabled { | |
222 color: #999; | |
223 } | |
224 | |
225 a.guest-disabled { | |
226 opacity: 0.75; | |
227 } | |
228 </if> | |
220 /* Focus **********************************************************************/ | 229 /* Focus **********************************************************************/ |
221 | 230 |
222 button:not(.custom-appearance):not(.link-button):enabled:focus, | 231 button:not(.custom-appearance):not(.link-button):enabled:focus, |
223 input[type='button']:not(.custom-appearance):enabled:focus, | 232 input[type='button']:not(.custom-appearance):enabled:focus, |
224 input[type='checkbox']:enabled:focus, | 233 input[type='checkbox']:enabled:focus, |
225 input[type='password']:enabled:focus, | 234 input[type='password']:enabled:focus, |
226 input[type='radio']:enabled:focus, | 235 input[type='radio']:enabled:focus, |
227 input[type='search']:enabled:focus, | 236 input[type='search']:enabled:focus, |
228 input[type='submit']:not(.custom-appearance):enabled:focus, | 237 input[type='submit']:not(.custom-appearance):enabled:focus, |
229 input[type='text']:enabled:focus, | 238 input[type='text']:enabled:focus, |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
301 | 310 |
302 .checkbox label:hover, | 311 .checkbox label:hover, |
303 .radio label:hover { | 312 .radio label:hover { |
304 color: black; | 313 color: black; |
305 } | 314 } |
306 | 315 |
307 label > input[type=checkbox]:disabled ~ span, | 316 label > input[type=checkbox]:disabled ~ span, |
308 label > input[type=radio]:disabled ~ span { | 317 label > input[type=radio]:disabled ~ span { |
309 color: #999; | 318 color: #999; |
310 } | 319 } |
OLD | NEW |