| <link rel="import" href="chrome://resources/html/polymer.html"> |
| |
| <link rel="import" href="chrome://resources/cr_elements/cr_view_manager/cr_view_manager.html"> |
| <link rel="import" href="chrome://resources/cr_elements/hidden_style_css.html"> |
| <link rel="import" href="chrome://resources/html/cr.html"> |
| <link rel="import" href="chrome://resources/html/promise_resolver.html"> |
| <link rel="import" href="google_apps/nux_google_apps.html"> |
| <link rel="import" href="email/nux_email.html"> |
| <link rel="import" href="landing_view.html"> |
| <link rel="import" href="navigation_behavior.html"> |
| <link rel="import" href="set_as_default/nux_set_as_default.html"> |
| <link rel="import" href="set_as_default/nux_set_as_default_proxy.html"> |
| <link rel="import" href="shared/bookmark_proxy.html"> |
| <link rel="import" href="shared/i18n_setup.html"> |
| <link rel="import" href="signin_view.html"> |
| |
| <dom-module id="welcome-app"> |
| <template> |
| <style include="paper-button-style cr-hidden-style"> |
| #viewManager { |
| align-items: center; |
| display: flex; |
| flex-direction: column; |
| font-size: 100%; |
| justify-content: center; |
| margin: 0; |
| min-height: 100vh; |
| } |
| |
| #viewManager :-webkit-any(nux-email, |
| nux-google-apps, nux-set-as-default) { |
| /* Override cr-view-manager's default styling for view. */ |
| bottom: initial; |
| left: initial; |
| right: initial; |
| top: initial; |
| } |
| </style> |
| <cr-view-manager id="viewManager" hidden="[[!modulesInitialized_]]"> |
| <landing-view id="step-landing" slot="view" class="active"></landing-view> |
| </cr-view-manager> |
| </template> |
| <script src="welcome_app.js"></script> |
| </dom-module> |