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 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 @import url(action_link.css); | 9 @import url(action_link.css); |
| 10 | 10 |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 245 /* Checkbox/radio helpers ****************************************************** | 245 /* Checkbox/radio helpers ****************************************************** |
| 246 * | 246 * |
| 247 * .checkbox and .radio classes wrap labels. Checkboxes and radios should use | 247 * .checkbox and .radio classes wrap labels. Checkboxes and radios should use |
| 248 * these classes with the markup structure: | 248 * these classes with the markup structure: |
| 249 * | 249 * |
| 250 * <div class="checkbox"> | 250 * <div class="checkbox"> |
| 251 * <label> | 251 * <label> |
| 252 * <input type="checkbox"></input> | 252 * <input type="checkbox"></input> |
| 253 * <span> | 253 * <span> |
| 254 * </label> | 254 * </label> |
| 255 * </div> | 255 * </div> */ |
|
michaelpg
2016/08/11 08:08:13
putting code next to code really doesn't seem good
Dan Beam
2016/08/12 00:31:29
fine, reverted
| |
| 256 */ | |
| 257 | 256 |
| 258 :-webkit-any(.checkbox, .radio) label { | 257 :-webkit-any(.checkbox, .radio) label { |
| 259 -webkit-user-select: none; | 258 -webkit-user-select: none; |
| 260 /* Don't expand horizontally: <http://crbug.com/112091>. */ | 259 /* Don't expand horizontally: <http://crbug.com/112091>. */ |
| 261 align-items: center; | 260 align-items: center; |
| 262 display: inline-flex; | 261 display: inline-flex; |
| 263 padding-bottom: 7px; | 262 padding-bottom: 7px; |
| 264 padding-top: 7px; | 263 padding-top: 7px; |
| 265 } | 264 } |
| 266 | 265 |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 280 | 279 |
| 281 label > input:disabled:-webkit-any([type='checkbox'], [type='radio']) ~ span { | 280 label > input:disabled:-webkit-any([type='checkbox'], [type='radio']) ~ span { |
| 282 color: #999; | 281 color: #999; |
| 283 } | 282 } |
| 284 | 283 |
| 285 extensionview { | 284 extensionview { |
| 286 display: inline-block; | 285 display: inline-block; |
| 287 height: 300px; | 286 height: 300px; |
| 288 width: 300px; | 287 width: 300px; |
| 289 } | 288 } |
| OLD | NEW |