(css,html) Improve display of mailboxes list

This commit is contained in:
Francis Lachapelle
2016-11-09 10:18:12 -05:00
parent 7f2dabc30c
commit c596bacccb
3 changed files with 30 additions and 11 deletions
@@ -98,6 +98,23 @@ md-sidenav {
}
}
}
// Hide the label (which contains an icon) if the checkbox is enabled ..
.md-label {
display: none;
}
// .. but show the label and hide the checkbox when disabled (no children)
&[disabled] {
.md-container {
width: 0;
&:after {
content: '';
}
}
.md-label {
display: inline-block;
margin-left: 0;
}
}
}
}
.sg-item-name {