Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Side by Side Diff: chrome/browser/resources/options/options_page.css

Issue 7088010: Layout adjustment for i18n compatibility. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Remove redundant rules and extra blank lines. Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 /**
357 * TODO(kevers): Standardize formatting of sections to use display tables.
358 * For now, we require separate specialized rules for sections that are
359 * formatted as table rows.
360 */
356 section { 361 section {
357 -webkit-box-orient: horizontal; 362 -webkit-box-orient: horizontal;
358 border-bottom: 1px solid #eeeeee; 363 border-bottom: 1px solid #eeeeee;
359 display: -webkit-box; 364 display: -webkit-box;
360 margin-top: 17px; 365 margin-top: 17px;
361 padding-bottom: 20px; 366 padding-bottom: 20px;
362 } 367 }
363 368
364 div.page section:last-child { 369 div.page section:last-child {
365 border-bottom: none; 370 border-bottom: none;
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
770 775
771 html:not([hasFlashPlugin]) .flash-plugin-area, 776 html:not([hasFlashPlugin]) .flash-plugin-area,
772 /* If the Flash plug-in supports the NPP_ClearSiteData API, we don't need to 777 /* 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: 778 * show the link to the Flash storage settings manager:
774 */ 779 */
775 html[flashPluginSupportsClearSiteData] .flash-plugin-area, 780 html[flashPluginSupportsClearSiteData] .flash-plugin-area,
776 html:not([flashPluginSupportsClearSiteData]) .clear-plugin-lso-data-enabled, 781 html:not([flashPluginSupportsClearSiteData]) .clear-plugin-lso-data-enabled,
777 html[flashPluginSupportsClearSiteData] .clear-plugin-lso-data-disabled { 782 html[flashPluginSupportsClearSiteData] .clear-plugin-lso-data-disabled {
778 display: none; 783 display: none;
779 } 784 }
785
786
787 /* Display a collection of sections as a table in order to display nicely
788 * in multiple locales. The left column should expand to accomodate the
789 * widest label without introducing excessive whitespace. Labels in
790 * languages such as German or Dutch tend to be wider than for English
791 */
792 .displaytable {
793 display: table;
794 width: 100%;
795 }
796
797 .displaytable > section {
798 display: table-row;
799 }
800
801 /* left table column containing section label */
802 .displaytable > section > h3 {
803 display: table-cell;
804 vertical-align: baseline;
805 }
806
807 /* right table column containing settable options */
808 .displaytable > section > h3 + div,
809 .displaytable > section > h3 + table {
810 display: table-cell;
811 vertical-align: baseline;
812 padding-top: 17px;
813 padding-bottom: 20px;
814 }
815
816 .displaytable > section > * {
817 border-bottom: 1px solid #eeeeee;
Rick Byers 2011/06/08 17:55:36 Can you also put display: table-cell and vertical-
kevers 2011/06/08 20:39:08 Done.
818 }
819
820 /* do not display a border after the last section in the table */
821 .displaytable > section:last-child > * {
822 border-bottom: none;
823 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/chromeos/system_options.html ('k') | chrome/browser/resources/options/personal_options.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698