fix icon and layout details for new menu
This commit is contained in:
parent
59273a8863
commit
69b6358df6
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
})();
|
||||
|
||||
|
|
|
@ -637,12 +637,6 @@ em {
|
|||
opacity: .5;
|
||||
}
|
||||
|
||||
.popovermenu .menuitem {
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
|
||||
filter: alpha(opacity=50);
|
||||
opacity: .5;
|
||||
}
|
||||
|
||||
.popovermenu .menuitem:hover,
|
||||
.popovermenu .menuitem:focus {
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
|
||||
|
@ -681,12 +675,11 @@ em {
|
|||
padding: 0;
|
||||
}
|
||||
|
||||
|
||||
.popovermenu .menuitem .icon,
|
||||
.popovermenu .menuitem .no-icon {
|
||||
display: inline-block;
|
||||
width: 16px;
|
||||
margin-right: 5px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.popovermenu .menuitem {
|
||||
|
@ -696,4 +689,3 @@ em {
|
|||
.popovermenu li:hover .menuitem {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue