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

Unified Diff: third_party/polymer/v1_0/components-chromium/paper-radio-button/paper-radio-button.html

Issue 2823713002: md settings: Change action link to button on lock screen. (Closed)
Patch Set: Mixin. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698