diff --git a/shiny/Contacts-v2/components/contacts-app.html b/shiny/Contacts-v2/components/contacts-app.html index 6ff2c07..ef53d64 100644 --- a/shiny/Contacts-v2/components/contacts-app.html +++ b/shiny/Contacts-v2/components/contacts-app.html @@ -22,11 +22,12 @@ font-family: 'Helvetica Neue Medium', HelveticaNeue-Medium, Helvetica, sans-serif; box-sizing: border-box; height: 60px; - padding: 20px; + padding: 0 20px; } .contactItem.header { font-variant: small-caps; color: #9e9e9e; + padding: 20px; } /* @polyfill .contactItem:nth-child(3) */ .contactItem:nth-child(2) { @@ -51,9 +52,9 @@ - + - + @@ -68,8 +69,11 @@ addContactAction: function() { this.page = 2; }, - detailShrinkAction: function() { + shrinkAction: function() { this.page = 0; + }, + contactCreateAction: function(e, detail, sender) { + this.selectedContact = detail; } }); diff --git a/shiny/Contacts-v2/components/contacts-create-item.html b/shiny/Contacts-v2/components/contacts-create-item.html index f2f31dd..488a148 100644 --- a/shiny/Contacts-v2/components/contacts-create-item.html +++ b/shiny/Contacts-v2/components/contacts-create-item.html @@ -1,8 +1,9 @@ + - + \ No newline at end of file diff --git a/shiny/Contacts-v2/components/contacts-icon.html b/shiny/Contacts-v2/components/contacts-icon.html index dc558dd..043b560 100644 --- a/shiny/Contacts-v2/components/contacts-icon.html +++ b/shiny/Contacts-v2/components/contacts-icon.html @@ -23,8 +23,11 @@ height: 64px; line-height: 64px; } + .contactIcon.large.noinitials { + background-image: url(http://placekitten.com/g/160/160); + } -
+
{{contact.initials}}