OLD | NEW |
1 <!-- | 1 <!-- |
2 @license | 2 @license |
3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. | 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 | 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 | 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 | 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 | 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 | 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
9 --> | 9 --> |
10 | 10 |
| 11 <link rel="import" href="../polymer/polymer.html"> |
| 12 <link rel="import" href="../iron-flex-layout/iron-flex-layout.html"> |
| 13 <link rel="import" href="../paper-styles/default-theme.html"> |
| 14 <link rel="import" href="../paper-styles/typography.html"> |
| 15 <link rel="import" href="../paper-styles/shadow.html"> |
| 16 |
| 17 <!-- |
| 18 ### Styling |
| 19 |
| 20 The following custom properties and mixins are available for styling. |
| 21 |
| 22 Custom property | Description | Default |
| 23 ----------------|-------------|---------- |
| 24 `--paper-dialog-background-color` | Dialog background color
| `--primary-background-color` |
| 25 `--paper-dialog-color` | Dialog foreground color
| `--primary-text-color` |
| 26 `--paper-dialog` | Mixin applied to the dialog
| `{}` |
| 27 `--paper-dialog-title` | Mixin applied to the title (`<h2>`) element
| `{}` |
| 28 `--paper-dialog-button-color` | Button area foreground color
| `--default-primary-color` |
| 29 --> |
| 30 |
11 <dom-module id="paper-dialog-shared-styles"> | 31 <dom-module id="paper-dialog-shared-styles"> |
12 <template> | 32 <template> |
13 <style> | 33 <style> |
14 :host { | 34 :host { |
15 display: block; | 35 display: block; |
16 margin: 24px 40px; | 36 margin: 24px 40px; |
17 | 37 |
18 background: var(--paper-dialog-background-color, --primary-background-co
lor); | 38 background: var(--paper-dialog-background-color, --primary-background-co
lor); |
19 color: var(--paper-dialog-color, --primary-text-color); | 39 color: var(--paper-dialog-color, --primary-text-color); |
20 | 40 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 margin: 0; | 74 margin: 0; |
55 | 75 |
56 color: var(--paper-dialog-button-color, --primary-color); | 76 color: var(--paper-dialog-button-color, --primary-color); |
57 | 77 |
58 @apply(--layout-horizontal); | 78 @apply(--layout-horizontal); |
59 @apply(--layout-end-justified); | 79 @apply(--layout-end-justified); |
60 } | 80 } |
61 </style> | 81 </style> |
62 </template> | 82 </template> |
63 </dom-module> | 83 </dom-module> |
OLD | NEW |