Chromium Code Reviews| Index: third_party/polymer/v1_0/components-chromium/paper-radio-button/paper-radio-button.html |
| diff --git a/third_party/polymer/v1_0/components-chromium/paper-radio-button/paper-radio-button.html b/third_party/polymer/v1_0/components-chromium/paper-radio-button/paper-radio-button.html |
| index 30e8bff84c004dace6eb8bae6e7e81e699a3bbe1..be91fb5a6365ef1e04900795865354b12971f8bb 100644 |
| --- a/third_party/polymer/v1_0/components-chromium/paper-radio-button/paper-radio-button.html |
| +++ b/third_party/polymer/v1_0/components-chromium/paper-radio-button/paper-radio-button.html |
| @@ -42,6 +42,7 @@ Custom property | Description | Default |
| `--paper-radio-button-label-color` | Label color | `--primary-text-color` |
| `--paper-radio-button-label-spacing` | Spacing between the label and the button | `10px` |
| `--paper-radio-button-radio-container` | A mixin applied to the internal radio container | `{}` |
| +`--paper-radio-button-radio-label` | A mixin applied to the internal radio container | `{}` |
|
Dan Beam
2017/04/21 01:17:25
fwiw: I would name this simply --paper-radio-butto
sammiequon
2017/04/21 17:52:40
Done.
|
| This element applies the mixin `--paper-font-common-base` but does not import `paper-styles/typography.html`. |
| In order to apply the `Roboto` font to this element, make sure you've imported `paper-styles/typography.html`. |
| @@ -77,7 +78,7 @@ In order to apply the `Roboto` font to this element, make sure you've imported ` |
| width: var(--calculated-paper-radio-button-size); |
| height: var(--calculated-paper-radio-button-size); |
| vertical-align: middle; |
| - |
| + |
| @apply(--paper-radio-button-radio-container); |
| } |
| @@ -141,6 +142,8 @@ In order to apply the `Roboto` font to this element, make sure you've imported ` |
| margin-left: var(--paper-radio-button-label-spacing, 10px); |
| white-space: normal; |
| color: var(--paper-radio-button-label-color, --primary-text-color); |
| + |
| + @apply(--paper-radio-button-radio-label); |
| } |
| :host-context([dir="rtl"]) #radioLabel { |
| @@ -179,4 +182,4 @@ In order to apply the `Roboto` font to this element, make sure you've imported ` |
| </template> |
| </dom-module> |
| -<script src="paper-radio-button-extracted.js"></script></body></html> |
| +<script src="paper-radio-button-extracted.js"></script></body></html> |