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 @import url(action_link.css); | 9 @import url(action_link.css); |
10 | 10 |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 input[type='radio'], | 228 input[type='radio'], |
229 input[type='search'], | 229 input[type='search'], |
230 input[type='text'], | 230 input[type='text'], |
231 input[type='url'], | 231 input[type='url'], |
232 input:not([type]), | 232 input:not([type]), |
233 :-webkit-any( | 233 :-webkit-any( |
234 button, | 234 button, |
235 input[type='button'], | 235 input[type='button'], |
236 input[type='submit']):not(.custom-appearance)) { | 236 input[type='submit']):not(.custom-appearance)) { |
237 /* OVERRIDE */ | 237 /* OVERRIDE */ |
238 -webkit-transition: border-color 200ms; | 238 transition: border-color 200ms; |
239 /* We use border color because it follows the border radius (unlike outline). | 239 /* We use border color because it follows the border radius (unlike outline). |
240 * This is particularly noticeable on mac. */ | 240 * This is particularly noticeable on mac. */ |
241 border-color: rgb(77, 144, 254); | 241 border-color: rgb(77, 144, 254); |
242 outline: none; | 242 outline: none; |
243 } | 243 } |
244 | 244 |
245 /* Checkbox/radio helpers ****************************************************** | 245 /* Checkbox/radio helpers ****************************************************** |
246 * | 246 * |
247 * .checkbox and .radio classes wrap labels. Checkboxes and radios should use | 247 * .checkbox and .radio classes wrap labels. Checkboxes and radios should use |
248 * these classes with the markup structure: | 248 * these classes with the markup structure: |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 | 280 |
281 label > input:disabled:-webkit-any([type='checkbox'], [type='radio']) ~ span { | 281 label > input:disabled:-webkit-any([type='checkbox'], [type='radio']) ~ span { |
282 color: #999; | 282 color: #999; |
283 } | 283 } |
284 | 284 |
285 extensionview { | 285 extensionview { |
286 display: inline-block; | 286 display: inline-block; |
287 height: 300px; | 287 height: 300px; |
288 width: 300px; | 288 width: 300px; |
289 } | 289 } |
OLD | NEW |