Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-10-12 12:39:04 +0300
committerVincent Petry <pvince81@owncloud.com>2015-10-12 12:39:04 +0300
commit783971422cfd868a3f37377b9e99844a36aa0004 (patch)
tree09f5d290ed2956cfa48457e36ba22053ed6a161e /apps/files_trashbin
parent179c0be158a938e720713e38dfd98bcfd43c07f5 (diff)
Move trashbin specific CSS that modifies sidebar
Only when trashbin is enabled, its sidebar nav element must be fixed at the bottom.
Diffstat (limited to 'apps/files_trashbin')
-rw-r--r--apps/files_trashbin/css/trash.css18
1 files changed, 18 insertions, 0 deletions
diff --git a/apps/files_trashbin/css/trash.css b/apps/files_trashbin/css/trash.css
index 15a9249d7b2..053e2e7002c 100644
--- a/apps/files_trashbin/css/trash.css
+++ b/apps/files_trashbin/css/trash.css
@@ -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;
+}
+