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:
parent
179c0be158
commit
783971422c
3 changed files with 18 additions and 14 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue