| OLD | NEW |
| (Empty) | |
| 1 <link rel="import" href="/settings_page/main_page_behavior.html"> |
| 2 |
| 3 <dom-module id="settings-page-styles"> |
| 4 <template> |
| 5 <style include="main-page-styles"> |
| 6 :host { |
| 7 --settings-page-padding-top: 21px; |
| 8 box-sizing: border-box; |
| 9 display: block; |
| 10 height: 100%; |
| 11 margin: 0 auto; |
| 12 max-width: 960px; |
| 13 min-width: 622px; |
| 14 position: relative; |
| 15 width: 96%; |
| 16 } |
| 17 |
| 18 :host > * { |
| 19 /* The margin and padding here are doing two things: make the total |
| 20 * separation 24px; and make scrollIntoView align the section header |
| 21 * with the top item in the side nav menu. Both things are desired |
| 22 * by Alan (bettes@). */ |
| 23 margin-bottom: 3px; |
| 24 padding-top: var(--settings-page-padding-top); |
| 25 } |
| 26 |
| 27 .expanded.frozen { |
| 28 margin-top: -var(--settings-page-padding-top); |
| 29 } |
| 30 </style> |
| 31 </template> |
| 32 </dom-module> |
| OLD | NEW |