mirror of
https://github.com/moparisthebest/mail
synced 2025-02-07 10:30:18 -05:00
add scrolling to mail list and add footer
This commit is contained in:
parent
791c318c8f
commit
03075942ed
@ -135,7 +135,7 @@ define(function(require) {
|
||||
"Best regards\nYour whiteout team"; // plaintext body
|
||||
};
|
||||
|
||||
var dummys = [new Email(true, true), new Email(true), new Email(false, true, true), new Email(false), new Email(false), new Email(false)];
|
||||
var dummys = [new Email(true, true), new Email(true), new Email(false, true, true), new Email(false), new Email(false), new Email(false), new Email(false), new Email(false), new Email(false), new Email(false), new Email(false), new Email(false), new Email(false), new Email(false), new Email(false), new Email(false), new Email(false), new Email(false)];
|
||||
|
||||
callback(dummys);
|
||||
}
|
||||
|
@ -8,6 +8,10 @@
|
||||
background-image: linear-gradient(to right ,$color-grey-lightest 98%, darken($color-grey-lightest, 1%) 100%);
|
||||
border-right: 1px solid $color-grey-light;
|
||||
|
||||
::-webkit-scrollbar {
|
||||
width: 0px;
|
||||
}
|
||||
|
||||
header {
|
||||
|
||||
cursor: pointer;
|
||||
@ -32,5 +36,21 @@
|
||||
|
||||
ul {
|
||||
padding: 0 $padding-horizontal;
|
||||
max-height: 100%;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
footer {
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
left: 0px;
|
||||
padding: 0 $nav-padding;
|
||||
background: darken($color-grey-lightest, 1%);
|
||||
height: 28px;
|
||||
width: $content-nav-width;
|
||||
border-right: 1px solid $color-grey-light;
|
||||
font-size: $font-size-smaller;
|
||||
color: $color-grey-dark;
|
||||
line-height: em(28,12);
|
||||
}
|
||||
}
|
@ -12,4 +12,8 @@
|
||||
</div>
|
||||
<p class="body">{{email.body}}</p>
|
||||
</li>
|
||||
</ul><!--/.mail-list-->
|
||||
</ul><!--/.mail-list-->
|
||||
|
||||
<footer>
|
||||
Last update: 12:22 PM
|
||||
</footer>
|
Loading…
Reference in New Issue
Block a user