Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(235)

Side by Side Diff: chrome/browser/resources/settings/settings_page_css.html

Issue 2018753002: [MD settings] refine routing function (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review change Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/resources/settings/settings_page/settings_animated_pages.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <link rel="import" href="/settings_page/main_page_behavior.html"> 1 <link rel="import" href="/settings_page/main_page_behavior.html">
2 2
3 <dom-module id="settings-page-styles"> 3 <dom-module id="settings-page-styles">
4 <template> 4 <template>
5 <style include="main-page-styles"> 5 <style include="main-page-styles">
6 :host { 6 :host {
7 --settings-page-padding-top: 21px; 7 --settings-page-padding-top: 21px;
8 box-sizing: border-box; 8 box-sizing: border-box;
9 display: block; 9 display: block;
10 height: 100%; 10 height: inherit;
11 margin: 0 auto; 11 margin: 0 auto;
12 max-width: 960px; 12 max-width: 960px;
13 min-width: 622px; 13 min-width: 622px;
14 position: relative; 14 position: relative;
15 width: 96%; 15 width: 96%;
16 } 16 }
17 17
18 :host > * { 18 :host > div {
19 height: inherit;
20 }
21
22 :host > div > * {
19 /* The margin and padding here are doing two things: make the total 23 /* The margin and padding here are doing two things: make the total
20 * separation 24px; and make scrollIntoView align the section header 24 * separation 24px; and make scrollIntoView align the section header
21 * with the top item in the side nav menu. Both things are desired 25 * with the top item in the side nav menu. Both things are desired
22 * by Alan (bettes@). */ 26 * by Alan (bettes@). */
23 margin-bottom: 3px; 27 margin-bottom: 3px;
24 padding-top: var(--settings-page-padding-top); 28 padding-top: var(--settings-page-padding-top);
25 } 29 }
26 30
27 .expanded.frozen { 31 .expanded.frozen {
28 margin-top: -var(--settings-page-padding-top); 32 margin-top: -var(--settings-page-padding-top);
29 } 33 }
30 </style> 34 </style>
31 </template> 35 </template>
32 </dom-module> 36 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/settings_page/settings_animated_pages.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698