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 /* Default state **************************************************************/ | 9 /* Default state **************************************************************/ |
10 | 10 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
58 -webkit-linear-gradient(#ededed, #ededed 38%, #dedede); | 58 -webkit-linear-gradient(#ededed, #ededed 38%, #dedede); |
59 background-position: right center; | 59 background-position: right center; |
60 background-repeat: no-repeat; | 60 background-repeat: no-repeat; |
61 } | 61 } |
62 | 62 |
63 html[dir='rtl'] select { | 63 html[dir='rtl'] select { |
64 background-position: center left; | 64 background-position: center left; |
65 } | 65 } |
66 | 66 |
67 input[type='checkbox'] { | 67 input[type='checkbox'] { |
68 <if expr="chromeos"> | |
69 bottom: 1px; | |
70 </if> | |
71 < expr="not chromeos"> | |
Dan Beam
2014/09/05 17:42:33
you're missing an if here... sorry, reviewer fail
| |
68 bottom: 2px; | 72 bottom: 2px; |
73 </if> | |
69 height: 13px; | 74 height: 13px; |
70 position: relative; | 75 position: relative; |
71 vertical-align: middle; | 76 vertical-align: middle; |
72 width: 13px; | 77 width: 13px; |
73 } | 78 } |
74 | 79 |
75 input[type='radio'] { | 80 input[type='radio'] { |
76 /* OVERRIDE */ | 81 /* OVERRIDE */ |
77 border-radius: 100%; | 82 border-radius: 100%; |
78 bottom: 3px; | 83 bottom: 3px; |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
302 display: block; | 307 display: block; |
303 } | 308 } |
304 | 309 |
305 :-webkit-any(.checkbox, .radio) label:hover { | 310 :-webkit-any(.checkbox, .radio) label:hover { |
306 color: black; | 311 color: black; |
307 } | 312 } |
308 | 313 |
309 label > input:disabled:-webkit-any([type='checkbox'], [type='radio']) ~ span { | 314 label > input:disabled:-webkit-any([type='checkbox'], [type='radio']) ~ span { |
310 color: #999; | 315 color: #999; |
311 } | 316 } |
OLD | NEW |