2013-09-16 13:46:04 -04:00
|
|
|
.mail-list {
|
2013-10-18 20:57:15 -04:00
|
|
|
$padding-vertical: 9px;
|
2013-09-16 13:46:04 -04:00
|
|
|
$padding-horizontal: 30px;
|
|
|
|
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
2014-06-16 06:18:31 -04:00
|
|
|
& > li {
|
2014-02-20 13:20:24 -05:00
|
|
|
position: relative;
|
2013-09-16 13:46:04 -04:00
|
|
|
display: block;
|
|
|
|
padding: $padding-vertical $padding-horizontal;
|
|
|
|
background: $color-white;
|
|
|
|
cursor: pointer;
|
2013-09-19 06:36:57 -04:00
|
|
|
transition: background-color $time-li-fade, color $time-li-fade;
|
2013-09-16 13:46:04 -04:00
|
|
|
|
2014-06-16 09:48:02 -04:00
|
|
|
margin-top: 11px;
|
|
|
|
&:before {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: -6px;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
height: 0;
|
2014-06-17 05:46:49 -04:00
|
|
|
border-top: 1px solid $color-grey-lighter;
|
2014-06-16 09:48:02 -04:00
|
|
|
}
|
2014-06-16 07:59:40 -04:00
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
box-shadow: none;
|
|
|
|
border-top: 0;
|
|
|
|
margin-top: 0;
|
2014-06-16 09:48:02 -04:00
|
|
|
&:before {
|
|
|
|
display: none;
|
|
|
|
}
|
2014-06-16 07:59:40 -04:00
|
|
|
}
|
2014-06-16 06:18:31 -04:00
|
|
|
&:last-child {
|
2014-06-16 07:59:40 -04:00
|
|
|
margin-bottom: 5px;
|
2014-06-16 06:18:31 -04:00
|
|
|
}
|
|
|
|
|
2014-04-23 10:30:29 -04:00
|
|
|
&.ng-animate {
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
|
2013-09-16 13:46:04 -04:00
|
|
|
h3 {
|
|
|
|
@include text-overflow;
|
|
|
|
|
|
|
|
color: $color-blue;
|
|
|
|
font-size: $font-size-bigger;
|
|
|
|
font-weight: normal;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2014-02-20 13:20:24 -05:00
|
|
|
|
|
|
|
.encrypted {
|
|
|
|
position: absolute;
|
|
|
|
color: $color-grey-medium;
|
|
|
|
line-height: 30px;
|
|
|
|
top: $padding-vertical;
|
|
|
|
right: $padding-vertical;
|
|
|
|
}
|
|
|
|
|
2013-09-16 13:46:04 -04:00
|
|
|
p {
|
|
|
|
font-size: $font-size-small;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2014-02-20 13:20:24 -05:00
|
|
|
|
2013-09-16 13:46:04 -04:00
|
|
|
.head {
|
|
|
|
position: relative;
|
|
|
|
padding-right: 6.5em;
|
2013-09-18 17:15:22 -04:00
|
|
|
margin-bottom: 0.25em;
|
2013-09-16 13:46:04 -04:00
|
|
|
|
|
|
|
.subject {
|
|
|
|
@include text-overflow;
|
|
|
|
|
|
|
|
color: $color-grey-dark;
|
|
|
|
font-weight: bold;
|
2013-09-18 17:15:22 -04:00
|
|
|
line-height: 1.5em;
|
2013-09-16 13:46:04 -04:00
|
|
|
}
|
|
|
|
time {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
width: 6em * ($font-size-small / $font-size-smaller);
|
2014-04-01 06:14:10 -04:00
|
|
|
color: $color-grey-medium;
|
2013-09-16 13:46:04 -04:00
|
|
|
font-size: $font-size-smaller;
|
|
|
|
text-align: right;
|
2013-09-18 17:15:22 -04:00
|
|
|
line-height: 1.5em * ($font-size-small / $font-size-smaller);
|
2013-09-16 13:46:04 -04:00
|
|
|
}
|
2014-06-16 06:18:31 -04:00
|
|
|
}
|
|
|
|
.flags {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
list-style: none;
|
|
|
|
margin: 0.8em 0 0;
|
|
|
|
padding: 0;
|
|
|
|
color: $color-grey-medium;
|
|
|
|
width: 30px;
|
|
|
|
line-height: 1.6em;
|
|
|
|
& > li {
|
|
|
|
font-size: 90%;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
&:nth-child(1) {
|
|
|
|
&:after {
|
|
|
|
display: inline-block;
|
|
|
|
content: '';
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
border-radius: 50%;
|
|
|
|
background-color: $color-blue;
|
|
|
|
}
|
|
|
|
}
|
2013-09-16 13:46:04 -04:00
|
|
|
}
|
|
|
|
}
|
2014-02-20 13:20:24 -05:00
|
|
|
|
2013-09-16 13:46:04 -04:00
|
|
|
.body {
|
|
|
|
color: $color-grey;
|
2013-09-18 17:15:22 -04:00
|
|
|
height: 2.5em;
|
|
|
|
overflow: hidden;
|
2013-09-16 13:46:04 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: mix($color-white, $color-blue, 90%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mail-list-active,
|
|
|
|
&.mail-list-active:hover {
|
|
|
|
background-color: $color-blue;
|
|
|
|
color: $color-white;
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
color: $color-white;
|
2014-02-20 13:20:24 -05:00
|
|
|
}
|
|
|
|
.encrypted {
|
|
|
|
color: $color-white;
|
2013-09-16 13:46:04 -04:00
|
|
|
}
|
|
|
|
.head {
|
|
|
|
.subject {
|
|
|
|
color: $color-white;
|
|
|
|
}
|
|
|
|
time {
|
|
|
|
color: $color-white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.body {
|
|
|
|
color: $color-white;
|
|
|
|
}
|
2014-06-16 07:59:40 -04:00
|
|
|
.flags {
|
|
|
|
& > li {
|
2013-09-16 13:46:04 -04:00
|
|
|
color: $color-white;
|
2014-06-16 07:59:40 -04:00
|
|
|
|
|
|
|
&:nth-child(1) {
|
|
|
|
&:after {
|
|
|
|
background-color: $color-white;
|
|
|
|
}
|
|
|
|
}
|
2013-09-16 13:46:04 -04:00
|
|
|
}
|
|
|
|
}
|
2014-06-16 07:59:40 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
@include respond-to(desktop) {
|
|
|
|
margin-top: 0;
|
2014-06-16 09:48:02 -04:00
|
|
|
margin-bottom: 7px;
|
|
|
|
&:before {
|
|
|
|
display: none;
|
|
|
|
}
|
2014-06-16 07:59:40 -04:00
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
2013-09-16 13:46:04 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|