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

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

Issue 1363853002: Update Polymer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix resources Created 5 years, 3 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-toggle-button/paper-toggle-button.html
diff --git a/third_party/polymer/v1_0/components-chromium/paper-toggle-button/paper-toggle-button.html b/third_party/polymer/v1_0/components-chromium/paper-toggle-button/paper-toggle-button.html
index 4c5b2fe3345d6cafbc7a1627f101b2305bc678f1..4bc9ed3ac07df98fcdca27682b475964bc12a366 100644
--- a/third_party/polymer/v1_0/components-chromium/paper-toggle-button/paper-toggle-button.html
+++ b/third_party/polymer/v1_0/components-chromium/paper-toggle-button/paper-toggle-button.html
@@ -96,7 +96,7 @@ Custom property | Description | Default
height: 14px;
}
- #toggleBar {
+ .toggle-bar {
position: absolute;
height: 100%;
width: 100%;
@@ -106,16 +106,16 @@ Custom property | Description | Default
transition: background-color linear .08s;
}
- :host([checked]) #toggleBar {
+ :host([checked]) .toggle-bar {
opacity: 0.5;
}
- :host([disabled]) #toggleBar {
+ :host([disabled]) .toggle-bar {
background-color: #000;
opacity: 0.12;
}
- #toggleButton {
+ .toggle-button {
position: absolute;
top: -3px;
height: 20px;
@@ -127,22 +127,22 @@ Custom property | Description | Default
will-change: transform;
}
- #toggleButton.dragging {
+ .toggle-button.dragging {
-webkit-transition: none;
transition: none;
}
- :host([checked]) #toggleButton {
+ :host([checked]) .toggle-button {
-webkit-transform: translate(16px, 0);
transform: translate(16px, 0);
}
- :host([disabled]) #toggleButton {
+ :host([disabled]) .toggle-button {
background-color: #bdbdbd;
opacity: 1;
}
- #ink {
+ .toggle-ink {
position: absolute;
top: -14px;
left: -14px;

Powered by Google App Engine
This is Rietveld 408576698