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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 */ |
82 border-radius: 100%; | 82 border-radius: 100%; |
83 bottom: 3px; | 83 bottom: 1px; |
Evan Stade
2014/09/18 00:58:45
we actually checked this on every single desktop p
| |
84 height: 15px; | 84 height: 15px; |
85 position: relative; | 85 position: relative; |
86 vertical-align: middle; | 86 vertical-align: middle; |
87 width: 15px; | 87 width: 15px; |
88 } | 88 } |
89 | 89 |
90 /* TODO(estade): add more types here? */ | 90 /* TODO(estade): add more types here? */ |
91 input[type='number'], | 91 input[type='number'], |
92 input[type='password'], | 92 input[type='password'], |
93 input[type='search'], | 93 input[type='search'], |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
306 display: block; | 306 display: block; |
307 } | 307 } |
308 | 308 |
309 :-webkit-any(.checkbox, .radio) label:hover { | 309 :-webkit-any(.checkbox, .radio) label:hover { |
310 color: black; | 310 color: black; |
311 } | 311 } |
312 | 312 |
313 label > input:disabled:-webkit-any([type='checkbox'], [type='radio']) ~ span { | 313 label > input:disabled:-webkit-any([type='checkbox'], [type='radio']) ~ span { |
314 color: #999; | 314 color: #999; |
315 } | 315 } |
OLD | NEW |