Index: third_party/polymer/v1_0/components-chromium/paper-dialog/paper-dialog.html |
diff --git a/third_party/polymer/v1_0/components-chromium/paper-dialog/paper-dialog.html b/third_party/polymer/v1_0/components-chromium/paper-dialog/paper-dialog.html |
index 194ff73fcba9c31163324a1ba2cfc44fe5f8108a..86ed386c53737336ff51e7e0d2f72bdb86929aa7 100644 |
--- a/third_party/polymer/v1_0/components-chromium/paper-dialog/paper-dialog.html |
+++ b/third_party/polymer/v1_0/components-chromium/paper-dialog/paper-dialog.html |
@@ -9,12 +9,13 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN |
--><html><head><link rel="import" href="../polymer/polymer.html"> |
<link rel="import" href="../neon-animation/neon-animation-runner-behavior.html"> |
<link rel="import" href="../paper-dialog-behavior/paper-dialog-behavior.html"> |
-<link rel="import" href="../paper-styles/paper-styles.html"> |
- |
+<link rel="import" href="../paper-dialog-behavior/paper-dialog-shared-styles.html"> |
<!-- |
+Material design: [Dialogs](https://www.google.com/design/spec/components/dialogs.html) |
+ |
`<paper-dialog>` is a dialog with Material Design styling and optional animations when it is |
opened or closed. It provides styles for a header, content area, and an action area for buttons. |
-You can use the `<paper-dialog-scrollable` element (in its own repository) if you need a scrolling |
+You can use the `<paper-dialog-scrollable>` element (in its own repository) if you need a scrolling |
content area. See `Polymer.PaperDialogBehavior` for specifics. |
For example, the following code implements a dialog with a header, scrolling content area and |
@@ -65,13 +66,10 @@ element. |
--> |
</head><body><dom-module id="paper-dialog"> |
- |
- <link rel="import" type="css" href="../paper-dialog-behavior/paper-dialog-common.css"> |
- |
<template> |
+ <style include="paper-dialog-shared-styles"></style> |
<content></content> |
</template> |
- |
</dom-module> |
<script src="paper-dialog-extracted.js"></script></body></html> |