New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 714320 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

3 classes of separator types

Project Member Reported by bettes@chromium.org, Apr 21 2017

Issue description

The padding between a component and a vertical separator should be different depending on the component. 

The padding between the left-most icon and the separator should always be 12px. 




 
01-icon.png
34.0 KB View Download
02-button.png
26.2 KB View Download
03-switch.png
21.3 KB View Download

Comment 1 by dpa...@chromium.org, Apr 24 2017

Cc: scottchen@chromium.org dpa...@chromium.org
Labels: -Pri-3 OS-All Pri-2
Status: Available (was: Untriaged)
Labels: -Hotlist-Settings-General Hotlist-MD-Settings-General
Owner: dschuyler@chromium.org
Status: Started (was: Available)

Comment 4 by bettes@chromium.org, Apr 25 2017

Update: 

settings-ripple is going to use cr-ripples. So the diameter is now 36 instead of 40. With that change, use 16 (instead of 12) for spacing between icon and vertical separator/card edge. Exception being switches and buttons. 
Screen Shot 2017-04-24 at 5.46.01 PM.png
22.7 KB View Download
Screen Shot 2017-04-24 at 5.42.39 PM.png
29.2 KB View Download
Screen Shot 2017-04-24 at 5.39.27 PM.png
44.2 KB View Download
Screen Shot 2017-04-24 at 5.40.22 PM.png
9.0 KB View Download
Screen Shot 2017-04-24 at 5.40.12 PM.png
9.7 KB View Download
Screen Shot 2017-04-24 at 5.40.00 PM.png
28.6 KB View Download
Project Member

Comment 5 by bugdroid1@chromium.org, May 1 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/898ae07dedccc8e9a9a125c662ce1c28af55d41f

commit 898ae07dedccc8e9a9a125c662ce1c28af55d41f
Author: dschuyler <dschuyler@chromium.org>
Date: Mon May 01 23:04:07 2017

[MD settings] css for row separator

This CL adds CSS for .separator which is a grey separator line
between controls on a row (e.g. settings-box). The intent is to replace
.secondary-action (a TODO has been added to that effect). This initial
CL changes the separator lines seen in the basic main page of MD
settings.

