summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-10-12 11:39:04 +0200
committerVincent Petry <pvince81@owncloud.com>2015-10-12 11:39:04 +0200
commit783971422cfd868a3f37377b9e99844a36aa0004 (patch)
tree09f5d290ed2956cfa48457e36ba22053ed6a161e
parent179c0be158a938e720713e38dfd98bcfd43c07f5 (diff)
downloadnextcloud-server-783971422cfd868a3f37377b9e99844a36aa0004.tar.gz
nextcloud-server-783971422cfd868a3f37377b9e99844a36aa0004.zip
Move trashbin specific CSS that modifies sidebar
Only when trashbin is enabled, its sidebar nav element must be fixed at the bottom.
-rw-r--r--apps/files/css/files.css13
-rw-r--r--apps/files_trashbin/css/trash.css18
-rw-r--r--core/css/apps.css1
3 files changed, 18 insertions, 14 deletions
diff --git a/apps/files/css/files.css b/apps/files/css/files.css
index d0a2cce1a86..bdb02c20546 100644
--- a/apps/files/css/files.css
+++ b/apps/files/css/files.css
@@ -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;
}
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;
+}
+
diff --git a/core/css/apps.css b/core/css/apps.css
index 3122a2b48a1..4d3d3e39a37 100644
--- a/core/css/apps.css
+++ b/core/css/apps.css
@@ -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 {