Elastic: Fix links list style (inherited from .attachmentslist)
This commit is contained in:
parent
c602c002c6
commit
6181c8d65e
6 changed files with 27 additions and 20 deletions
|
@ -792,7 +792,7 @@ function rcube_kolab_notes_ui(settings)
|
||||||
.addClass('message eml')
|
.addClass('message eml')
|
||||||
.append($('<a>')
|
.append($('<a>')
|
||||||
.attr('href', link.mailurl)
|
.attr('href', link.mailurl)
|
||||||
.addClass('messagelink')
|
.addClass('messagelink filename')
|
||||||
.text(link.subject || link.uri)
|
.text(link.subject || link.uri)
|
||||||
)
|
)
|
||||||
.appendTo(attachmentslist);
|
.appendTo(attachmentslist);
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<roundcube:object name="plugin.editform" id="noteform" class="noteform" />
|
<roundcube:object name="plugin.editform" id="noteform" class="noteform" />
|
||||||
<roundcube:object name="plugin.detailview" id="notedetails" class="notedetails" />
|
<roundcube:object name="plugin.detailview" id="notedetails" class="notedetails" />
|
||||||
<div id="notereferences">
|
<div id="notereferences">
|
||||||
<roundcube:object name="plugin.attachments_list" id="attachment-list" class="attachmentslist" />
|
<roundcube:object name="plugin.attachments_list" id="attachment-list" class="attachmentslist linkslist" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -76,7 +76,7 @@
|
||||||
<roundcube:object name="plugin.detailview" id="notedetails" class="notedetails" />
|
<roundcube:object name="plugin.detailview" id="notedetails" class="notedetails" />
|
||||||
<h3 id="aria-label-messagereferences" class="voice"><roundcube:label name="kolab_notes.arialabelmessagereferences" /></h3>
|
<h3 id="aria-label-messagereferences" class="voice"><roundcube:label name="kolab_notes.arialabelmessagereferences" /></h3>
|
||||||
<div id="notereferences" class="notereferences" role="region" aria-labelledby="aria-label-messagereferences">
|
<div id="notereferences" class="notereferences" role="region" aria-labelledby="aria-label-messagereferences">
|
||||||
<roundcube:object name="plugin.attachments_list" id="attachment-list" class="attachmentslist" />
|
<roundcube:object name="plugin.attachments_list" id="attachment-list" class="attachmentslist linkslist" />
|
||||||
</div>
|
</div>
|
||||||
<roundcube:container name="notedetailview" id="notedetailsbox" />
|
<roundcube:container name="notedetailview" id="notedetailsbox" />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1106,7 +1106,7 @@ function rcube_libcalendaring(settings)
|
||||||
// Render message reference links to the given container
|
// Render message reference links to the given container
|
||||||
this.render_message_links = function(links, container, edit, plugin)
|
this.render_message_links = function(links, container, edit, plugin)
|
||||||
{
|
{
|
||||||
var ul = $('<ul>').addClass('attachmentslist');
|
var ul = $('<ul>').addClass('attachmentslist linkslist');
|
||||||
|
|
||||||
$.each(links, function(i, link) {
|
$.each(links, function(i, link) {
|
||||||
if (!link.mailurl)
|
if (!link.mailurl)
|
||||||
|
@ -1115,7 +1115,7 @@ function rcube_libcalendaring(settings)
|
||||||
var li = $('<li>').addClass('link')
|
var li = $('<li>').addClass('link')
|
||||||
.addClass('message eml')
|
.addClass('message eml')
|
||||||
.append($('<a>')
|
.append($('<a>')
|
||||||
.attr({href: link.mailurl, 'class': 'messagelink'})
|
.attr({href: link.mailurl, 'class': 'messagelink filename'})
|
||||||
.text(link.subject || link.uri)
|
.text(link.subject || link.uri)
|
||||||
)
|
)
|
||||||
.appendTo(ul);
|
.appendTo(ul);
|
||||||
|
|
|
@ -361,21 +361,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.attachmentslist li.link {
|
|
||||||
&.message.eml:before {
|
|
||||||
content: @fa-var-envelope;
|
|
||||||
}
|
|
||||||
|
|
||||||
a.messagelink {
|
|
||||||
.overflow-ellipsis;
|
|
||||||
margin-right: .25rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
a.delete .inner {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.attachmentslist li.ics:before,
|
.attachmentslist li.ics:before,
|
||||||
.attachmentslist li.text.calendar:before,
|
.attachmentslist li.text.calendar:before,
|
||||||
.messagelist tbody .attachment span.ical:before {
|
.messagelist tbody .attachment span.ical:before {
|
||||||
|
|
|
@ -416,6 +416,28 @@ button.btn {
|
||||||
color: @color-black-shade-text;
|
color: @color-black-shade-text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.linkslist {
|
||||||
|
// Reset .attachmentslist style
|
||||||
|
border: 0 !important;
|
||||||
|
background: transparent !important;
|
||||||
|
|
||||||
|
li.link {
|
||||||
|
padding: 0;
|
||||||
|
|
||||||
|
&.message.eml:before {
|
||||||
|
content: @fa-var-envelope;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.messagelink {
|
||||||
|
.overflow-ellipsis;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.delete .inner {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.print-config {
|
.print-config {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue