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

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

Issue 1468623004: Update Polymer from 1.2.1 -> 1.2.3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@travis-yml
Patch Set: local-state.html Created 5 years, 1 month 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-checkbox/paper-checkbox.html
diff --git a/third_party/polymer/v1_0/components-chromium/paper-checkbox/paper-checkbox.html b/third_party/polymer/v1_0/components-chromium/paper-checkbox/paper-checkbox.html
index ffaf078859e807a8c4a69a910914b13e9fd89f1b..7cd8436f919af860328d68a8da807dfb1c8d3c38 100644
--- a/third_party/polymer/v1_0/components-chromium/paper-checkbox/paper-checkbox.html
+++ b/third_party/polymer/v1_0/components-chromium/paper-checkbox/paper-checkbox.html
@@ -68,6 +68,7 @@ Custom property | Description | Default
position: relative;
width: 18px;
height: 18px;
+ min-width: 18px;
vertical-align: middle;
background-color: var(--paper-checkbox-unchecked-background-color, transparent);
}
@@ -112,31 +113,19 @@ Custom property | Description | Default
@-webkit-keyframes checkmark-expand {
0% {
- top: 9px;
- left: 6px;
- width: 0px;
- height: 0px;
+ -webkit-transform: scale(0, 0) rotate(45deg);
}
100% {
- top: -1px;
- left: 4px;
- width: 5px;
- height: 10px;
+ -webkit-transform: scale(1, 1) rotate(45deg);
}
}
@keyframes checkmark-expand {
0% {
- top: 9px;
- left: 6px;
- width: 0px;
- height: 0px;
+ transform: scale(0, 0) rotate(45deg);
}
100% {
- top: -1px;
- left: 4px;
- width: 5px;
- height: 10px;
+ transform: scale(1, 1) rotate(45deg);
}
}
@@ -146,11 +135,7 @@ Custom property | Description | Default
}
#checkmark {
- -webkit-transform: rotate(45deg);
- transform: rotate(45deg);
position: absolute;
- top: -1px;
- left: 4px;
width: 5px;
height: 10px;
border-style: solid;
@@ -159,6 +144,8 @@ Custom property | Description | Default
border-right-width: 2px;
border-bottom-width: 2px;
border-color: var(--paper-checkbox-checkmark-color, white);
+ transform-origin: 97% 86%;
+ -webkit-transform-origin: 97% 86%;
}
/* label */

Powered by Google App Engine
This is Rietveld 408576698