OLD | NEW |
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 --> | 9 --> |
10 | 10 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 } | 75 } |
76 | 76 |
77 :host([focused]) { | 77 :host([focused]) { |
78 outline: none; | 78 outline: none; |
79 } | 79 } |
80 | 80 |
81 :host([hidden]) { | 81 :host([hidden]) { |
82 display: none !important; | 82 display: none !important; |
83 } | 83 } |
84 | 84 |
| 85 input::-webkit-outer-spin-button,
|
| 86 input::-webkit-inner-spin-button {
|
| 87 @apply(--paper-input-container-input-webkit-spinner);
|
| 88 } |
| 89 |
| 90 input::-webkit-clear-button { |
| 91 @apply(--paper-input-container-input-webkit-clear); |
| 92 } |
| 93 |
85 input::-webkit-input-placeholder { | 94 input::-webkit-input-placeholder { |
86 color: var(--paper-input-container-color, --secondary-text-color); | 95 color: var(--paper-input-container-color, --secondary-text-color); |
87 } | 96 } |
88 | 97 |
89 input:-moz-placeholder { | 98 input:-moz-placeholder { |
90 color: var(--paper-input-container-color, --secondary-text-color); | 99 color: var(--paper-input-container-color, --secondary-text-color); |
91 } | 100 } |
92 | 101 |
93 input::-moz-placeholder { | 102 input::-moz-placeholder { |
94 color: var(--paper-input-container-color, --secondary-text-color); | 103 color: var(--paper-input-container-color, --secondary-text-color); |
95 } | 104 } |
96 | 105 |
| 106 input::-ms-clear { |
| 107 @apply(--paper-input-container-ms-clear); |
| 108 } |
| 109 |
97 input:-ms-input-placeholder { | 110 input:-ms-input-placeholder { |
98 color: var(--paper-input-container-color, --secondary-text-color); | 111 color: var(--paper-input-container-color, --secondary-text-color); |
99 } | 112 } |
100 | 113 |
101 label { | 114 label { |
102 pointer-events: none; | 115 pointer-events: none; |
103 } | 116 } |
104 </style> | 117 </style> |
105 | 118 |
106 <paper-input-container no-label-float="[[noLabelFloat]]" always-float-label=
"[[_computeAlwaysFloatLabel(alwaysFloatLabel,placeholder)]]" auto-validate$="[[a
utoValidate]]" disabled$="[[disabled]]" invalid="[[invalid]]"> | 119 <paper-input-container no-label-float="[[noLabelFloat]]" always-float-label=
"[[_computeAlwaysFloatLabel(alwaysFloatLabel,placeholder)]]" auto-validate$="[[a
utoValidate]]" disabled$="[[disabled]]" invalid="[[invalid]]"> |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 <script> | 174 <script> |
162 Polymer({ | 175 Polymer({ |
163 is: 'paper-input', | 176 is: 'paper-input', |
164 | 177 |
165 behaviors: [ | 178 behaviors: [ |
166 Polymer.IronFormElementBehavior, | 179 Polymer.IronFormElementBehavior, |
167 Polymer.PaperInputBehavior | 180 Polymer.PaperInputBehavior |
168 ] | 181 ] |
169 }); | 182 }); |
170 </script> | 183 </script> |
OLD | NEW |