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

Issue 1409373007: [MD settings] adding settings-row class (Closed)

Created:
5 years, 2 months ago by dschuyler
Modified:
5 years, 1 month ago
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, arv+watch_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] adding settings-row class 'settings-row' shows a row of controls for a setting. This is used as a simple container style for UI group that is smaller than a page or section, but larger than a single button or slider. The row may contain a left part, a right part or both. Elements within left or right will be pushed to the respective ends of the row. BUG=425627 Committed: https://crrev.com/808be52137d2f1d070140d1885e3994a6e4fb2f9 Cr-Commit-Position: refs/heads/master@{#357897}

Patch Set 1 #

Total comments: 2

Patch Set 2 : review nit #

Total comments: 2

Patch Set 3 : changing to settings-row class #

Patch Set 4 : reversed first/last of type #

Patch Set 5 : added height and icon padding #

Total comments: 2

Patch Set 6 : review nit #

Total comments: 3

Patch Set 7 : changed height to min-height 20px #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -0 lines) Patch
M chrome/browser/resources/settings/settings_page/settings_page.css View 1 2 3 4 5 6 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (9 generated)
dschuyler
5 years, 2 months ago (2015-10-20 17:59:43 UTC) #3
stevenjb
https://codereview.chromium.org/1409373007/diff/1/chrome/browser/resources/settings/settings_page/settings_row.css File chrome/browser/resources/settings/settings_page/settings_row.css (right): https://codereview.chromium.org/1409373007/diff/1/chrome/browser/resources/settings/settings_page/settings_row.css#newcode9 chrome/browser/resources/settings/settings_page/settings_row.css:9: padding: 8px 16px 8px 16px; nit: I think this ...
5 years, 2 months ago (2015-10-20 18:19:21 UTC) #4
stevenjb
I would suggest putting this in c/b/r/settings/controls.
5 years, 2 months ago (2015-10-20 18:26:49 UTC) #5
Dan Beam
why is this better than a class? https://codereview.chromium.org/1409373007/diff/20001/chrome/browser/resources/settings/settings_page/settings_row.js File chrome/browser/resources/settings/settings_page/settings_row.js (right): https://codereview.chromium.org/1409373007/diff/20001/chrome/browser/resources/settings/settings_page/settings_row.js#newcode16 chrome/browser/resources/settings/settings_page/settings_row.js:16: * <left> ...
5 years, 2 months ago (2015-10-20 18:31:51 UTC) #7
Dan Beam
(as in, .left, .right, .row)
5 years, 2 months ago (2015-10-20 18:32:04 UTC) #8
dschuyler
On 2015/10/20 18:31:51, Dan Beam wrote: > why is this better than a class? I'll ...
5 years, 2 months ago (2015-10-20 20:46:50 UTC) #9
dschuyler
https://codereview.chromium.org/1409373007/diff/1/chrome/browser/resources/settings/settings_page/settings_row.css File chrome/browser/resources/settings/settings_page/settings_row.css (right): https://codereview.chromium.org/1409373007/diff/1/chrome/browser/resources/settings/settings_page/settings_row.css#newcode9 chrome/browser/resources/settings/settings_page/settings_row.css:9: padding: 8px 16px 8px 16px; On 2015/10/20 18:19:21, stevenjb ...
5 years, 2 months ago (2015-10-20 20:46:59 UTC) #10
dschuyler
I've removed the element and added a class.
5 years, 2 months ago (2015-10-20 22:37:02 UTC) #11
stevenjb
Nice. lgtm.
5 years, 2 months ago (2015-10-20 23:34:30 UTC) #12
michaelpg
I already styled these rows using ".item-list paper-item" to provide padding, borders, etc. Can you ...
5 years, 2 months ago (2015-10-20 23:39:00 UTC) #14
dschuyler
On 2015/10/20 23:39:00, michaelpg wrote: > I already styled these rows using ".item-list paper-item" to ...
5 years, 2 months ago (2015-10-23 21:35:11 UTC) #15
dschuyler
On 2015/10/23 21:35:11, dschuyler wrote: > On 2015/10/20 23:39:00, michaelpg wrote: > > I already ...
5 years, 1 month ago (2015-10-28 19:21:00 UTC) #16
michaelpg
lgtm https://codereview.chromium.org/1409373007/diff/80001/chrome/browser/resources/settings/settings_page/settings_page.css File chrome/browser/resources/settings/settings_page/settings_page.css (right): https://codereview.chromium.org/1409373007/diff/80001/chrome/browser/resources/settings/settings_page/settings_page.css#newcode91 chrome/browser/resources/settings/settings_page/settings_page.css:91: nit: remove extra newline
5 years, 1 month ago (2015-10-28 20:35:29 UTC) #17
dschuyler
https://codereview.chromium.org/1409373007/diff/80001/chrome/browser/resources/settings/settings_page/settings_page.css File chrome/browser/resources/settings/settings_page/settings_page.css (right): https://codereview.chromium.org/1409373007/diff/80001/chrome/browser/resources/settings/settings_page/settings_page.css#newcode91 chrome/browser/resources/settings/settings_page/settings_page.css:91: On 2015/10/28 20:35:29, michaelpg wrote: > nit: remove extra ...
5 years, 1 month ago (2015-10-28 20:54:09 UTC) #18
Dan Beam
please update the CL description/title https://codereview.chromium.org/1409373007/diff/100001/chrome/browser/resources/settings/settings_page/settings_page.css File chrome/browser/resources/settings/settings_page/settings_page.css (right): https://codereview.chromium.org/1409373007/diff/100001/chrome/browser/resources/settings/settings_page/settings_page.css#newcode78 chrome/browser/resources/settings/settings_page/settings_page.css:78: height: 40px; /* 24px ...
5 years, 1 month ago (2015-10-28 20:55:56 UTC) #19
Dan Beam
also "Elements withing" -> within
5 years, 1 month ago (2015-10-28 20:56:42 UTC) #20
dschuyler
https://codereview.chromium.org/1409373007/diff/100001/chrome/browser/resources/settings/settings_page/settings_page.css File chrome/browser/resources/settings/settings_page/settings_page.css (right): https://codereview.chromium.org/1409373007/diff/100001/chrome/browser/resources/settings/settings_page/settings_page.css#newcode78 chrome/browser/resources/settings/settings_page/settings_page.css:78: height: 40px; /* 24px + 2x8px padding. */ On ...
5 years, 1 month ago (2015-10-28 21:02:08 UTC) #21
michaelpg
Sorry, I never sent this draft! https://codereview.chromium.org/1409373007/diff/100001/chrome/browser/resources/settings/settings_page/settings_page.css File chrome/browser/resources/settings/settings_page/settings_page.css (right): https://codereview.chromium.org/1409373007/diff/100001/chrome/browser/resources/settings/settings_page/settings_page.css#newcode78 chrome/browser/resources/settings/settings_page/settings_page.css:78: height: 40px; /* ...
5 years, 1 month ago (2015-10-31 21:31:45 UTC) #23
dschuyler
updated with min-height. PTAL
5 years, 1 month ago (2015-11-02 19:04:45 UTC) #24
dschuyler
On 2015/11/02 19:04:45, dschuyler wrote: > updated with min-height. PTAL ping
5 years, 1 month ago (2015-11-04 18:57:00 UTC) #25
Dan Beam
On 2015/10/28 20:55:56, Dan Beam wrote: > please update the CL description/title pong
5 years, 1 month ago (2015-11-04 19:07:24 UTC) #26
dschuyler
On 2015/11/04 19:07:24, Dan Beam wrote: > On 2015/10/28 20:55:56, Dan Beam wrote: > > ...
5 years, 1 month ago (2015-11-04 19:14:42 UTC) #29
Dan Beam
lgtm
5 years, 1 month ago (2015-11-04 19:55:58 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1409373007/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1409373007/120001
5 years, 1 month ago (2015-11-04 20:17:21 UTC) #33
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 1 month ago (2015-11-04 21:04:41 UTC) #34
commit-bot: I haz the power
5 years, 1 month ago (2015-11-04 21:06:20 UTC) #35
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/808be52137d2f1d070140d1885e3994a6e4fb2f9
Cr-Commit-Position: refs/heads/master@{#357897}

Powered by Google App Engine
This is Rietveld 408576698