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

Issue 2889493002: [MD settings] removing secondary-button class (Closed)

Created:
3 years, 7 months ago by dschuyler
Modified:
3 years, 7 months ago
Reviewers:
stevenjb
CC:
chromium-reviews, extensions-reviews_chromium.org, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, arv+watch_chromium.org, chromium-apps-reviews_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[MD settings] removing secondary-button class This CL removes the global .secondary-button class. At one point we had several types of buttons, but we eventually narrowed down to two buttons: .primary-button and .secondary-button; though some buttons were not specified as either. That meant we effectively had three button classes. Rather than add .secondary-button to each paper-button that isn't explicitly secondary already, I've removed that class. Now there are .primary-buttons and normal buttons; i.e. any non-primary-button is a secondary button (aka normal) button. Note: The references to .secondary-button are still in place (based on Steven's review comment below) and there are a couple places where a .secondary-button is used locally within a dom-module; those have been left unchanged. BUG=721268 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2889493002 Cr-Commit-Position: refs/heads/master@{#472301} Committed: https://chromium.googlesource.com/chromium/src/+/2c8d005df63e8ef30df1ed4f0afe469cca335b2c

Patch Set 1 #

Total comments: 13

Patch Set 2 : review changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -45 lines) Patch
M chrome/browser/resources/settings/settings_shared_css.html View 1 5 chunks +34 lines, -45 lines 0 comments Download

Messages

Total messages: 25 (18 generated)
dschuyler
The main change is in chrome/browser/resources/settings/settings_shared_css.html The other files changed to remove the use of ...
3 years, 7 months ago (2017-05-16 01:35:46 UTC) #6
stevenjb
Suggestion (feel free to ignore): Maybe just clean up the paper-button and .primary-button CSS and ...
3 years, 7 months ago (2017-05-16 16:27:30 UTC) #9
dschuyler
On 2017/05/16 16:27:30, stevenjb wrote: > Suggestion (feel free to ignore): Maybe just clean up ...
3 years, 7 months ago (2017-05-16 19:07:48 UTC) #12
dschuyler
https://codereview.chromium.org/2889493002/diff/1/chrome/browser/resources/settings/settings_shared_css.html File chrome/browser/resources/settings/settings_shared_css.html (right): https://codereview.chromium.org/2889493002/diff/1/chrome/browser/resources/settings/settings_shared_css.html#newcode42 chrome/browser/resources/settings/settings_shared_css.html:42: } On 2017/05/16 16:27:29, stevenjb wrote: > Can we ...
3 years, 7 months ago (2017-05-16 19:07:57 UTC) #13
stevenjb
Much easier to read now, thanks! lgtm https://codereview.chromium.org/2889493002/diff/1/chrome/browser/resources/settings/settings_shared_css.html File chrome/browser/resources/settings/settings_shared_css.html (right): https://codereview.chromium.org/2889493002/diff/1/chrome/browser/resources/settings/settings_shared_css.html#newcode102 chrome/browser/resources/settings/settings_shared_css.html:102: -webkit-padding-start: var(--settings-button-edge-spacing); ...
3 years, 7 months ago (2017-05-16 19:22:11 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2889493002/20001
3 years, 7 months ago (2017-05-17 00:48:53 UTC) #22
commit-bot: I haz the power
3 years, 7 months ago (2017-05-17 03:18:52 UTC) #25
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/2c8d005df63e8ef30df1ed4f0afe...

Powered by Google App Engine
This is Rietveld 408576698