summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2015-09-03 00:58:03 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2015-09-03 00:58:03 +0200
commit69b6358df67e667bd1553ab6c9be2fa30db7c57c (patch)
tree41df3eb6e98455f8b286ac0e882a0a88bd85c0de /apps
parent59273a8863ecc0aa570f56e024cb1a22d424111a (diff)
downloadnextcloud-server-69b6358df67e667bd1553ab6c9be2fa30db7c57c.tar.gz
nextcloud-server-69b6358df67e667bd1553ab6c9be2fa30db7c57c.zip
fix icon and layout details for new menu
Diffstat (limited to 'apps')
-rw-r--r--apps/files/css/files.css10
-rw-r--r--apps/files/js/newfilemenu.js5
2 files changed, 11 insertions, 4 deletions
diff --git a/apps/files/css/files.css b/apps/files/css/files.css
index 97b2a0c451e..5c27515f26a 100644
--- a/apps/files/css/files.css
+++ b/apps/files/css/files.css
@@ -743,6 +743,15 @@ table.dragshadow td.size {
text-overflow: ellipsis;
overflow: hidden;
}
+.newFileMenu.popovermenu .menuitem .icon {
+ margin-bottom: -2px;
+}
+.newFileMenu.popovermenu a.menuitem,
+.newFileMenu.popovermenu label.menuitem,
+.newFileMenu.popovermenu .menuitem {
+ padding: 0;
+ margin: 0;
+}
.newFileMenu.bubble:after {
left: 75px;
@@ -768,4 +777,3 @@ table.dragshadow td.size {
color: #000;
padding: 0;
}
-
diff --git a/apps/files/js/newfilemenu.js b/apps/files/js/newfilemenu.js
index c851096bd8f..c7c02bd65f1 100644
--- a/apps/files/js/newfilemenu.js
+++ b/apps/files/js/newfilemenu.js
@@ -114,7 +114,7 @@
}));
//this.trigger('actionPerformed', action);
- $target.append($form);
+ $target.append($form);
// here comes the OLD code
var $input = $form.find('input');
@@ -201,7 +201,7 @@
id: 'file',
displayName: t('files', 'Text file'),
templateName: t('files', 'New text file.txt'),
- iconClass: 'icon-text',
+ iconClass: 'icon-filetype-text',
fileType: 'file'
}, {
id: 'folder',
@@ -234,4 +234,3 @@
OCA.Files.NewFileMenu = NewFileMenu;
})();
-