Chromium Code Reviews| OLD | NEW |
|---|---|
| (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> | |
| OLD | NEW |