Sha256: 12483e3ea1452c29c2fc70b569738358f94d73ad75fdde40b60b47ddd2d8d024
Contents?: true
Size: 1.56 KB
Versions: 5
Compression:
Stored size: 1.56 KB
Contents
/** * Copyright 2016 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ @import "@material/rtl/mixins"; @import "@material/theme/mixins"; @import "@material/typography/mixins"; $mdc-form-field-item-spacing: 4px; /* stylelint-disable selector-no-type */ .mdc-form-field { @include mdc-typography(body1); @include mdc-theme-prop(color, text-primary-on-light); display: inline-flex; align-items: center; vertical-align: middle; @include mdc-theme-dark { @include mdc-theme-prop(color, text-primary-on-dark); } > label { order: 0; margin-right: auto; margin-left: $mdc-form-field-item-spacing; } @include mdc-rtl { > label { margin-right: $mdc-form-field-item-spacing; margin-left: auto; } } } .mdc-form-field--align-end { > label { order: -1; margin-right: $mdc-form-field-item-spacing; margin-left: auto; } @include mdc-rtl { > label { margin-right: auto; margin-left: $mdc-form-field-item-spacing; } } } /* stylelint-enable selector-no-type */
Version data entries
5 entries across 5 versions & 1 rubygems