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

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

Issue 2074813002: Roll Polymer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: chromium.patch Created 4 years, 6 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 64a2051ccea7b4c937341dbf1afc416a87efcb91..139ec2ba4edcd85a6503ccc6f8ad1c1967c6e970 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
@@ -93,26 +93,23 @@ In order to apply the `Roboto` font to this element, make sure you've imported `
color: var(--paper-radio-button-checked-ink-color, --primary-color);
}
- #offRadio {
+ #offRadio, #onRadio {
position: absolute;
box-sizing: border-box;
top: 0;
left: 0;
- right: 0;
width: 100%;
height: 100%;
border-radius: 50%;
- border: solid 2px;
+ }
+
+ #offRadio {
+ border: 2px solid var(--paper-radio-button-unchecked-color, --primary-text-color);
background-color: var(--paper-radio-button-unchecked-background-color, transparent);
- border-color: var(--paper-radio-button-unchecked-color, --primary-text-color);
transition: border-color 0.28s;
}
#onRadio {
- box-sizing: content-box;
- width: 50%;
- height: 50%;
- border-radius: 50%;
background-color: var(--paper-radio-button-checked-color, --primary-color);
-webkit-transform: scale(0);
transform: scale(0);
@@ -126,8 +123,8 @@ In order to apply the `Roboto` font to this element, make sure you've imported `
}
:host([checked]) #onRadio {
- -webkit-transform: scale(1);
- transform: scale(1);
+ -webkit-transform: scale(0.5);
+ transform: scale(0.5);
}
#radioLabel {

Powered by Google App Engine
This is Rietveld 408576698