liquid_feedback_frontend
diff style/mdl/dialog/_dialog.scss @ 1309:32cc544d5a5b
Cumulative patch for upcoming frontend version 4
author | bsw/jbe |
---|---|
date | Sun Jul 15 14:07:29 2018 +0200 (2018-07-15) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/style/mdl/dialog/_dialog.scss Sun Jul 15 14:07:29 2018 +0200 1.3 @@ -0,0 +1,57 @@ 1.4 +/** 1.5 + * Copyright 2015 Google Inc. All Rights Reserved. 1.6 + * 1.7 + * Licensed under the Apache License, Version 2.0 (the "License"); 1.8 + * you may not use this file except in compliance with the License. 1.9 + * You may obtain a copy of the License at 1.10 + * 1.11 + * http://www.apache.org/licenses/LICENSE-2.0 1.12 + * 1.13 + * Unless required by applicable law or agreed to in writing, software 1.14 + * distributed under the License is distributed on an "AS IS" BASIS, 1.15 + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1.16 + * See the License for the specific language governing permissions and 1.17 + * limitations under the License. 1.18 + */ 1.19 + 1.20 +@import "../variables"; 1.21 +@import "../mixins"; 1.22 + 1.23 +.mdl-dialog { 1.24 + border: none; 1.25 + @include shadow-24dp; 1.26 + @include dialog-width; 1.27 + 1.28 + &__title { 1.29 + padding: 24px 24px 0; 1.30 + margin: 0; 1.31 + font-size: 2.5rem; 1.32 + } 1.33 + &__actions { 1.34 + padding: 8px 8px 8px 24px; 1.35 + display: flex; 1.36 + flex-direction: row-reverse; 1.37 + flex-wrap: wrap; 1.38 + > * { 1.39 + margin-right: 8px; 1.40 + height: 36px; 1.41 + &:first-child { 1.42 + margin-right: 0; 1.43 + } 1.44 + } 1.45 + &--full-width { 1.46 + padding: 0 0 8px 0; 1.47 + > * { 1.48 + height: 48px; 1.49 + flex: 0 0 100%; 1.50 + padding-right: 16px; 1.51 + margin-right: 0; 1.52 + text-align: right; 1.53 + } 1.54 + } 1.55 + } 1.56 + &__content { 1.57 + padding: 20px 24px 24px 24px; 1.58 + color: $dialog-content-color; 1.59 + } 1.60 +}