bsw/jbe@1309: /** bsw/jbe@1309: * Copyright 2015 Google Inc. All Rights Reserved. bsw/jbe@1309: * bsw/jbe@1309: * Licensed under the Apache License, Version 2.0 (the "License"); bsw/jbe@1309: * you may not use this file except in compliance with the License. bsw/jbe@1309: * You may obtain a copy of the License at bsw/jbe@1309: * bsw/jbe@1309: * http://www.apache.org/licenses/LICENSE-2.0 bsw/jbe@1309: * bsw/jbe@1309: * Unless required by applicable law or agreed to in writing, software bsw/jbe@1309: * distributed under the License is distributed on an "AS IS" BASIS, bsw/jbe@1309: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. bsw/jbe@1309: * See the License for the specific language governing permissions and bsw/jbe@1309: * limitations under the License. bsw/jbe@1309: */ bsw/jbe@1309: bsw/jbe@1309: @import "../variables"; bsw/jbe@1309: @import "../mixins"; bsw/jbe@1309: bsw/jbe@1309: .mdl-dialog { bsw/jbe@1309: border: none; bsw/jbe@1309: @include shadow-24dp; bsw/jbe@1309: @include dialog-width; bsw/jbe@1309: bsw/jbe@1309: &__title { bsw/jbe@1309: padding: 24px 24px 0; bsw/jbe@1309: margin: 0; bsw/jbe@1309: font-size: 2.5rem; bsw/jbe@1309: } bsw/jbe@1309: &__actions { bsw/jbe@1309: padding: 8px 8px 8px 24px; bsw/jbe@1309: display: flex; bsw/jbe@1309: flex-direction: row-reverse; bsw/jbe@1309: flex-wrap: wrap; bsw/jbe@1309: > * { bsw/jbe@1309: margin-right: 8px; bsw/jbe@1309: height: 36px; bsw/jbe@1309: &:first-child { bsw/jbe@1309: margin-right: 0; bsw/jbe@1309: } bsw/jbe@1309: } bsw/jbe@1309: &--full-width { bsw/jbe@1309: padding: 0 0 8px 0; bsw/jbe@1309: > * { bsw/jbe@1309: height: 48px; bsw/jbe@1309: flex: 0 0 100%; bsw/jbe@1309: padding-right: 16px; bsw/jbe@1309: margin-right: 0; bsw/jbe@1309: text-align: right; bsw/jbe@1309: } bsw/jbe@1309: } bsw/jbe@1309: } bsw/jbe@1309: &__content { bsw/jbe@1309: padding: 20px 24px 24px 24px; bsw/jbe@1309: color: $dialog-content-color; bsw/jbe@1309: } bsw/jbe@1309: }