Delete chrome.mediaGalleriesPrivate because the functionality unique to it has since...
[chromium-blink-merge.git] / third_party / polymer / components / paper-input / paper-input-decorator.css
blob93f40eeb9e652a10bf1ffbe5a51897c408f256ca
1 /*
2 * @license
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
9 */
11 :host {
12 display: inline-block;
13 outline: none;
14 text-align: inherit;
15 padding: 0.75em 0;
18 polyfill-next-selector {
19 content: '.input-body > :not(.label)';
21 ::content > *,
22 ::content > input[is="core-input"] {
23 padding: 0;
24 margin: 0.5em 0 0.25em;
25 width: 100%;
28 polyfill-next-selector {
29 content: 'input, textarea';
31 ::content input,
32 ::content input[is=core-input],
33 ::content textarea {
34 font: inherit;
35 color: inherit;
36 background-color: transparent;
37 border: none;
38 outline: none;
41 polyfill-next-selector {
42 content: ':invalid';
44 ::content input:invalid,
45 ::content textarea:invalid {
46 box-shadow: none;
49 polyfill-next-selector {
50 content: 'textarea';
52 ::content textarea {
53 resize: none;
56 [invisible] {
57 visibility: hidden;
60 [animated] {
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);
66 .floated-label {
67 font-size: 0.75em;
68 background: transparent;
69 white-space: nowrap;
72 .mirror-text {
73 padding: 0.5em 0 0.25em;
74 max-width: 100%;
75 white-space: nowrap;
78 :host([multiline]) .mirror-text {
79 white-space: pre-wrap;
80 word-wrap: break-word;
83 .label {
84 padding: 0.5em 0 0.25em;
85 background: transparent;
86 pointer-events: none;
89 .label-text {
90 overflow: hidden;
91 text-overflow: ellipsis;
92 white-space: nowrap;
93 display: inline-block;
94 max-width: 100%;
95 -moz-transform-origin: 0% 0%;
96 -webkit-transform-origin: 0% 0%;
97 transform-origin: 0% 0%;
100 .underline {
101 height: 0px;
102 overflow: visible;
105 :host([disabled]) .underline {
106 border-bottom: 1px dashed #757575;
109 .unfocused-underline {
110 height: 1px;
113 .focused-underline {
114 height: 2px;
115 -webkit-transform: none;
116 transform: none;
119 .focused-underline[invisible] {
120 -webkit-transform: scale3d(0,1,1);
121 transform: scale3d(0,1,1);
124 .error-text {
125 font-size: 0.75em;
126 padding: 0.5em 0;
129 .error-icon {
130 height: 20px;
131 width: 20px;