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

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

Issue 2002353002: [MD settings] remove settings_page.css (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
OLDNEW
(Empty)
1 <link rel="import" href="chrome://md-settings/settings_page/main_page_behavior.h tml">
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 /* Account for padding in settings_page.css. */
michaelpg 2016/05/25 18:27:47 fix comment
dschuyler 2016/05/25 21:16:17 Done.
29 margin-top: -var(--settings-page-padding-top);
30 }
31 </style>
32 </template>
33 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698