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 545e4f0f1e5e1ca2f001df798d06b57e671ccba3..116b111086eaa5f439dbc8b0c6246579f2f5d32c 100644 |
| --- a/chrome/browser/resources/settings/settings_shared_css.html |
| +++ b/chrome/browser/resources/settings/settings_shared_css.html |
| @@ -6,21 +6,21 @@ |
| <template> |
| <style include="cr-shared-style"> |
| button[is='paper-icon-button-light'] { |
| - --paper-icon-button-light-ripple: { |
| - /* Center the ripple on the icon button. */ |
| - height: 36px; |
| - left: -8px; |
| - top: -8px; |
| - width: 36px; |
| - }; |
| + -webkit-margin-end: -8px; /* Allow ripple to overlap the end. */ |
| -webkit-margin-start: 16px; |
| - background-size: cover; |
| + background-position: center; |
| + background-repeat: no-repeat; |
| + background-size: 20px; |
|
Dan Beam
2016/10/04 02:08:39
should this 20px be var(--settings-icon-size)?
dschuyler
2016/10/04 18:38:45
Done.
|
| flex-shrink: 0; |
| - height: 20px; |
| - width: 20px; |
| + height: var(--settings-icon-ripple-size); |
| + width: var(--settings-icon-ripple-size); |
| + } |
| + |
| + :host-context([dir=rtl]) button[is='paper-icon-button-light'] { |
| + transform: scaleX(-1); /* Flip on the X axis (aka mirror). */ |
| } |
| - [actionable] button[is="paper-icon-button-light"].icon-arrow-right { |
| + [actionable] button[is="paper-icon-button-light"].icon-subpage-arrow { |
| background-image: url(images/arrow_right.svg); |
| } |