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 */ |