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

Unified Diff: polymer_0.5.4/bower_components/paper-radio-button/paper-radio-button.css

Issue 895523005: Added Polymer 0.5.4 (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 11 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: polymer_0.5.4/bower_components/paper-radio-button/paper-radio-button.css
diff --git a/polymer_0.4.0/bower_components/paper-radio-button/paper-radio-button.css b/polymer_0.5.4/bower_components/paper-radio-button/paper-radio-button.css
similarity index 83%
copy from polymer_0.4.0/bower_components/paper-radio-button/paper-radio-button.css
copy to polymer_0.5.4/bower_components/paper-radio-button/paper-radio-button.css
index 412c803a1cf9ef7f4ab92039c673c5f4f7faee04..240d4a6eab8e7872f5a5bca0f49cb6195fae3259 100644
--- a/polymer_0.4.0/bower_components/paper-radio-button/paper-radio-button.css
+++ b/polymer_0.5.4/bower_components/paper-radio-button/paper-radio-button.css
@@ -50,25 +50,30 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
border-radius: 50%;
border: solid 2px;
border-color: #5a5a5a;
+ transition: border-color 0.28s;
+}
+
+:host([checked]) #offRadio {
+ border-color: #009688;
}
#onRadio {
position: absolute;
- top: 0;
- left: 0;
- width: 16px;
- height: 16px;
+ top: 4px;
+ left: 4px;
+ width: 8px;
+ height: 8px;
border-radius: 50%;
- background-color: #0f9d58;
+ background-color: #009688;
-webkit-transform: scale(0);
transform: scale(0);
transition: -webkit-transform ease 0.28s;
transition: transform ease 0.28s;
}
-#onRadio.fill {
- -webkit-transform: scale(1.1);
- transform: scale(1.1);
+:host([checked]) #onRadio {
+ -webkit-transform: scale(1);
+ transform: scale(1);
}
#radioLabel {
@@ -89,16 +94,15 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
pointer-events: none;
}
+:host([disabled]) #offRadio,
:host([disabled]) #onRadio {
- display: none;
+ opacity: 0.33;
}
:host([disabled]) #offRadio {
- opacity: 0.33;
border-color: #5a5a5a;
}
-:host([disabled][checked]) #offRadio {
- opacity: 0.33;
+:host([disabled][checked]) #onRadio {
background-color: #5a5a5a;
}

Powered by Google App Engine
This is Rietveld 408576698