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

Unified Diff: chrome/browser/resources/settings/settings_page/settings_section_css.html

Issue 1949533003: MD Settings: replace paper-material with paper-material-shared-styles (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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/settings_page/settings_section_css.html
diff --git a/chrome/browser/resources/settings/settings_page/settings_section_css.html b/chrome/browser/resources/settings/settings_page/settings_section_css.html
new file mode 100644
index 0000000000000000000000000000000000000000..8ab32eb245a6735d8737aef01f4e700335c195ca
--- /dev/null
+++ b/chrome/browser/resources/settings/settings_page/settings_section_css.html
@@ -0,0 +1,49 @@
+<link rel="import" href="chrome://resources/html/polymer.html">
+
+<dom-module id="settings-section-styles">
+ <template>
+ <style>
+ :host {
+ display: flex;
+ flex-direction: column;
+ position: relative;
+ }
+
+ #header {
+ margin-bottom: 12px;
+ }
+
+ #header .title {
+ color: rgb(104, 113, 116);
dschuyler 2016/05/04 22:23:39 Is this a paper or google color? Can we use a var(
michaelpg 2016/05/04 22:25:22 No idea, this is a copy-paste from a .css file.
dschuyler 2016/05/04 22:37:46 Okay, yeah, it's a custom color. Please make comme
michaelpg 2016/05/05 13:36:49 Done.
+ font-size: 13px;
+ font-weight: 500;
+ }
+
+ #card {
+ background-color: white;
+ overflow: hidden;
+ }
+
+ #card {
+ flex: 1;
+ }
+
+ :host(.expanded) {
+ margin-bottom: 0;
+ }
+
+ :host(.expanded) #header {
+ display: none;
+ }
+
+ :host(.frozen) #card {
+ position: fixed;
+ width: 100%;
+ }
+
+ :host(.expanded.frozen) #card {
+ position: relative;
+ }
+ </style>
+ </template>
+</dom-module>

Powered by Google App Engine
This is Rietveld 408576698