1/*
2@license
3Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
4This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7Code distributed by Google as part of the polymer project is also
8subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9*/
10
11:host {
12  display: block;
13  margin: 24px 40px;
14
15  background: var(--paper-dialog-background-color, --primary-background-color);
16  color: var(--paper-dialog-color, --primary-text-color);
17
18  @apply(--paper-font-body1);
19  @apply(--shadow-elevation-16dp);
20  @apply(--paper-dialog);
21}
22
23:host > ::content > * {
24  margin-top: 20px;
25  padding: 0 24px;
26}
27
28:host > ::content > .no-padding {
29  padding: 0;
30}
31
32:host > ::content > *:first-child {
33  margin-top: 24px;
34}
35
36:host > ::content > *:last-child {
37  margin-bottom: 24px;
38}
39
40:host > ::content h2 {
41  position: relative;
42  margin: 0;
43  @apply(--paper-font-title);
44
45  @apply(--paper-dialog-title);
46}
47
48:host > ::content .buttons {
49  position: relative;
50  padding: 8px 8px 8px 24px;
51  margin: 0;
52
53  color: var(--paper-dialog-button-color, --primary-color);
54
55  @apply(--layout-horizontal);
56  @apply(--layout-end-justified);
57}
58