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

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

Issue 2207353002: Consolidate some Settings styles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@RemoveProperties
Patch Set: Created 4 years, 4 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_section.html ('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="chrome://resources/html/polymer.html">
1 <link rel="import" href="/settings_page/main_page_behavior.html"> 2 <link rel="import" href="/settings_page/main_page_behavior.html">
2 3
3 <dom-module id="settings-page-styles"> 4 <dom-module id="settings-page-styles">
4 <template> 5 <template>
5 <style include="main-page-styles"> 6 <style>
6 :host { 7 :host {
7 box-sizing: border-box; 8 box-sizing: border-box;
8 display: block; 9 display: block;
9 height: inherit; 10 height: inherit;
10 margin: 0 auto; 11 margin: 0 auto;
11 max-width: 960px; 12 max-width: 960px;
12 min-width: 622px; 13 min-width: 622px;
13 position: relative; 14 position: relative;
14 width: 96%; 15 width: 96%;
15 } 16 }
16 17
17 :host > div { 18 :host > div {
18 height: inherit; 19 height: inherit;
19 } 20 }
20 21
21 :host > div > * { 22 :host > div > :not(.expanded) {
22 /* 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
23 * separation 24px; and make scrollIntoView align the section header 24 * separation 24px; and make scrollIntoView align the section header
24 * 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
25 * by Alan (bettes@). */ 26 * by Alan (bettes@). */
26 margin-bottom: 3px; 27 margin-bottom: 3px;
27 } 28 }
29
30 .expanded {
31 min-height: 100%;
32 }
33
34 .expanding,
35 .collapsing {
36 /* Must be lower than the paper-header-panel's z-index.
37 * See settings_ui.html. */
38 z-index: 1;
39 }
28 </style> 40 </style>
29 </template> 41 </template>
30 </dom-module> 42 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/settings_page/settings_section.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698