| 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="/settings_page/main_page_behavior.html"> | 2 <link rel="import" href="/settings_page/main_page_behavior.html"> |
| 3 | 3 |
| 4 <dom-module id="settings-page-styles"> | 4 <dom-module id="settings-page-styles"> |
| 5 <template> | 5 <template> |
| 6 <style> | 6 <style> |
| 7 :host { | 7 :host { |
| 8 box-sizing: border-box; | 8 box-sizing: border-box; |
| 9 display: block; | 9 display: block; |
| 10 height: inherit; | 10 height: inherit; |
| 11 margin: 0 auto; | 11 margin: 0 auto; |
| 12 max-width: 960px; | 12 max-width: 640px; |
| 13 min-width: 622px; | 13 min-width: 550px; |
| 14 position: relative; | 14 position: relative; |
| 15 width: 96%; | 15 width: 96%; |
| 16 } | 16 } |
| 17 | 17 |
| 18 :host(.showing-subpage) { | 18 :host(.showing-subpage) { |
| 19 /* Set the height to the container height so the subpage scrolls. */ | 19 /* Set the height to the container height so the subpage scrolls. */ |
| 20 height: 100%; | 20 height: 100%; |
| 21 } | 21 } |
| 22 | 22 |
| 23 :host > div { | 23 :host > div { |
| (...skipping 14 matching lines...) Expand all Loading... |
| 38 | 38 |
| 39 .expanding, | 39 .expanding, |
| 40 .collapsing { | 40 .collapsing { |
| 41 /* Must be lower than the cr-toolbar's z-index. | 41 /* Must be lower than the cr-toolbar's z-index. |
| 42 * See settings_ui.html. */ | 42 * See settings_ui.html. */ |
| 43 z-index: 1; | 43 z-index: 1; |
| 44 } | 44 } |
| 45 </style> | 45 </style> |
| 46 </template> | 46 </template> |
| 47 </dom-module> | 47 </dom-module> |
| OLD | NEW |