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 */ | 7 */ |
8 input.common[type='checkbox'], | 8 input.common[type='checkbox'], |
9 input.common[type='radio'] { | 9 input.common[type='radio'] { |
10 -webkit-appearance: none; | 10 -webkit-appearance: none; |
(...skipping 25 matching lines...) Expand all Loading... |
36 url('../images/common/check_no_box.png') 1x, | 36 url('../images/common/check_no_box.png') 1x, |
37 url('../images/common/2x/check_no_box.png') 2x); | 37 url('../images/common/2x/check_no_box.png') 2x); |
38 background-position: -3px -4px; | 38 background-position: -3px -4px; |
39 background-repeat: no-repeat; | 39 background-repeat: no-repeat; |
40 } | 40 } |
41 | 41 |
42 input.common[type='checkbox'].white { | 42 input.common[type='checkbox'].white { |
43 border: none; | 43 border: none; |
44 } | 44 } |
45 | 45 |
46 input.common[type='checkbox'].white:not(:checked):after { | 46 input.common[type='checkbox'].white:not(:checked)::after { |
47 background-image: -webkit-image-set( | 47 background-image: -webkit-image-set( |
48 url('../images/common/checkbox_white_unchecked.png') 1x, | 48 url('../images/common/checkbox_white_unchecked.png') 1x, |
49 url('../images/common/2x/checkbox_white_unchecked.png') 2x); | 49 url('../images/common/2x/checkbox_white_unchecked.png') 2x); |
50 background-position: -1px 0; | 50 background-position: -1px 0; |
51 } | 51 } |
52 | 52 |
53 input.common[type='checkbox'].white:checked::after { | 53 input.common[type='checkbox'].white:checked::after { |
54 background-image: -webkit-image-set( | 54 background-image: -webkit-image-set( |
55 url('../images/common/checkbox_white_checked.png') 1x, | 55 url('../images/common/checkbox_white_checked.png') 1x, |
56 url('../images/common/2x/checkbox_white_checked.png') 2x); | 56 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; | 301 margin: 2px 0; |
302 } | 302 } |
303 | 303 |
304 menu.chrome-menu > :not(hr)[checked] { | 304 menu.chrome-menu > :not(hr)[checked] { |
305 background-image: -webkit-image-set( | 305 background-image: -webkit-image-set( |
306 url('../images/common/check_no_box.png') 1x, | 306 url('../images/common/check_no_box.png') 1x, |
307 url('../images/common/2x/check_no_box.png') 2x); | 307 url('../images/common/2x/check_no_box.png') 2x); |
308 background-position: 2px center; | 308 background-position: 2px center; |
309 } | 309 } |
310 | 310 |
311 menu.chrome-menu > [checked]:before { | 311 menu.chrome-menu > [checked]::before { |
312 display: none; | 312 display: none; |
313 } | 313 } |
314 | 314 |
315 /* Ok/Cancel style buttons */ | 315 /* Ok/Cancel style buttons */ |
316 button, | 316 button, |
317 input[type='button'], | 317 input[type='button'], |
318 input[type='submit'], | 318 input[type='submit'], |
319 select { | 319 select { |
320 -webkit-border-radius: 2px; | 320 -webkit-border-radius: 2px; |
321 -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); | 321 -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); |
(...skipping 29 matching lines...) Expand all Loading... |
351 input[type='button'][disabled], | 351 input[type='button'][disabled], |
352 input[type='submit'][disabled], | 352 input[type='submit'][disabled], |
353 button[disabled]:hover, | 353 button[disabled]:hover, |
354 input[type='button'][disabled]:hover, | 354 input[type='button'][disabled]:hover, |
355 input[type='submit'][disabled]:hover { | 355 input[type='submit'][disabled]:hover { |
356 -webkit-box-shadow: none; | 356 -webkit-box-shadow: none; |
357 background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5); | 357 background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5); |
358 border-color: #aaa; | 358 border-color: #aaa; |
359 color: #888; | 359 color: #888; |
360 } | 360 } |
OLD | NEW |