(a step to fix, but not complete fix).
BUG= 714320 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2847583002
Cr-Commit-Position: refs/heads/master@{#468471}

[modify] https://crrev.com/898ae07dedccc8e9a9a125c662ce1c28af55d41f/chrome/browser/resources/settings/appearance_page/appearance_page.html
[modify] https://crrev.com/898ae07dedccc8e9a9a125c662ce1c28af55d41f/chrome/browser/resources/settings/default_browser_page/default_browser_page.html
[modify] https://crrev.com/898ae07dedccc8e9a9a125c662ce1c28af55d41f/chrome/browser/resources/settings/people_page/people_page.html
[modify] https://crrev.com/898ae07dedccc8e9a9a125c662ce1c28af55d41f/chrome/browser/resources/settings/settings_shared_css.html
[modify] https://crrev.com/898ae07dedccc8e9a9a125c662ce1c28af55d41f/chrome/test/data/webui/settings/appearance_page_test.js

Project Member

Comment 6 by bugdroid1@chromium.org, May 2 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/3e51eab19200adc5c174f8a792cb917a9e2a4e13

commit 3e51eab19200adc5c174f8a792cb917a9e2a4e13
Author: dschuyler <dschuyler@chromium.org>
Date: Tue May 02 01:35:07 2017

[MD settings] replace secondary-action with separator

This CL replaces the use of the .secondary-action class with the
.separator class. This simplifies the row separators allowing for more
custom styling of the secondary actions.

BUG= 714320 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2849663002
Cr-Commit-Position: refs/heads/master@{#468528}

[modify] https://crrev.com/3e51eab19200adc5c174f8a792cb917a9e2a4e13/chrome/browser/resources/settings/about_page/about_page.html
[modify] https://crrev.com/3e51eab19200adc5c174f8a792cb917a9e2a4e13/chrome/browser/resources/settings/about_page/about_page.js
[modify] https://crrev.com/3e51eab19200adc5c174f8a792cb917a9e2a4e13/chrome/browser/resources/settings/about_page/detailed_build_info.html
[modify] https://crrev.com/3e51eab19200adc5c174f8a792cb917a9e2a4e13/chrome/browser/resources/settings/android_apps_page/android_apps_page.html
[modify] https://crrev.com/3e51eab19200adc5c174f8a792cb917a9e2a4e13/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html
[modify] https://crrev.com/3e51eab19200adc5c174f8a792cb917a9e2a4e13/chrome/browser/resources/settings/downloads_page/downloads_page.html
[modify] https://crrev.com/3e51eab19200adc5c174f8a792cb917a9e2a4e13/chrome/browser/resources/settings/internet_page/internet_known_networks_page.html
[modify] https://crrev.com/3e51eab19200adc5c174f8a792cb917a9e2a4e13/chrome/browser/resources/settings/internet_page/network_siminfo.html
[modify] https://crrev.com/3e51eab19200adc5c174f8a792cb917a9e2a4e13/chrome/browser/resources/settings/internet_page/network_summary_item.html
[modify] https://crrev.com/3e51eab19200adc5c174f8a792cb917a9e2a4e13/chrome/browser/resources/settings/people_page/lock_screen.html
[modify] https://crrev.com/3e51eab19200adc5c174f8a792cb917a9e2a4e13/chrome/browser/resources/settings/search_page/search_page.html
[modify] https://crrev.com/3e51eab19200adc5c174f8a792cb917a9e2a4e13/chrome/browser/resources/settings/settings_shared_css.html
[modify] https://crrev.com/3e51eab19200adc5c174f8a792cb917a9e2a4e13/chrome/browser/resources/settings/site_settings/site_data.html
[modify] https://crrev.com/3e51eab19200adc5c174f8a792cb917a9e2a4e13/chrome/browser/resources/settings/site_settings/site_list.html

These screen shots are of the fixed version. These have been reviewed by bettes@ to verify correctness.
2017-05-02 (4).png
12.6 KB View Download
2017-05-02 (3).png
5.9 KB View Download
2017-05-02 (2).png
11.0 KB View Download
2017-05-02 (1).png
25.3 KB View Download
2017-05-02.png
10.9 KB View Download
Screenshot from 2017-04-26 14:22:04.png
17.3 KB View Download
Talked with Dave online, and came to the conclusion of "don't fix what's not broken." The 12px padding between icon/component and edge of card is WAI and, judging from the screenshots above, align nicely with the rest of the UI.

Project Member

Comment 9 by bugdroid1@chromium.org, May 15 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/9a68250c14a6e3a9053b9bd650db14943764ca95

commit 9a68250c14a6e3a9053b9bd650db14943764ca95
Author: dschuyler <dschuyler@chromium.org>
Date: Mon May 15 21:34:34 2017

[MD settings] adjust control spacing

This CL makes several small adjustments to control/item spacing as
requested by bettes@. The following items were tweaked: toggle button
width, controlled button to policy icon spacing, and ripple size on
icon buttons.

BUG= 714320 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2873163002
Cr-Commit-Position: refs/heads/master@{#471908}

[modify] https://crrev.com/9a68250c14a6e3a9053b9bd650db14943764ca95/chrome/browser/resources/settings/controls/controlled_button.html
[modify] https://crrev.com/9a68250c14a6e3a9053b9bd650db14943764ca95/chrome/browser/resources/settings/settings_shared_css.html
[modify] https://crrev.com/9a68250c14a6e3a9053b9bd650db14943764ca95/chrome/browser/resources/settings/settings_vars_css.html

Status: Fixed (was: Started)

Sign in to add a comment