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

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: 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 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 border-bottom: 1px solid rgba(188, 193, 208, .5); 345 border-bottom: 1px solid rgba(188, 193, 208, .5);
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
Rick Byers 2011/06/03 15:06:07 Why the extra newline here and below?
356
356 section { 357 section {
357 -webkit-box-orient: horizontal; 358 -webkit-box-orient: horizontal;
358 border-bottom: 1px solid #eeeeee; 359 border-bottom: 1px solid #eeeeee;
359 display: -webkit-box; 360 display: -webkit-box;
360 margin-top: 17px; 361 margin-top: 17px;
361 padding-bottom: 20px; 362 padding-bottom: 20px;
362 } 363 }
363 364
365
364 div.page section:last-child { 366 div.page section:last-child {
365 border-bottom: none; 367 border-bottom: none;
366 } 368 }
367 369
368 div.page > h3 { 370 div.page > h3 {
369 font-size: 105%; 371 font-size: 105%;
370 font-weight: bold; 372 font-weight: bold;
371 margin: 20px 0 10px 0; 373 margin: 20px 0 10px 0;
372 } 374 }
373 375
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
770 772
771 html:not([hasFlashPlugin]) .flash-plugin-area, 773 html:not([hasFlashPlugin]) .flash-plugin-area,
772 /* If the Flash plug-in supports the NPP_ClearSiteData API, we don't need to 774 /* 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: 775 * show the link to the Flash storage settings manager:
774 */ 776 */
775 html[flashPluginSupportsClearSiteData] .flash-plugin-area, 777 html[flashPluginSupportsClearSiteData] .flash-plugin-area,
776 html:not([flashPluginSupportsClearSiteData]) .clear-plugin-lso-data-enabled, 778 html:not([flashPluginSupportsClearSiteData]) .clear-plugin-lso-data-enabled,
777 html[flashPluginSupportsClearSiteData] .clear-plugin-lso-data-disabled { 779 html[flashPluginSupportsClearSiteData] .clear-plugin-lso-data-disabled {
778 display: none; 780 display: none;
779 } 781 }
782
783
784 /* Display a collection of sections as a table in order to display nicely
785 * in multiple locales. The left column should expand to accomodate the
Rick Byers 2011/06/03 15:06:07 Remove trailing whitespace at the end of this line
786 * widest label without introducing excessive whitespace. Labels in
787 * languages such as German or Dutch tend to be wider than for English */
Rick Byers 2011/06/03 15:06:07 move */ to a new line like the comments above
788 .displaytable {
789 display: table;
790 width:100%;
Rick Byers 2011/06/03 15:06:07 space after :
791 }
792
793 .displaytable > section {
Rick Byers 2011/06/03 15:06:07 Are all sections now inside a displaytable? Or ar
kevers1 2011/06/03 18:45:44 The pages within 'toplevel-page-container' have be
Rick Byers 2011/06/04 18:49:45 I see - thanks.
794 display: table-row;
795 }
796
797 /* left table column containing section label */
798 .displaytable > section > h3 {
Rick Byers 2011/06/03 15:06:07 Again this seems somewhat redundant with the secti
799 display: table-cell;
800 vertical-align: baseline;
801 font-size: 105%;
802 font-weight: bold;
803 width: 130px;
804 -webkit-box-flex: 1;
Rick Byers 2011/06/03 15:06:07 Does this actually do anything for display: table-
805 padding-right: 10px;
806 border-bottom: 1px solid #eeeeee;
Rick Byers 2011/06/03 15:06:07 I'm hoping also that it's not necessary to respeci
kevers1 2011/06/03 18:45:44 Ideally, the border would be specified on the sect
Rick Byers 2011/06/04 18:49:45 Ah, I see - that's too bad. Then can you at least
807 }
808
809
810 .displaytable > section > h3.centerAlign {
Rick Byers 2011/06/03 15:06:07 What does this affect? Perhaps I missed it, but I
kevers1 2011/06/03 18:45:44 Rule reumoved
811 vertical-align: middle;
812 }
813
814
815 /* right table column containing settable options */
816 .displaytable > section > h3 + div,
817 .displaytable > section > h3 + table {
818 display: table-cell;
819 vertical-align: baseline;
820 padding-top: 17px;
821 padding-bottom: 20px;
822 border-bottom: 1px solid #eeeeee;
Rick Byers 2011/06/03 15:06:07 Again - would be better if you can avoid repeating
823 }
824
825 /* do not display a border after the last section in the table */
826 .displaytable > section:last-child > h3,
827 .displaytable > section:last-child > div {
828 border-bottom: none;
829 }
830
Rick Byers 2011/06/03 15:06:07 Remove 4 trailing new-lines
831
832
833
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698