| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173 |
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://github.com/material-components/material-components-web/blob/master/LICENSE
- */
- .mdc-floating-label {
- position: absolute;
- /* @noflip */
- /*rtl:ignore*/
- left: 0;
- /* @noflip */
- /*rtl:ignore*/
- -webkit-transform-origin: left top;
- /* @noflip */
- /*rtl:ignore*/
- transform-origin: left top;
- line-height: 1.15rem;
- text-align: left;
- text-overflow: ellipsis;
- white-space: nowrap;
- cursor: text;
- overflow: hidden;
- /* @alternate */
- will-change: transform;
- }
- [dir=rtl] .mdc-floating-label, .mdc-floating-label[dir=rtl] {
- /*rtl:begin:ignore*/
- /* @noflip */
- /*rtl:ignore*/
- right: 0;
- /* @noflip */
- /*rtl:ignore*/
- left: auto;
- /* @noflip */
- /*rtl:ignore*/
- -webkit-transform-origin: right top;
- /* @noflip */
- /*rtl:ignore*/
- transform-origin: right top;
- /* @noflip */
- /*rtl:ignore*/
- text-align: right;
- /*rtl:end:ignore*/
- }
- .mdc-floating-label--float-above {
- cursor: auto;
- }
- .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after {
- /* @noflip */
- /*rtl:ignore*/
- margin-left: 1px;
- /* @noflip */
- /*rtl:ignore*/
- margin-right: 0px;
- content: "*";
- }
- [dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker), .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl] {
- /*rtl:begin:ignore*/
- /*rtl:end:ignore*/
- }
- [dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after, .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after {
- /* @noflip */
- /*rtl:ignore*/
- margin-left: 0;
- /* @noflip */
- /*rtl:ignore*/
- margin-right: 1px;
- }
- .mdc-floating-label {
- -moz-osx-font-smoothing: grayscale;
- -webkit-font-smoothing: antialiased;
- font-family: Roboto, sans-serif;
- /* @alternate */
- font-family: var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));
- font-size: 1rem;
- /* @alternate */
- font-size: var(--mdc-typography-subtitle1-font-size, 1rem);
- font-weight: 400;
- /* @alternate */
- font-weight: var(--mdc-typography-subtitle1-font-weight, 400);
- letter-spacing: 0.009375em;
- /* @alternate */
- letter-spacing: var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);
- text-decoration: inherit;
- /* @alternate */
- -webkit-text-decoration: var(--mdc-typography-subtitle1-text-decoration, inherit);
- text-decoration: var(--mdc-typography-subtitle1-text-decoration, inherit);
- text-transform: inherit;
- /* @alternate */
- text-transform: var(--mdc-typography-subtitle1-text-transform, inherit);
- transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);
- transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1);
- transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);
- }
- .mdc-floating-label--float-above {
- -webkit-transform: translateY(-106%) scale(0.75);
- transform: translateY(-106%) scale(0.75);
- }
- .mdc-floating-label--shake {
- -webkit-animation: mdc-floating-label-shake-float-above-standard 250ms 1;
- animation: mdc-floating-label-shake-float-above-standard 250ms 1;
- }
- @-webkit-keyframes mdc-floating-label-shake-float-above-standard {
- 0% {
- /* @noflip */
- /*rtl:ignore*/
- -webkit-transform: translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75);
- transform: translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75);
- }
- 33% {
- -webkit-animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);
- animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);
- /* @noflip */
- /*rtl:ignore*/
- -webkit-transform: translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75);
- transform: translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75);
- }
- 66% {
- -webkit-animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);
- animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);
- /* @noflip */
- /*rtl:ignore*/
- -webkit-transform: translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75);
- transform: translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75);
- }
- 100% {
- /* @noflip */
- /*rtl:ignore*/
- -webkit-transform: translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75);
- transform: translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75);
- }
- }
- @keyframes mdc-floating-label-shake-float-above-standard {
- 0% {
- /* @noflip */
- /*rtl:ignore*/
- -webkit-transform: translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75);
- transform: translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75);
- }
- 33% {
- -webkit-animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);
- animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);
- /* @noflip */
- /*rtl:ignore*/
- -webkit-transform: translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75);
- transform: translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75);
- }
- 66% {
- -webkit-animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);
- animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);
- /* @noflip */
- /*rtl:ignore*/
- -webkit-transform: translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75);
- transform: translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75);
- }
- 100% {
- /* @noflip */
- /*rtl:ignore*/
- -webkit-transform: translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75);
- transform: translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75);
- }
- }
- /*# sourceMappingURL=mdc.floating-label.css.map*/
|