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

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

Issue 1221923003: Update bower.json for Polymer elements and add PRESUBMIT.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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="../paper-styles/paper-styles.html"> 10 <link rel="import" href="../paper-styles/paper-styles.html">
(...skipping 15 matching lines...) Expand all
26 Custom property | Description | Default 26 Custom property | Description | Default
27 ----------------|-------------|---------- 27 ----------------|-------------|----------
28 `--paper-input-container-invalid-color` | The foreground color of the error | `- -google-red-500` 28 `--paper-input-container-invalid-color` | The foreground color of the error | `- -google-red-500`
29 `--paper-input-error` | Mixin applied to the error | `{ }` 29 `--paper-input-error` | Mixin applied to the error | `{ }`
30 --> 30 -->
31 </head><body><dom-module id="paper-input-error"> 31 </head><body><dom-module id="paper-input-error">
32 32
33 <style> 33 <style>
34 34
35 :host { 35 :host {
36 /* need to use display: none for role="alert" */ 36 display: inline-block;
37 display: none; 37 visibility: hidden;
38 float: left; 38 float: left;
39 39
40 color: var(--paper-input-container-invalid-color, --google-red-500); 40 color: var(--paper-input-container-invalid-color, --google-red-500);
41 41
42 @apply(--paper-font-caption); 42 @apply(--paper-font-caption);
43 @apply(--paper-input-error); 43 @apply(--paper-input-error);
44 } 44 }
45 45
46 :host([invalid]) { 46 :host([invalid]) {
47 display: inline-block; 47 visibility: visible;
48 }; 48 };
49 49
50 </style> 50 </style>
51 51
52 <template> 52 <template>
53 53
54 <content></content> 54 <content></content>
55 55
56 </template> 56 </template>
57 57
58 </dom-module> 58 </dom-module>
59 59
60 <script src="paper-input-error-extracted.js"></script></body></html> 60 <script src="paper-input-error-extracted.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698