2014-09-23 09:41:37 -04:00
|
|
|
// Mail list wrapper
|
|
|
|
//
|
|
|
|
// Two-column layout in tablet mode (medium screens).
|
|
|
|
|
|
|
|
.mail-list-wrapper {
|
|
|
|
$aside-width: 344px;
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
&__aside {
|
|
|
|
display: none;
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
@include respond-to(md-only) {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: $aside-width;
|
|
|
|
border-right: 1px solid $color-border-light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&__container {
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
@include respond-to(md-only) {
|
|
|
|
position: absolute;
|
|
|
|
left: $aside-width;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Modifier to open sidebar
|
|
|
|
&--show-aside {
|
2014-11-29 04:07:09 -05:00
|
|
|
@include respond-to(smaller-md) {
|
2014-09-23 09:41:37 -04:00
|
|
|
.mail-list-wrapper__aside {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.mail-list-wrapper__container {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|