1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 | :-moz-ui-invalid {
|
25 | box-shadow: none; }
|
26 |
|
27 |
|
28 |
|
29 |
|
30 | :host {
|
31 | display: inline-block;
|
32 | position: relative;
|
33 | font-family: Roboto, "Helvetica Neue", sans-serif;
|
34 | text-align: left; }
|
35 | :host .md-input-wrapper {
|
36 | margin: 16px 0; }
|
37 | :host .md-input-table {
|
38 | display: inline-table;
|
39 | flex-flow: column;
|
40 | vertical-align: bottom;
|
41 | width: 100%; }
|
42 | :host .md-input-table > * {
|
43 | display: table-cell; }
|
44 | :host .md-input-element {
|
45 | font: inherit;
|
46 | background: transparent;
|
47 | border: none;
|
48 | outline: none;
|
49 | padding: 0;
|
50 | width: 100%; }
|
51 | :host .md-input-element.md-end {
|
52 | text-align: right; }
|
53 | :host .md-input-infix {
|
54 | position: relative; }
|
55 | :host .md-input-placeholder {
|
56 | position: absolute;
|
57 | left: 0;
|
58 | top: 0;
|
59 | font-size: 100%;
|
60 | pointer-events: none;
|
61 | color: rgba(0, 0, 0, 0.38);
|
62 | z-index: 1;
|
63 | width: 100%;
|
64 | display: none;
|
65 | white-space: nowrap;
|
66 | text-overflow: ellipsis;
|
67 | overflow-x: hidden;
|
68 | transform: translateY(0);
|
69 | transform-origin: bottom left;
|
70 | transition: transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1), scale 400ms cubic-bezier(0.25, 0.8, 0.25, 1), color 400ms cubic-bezier(0.25, 0.8, 0.25, 1), width 400ms cubic-bezier(0.25, 0.8, 0.25, 1); }
|
71 | :host .md-input-placeholder.md-empty {
|
72 | display: block;
|
73 | cursor: text; }
|
74 | :host .md-input-placeholder.md-float:not(.md-empty), :host .md-input-placeholder.md-float.md-focused {
|
75 | display: block;
|
76 | padding-bottom: 5px;
|
77 | transform: translateY(-100%) scale(0.75);
|
78 | width: 133.33333%; }
|
79 | :host .md-input-placeholder.md-float:not(.md-empty) .md-placeholder-required, :host .md-input-placeholder.md-float.md-focused .md-placeholder-required {
|
80 | color: #9c27b0; }
|
81 | :host .md-input-placeholder.md-focused {
|
82 | color: #009688; }
|
83 | :host .md-input-placeholder.md-focused.md-accent {
|
84 | color: #9c27b0; }
|
85 | :host .md-input-placeholder.md-focused.md-warn {
|
86 | color: #f44336; }
|
87 | :host input:-webkit-autofill + .md-input-placeholder {
|
88 | display: block;
|
89 | padding-bottom: 5px;
|
90 | transform: translateY(-100%) scale(0.75);
|
91 | width: 133.33333%; }
|
92 | :host input:-webkit-autofill + .md-input-placeholder .md-placeholder-required {
|
93 | color: #9c27b0; }
|
94 | :host .md-input-underline {
|
95 | position: absolute;
|
96 | height: 1px;
|
97 | width: 100%;
|
98 | margin-top: 4px;
|
99 | border-top: 1px solid rgba(0, 0, 0, 0.38); }
|
100 | :host .md-input-underline.md-disabled {
|
101 | border-top: 0;
|
102 | background-image: linear-gradient(to right, rgba(0, 0, 0, 0.26) 0%, rgba(0, 0, 0, 0.26) 33%, transparent 0%);
|
103 | background-position: 0;
|
104 | background-size: 4px 1px;
|
105 | background-repeat: repeat-x; }
|
106 | :host .md-input-underline .md-input-ripple {
|
107 | position: absolute;
|
108 | height: 2px;
|
109 | z-index: 1;
|
110 | background-color: #009688;
|
111 | top: -1px;
|
112 | width: 100%;
|
113 | transform-origin: top;
|
114 | opacity: 0;
|
115 | transform: scaleY(0);
|
116 | transition: transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1), opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1); }
|
117 | :host .md-input-underline .md-input-ripple.md-accent {
|
118 | background-color: #9c27b0; }
|
119 | :host .md-input-underline .md-input-ripple.md-warn {
|
120 | background-color: #f44336; }
|
121 | :host .md-input-underline .md-input-ripple.md-focused {
|
122 | opacity: 1;
|
123 | transform: scaleY(1); }
|
124 | :host .md-hint {
|
125 | position: absolute;
|
126 | font-size: 75%;
|
127 | bottom: -0.5em; }
|
128 | :host .md-hint.md-right {
|
129 | right: 0; }
|
130 |
|
131 | :host-context([dir='rtl']) {
|
132 | text-align: right; }
|
133 | :host-context([dir='rtl']) .md-input-placeholder {
|
134 | transform-origin: bottom right; }
|
135 | :host-context([dir='rtl']) .md-input-element.md-end {
|
136 | text-align: left; }
|
137 | :host-context([dir='rtl']) .md-hint {
|
138 | right: 0;
|
139 | left: auto; }
|
140 | :host-context([dir='rtl']) .md-hint.md-right {
|
141 | right: auto;
|
142 | left: 0; }
|
143 |
|
144 |
|