| OLD | NEW |
| 1 <!-- Copyright 2016 The Chromium Authors. All rights reserved. | 1 <!-- Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 Use of this source code is governed by a BSD-style license that can be | 2 Use of this source code is governed by a BSD-style license that can be |
| 3 found in the LICENSE file. --> | 3 found in the LICENSE file. --> |
| 4 | 4 |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe
s/iron-flex-layout.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe
s/iron-flex-layout.html"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html
"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html
"> |
| 7 | 7 |
| 8 <!-- | 8 <!-- |
| 9 Simple OOBE card which should be used for OOBE UI elements. | 9 Simple OOBE card which should be used for OOBE UI elements. |
| 10 It has blue header and grey footer. | 10 It has blue header and grey footer. |
| 11 | 11 |
| 12 Example: | 12 Example: |
| 13 <oobe-card> | 13 <oobe-card> |
| 14 <div class="header flex vertical layout end-justified start"> | 14 <div class="header flex vertical layout end-justified start"> |
| 15 ... | 15 ... |
| 16 </div> | 16 </div> |
| 17 <oobe-input-form class="footer" ...> | 17 <oobe-input-form class="footer" ...> |
| 18 </oobe-input-form> | 18 </oobe-input-form> |
| 19 </oobe-card> | 19 </oobe-card> |
| 20 | 20 |
| 21 Add class |header| to all which you want to go inside blue header. Similar | 21 Add class |header| to all which you want to go inside blue header. Similar |
| 22 with class |footer|. | 22 with class |footer|. |
| 23 --> | 23 --> |
| 24 <dom-module name="oobe-card"> | 24 <dom-module name="oobe-card"> |
| 25 <link rel="stylesheet" href="oobe_dialog_host.css"> |
| 25 <link rel="stylesheet" href="oobe_card.css"> | 26 <link rel="stylesheet" href="oobe_card.css"> |
| 26 <template> | 27 <template> |
| 27 <div class="oobe-header vertical layout relative"> | 28 <div class="oobe-header vertical layout relative"> |
| 28 <div class="header-container flex vertical layout relative"> | 29 <div class="header-container flex vertical layout relative"> |
| 29 <content select=".header"></content> | 30 <content select=".header"></content> |
| 30 </div> | 31 </div> |
| 31 </div> | 32 </div> |
| 32 <div class="oobe-footer flex vertical layout"> | 33 <div class="oobe-footer flex vertical layout"> |
| 33 <div class="footer-container flex vertical layout"> | 34 <div class="footer-container flex vertical layout"> |
| 34 <content select=".footer"></content> | 35 <content select=".footer"></content> |
| 35 </div> | 36 </div> |
| 36 <div id="bottom-overlay" class="overlay"></div> | 37 <div id="bottom-overlay" class="overlay"></div> |
| 37 </div> | 38 </div> |
| 38 <div id="full-overlay" class="overlay"></div> | 39 <div id="full-overlay" class="overlay"></div> |
| 39 </template> | 40 </template> |
| 40 </dom-module> | 41 </dom-module> |
| 41 | 42 |
| OLD | NEW |