Adjust Messages header view

Add ngMaterial directives tomessage composer
This commit is contained in:
iRouge authored and Francis Lachapelle committed 2015-06-11 15:57:24 -04:00
1 parent 4cd6ffcaec
commit 75f38173c5
7 files changed
+108 -45

No files matched your search

@@ -59,7 +59,7 @@ $paletteBlueGrey: #eceff1 #cfd8dc #b0bec5 #90a4ae #78909c #607d8b #546e7a #455a6
// ---------------------------------------------------------------------------
$sogoPaper: (
50: #fcf7f8,
50: #fcfbf8,
100: #f7f1dc,
200: #ede5ca,
300: #e6d8ba,
@@ -81,3 +81,7 @@
flex-wrap: wrap;
}
}
.sg-avatar {
@extend .md-tile-left;
margin-right: 0;
}
@@ -18,20 +18,17 @@ hgroup {
}
}
.sg-icon-bar {
font-size: $sg-font-size-5;
font-size: $sg-font-size-3;
color: $colorGray;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
width: ($pitch);
height:(3 * $pitch);
margin-right: $mg * -1;
height:(2 * $pitch);
margin-left: $mg;
}
.sg-icon-bar *.button {
display: block;
margin: 0 auto;
width: (2 * $mg);
}
+27 -6
View File
@@ -9,17 +9,38 @@
[data-ui-view="message"] {
max-width: grid-step(8);
}
.msg-header {
padding-bottom: $mg;
}
.msg-header-group {
display: flex;
flex-direction: row;
align-items: flex-start;
justify-content: space-between;
flex-direction: column;
align-items: stretch;
justify-content: flex-start;
[layout="row"] + [layout="row"] {
margin-top: -1 * 1em;
}
}
.msg-header-group .sg-md-body-multi.name,
.msg-header-group .sg-md-body-multi.name {}
.msg-date {
padding: $mg 0 0 $mg;
margin: $mg 0;
text-align: right;
}
.msg-header label {
font-size: sg-size(caption) - 1; // -1px to compensate for the uppercase and simulate Small caps
text-transform: uppercase;
margin-right: $mg;
width: ($pitch + $bl);
text-align: right;
line-height: $sg-line-height-2;
font-weight: 600;
color: $colorGray;
}
.mailer_mailcontent {
@extend .sg-md-body-multi;
}