From 47e7201eb6e45e4ade66a85ef73b7f1d1e0b833c Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Thu, 23 Apr 2015 11:02:11 -0400 Subject: [PATCH] added list avatar, make use of it --- UI/Templates/ContactsUI/UIxContactFoldersView.wox | 7 +++++-- UI/Templates/ContactsUI/UIxContactViewTemplate.wox | 7 +++++-- .../scss/components/autoScrollList/autoScrollList.scss | 7 ++++++- UI/WebServerResources/scss/components/list/list.scss | 9 ++++++++- 4 files changed, 24 insertions(+), 6 deletions(-) diff --git a/UI/Templates/ContactsUI/UIxContactFoldersView.wox b/UI/Templates/ContactsUI/UIxContactFoldersView.wox index 4fad8f40a..7af4135c0 100644 --- a/UI/Templates/ContactsUI/UIxContactFoldersView.wox +++ b/UI/Templates/ContactsUI/UIxContactFoldersView.wox @@ -238,8 +238,11 @@ ng-click="select($index); toggleDetailView()" layout="row" flex="true"> -
- +
+ +
+
+
diff --git a/UI/Templates/ContactsUI/UIxContactViewTemplate.wox b/UI/Templates/ContactsUI/UIxContactViewTemplate.wox index f06d19934..6d42e8f87 100644 --- a/UI/Templates/ContactsUI/UIxContactViewTemplate.wox +++ b/UI/Templates/ContactsUI/UIxContactViewTemplate.wox @@ -9,8 +9,11 @@
-
- +
+ +
+
+

diff --git a/UI/WebServerResources/scss/components/autoScrollList/autoScrollList.scss b/UI/WebServerResources/scss/components/autoScrollList/autoScrollList.scss index d4b813284..ddb43a7cb 100644 --- a/UI/WebServerResources/scss/components/autoScrollList/autoScrollList.scss +++ b/UI/WebServerResources/scss/components/autoScrollList/autoScrollList.scss @@ -92,7 +92,12 @@ } } .sg-avatar { - @extend .md-tile-left; + @extend .md-tile-left-card; + margin-right: 0; + margin-left: 0; +} +.sg-list-avatar { + @extend .md-tile-left-list; margin-right: 0; margin-left: 0; } diff --git a/UI/WebServerResources/scss/components/list/list.scss b/UI/WebServerResources/scss/components/list/list.scss index c5d63f074..fad31d853 100644 --- a/UI/WebServerResources/scss/components/list/list.scss +++ b/UI/WebServerResources/scss/components/list/list.scss @@ -71,8 +71,15 @@ div.md-tile-left { // Avatar placeholder // ------------------------------------ .md-tile-left:before { - content: "\f251"; font-family: 'Material Design Iconic Font'; font-size: 40px; color: rgba(0, 0, 0, 0.26); } +.md-tile-left-card:before { + @extend .md-tile-left; + content: "\f251"; +} +.md-tile-left-list:before { + @extend .md-tile-left; + content: "\f2d4"; +} \ No newline at end of file