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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/settings_page_css.html
diff --git a/chrome/browser/resources/settings/settings_page_css.html b/chrome/browser/resources/settings/settings_page_css.html
index ccd59f501fdb940cc1e413773f85d25b1e822019..160470e9e9f1bcacf62a9875a117486ccd5ca325 100644
--- a/chrome/browser/resources/settings/settings_page_css.html
+++ b/chrome/browser/resources/settings/settings_page_css.html
@@ -1,8 +1,9 @@
+<link rel="import" href="chrome://resources/html/polymer.html">
<link rel="import" href="/settings_page/main_page_behavior.html">
<dom-module id="settings-page-styles">
<template>
- <style include="main-page-styles">
+ <style>
:host {
box-sizing: border-box;
display: block;
@@ -18,13 +19,24 @@
height: inherit;
}
- :host > div > * {
+ :host > div > :not(.expanded) {
/* The margin and padding here are doing two things: make the total
* separation 24px; and make scrollIntoView align the section header
* with the top item in the side nav menu. Both things are desired
* by Alan (bettes@). */
margin-bottom: 3px;
}
+
+ .expanded {
+ min-height: 100%;
+ }
+
+ .expanding,
+ .collapsing {
+ /* Must be lower than the paper-header-panel's z-index.
+ * See settings_ui.html. */
+ z-index: 1;
+ }
</style>
</template>
</dom-module>
« 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