Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 body { | 1 body { |
| 2 cursor: default; | 2 cursor: default; |
| 3 font-size: 13px; | 3 font-size: 13px; |
| 4 } | 4 } |
| 5 | 5 |
| 6 a:link { | 6 a:link { |
| 7 color: rgb(63, 110, 194); | 7 color: rgb(63, 110, 194); |
| 8 } | 8 } |
| 9 | 9 |
| 10 a:active { | 10 a:active { |
| (...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 346 font-size: 105%; | 346 font-size: 105%; |
| 347 font-weight: bold; | 347 font-weight: bold; |
| 348 padding: 10px 15px 8px 15px; | 348 padding: 10px 15px 8px 15px; |
| 349 } | 349 } |
| 350 | 350 |
| 351 .page list { | 351 .page list { |
| 352 /* Min height is a multiple of the list item height (32) */ | 352 /* Min height is a multiple of the list item height (32) */ |
| 353 min-height: 192px; | 353 min-height: 192px; |
| 354 } | 354 } |
| 355 | 355 |
| 356 | |
|
Rick Byers
2011/06/04 18:49:45
Remove extra blank line
| |
| 357 /** | |
| 358 * TODO(kevers): Standardize formatting of sections to use display tables. | |
| 359 * For now, we require separate specialized rules for sections that are | |
| 360 * formatted as table rows. | |
| 361 */ | |
| 356 section { | 362 section { |
| 357 -webkit-box-orient: horizontal; | 363 -webkit-box-orient: horizontal; |
| 358 border-bottom: 1px solid #eeeeee; | 364 border-bottom: 1px solid #eeeeee; |
| 359 display: -webkit-box; | 365 display: -webkit-box; |
| 360 margin-top: 17px; | 366 margin-top: 17px; |
| 361 padding-bottom: 20px; | 367 padding-bottom: 20px; |
| 362 } | 368 } |
| 363 | 369 |
|
Rick Byers
2011/06/04 18:49:45
Remove extra blank line
| |
| 370 | |
| 364 div.page section:last-child { | 371 div.page section:last-child { |
| 365 border-bottom: none; | 372 border-bottom: none; |
| 366 } | 373 } |
| 367 | 374 |
| 368 div.page > h3 { | 375 div.page > h3 { |
| 369 font-size: 105%; | 376 font-size: 105%; |
| 370 font-weight: bold; | 377 font-weight: bold; |
| 371 margin: 20px 0 10px 0; | 378 margin: 20px 0 10px 0; |
| 372 } | 379 } |
| 373 | 380 |
| (...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 770 | 777 |
| 771 html:not([hasFlashPlugin]) .flash-plugin-area, | 778 html:not([hasFlashPlugin]) .flash-plugin-area, |
| 772 /* If the Flash plug-in supports the NPP_ClearSiteData API, we don't need to | 779 /* If the Flash plug-in supports the NPP_ClearSiteData API, we don't need to |
| 773 * show the link to the Flash storage settings manager: | 780 * show the link to the Flash storage settings manager: |
| 774 */ | 781 */ |
| 775 html[flashPluginSupportsClearSiteData] .flash-plugin-area, | 782 html[flashPluginSupportsClearSiteData] .flash-plugin-area, |
| 776 html:not([flashPluginSupportsClearSiteData]) .clear-plugin-lso-data-enabled, | 783 html:not([flashPluginSupportsClearSiteData]) .clear-plugin-lso-data-enabled, |
| 777 html[flashPluginSupportsClearSiteData] .clear-plugin-lso-data-disabled { | 784 html[flashPluginSupportsClearSiteData] .clear-plugin-lso-data-disabled { |
| 778 display: none; | 785 display: none; |
| 779 } | 786 } |
| 787 | |
| 788 | |
| 789 /* Display a collection of sections as a table in order to display nicely | |
| 790 * in multiple locales. The left column should expand to accomodate the | |
| 791 * widest label without introducing excessive whitespace. Labels in | |
| 792 * languages such as German or Dutch tend to be wider than for English | |
|
Rick Byers
2011/06/04 18:49:45
Remove trailing whitespace
| |
| 793 */ | |
| 794 .displaytable { | |
| 795 display: table; | |
| 796 width: 100%; | |
| 797 } | |
| 798 | |
| 799 .displaytable > section { | |
| 800 display: table-row; | |
| 801 } | |
| 802 | |
| 803 /* left table column containing section label */ | |
| 804 .displaytable > section > h3 { | |
| 805 display: table-cell; | |
| 806 vertical-align: baseline; | |
| 807 font-size: 105%; | |
| 808 font-weight: bold; | |
|
Rick Byers
2011/06/04 18:49:45
font-size and font-weight appear redundant with th
| |
| 809 width: 130px; | |
| 810 padding-right: 10px; | |
| 811 border-bottom: 1px solid #eeeeee; | |
| 812 } | |
| 813 | |
| 814 /* right table column containing settable options */ | |
| 815 .displaytable > section > h3 + div, | |
| 816 .displaytable > section > h3 + table { | |
| 817 display: table-cell; | |
|
Rick Byers
2011/06/04 18:49:45
You can combine all the table-cell rules (both lef
| |
| 818 vertical-align: baseline; | |
| 819 padding-top: 17px; | |
| 820 padding-bottom: 20px; | |
| 821 border-bottom: 1px solid #eeeeee; | |
| 822 } | |
| 823 | |
| 824 /* do not display a border after the last section in the table */ | |
| 825 .displaytable > section:last-child > h3, | |
| 826 .displaytable > section:last-child > div { | |
| 827 border-bottom: none; | |
| 828 } | |
| OLD | NEW |