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; |
11 -webkit-border-radius: 1px; | 11 -webkit-border-radius: 1px; |
12 -webkit-box-sizing: border-box; | 12 -webkit-box-sizing: border-box; |
13 border: 1px solid #c6c6c6; | 13 border: 1px solid #555; |
14 border-radius: 1px; | 14 border-radius: 1px; |
15 box-sizing: border-box; | 15 box-sizing: border-box; |
16 cursor: default; | 16 cursor: default; |
17 height: 13px; | 17 height: 13px; |
18 margin: 0; | 18 margin: 0; |
| 19 opacity: 0.4; |
19 width: 13px; | 20 width: 13px; |
20 } | 21 } |
21 | 22 |
| 23 input.common[type='checkbox']:hover, |
| 24 input.common[type='checkbox']:checked, |
| 25 input.common[type='radio']:hover, |
| 26 input.common[type='radio']:checked { |
| 27 opacity: 1; |
| 28 } |
| 29 |
22 input.common[type='checkbox'] { | 30 input.common[type='checkbox'] { |
23 position: relative; | 31 position: relative; |
24 } | 32 } |
25 | 33 |
26 input.common[type='checkbox']:checked::after { | 34 input.common[type='checkbox']:checked::after { |
27 background-image: -webkit-image-set( | 35 background-image: -webkit-image-set( |
28 url('../images/common/check_no_box.png') 1x, | 36 url('../images/common/check_no_box.png') 1x, |
29 url('../images/common/2x/check_no_box.png') 2x); | 37 url('../images/common/2x/check_no_box.png') 2x); |
30 background-position: -3px -4px; | 38 background-position: -3px -4px; |
31 background-repeat: no-repeat; | 39 background-repeat: no-repeat; |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 menu.chrome-menu > :not(hr)[checked] { | 255 menu.chrome-menu > :not(hr)[checked] { |
248 background-image: -webkit-image-set( | 256 background-image: -webkit-image-set( |
249 url('../images/common/check_no_box.png') 1x, | 257 url('../images/common/check_no_box.png') 1x, |
250 url('../images/common/2x/check_no_box.png') 2x); | 258 url('../images/common/2x/check_no_box.png') 2x); |
251 background-position: 2px center; | 259 background-position: 2px center; |
252 } | 260 } |
253 | 261 |
254 menu.chrome-menu > [checked]:before { | 262 menu.chrome-menu > [checked]:before { |
255 display: none; | 263 display: none; |
256 } | 264 } |
OLD | NEW |