| 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 contains "borrowed" copy of standard styles. To simplify merging, | 5 /* This file contains "borrowed" copy of standard styles. To simplify merging, |
| 6 * when altering, please preserve original property value by adding comments. | 6 * when altering, please preserve original property value by adding comments. */ |
| 7 */ | |
| 8 input.common[type='checkbox'], | 7 input.common[type='checkbox'], |
| 9 input.common[type='radio'] { | 8 input.common[type='radio'] { |
| 10 -webkit-appearance: none; | 9 -webkit-appearance: none; |
| 11 -webkit-border-radius: 1px; | 10 -webkit-border-radius: 1px; |
| 12 -webkit-box-sizing: border-box; | 11 -webkit-box-sizing: border-box; |
| 13 border: 1px solid #555; | 12 border: 1px solid #555; |
| 14 border-radius: 1px; | 13 border-radius: 1px; |
| 15 box-sizing: border-box; | 14 box-sizing: border-box; |
| 16 cursor: default; | 15 cursor: default; |
| 17 height: 13px; | 16 height: 13px; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 36 url('../images/common/check_no_box.png') 1x, | 35 url('../images/common/check_no_box.png') 1x, |
| 37 url('../images/common/2x/check_no_box.png') 2x); | 36 url('../images/common/2x/check_no_box.png') 2x); |
| 38 background-position: -3px -4px; | 37 background-position: -3px -4px; |
| 39 background-repeat: no-repeat; | 38 background-repeat: no-repeat; |
| 40 } | 39 } |
| 41 | 40 |
| 42 input.common[type='checkbox'].white { | 41 input.common[type='checkbox'].white { |
| 43 border: none; | 42 border: none; |
| 44 } | 43 } |
| 45 | 44 |
| 46 input.common[type='checkbox'].white:not(:checked):after { | 45 input.common[type='checkbox'].white:not(:checked)::after { |
| 47 background-image: -webkit-image-set( | 46 background-image: -webkit-image-set( |
| 48 url('../images/common/checkbox_white_unchecked.png') 1x, | 47 url('../images/common/checkbox_white_unchecked.png') 1x, |
| 49 url('../images/common/2x/checkbox_white_unchecked.png') 2x); | 48 url('../images/common/2x/checkbox_white_unchecked.png') 2x); |
| 50 background-position: -1px 0; | 49 background-position: -1px 0; |
| 51 } | 50 } |
| 52 | 51 |
| 53 input.common[type='checkbox'].white:checked::after { | 52 input.common[type='checkbox'].white:checked::after { |
| 54 background-image: -webkit-image-set( | 53 background-image: -webkit-image-set( |
| 55 url('../images/common/checkbox_white_checked.png') 1x, | 54 url('../images/common/checkbox_white_checked.png') 1x, |
| 56 url('../images/common/2x/checkbox_white_checked.png') 2x); | 55 url('../images/common/2x/checkbox_white_checked.png') 2x); |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 margin: 2px 0; | 300 margin: 2px 0; |
| 302 } | 301 } |
| 303 | 302 |
| 304 menu.chrome-menu > :not(hr)[checked] { | 303 menu.chrome-menu > :not(hr)[checked] { |
| 305 background-image: -webkit-image-set( | 304 background-image: -webkit-image-set( |
| 306 url('../images/common/check_no_box.png') 1x, | 305 url('../images/common/check_no_box.png') 1x, |
| 307 url('../images/common/2x/check_no_box.png') 2x); | 306 url('../images/common/2x/check_no_box.png') 2x); |
| 308 background-position: 2px center; | 307 background-position: 2px center; |
| 309 } | 308 } |
| 310 | 309 |
| 311 menu.chrome-menu > [checked]:before { | 310 menu.chrome-menu > [checked]::before { |
| 312 display: none; | 311 display: none; |
| 313 } | 312 } |
| 314 | 313 |
| 315 /* Ok/Cancel style buttons */ | 314 /* Ok/Cancel style buttons */ |
| 316 button, | 315 button, |
| 317 input[type='button'], | 316 input[type='button'], |
| 318 input[type='submit'], | 317 input[type='submit'], |
| 319 select { | 318 select { |
| 320 -webkit-border-radius: 2px; | 319 -webkit-border-radius: 2px; |
| 321 -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); | 320 -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); |
| (...skipping 29 matching lines...) Expand all Loading... |
| 351 input[type='button'][disabled], | 350 input[type='button'][disabled], |
| 352 input[type='submit'][disabled], | 351 input[type='submit'][disabled], |
| 353 button[disabled]:hover, | 352 button[disabled]:hover, |
| 354 input[type='button'][disabled]:hover, | 353 input[type='button'][disabled]:hover, |
| 355 input[type='submit'][disabled]:hover { | 354 input[type='submit'][disabled]:hover { |
| 356 -webkit-box-shadow: none; | 355 -webkit-box-shadow: none; |
| 357 background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5); | 356 background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5); |
| 358 border-color: #aaa; | 357 border-color: #aaa; |
| 359 color: #888; | 358 color: #888; |
| 360 } | 359 } |
| OLD | NEW |