Copybara bot | be50d49 | 2023-11-30 00:16:42 +0100 | [diff] [blame] | 1 | /** |
| 2 | * Copyright 2015 Google Inc. All Rights Reserved. |
| 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 | @import "../variables"; |
| 18 | @import "../mixins"; |
| 19 | |
| 20 | .mdl-dialog { |
| 21 | border: none; |
| 22 | @include shadow-24dp; |
| 23 | @include dialog-width; |
| 24 | |
| 25 | &__title { |
| 26 | padding: 24px 24px 0; |
| 27 | margin: 0; |
| 28 | font-size: 2.5rem; |
| 29 | } |
| 30 | &__actions { |
| 31 | padding: 8px 8px 8px 24px; |
| 32 | display: flex; |
| 33 | flex-direction: row-reverse; |
| 34 | flex-wrap: wrap; |
| 35 | > * { |
| 36 | margin-right: 8px; |
| 37 | height: 36px; |
| 38 | &:first-child { |
| 39 | margin-right: 0; |
| 40 | } |
| 41 | } |
| 42 | &--full-width { |
| 43 | padding: 0 0 8px 0; |
| 44 | > * { |
| 45 | height: 48px; |
| 46 | flex: 0 0 100%; |
| 47 | padding-right: 16px; |
| 48 | margin-right: 0; |
| 49 | text-align: right; |
| 50 | } |
| 51 | } |
| 52 | } |
| 53 | &__content { |
| 54 | padding: 20px 24px 24px 24px; |
| 55 | color: $dialog-content-color; |
| 56 | } |
| 57 | } |