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