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 defines styles for form controls. The order of rule blocks is | 5 /* This file defines styles for form controls. The order of rule blocks is |
6 * important as there are some rules with equal specificity that rely on order | 6 * important as there are some rules with equal specificity that rely on order |
7 * as a tiebreaker. These are marked with OVERRIDE. */ | 7 * as a tiebreaker. These are marked with OVERRIDE. */ |
8 | 8 |
9 /* Default state **************************************************************/ | 9 /* Default state **************************************************************/ |
10 | 10 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 } | 61 } |
62 | 62 |
63 html[dir='rtl'] select { | 63 html[dir='rtl'] select { |
64 background-position: center left; | 64 background-position: center left; |
65 } | 65 } |
66 | 66 |
67 input[type='checkbox'] { | 67 input[type='checkbox'] { |
68 <if expr="chromeos"> | 68 <if expr="chromeos"> |
69 bottom: 1px; | 69 bottom: 1px; |
70 </if> | 70 </if> |
71 < expr="not chromeos"> | 71 <if expr="not chromeos"> |
72 bottom: 2px; | 72 bottom: 2px; |
73 </if> | 73 </if> |
74 height: 13px; | 74 height: 13px; |
75 position: relative; | 75 position: relative; |
76 vertical-align: middle; | 76 vertical-align: middle; |
77 width: 13px; | 77 width: 13px; |
78 } | 78 } |
79 | 79 |
80 input[type='radio'] { | 80 input[type='radio'] { |
81 /* OVERRIDE */ | 81 /* OVERRIDE */ |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 display: block; | 307 display: block; |
308 } | 308 } |
309 | 309 |
310 :-webkit-any(.checkbox, .radio) label:hover { | 310 :-webkit-any(.checkbox, .radio) label:hover { |
311 color: black; | 311 color: black; |
312 } | 312 } |
313 | 313 |
314 label > input:disabled:-webkit-any([type='checkbox'], [type='radio']) ~ span { | 314 label > input:disabled:-webkit-any([type='checkbox'], [type='radio']) ~ span { |
315 color: #999; | 315 color: #999; |
316 } | 316 } |
OLD | NEW |