|
| 1 | +/** |
| 2 | + * Copyright 2020 Google LLC |
| 3 | + * |
| 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | + * you may not use this file except in compliance with the License. |
| 6 | + * You may obtain a copy of the License at |
| 7 | + * |
| 8 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | + * |
| 10 | + * Unless required by applicable law or agreed to in writing, software |
| 11 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | + * See the License for the specific language governing permissions and |
| 14 | + * limitations under the License. |
| 15 | + */ |
| 16 | + |
| 17 | +.material-settings { |
| 18 | + --mdc-typography-headline1-font-family: "Roboto", sans-serif; |
| 19 | + --mdc-typography-headline2-font-family: "Roboto", sans-serif; |
| 20 | + --mdc-typography-headline3-font-family: "Roboto", sans-serif; |
| 21 | + --mdc-typography-headline4-font-family: "Roboto", sans-serif; |
| 22 | + --mdc-typography-headline5-font-family: "Roboto", sans-serif; |
| 23 | + --mdc-typography-headline6-font-family: "Roboto", sans-serif; |
| 24 | + --mdc-typography-subtitle1-font-family: "Roboto", sans-serif; |
| 25 | + --mdc-typography-subtitle2-font-family: "Roboto", sans-serif; |
| 26 | + --mdc-typography-font-family: "Roboto", sans-serif; |
| 27 | + --mdc-typography-body1-font-family: "Roboto", sans-serif; |
| 28 | + --mdc-typography-body2-font-family: "Roboto", sans-serif; |
| 29 | + --mdc-typography-caption-font-family: "Roboto", sans-serif; |
| 30 | + --mdc-typography-button-font-family: "Roboto", sans-serif; |
| 31 | + --mdc-typography-overline-font-family: "Roboto", sans-serif; |
| 32 | + --material-design-settings-background-color: #fff; |
| 33 | + --material-design-settings-primary-color: #212121; |
| 34 | + --material-design-settings-primary-text: #fff; |
| 35 | + --material-design-wizard-primary-color: #212121; |
| 36 | + --material-design-settings-error-color: #dc3232; |
| 37 | + |
| 38 | + & .mdc-button { |
| 39 | + --mdc-theme-primary: var(--material-design-settings-primary-color); |
| 40 | + --mdc-theme-on-primary: var(--material-design-settings-primary-text); |
| 41 | + } |
| 42 | + |
| 43 | + & h1, |
| 44 | + & h3, |
| 45 | + & h4 { |
| 46 | + margin-top: 0; |
| 47 | + } |
| 48 | + |
| 49 | + & h2 { |
| 50 | + margin-top: 32px; |
| 51 | + } |
| 52 | + |
| 53 | + & p { |
| 54 | + font-size: 16px; |
| 55 | + margin: 0; |
| 56 | + } |
| 57 | + |
| 58 | + & .material-settings__updates { |
| 59 | + margin-top: 24px; |
| 60 | + } |
| 61 | + |
| 62 | + & .mdc-button--raised .mdc-circular-progress { |
| 63 | + --mdc-theme-primary: #fff; |
| 64 | + } |
| 65 | + |
| 66 | + & .mdc-button.is-loading { |
| 67 | + text-align: left; |
| 68 | + width: 105px; |
| 69 | + } |
| 70 | + |
| 71 | + & .material-settings__message { |
| 72 | + align-items: center; |
| 73 | + color: var(--material-design-settings-error-color); |
| 74 | + display: flex; |
| 75 | + } |
| 76 | + |
| 77 | + & .material-settings__message-text { |
| 78 | + font-size: 16px; |
| 79 | + font-weight: 500; |
| 80 | + margin-left: 10px; |
| 81 | + } |
| 82 | + |
| 83 | + .mdc-dialog .mdc-dialog__title { |
| 84 | + margin-top: 0; |
| 85 | + } |
| 86 | +} |
0 commit comments