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 <dom-module id="paper-dialog-shared-styles"> |
| 12 <template> |
| 13 <style> |
| 14 :host { |
| 15 display: block; |
| 16 margin: 24px 40px; |
| 17 -webkit-overflow-scrolling: touch; |
| 18 |
| 19 background: var(--paper-dialog-background-color, --primary-background-co
lor); |
| 20 color: var(--paper-dialog-color, --primary-text-color); |
| 21 |
| 22 @apply(--paper-font-body1); |
| 23 @apply(--shadow-elevation-16dp); |
| 24 @apply(--paper-dialog); |
| 25 } |
| 26 |
| 27 :host > ::content > * { |
| 28 margin-top: 20px; |
| 29 padding: 0 24px; |
| 30 } |
| 31 |
| 32 :host > ::content > .no-padding { |
| 33 padding: 0; |
| 34 } |
| 35 |
| 36 :host > ::content > *:first-child { |
| 37 margin-top: 24px; |
| 38 } |
| 39 |
| 40 :host > ::content > *:last-child { |
| 41 margin-bottom: 24px; |
| 42 } |
| 43 |
| 44 :host > ::content h2 { |
| 45 position: relative; |
| 46 margin: 0; |
| 47 @apply(--paper-font-title); |
| 48 |
| 49 @apply(--paper-dialog-title); |
| 50 } |
| 51 |
| 52 :host > ::content .buttons { |
| 53 position: relative; |
| 54 padding: 8px 8px 8px 24px; |
| 55 margin: 0; |
| 56 |
| 57 color: var(--paper-dialog-button-color, --default-primary-color); |
| 58 |
| 59 @apply(--layout-horizontal); |
| 60 @apply(--layout-end-justified); |
| 61 } |
| 62 </style> |
| 63 </template> |
| 64 </dom-module> |
OLD | NEW |