summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorErik Pellikka <erik@pellikka.org>2016-03-23 07:31:58 -0400
committerThomas Müller <thomas.mueller@tmit.eu>2016-03-24 11:57:40 +0100
commit50655cbf7f689c2926bbfbd007887ba5cad75c2a (patch)
tree1a26865513c86022c16a013c8ebf76edd6ed274f /apps/files
parenta355e3abe383ea3fbb955db2efa2d10dc07268e5 (diff)
downloadnextcloud-server-50655cbf7f689c2926bbfbd007887ba5cad75c2a.tar.gz
nextcloud-server-50655cbf7f689c2926bbfbd007887ba5cad75c2a.zip
sidebar click modification
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/css/files.css20
-rw-r--r--apps/files/js/filelist.js3
2 files changed, 19 insertions, 4 deletions
diff --git a/apps/files/css/files.css b/apps/files/css/files.css
index bfa5340fe09..d20ab102ba5 100644
--- a/apps/files/css/files.css
+++ b/apps/files/css/files.css
@@ -468,6 +468,7 @@ html.ie8 #fileList tr.selected td.filename>.selectCheckBox {
position: relative;
width: 100%;
padding-left: 0;
+ padding-right:0;
-webkit-transition:background-image 500ms; -moz-transition:background-image 500ms; -o-transition:background-image 500ms; transition:background-image 500ms;
}
@@ -572,13 +573,26 @@ html.ie8 .column-mtime .selectedActions {
opacity: 0;
display:none;
}
-#fileList a.action.action-share,
-#fileList a.action.action-menu {
+#fileList a.action.action-share {
padding: 17px 14px;
}
+#fileList a.action.action-menu {
+ padding-top: 17px;
+ padding-bottom: 17px;
+ padding-left:14px;
+ padding-right:0px;
+}
+
+#fileList .filesize {
+ padding-top:0px;
+ padding-bottom:0px;
+ padding-left:60px;
+ padding-right:15px;
+}
+
#fileList .popovermenu {
- margin-right: 21px;
+ margin-right: -5px;
}
.ie8 #fileList .popovermenu {
margin-top: -10px;
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index bfcc77d8999..842ec4aac73 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -271,7 +271,8 @@
this.updateSearch();
- this.$fileList.on('click','td.filename>a.name', _.bind(this._onClickFile, this));
+ this.$fileList.on('click','td.filename>a.name, td.filesize, td.date', _.bind(this._onClickFile, this));
+
this.$fileList.on('change', 'td.filename>.selectCheckBox', _.bind(this._onClickFileCheckbox, this));
this.$el.on('urlChanged', _.bind(this._onUrlChanged, this));
this.$el.find('.select-all').click(_.bind(this._onClickSelectAll, this));