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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 <link rel="import" href="chrome://resources/html/polymer.html">
2
3 <dom-module id="settings-section-styles">
4 <template>
5 <style>
6 :host {
7 display: flex;
8 flex-direction: column;
9 position: relative;
10 }
11
12 #header {
13 margin-bottom: 12px;
14 }
15
16 #header .title {
17 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.
18 font-size: 13px;
19 font-weight: 500;
20 }
21
22 #card {
23 background-color: white;
24 overflow: hidden;
25 }
26
27 #card {
28 flex: 1;
29 }
30
31 :host(.expanded) {
32 margin-bottom: 0;
33 }
34
35 :host(.expanded) #header {
36 display: none;
37 }
38
39 :host(.frozen) #card {
40 position: fixed;
41 width: 100%;
42 }
43
44 :host(.expanded.frozen) #card {
45 position: relative;
46 }
47 </style>
48 </template>
49 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698