Chromium Code Reviews| Index: chrome/browser/resources/options/options_page.css |
| diff --git a/chrome/browser/resources/options/options_page.css b/chrome/browser/resources/options/options_page.css |
| index 932eded11531571666521a8d0d1879901df1abf6..e8e85e174559cccc094c0b3c3d1c84e955c251ac 100644 |
| --- a/chrome/browser/resources/options/options_page.css |
| +++ b/chrome/browser/resources/options/options_page.css |
| @@ -353,6 +353,7 @@ html.hide-menu #mainview { |
| min-height: 192px; |
| } |
|
Rick Byers
2011/06/03 15:06:07
Why the extra newline here and below?
|
| + |
| section { |
| -webkit-box-orient: horizontal; |
| border-bottom: 1px solid #eeeeee; |
| @@ -361,6 +362,7 @@ section { |
| padding-bottom: 20px; |
| } |
| + |
| div.page section:last-child { |
| border-bottom: none; |
| } |
| @@ -777,3 +779,55 @@ html:not([flashPluginSupportsClearSiteData]) .clear-plugin-lso-data-enabled, |
| html[flashPluginSupportsClearSiteData] .clear-plugin-lso-data-disabled { |
| display: none; |
| } |
| + |
| + |
| +/* Display a collection of sections as a table in order to display nicely |
| + * 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
|
| + * widest label without introducing excessive whitespace. Labels in |
| + * 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
|
| +.displaytable { |
| + display: table; |
| + width:100%; |
|
Rick Byers
2011/06/03 15:06:07
space after :
|
| +} |
| + |
| +.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.
|
| + display: table-row; |
| +} |
| + |
| +/* left table column containing section label */ |
| +.displaytable > section > h3 { |
|
Rick Byers
2011/06/03 15:06:07
Again this seems somewhat redundant with the secti
|
| + display: table-cell; |
| + vertical-align: baseline; |
| + font-size: 105%; |
| + font-weight: bold; |
| + width: 130px; |
| + -webkit-box-flex: 1; |
|
Rick Byers
2011/06/03 15:06:07
Does this actually do anything for display: table-
|
| + padding-right: 10px; |
| + 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
|
| +} |
| + |
| + |
| +.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
|
| + vertical-align: middle; |
| +} |
| + |
| + |
| +/* right table column containing settable options */ |
| +.displaytable > section > h3 + div, |
| +.displaytable > section > h3 + table { |
| + display: table-cell; |
| + vertical-align: baseline; |
| + padding-top: 17px; |
| + padding-bottom: 20px; |
| + border-bottom: 1px solid #eeeeee; |
|
Rick Byers
2011/06/03 15:06:07
Again - would be better if you can avoid repeating
|
| +} |
| + |
| +/* do not display a border after the last section in the table */ |
| +.displaytable > section:last-child > h3, |
| +.displaytable > section:last-child > div { |
| + border-bottom: none; |
| +} |
| + |
|
Rick Byers
2011/06/03 15:06:07
Remove 4 trailing new-lines
|
| + |
| + |
| + |