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

Unified Diff: third_party/polymer/v1_0/components-chromium/paper-input/paper-input-container.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-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)]]">

Powered by Google App Engine
This is Rietveld 408576698