OLD | NEW |
---|---|
1 <link rel="import" href="chrome://resources/polymer/polymer/polymer.html"> | |
2 <link rel="import" href="chrome://resources/polymer/core-style/core-style.html"> | |
3 | |
4 <core-style id="settingsDrawerStyle"> | |
5 :host { | 1 :host { |
6 background-color: rgb(38, 50, 56); | 2 background-color: rgb(38, 50, 56); |
7 color: white; | 3 color: white; |
8 display: block; | 4 display: flex; |
Kyle Horimoto
2015/05/12 18:14:55
nit: We should use layout classes if possible inst
michaelpg
2015/05/12 18:37:11
I'd rather have this here than in the JavaScript (
michaelpg
2015/05/12 19:52:07
See the release notes for 0.9 on hostAttribute cha
michaelpg
2015/05/12 19:56:52
Oh... and reading further into the release notes,
| |
5 flex-direction: column; | |
9 overflow: auto; | 6 overflow: auto; |
10 } | 7 } |
11 | 8 |
12 #user-card { | 9 #user-card { |
13 -webkit-padding-start: 40px; | 10 -webkit-padding-start: 40px; |
14 background-color: rgb(28, 37, 42); | 11 background-color: rgb(28, 37, 42); |
15 color: white; | 12 color: white; |
16 height: 95px; | 13 height: 95px; |
17 } | 14 } |
18 | 15 |
19 #user-card img { | 16 #user-card img { |
20 -webkit-margin-end: 15px; | 17 -webkit-margin-end: 15px; |
21 height: 50px; | 18 height: 50px; |
22 width: 50px; | 19 width: 50px; |
23 } | 20 } |
24 | 21 |
25 #user-card .name { | 22 #user-card .name { |
26 font-size: 18px; | 23 font-size: 18px; |
27 } | 24 } |
28 | 25 |
29 #user-card .email { | 26 #user-card .email { |
30 font-size: 14px; | 27 font-size: 14px; |
31 } | 28 } |
32 </core-style> | |
OLD | NEW |