3 * Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4 * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.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/CONTRIBUTORS.txt
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/PATENTS.txt
12 display: inline-block
;
18 polyfill-next-selector
{
19 content: '.input-body > :not(.label)';
22 ::content
> input
[is
="core-input"] {
24 margin: 0.5em 0 0.25em;
28 polyfill-next-selector
{
29 content: 'input, textarea';
32 ::content input
[is
=core-input
],
36 background-color: transparent
;
41 polyfill-next-selector
{
44 ::content
input:invalid
,
45 ::content
textarea:invalid
{
49 polyfill-next-selector
{
61 visibility: visible
!important
;
62 -webkit-transition: -webkit-transform
0.2s cubic-bezier
(0.4, 0, 0.2, 1), opacity
0.2s cubic-bezier
(0.4, 0, 0.2, 1);
63 transition: transform
0.2s cubic-bezier
(0.4, 0, 0.2, 1), opacity
0.2s cubic-bezier
(0.4, 0, 0.2, 1);
68 background: transparent
;
73 padding: 0.5em 0 0.25em;
78 :host
([multiline
]) .mirror-text
{
79 white-space: pre-wrap
;
80 word-wrap: break-word
;
84 padding: 0.5em 0 0.25em;
85 background: transparent
;
91 text-overflow: ellipsis
;
93 display: inline-block
;
95 -moz-transform-origin: 0% 0%;
96 -webkit-transform-origin: 0% 0%;
97 transform-origin: 0% 0%;
105 :host
([disabled
]) .underline
{
106 border-bottom: 1px dashed
#757575;
109 .unfocused-underline {
115 -webkit-transform: none
;
119 .focused-underline[invisible] {
120 -webkit-transform: scale3d
(0,1,1);
121 transform: scale3d
(0,1,1);