Put the quota bar to the bottom

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2017-06-12 17:03:54 -05:00 committed by Lukas Reschke
parent b481fa40ef
commit 2fe2b5a1d0
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
3 changed files with 15 additions and 8 deletions

View File

@ -756,7 +756,12 @@ table.dragshadow td.size {
margin: 0 !important; margin: 0 !important;
border: none; border: none;
border-radius: 0; border-radius: 0;
background-color: transparent; position: fixed !important;
bottom: 44px;
width: inherit !important;
background-color: #fff;
border-right: 1px solid #eee;
z-index:1;
.quota-container { .quota-container {
height: 5px; height: 5px;
@ -769,6 +774,11 @@ table.dragshadow td.size {
} }
} }
/* increase the padding of the last item to not hide below the quota item */
.app-files #app-navigation > ul li:nth-last-child(1) {
margin-bottom: 44px;
}
#quotatext, #quotatext,
#quotatext-additional { #quotatext-additional {
padding: 0; padding: 0;

View File

@ -109,7 +109,7 @@
this._onPopState(urlParams); this._onPopState(urlParams);
$('#quota.has-tooltip').tooltip({ $('#quota.has-tooltip').tooltip({
placement: 'bottom' placement: 'top'
}); });
this._debouncedPersistShowHiddenFilesState = _.debounce(this._persistShowHiddenFilesState, 1200); this._debouncedPersistShowHiddenFilesState = _.debounce(this._persistShowHiddenFilesState, 1200);

View File

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