Chromium Code Reviews| 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 11 matching lines...) Expand all Loading... | |
| 22 input.common[type='checkbox'] { | 22 input.common[type='checkbox'] { |
| 23 position: relative; | 23 position: relative; |
| 24 } | 24 } |
| 25 | 25 |
| 26 input.common[type='checkbox']:checked::after { | 26 input.common[type='checkbox']:checked::after { |
| 27 background-image: url('../images/common/check_no_box.png'); | 27 background-image: url('../images/common/check_no_box.png'); |
| 28 background-position: -3px -4px; | 28 background-position: -3px -4px; |
| 29 background-repeat: no-repeat; | 29 background-repeat: no-repeat; |
| 30 } | 30 } |
| 31 | 31 |
| 32 input.common[type='checkbox'][white]:checked::after { | |
|
Dmitry Zvorygin
2012/04/17 15:25:09
I'd prefer styles to attributes here.
dgozman
2012/04/17 16:05:31
Done.
| |
| 33 background-image: url('../images/common/check_with_stroke.svg'); | |
| 34 background-position: -1px -4px; | |
| 35 } | |
| 36 | |
| 32 input.common[type='checkbox']::after { | 37 input.common[type='checkbox']::after { |
| 33 content: ''; | 38 content: ''; |
| 34 display: -webkit-box; | 39 display: -webkit-box; |
| 35 height: 15px; | 40 height: 15px; |
| 36 left: -2px; | 41 left: -2px; |
| 37 position: absolute; | 42 position: absolute; |
| 38 top: -2px; | 43 top: -2px; |
| 39 width: 17px; | 44 width: 17px; |
| 40 } | 45 } |
| OLD | NEW |