Index: third_party/polymer/v1_0/components-chromium/paper-input/paper-input-container.html |
diff --git a/third_party/polymer/v1_0/components-chromium/paper-input/paper-input-container.html b/third_party/polymer/v1_0/components-chromium/paper-input/paper-input-container.html |
index f81035f9ccde5be616a9debb9c8f165f36e46fff..9c32f77b8d005693278c7c4517e35b28de70a6c5 100644 |
--- a/third_party/polymer/v1_0/components-chromium/paper-input/paper-input-container.html |
+++ b/third_party/polymer/v1_0/components-chromium/paper-input/paper-input-container.html |
@@ -7,7 +7,10 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI |
Code distributed by Google as part of the polymer project is also |
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt |
--><html><head><link rel="import" href="../polymer/polymer.html"> |
-<link rel="import" href="../paper-styles/paper-styles.html"> |
+<link rel="import" href="../paper-styles/color.html"> |
+<link rel="import" href="../paper-styles/typography.html"> |
+<link rel="import" href="../paper-styles/default-theme.html"> |
+<link rel="import" href="../iron-flex-layout/iron-flex-layout.html"> |
<!-- |
`<paper-input-container>` is a container for a `<label>`, an `<input is="iron-input">` or |
@@ -118,6 +121,7 @@ This element is `display:block` by default, but you can set the `inline` attribu |
.focused-line { |
height: 2px; |
+ @apply(--layout-fit); |
-webkit-transform-origin: center center; |
transform-origin: center center; |
@@ -151,6 +155,7 @@ This element is `display:block` by default, but you can set the `inline` attribu |
.unfocused-line { |
height: 1px; |
+ @apply(--layout-fit); |
background: var(--paper-input-container-color, --secondary-text-color); |
@apply(--paper-input-container-underline); |
@@ -298,8 +303,8 @@ This element is `display:block` by default, but you can set the `inline` attribu |
</div> |
<div class$="[[_computeUnderlineClass(focused,invalid)]]"> |
- <div class="unfocused-line fit"></div> |
- <div class="focused-line fit"></div> |
+ <div class="unfocused-line"></div> |
+ <div class="focused-line"></div> |
</div> |
<div class$="[[_computeAddOnContentClass(focused,invalid)]]"> |