Chromium Code Reviews| Index: chrome/browser/resources/settings/settings_shared_css.html |
| diff --git a/chrome/browser/resources/settings/settings_shared_css.html b/chrome/browser/resources/settings/settings_shared_css.html |
| index f5a4653719711fb0ae0c50a934a781dcc2eea6ef..fc14e63e335dac0ac86a00739f4035b21c2279ba 100644 |
| --- a/chrome/browser/resources/settings/settings_shared_css.html |
| +++ b/chrome/browser/resources/settings/settings_shared_css.html |
| @@ -27,6 +27,21 @@ |
| --iron-icon-fill-color: var(--google-green-500); |
| } |
| + paper-icon-button { |
| + -webkit-margin-end: var(--cr-icon-ripple-margin); |
| + -webkit-margin-start: 16px; |
| + color: var(--paper-grey-600); |
| + flex-shrink: 0; |
| + } |
| + |
| + .separator + button[is='paper-icon-button-light'] { |
|
hcarmona
2017/05/26 19:00:50
Nit: combine this
dschuyler
2017/05/26 22:09:07
Done.
|
| + -webkit-margin-start: var(--cr-icon-ripple-margin); |
| + } |
| + |
| + .separator + paper-icon-button { |
|
hcarmona
2017/05/26 19:00:50
and this b/c they apply the same styling
dschuyler
2017/05/26 22:09:07
Done.
|
| + -webkit-margin-start: var(--cr-icon-ripple-margin)); |
| + } |
| + |
| /* See notes in .primary-button. |
| * TODO(dschuyler): Remove unnecessary .secondary-button references. */ |
| paper-button { |
| @@ -50,8 +65,19 @@ |
| background-color: var(--paper-grey-300); |
| } |
| - .settings-box paper-button { |
| + /* If a button is at the end of the row, shift it to overlap the end of |
| + * the row. */ |
| + .settings-box paper-button:last-of-type { |
| -webkit-margin-end: calc(var(--settings-button-edge-spacing) * -1); |
| + } |
| + |
| + /* Space out multiple buttons in the same row. */ |
| + .settings-box paper-button + paper-button { |
| + -webkit-margin-start: 16px; |
| + } |
| + |
| + /* Adjust the margin between the separator and the first button. */ |
| + .settings-box .separator + paper-button { |
| -webkit-margin-start: calc(var(--settings-button-edge-spacing) * -1); |
| } |