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

Side by Side Diff: chrome/browser/resources/settings/settings_drawer/settings_drawer.css

Issue 1130113005: Convert cr-settings-drawer to Polymer 0.8 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ConvertSettingsMenu
Patch Set: Created 5 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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698