Restyle first run hint

// FREEBIE
This commit is contained in:
lilia 2015-11-27 15:43:45 -08:00
parent 52b039a900
commit 152f59cc95
4 changed files with 17 additions and 4 deletions

View File

@ -22,11 +22,11 @@
<div class='new-contact contact hide'></div>
</div>
</div>
<div class='conversation-stack'></div>
<div class='conversation-stack'>
</div>
</script>
<script type='text/x-tmpl-mustache' id='hint'>
<h3>Start here</h3>
<p>Search your groups and contacts by name or phone number.</p>
<p> Select a contact to start chatting. </p>
</script>
<script type='text/x-tmpl-mustache' id='conversation'>
<div class='panel'>

View File

@ -6,7 +6,7 @@
window.Whisper = window.Whisper || {};
Whisper.HintView = Whisper.View.extend({
className: 'firstRun hint',
className: 'conversation placeholder',
templateName: 'hint',
});
})();

View File

@ -217,3 +217,11 @@ input.search {
}
}
}
.conversation.placeholder {
p {
color: $grey;
text-align: center;
margin-top: 120px;
}
}

View File

@ -536,6 +536,11 @@ input.search {
border-color: transparent #2eace0 transparent transparent;
left: -30px; }
.conversation.placeholder p {
color: #616161;
text-align: center;
margin-top: 120px; }
.conversation {
background-color: #ffffff;
margin: 10px;