| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 2 <link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html"> | 2 <link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html"> |
| 3 | 3 |
| 4 <dom-module id="cr-drawer"> | 4 <dom-module id="cr-drawer"> |
| 5 <template> | 5 <template> |
| 6 <style> | 6 <style> |
| 7 :host { | 7 :host { |
| 8 --drawer-width: 256px; | 8 --drawer-width: 256px; |
| 9 --transition-timing: 200ms ease; | 9 --transition-timing: 200ms ease; |
| 10 background-color: #fff; | 10 background-color: #fff; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 min-height: 56px; | 63 min-height: 56px; |
| 64 outline: none; | 64 outline: none; |
| 65 } | 65 } |
| 66 | 66 |
| 67 :host ::content .drawer-content { | 67 :host ::content .drawer-content { |
| 68 height: calc(100% - 56px); | 68 height: calc(100% - 56px); |
| 69 overflow: auto; | 69 overflow: auto; |
| 70 } | 70 } |
| 71 </style> | 71 </style> |
| 72 <div id="container" on-tap="onContainerTap_"> | 72 <div id="container" on-tap="onContainerTap_"> |
| 73 <div class="drawer-header" tabindex="-1">[[title]]</div> | 73 <div class="drawer-header" tabindex="-1">[[heading]]</div> |
| 74 <content></content> | 74 <content></content> |
| 75 </div> | 75 </div> |
| 76 </template> | 76 </template> |
| 77 </dom-module> | 77 </dom-module> |
| 78 <script src="cr_drawer.js"></script> | 78 <script src="cr_drawer.js"></script> |
| OLD | NEW |