Move trashbin specific CSS that modifies sidebar

Only when trashbin is enabled, its sidebar nav element must be fixed at
the bottom.
This commit is contained in:
Vincent Petry 2015-10-12 11:39:04 +02:00
parent 179c0be158
commit 783971422c
3 changed files with 18 additions and 14 deletions

View file

@ -85,19 +85,6 @@
background-image: url('../img/delete.svg');
}
/* move Deleted Files to bottom of sidebar */
.nav-trashbin {
position: fixed !important;
bottom: 44px;
width: inherit !important;
background-color: #fff;
border-right: 1px solid #eee;
}
/* double padding to account for Deleted files entry, issue with Firefox */
.app-files #app-navigation > ul li:nth-last-child(2) {
margin-bottom: 44px;
}
#app-navigation .nav-files a.nav-icon-files {
width: auto;
}

View file

@ -18,3 +18,21 @@
#app-content-trashbin #filestable .summary .filesize {
display: none;
}
#app-navigation > ul {
padding-bottom: 44px;
}
/* move Deleted Files to bottom of sidebar */
.nav-trashbin {
position: fixed !important;
bottom: 44px;
width: inherit !important;
background-color: #fff;
border-right: 1px solid #eee;
}
/* double padding to account for Deleted files entry, issue with Firefox */
.app-files #app-navigation > ul li:nth-last-child(2) {
margin-bottom: 44px;
}

View file

@ -35,7 +35,6 @@
height: 100%;
width: inherit;
overflow: auto;
padding-bottom: 44px;
-moz-box-sizing: border-box; box-sizing: border-box;
}
#app-navigation li {