Replace specific list-view by generic (class-based) view

pull/91/head
Benoit Favreault 2015-03-25 17:00:53 -04:00 committed by Francis Lachapelle
parent 660af9abfd
commit 78da72f3cb
4 changed files with 14 additions and 9 deletions

View File

@ -247,7 +247,7 @@
<div layout="row" class="md-flex" layout-align="space-between">
<md-content style="position: relative;" id="contactsList">
<md-content class="view-list" style="position: relative;" id="contactsList">
<style>
.vs-repeat-repeated-element {
width: 100%;

View File

@ -2,7 +2,7 @@
<container
xmlns="http://www.w3.org/1999/xhtml"
>
<md-content style="position: relative;" id="messagesList">
<md-content class="view-list" style="position: relative;" id="messagesList">
<style>
.vs-repeat-repeated-element {
width: 100%;

View File

@ -1,10 +1,5 @@
/*! ContactUI.scss */
[id ="contactsList"] {
flex: 0 1 $listView-width;
min-width: ($listView-width - ($pitch * 2));
}
[id = "contactsList"] .sg-md-subheader {
transform: translateY(-100%); // Compensate the container top-margin
}

View File

@ -21,9 +21,19 @@
$listView-width: grid-step(6) !global;
$detailView-width: grid-step(8) !global;
[id="messagesList"] {
flex: 0 0 $listView-width;
//[id="messagesList"] {
// flex: 0 0 $listView-width;
//
//}
//
//[id ="contactsList"] {
// flex: 0 1 $listView-width;
// min-width: ($listView-width - ($pitch * 2));
//}
.view-list {
flex: 0 1 $listView-width;
min-width: ($listView-width - ($pitch * 2));
}
.view-detail {