mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
adjust add button
Signed-off-by: Simon L <szaimen@e.mail.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
parent
8065a2f635
commit
cfd0f2c198
4 changed files with 14 additions and 7 deletions
|
|
@ -858,7 +858,7 @@ table.dragshadow td.size {
|
|||
|
||||
/* Center triangle */
|
||||
&::after {
|
||||
left: 61px !important;
|
||||
left: 74px !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -941,6 +941,10 @@ table.dragshadow td.size {
|
|||
|
||||
.app-files .actions .button.new {
|
||||
position: relative;
|
||||
width: unset;
|
||||
gap: 5px;
|
||||
background-color: var(--color-primary-element-light);
|
||||
color: var(--color-primary-element-light-text);
|
||||
}
|
||||
|
||||
.breadcrumb {
|
||||
|
|
|
|||
|
|
@ -3846,7 +3846,8 @@
|
|||
return;
|
||||
}
|
||||
var $newButton = $(OCA.Files.Templates['template_addbutton']({
|
||||
addText: t('files', 'New file/folder menu'),
|
||||
addText: t('files', 'New'),
|
||||
addLongText: t('files', 'New file/folder menu'),
|
||||
iconClass: 'icon-add',
|
||||
}));
|
||||
|
||||
|
|
|
|||
|
|
@ -419,10 +419,12 @@ templates['template_addbutton'] = template({"compiler":[8,">= 4.3.0"],"main":fun
|
|||
return undefined
|
||||
};
|
||||
|
||||
return "<a href=\"#\" class=\"button new\">\n <span class=\"icon "
|
||||
return "<a href=\"#\" class=\"button new\" aria-label=\""
|
||||
+ alias4(((helper = (helper = lookupProperty(helpers,"addLongText") || (depth0 != null ? lookupProperty(depth0,"addLongText") : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"addLongText","hash":{},"data":data,"loc":{"start":{"line":1,"column":43},"end":{"line":1,"column":58}}}) : helper)))
|
||||
+ "\">\n <span class=\"icon "
|
||||
+ alias4(((helper = (helper = lookupProperty(helpers,"iconClass") || (depth0 != null ? lookupProperty(depth0,"iconClass") : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"iconClass","hash":{},"data":data,"loc":{"start":{"line":2,"column":19},"end":{"line":2,"column":32}}}) : helper)))
|
||||
+ "\"></span>\n <span class=\"hidden-visually\">"
|
||||
+ alias4(((helper = (helper = lookupProperty(helpers,"addText") || (depth0 != null ? lookupProperty(depth0,"addText") : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"addText","hash":{},"data":data,"loc":{"start":{"line":3,"column":31},"end":{"line":3,"column":42}}}) : helper)))
|
||||
+ "\"></span>\n <span>"
|
||||
+ alias4(((helper = (helper = lookupProperty(helpers,"addText") || (depth0 != null ? lookupProperty(depth0,"addText") : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"addText","hash":{},"data":data,"loc":{"start":{"line":3,"column":7},"end":{"line":3,"column":18}}}) : helper)))
|
||||
+ "</span>\n</a>\n";
|
||||
},"useData":true});
|
||||
})();
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
<a href="#" class="button new">
|
||||
<a href="#" class="button new" aria-label="{{addLongText}}">
|
||||
<span class="icon {{iconClass}}"></span>
|
||||
<span class="hidden-visually">{{addText}}</span>
|
||||
<span>{{addText}}</span>
|
||||
</a>
|
||||
|
|
|
|||
Loading…
Reference in a new issue