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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/paper-input/paper-input-container.html

Issue 2089563002: [Polymer] update polymer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: polymer update Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 <!-- 1 <!--
2 @license 2 @license
3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. 3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt 4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
7 Code distributed by Google as part of the polymer project is also 7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
9 --><html><head><link rel="import" href="../polymer/polymer.html"> 9 --><html><head><link rel="import" href="../polymer/polymer.html">
10 <link rel="import" href="../iron-flex-layout/iron-flex-layout.html"> 10 <link rel="import" href="../iron-flex-layout/iron-flex-layout.html">
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 display: inline-block; 112 display: inline-block;
113 } 113 }
114 114
115 :host([disabled]) { 115 :host([disabled]) {
116 pointer-events: none; 116 pointer-events: none;
117 opacity: 0.33; 117 opacity: 0.33;
118 118
119 @apply(--paper-input-container-disabled); 119 @apply(--paper-input-container-disabled);
120 } 120 }
121 121
122 :host([hidden]) {
123 display: none !important;
124 }
125
122 .floated-label-placeholder { 126 .floated-label-placeholder {
123 @apply(--paper-font-caption); 127 @apply(--paper-font-caption);
124 } 128 }
125 129
126 .underline { 130 .underline {
127 position: relative; 131 position: relative;
128 } 132 }
129 133
130 .focused-line { 134 .focused-line {
131 @apply(--layout-fit); 135 @apply(--layout-fit);
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 .add-on-content.is-invalid ::content * { 305 .add-on-content.is-invalid ::content * {
302 color: var(--paper-input-container-invalid-color, --error-color); 306 color: var(--paper-input-container-invalid-color, --error-color);
303 } 307 }
304 308
305 .add-on-content.is-highlighted ::content * { 309 .add-on-content.is-highlighted ::content * {
306 color: var(--paper-input-container-focus-color, --primary-color); 310 color: var(--paper-input-container-focus-color, --primary-color);
307 } 311 }
308 </style> 312 </style>
309 313
310 <template is="dom-if" if="[[!noLabelFloat]]"> 314 <template is="dom-if" if="[[!noLabelFloat]]">
311 <div class="floated-label-placeholder">&nbsp;</div> 315 <div class="floated-label-placeholder" aria-hidden="true">&nbsp;</div>
312 </template> 316 </template>
313 317
314 <div class$="[[_computeInputContentClass(noLabelFloat,alwaysFloatLabel,focus ed,invalid,_inputHasContent)]]"> 318 <div class$="[[_computeInputContentClass(noLabelFloat,alwaysFloatLabel,focus ed,invalid,_inputHasContent)]]">
315 <content select="[prefix]" id="prefix"></content> 319 <content select="[prefix]" id="prefix"></content>
316 320
317 <div class="label-and-input-container" id="labelAndInputContainer"> 321 <div class="label-and-input-container" id="labelAndInputContainer">
318 <content select=":not([add-on]):not([prefix]):not([suffix])"></content> 322 <content select=":not([add-on]):not([prefix]):not([suffix])"></content>
319 </div> 323 </div>
320 324
321 <content select="[suffix]"></content> 325 <content select="[suffix]"></content>
322 </div> 326 </div>
323 327
324 <div class$="[[_computeUnderlineClass(focused,invalid)]]"> 328 <div class$="[[_computeUnderlineClass(focused,invalid)]]">
325 <div class="unfocused-line"></div> 329 <div class="unfocused-line"></div>
326 <div class="focused-line"></div> 330 <div class="focused-line"></div>
327 </div> 331 </div>
328 332
329 <div class$="[[_computeAddOnContentClass(focused,invalid)]]"> 333 <div class$="[[_computeAddOnContentClass(focused,invalid)]]">
330 <content id="addOnContent" select="[add-on]"></content> 334 <content id="addOnContent" select="[add-on]"></content>
331 </div> 335 </div>
332 </template> 336 </template>
333 </dom-module> 337 </dom-module>
334 338
335 <script src="paper-input-container-extracted.js"></script></body></html> 339 <script src="paper-input-container-extracted.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698