Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 body { | 1 body { |
| 2 -webkit-user-select: none; | 2 -webkit-user-select: none; |
| 3 cursor: default; | 3 cursor: default; |
| 4 font-size: 100%; | 4 font-size: 100%; |
| 5 } | 5 } |
| 6 | 6 |
| 7 #settings-title { | 7 #settings-title { |
| 8 -webkit-padding-end: 24px; | 8 -webkit-padding-end: 24px; |
| 9 color: #53637d; | 9 color: #53637d; |
| 10 font-size: 200%; | 10 font-size: 200%; |
| (...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 317 -webkit-box-flex: 1; | 317 -webkit-box-flex: 1; |
| 318 } | 318 } |
| 319 | 319 |
| 320 .option { | 320 .option { |
| 321 margin-top: 0; | 321 margin-top: 0; |
| 322 } | 322 } |
| 323 | 323 |
| 324 /* TODO(stuartmorgan): make this less specific once all pages | 324 /* TODO(stuartmorgan): make this less specific once all pages |
| 325 * are converted to the non-table style. | 325 * are converted to the non-table style. |
| 326 */ | 326 */ |
| 327 section > div:only-of-type label { | 327 section > div:only-of-type label { |
|
stuartmorgan
2010/12/18 00:49:38
Lets axe the whole 'div:only-of-type' part now too
James Hawkins
2010/12/18 00:54:41
I'm hesitant to remove this right now, because it
| |
| 328 display: block; | |
| 329 margin: 5px 0; | 328 margin: 5px 0; |
| 330 } | 329 } |
| 331 | 330 |
| 331 label.checkbox, | |
| 332 label.radio { | |
| 333 display: block | |
| 334 } | |
| 335 | |
| 332 .hidden { | 336 .hidden { |
| 333 display: none !important; | 337 display: none !important; |
| 334 } | 338 } |
| 335 | 339 |
| 336 .touch-slider { | 340 .touch-slider { |
| 337 -webkit-appearance: slider-horizontal; | 341 -webkit-appearance: slider-horizontal; |
| 338 } | 342 } |
| 339 | 343 |
| 340 select { | 344 select { |
| 341 margin: 0px; | 345 margin: 0px; |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 489 button { | 493 button { |
| 490 margin-left: 0; | 494 margin-left: 0; |
| 491 margin-right: 0; | 495 margin-right: 0; |
| 492 } | 496 } |
| 493 | 497 |
| 494 /* Checkbox and radio buttons have different sizes on different platforms. The | 498 /* Checkbox and radio buttons have different sizes on different platforms. The |
| 495 * following rules have platform specific tweaks. | 499 * following rules have platform specific tweaks. |
| 496 * TODO(arv): Test the vertical position on Linux and CrOS as well. | 500 * TODO(arv): Test the vertical position on Linux and CrOS as well. |
| 497 */ | 501 */ |
| 498 | 502 |
| 499 /* | 503 label > input[type=checkbox], |
| 500 * Webkit does not move the absolute positioned input element properly and | 504 label > input[type=radio] { |
| 501 * filed bug 48348 to track the problem. | 505 margin-top: 1px; |
| 502 * https://bugs.webkit.org/show_bug.cgi?id=48348 | |
| 503 * In the mean time, mark the outer label element 'relative' so that webkit | |
| 504 * aligns the input element properly. | |
| 505 */ | |
| 506 label.checkbox, | |
| 507 label.radio { | |
| 508 position: relative; | |
| 509 } | 506 } |
| 510 | 507 |
| 511 label.checkbox > input, | 508 .suboption { |
| 512 label.radio > input { | 509 -webkit-margin-start: 16px; |
| 513 margin-top: 1px; | |
| 514 position: absolute; | |
| 515 } | 510 } |
| 516 | 511 |
| 517 label.checkbox > span, | 512 html[os=mac] label > input[type=checkbox], |
| 518 label.radio > span, | 513 html[os=mac] label > input[type=radio] { |
| 519 .suboption { | |
| 520 -webkit-margin-start: 16px; | |
| 521 display: block; | |
| 522 } | |
| 523 | |
| 524 html[os=mac] label.checkbox > input, | |
| 525 html[os=mac] label.radio > input { | |
| 526 margin-top: 2px; | 514 margin-top: 2px; |
| 527 } | 515 } |
| OLD | NEW |