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

Issue 1652553002: [MD settings] adjusting heights of settings rows; removing two .css files; unifying settings layout (Closed)

Created:
4 years, 10 months ago by dschuyler
Modified:
4 years, 10 months ago
Reviewers:
dpapad
CC:
arv+watch_chromium.org, chromium-reviews, dbeam+watch-settings_chromium.org, michaelpg+watch-md-settings_chromium.org, stevenjb+watch-md-settings_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[MD settings] adjusting heights of settings rows; removing two .css files; unifying settings layout This CL continues the process of unifying MD settings layout. - minimum line heights are now either 40px or 52px, depending on whether they are two-line. - the .split class style has been removed. A .settings-box now defaults to what .split was, as that was by far the more common case - A .block class has been added for the rare cases where a .settings-box should use a non-split (block) style - two .css files became unneeded along the way and have been removed - some uses of paper-item were replaced with styled divs to make them leaner (div is well optimized) BUG=425627 Committed: https://crrev.com/b146aaae933ae30ea5bd8f33eee6a585e5959cd4 Cr-Commit-Position: refs/heads/master@{#372765}

Patch Set 1 #

Total comments: 2

Patch Set 2 : merge with master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -177 lines) Patch
M chrome/browser/resources/settings/a11y_page/a11y_page.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/appearance_page/appearance_page.html View 3 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/resources/settings/clear_browsing_data_page/clear_browsing_data_page.html View 1 chunk +1 line, -1 line 0 comments Download
D chrome/browser/resources/settings/date_time_page/date_time_page.css View 1 chunk +0 lines, -14 lines 0 comments Download
M chrome/browser/resources/settings/date_time_page/date_time_page.html View 1 chunk +8 lines, -10 lines 0 comments Download
M chrome/browser/resources/settings/downloads_page/downloads_page.html View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/languages_page/languages_page.html View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/languages_page/manage_languages_page.html View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/resources/settings/on_startup_page/on_startup_page.html View 2 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/resources/settings/passwords_and_forms_page/passwords_and_forms_page.html View 1 chunk +25 lines, -29 lines 0 comments Download
M chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.css View 1 1 chunk +0 lines, -17 lines 0 comments Download
M chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html View 1 1 chunk +9 lines, -8 lines 0 comments Download
M chrome/browser/resources/settings/people_page/change_picture.html View 1 chunk +18 lines, -20 lines 0 comments Download
M chrome/browser/resources/settings/people_page/people_page.html View 1 chunk +25 lines, -27 lines 0 comments Download
M chrome/browser/resources/settings/privacy_page/privacy_page.html View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/reset_page/reset_page.html View 1 chunk +12 lines, -9 lines 0 comments Download
M chrome/browser/resources/settings/search_page/search_page.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/settings_resources.grd View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/settings_shared.css View 3 chunks +15 lines, -14 lines 0 comments Download

Messages

Total messages: 18 (6 generated)
dschuyler
This would be a lot of screen shots to present. Maybe you could stop by ...
4 years, 10 months ago (2016-01-29 23:10:46 UTC) #2
dpapad
lgtm LGTM with question. https://codereview.chromium.org/1652553002/diff/1/chrome/browser/resources/settings/settings_shared.css File chrome/browser/resources/settings/settings_shared.css (right): https://codereview.chromium.org/1652553002/diff/1/chrome/browser/resources/settings/settings_shared.css#newcode80 chrome/browser/resources/settings/settings_shared.css:80: white-space: nowrap; Do you also ...
4 years, 10 months ago (2016-01-30 00:17:36 UTC) #3
dschuyler
https://codereview.chromium.org/1652553002/diff/1/chrome/browser/resources/settings/settings_shared.css File chrome/browser/resources/settings/settings_shared.css (right): https://codereview.chromium.org/1652553002/diff/1/chrome/browser/resources/settings/settings_shared.css#newcode80 chrome/browser/resources/settings/settings_shared.css:80: white-space: nowrap; On 2016/01/30 00:17:35, dpapad wrote: > Do ...
4 years, 10 months ago (2016-01-30 01:46:56 UTC) #4
dpapad
lgtm
4 years, 10 months ago (2016-01-30 01:55:24 UTC) #5
michaelpg
Adding a "block" class seems fishy. What is a settings-box, anyway? It's a super generic ...
4 years, 10 months ago (2016-01-31 00:42:16 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1652553002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1652553002/1
4 years, 10 months ago (2016-02-01 18:49:36 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/15724) android_compile_dbg on tryserver.chromium.android (JOB_FAILED, ...
4 years, 10 months ago (2016-02-01 18:54:36 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1652553002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1652553002/20001
4 years, 10 months ago (2016-02-01 21:13:12 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-02-01 21:20:41 UTC) #14
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/b146aaae933ae30ea5bd8f33eee6a585e5959cd4 Cr-Commit-Position: refs/heads/master@{#372765}
4 years, 10 months ago (2016-02-01 21:22:05 UTC) #16
michaelpg
On 2016/01/31 00:42:16, michaelpg wrote: > Adding a "block" class seems fishy. What is a ...
4 years, 10 months ago (2016-02-09 19:48:59 UTC) #17
dschuyler
4 years, 10 months ago (2016-02-09 19:59:24 UTC) #18
Message was sent while issue was closed.
On 2016/02/09 19:48:59, michaelpg wrote:
> On 2016/01/31 00:42:16, michaelpg wrote:
> > Adding a "block" class seems fishy. What is a settings-box, anyway? It's a
> super
> > generic name: this is settings, and everything is a box.
> > 
> > Maybe split its functions into style (the border) and structure (display:
> flex)?
> > Or have "settings-flexbox" and "settings-block" and style them the same
except
> > for "display"?
> 
> You missed some sections which were relying on settings-block being
> display:block:
> 
> * settings-people-page
> * settings-manage-languages-page
> * settings-edit-dictionary-page
> 
> and maybe others I can't see. How did you determine which were the "rare"
cases
> that needed .block?

I'll look into fixing those, thanks.

Powered by Google App Engine
This is Rietveld 408576698