| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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='password'], | 91 input[type='password'], |
| 92 input[type='search'], | 92 input[type='search'], |
| 93 input[type='text'], | 93 input[type='text'], |
| 94 input[type='url'], | 94 input[type='url'], |
| 95 input:not([type]) { | 95 input:not([type]), |
| 96 textarea { |
| 96 border: 1px solid #bfbfbf; | 97 border: 1px solid #bfbfbf; |
| 97 border-radius: 2px; | 98 border-radius: 2px; |
| 98 box-sizing: border-box; | 99 box-sizing: border-box; |
| 99 color: #444; | 100 color: #444; |
| 100 font: inherit; | 101 font: inherit; |
| 101 margin: 0; | 102 margin: 0; |
| 102 /* Use min-height to accommodate addditional padding for touch as needed. */ | 103 /* Use min-height to accommodate addditional padding for touch as needed. */ |
| 103 min-height: 2em; | 104 min-height: 2em; |
| 104 padding: 3px; | 105 padding: 3px; |
| 105 <if expr="is_win or is_macosx"> | 106 <if expr="is_win or is_macosx"> |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 | 303 |
| 303 .checkbox label:hover, | 304 .checkbox label:hover, |
| 304 .radio label:hover { | 305 .radio label:hover { |
| 305 color: black; | 306 color: black; |
| 306 } | 307 } |
| 307 | 308 |
| 308 label > input[type=checkbox]:disabled ~ span, | 309 label > input[type=checkbox]:disabled ~ span, |
| 309 label > input[type=radio]:disabled ~ span { | 310 label > input[type=radio]:disabled ~ span { |
| 310 color: #999; | 311 color: #999; |
| 311 } | 312 } |
| OLD | NEW |