Elastic: Add default icon on Settings/Preferences lists for external plugins (#6814)

pull/6839/head
Aleksander Machniak 5 years ago
parent 8f895cb17f
commit 598cc5f42f

@ -33,6 +33,7 @@ CHANGELOG Roundcube Webmail
- Elastic: Fix keyboard navigation in some menus, e.g. the contact menu
- Elastic: Fix visual issue with long buttons in .boxwarning (#6797)
- Elastic: Fix handling new-line in text pasted to a recipient input
- Elastic: Add default icon on Settings/Preferences lists for external plugins (#6814)
- Larry: Fix regression where menu actions didn't work with keyboard (#6740)
- ACL: Display user/group names (from ldap) instead of acl identifier
- Password: Added ldap_exop driver (#4992)

@ -392,5 +392,14 @@ body.task-error-login #layout {
}
}
/*** Settings UI ***/
// A default icon for settings menu entries added by plugins
.settings-default-icon {
tr > td.section::before,
li > a:before {
content: @fa-var-cog;
}
}
@import "_styles";

@ -4,7 +4,7 @@
<span id="aria-label-settingstabs" class="header-title"><roundcube:label name="settings" /></span>
</div>
<div class="scroller">
<ul id="settings-menu" class="listing iconized<roundcube:exp expression="!request:_action ? ' selection-large-only' : ''"/>">
<ul id="settings-menu" class="listing iconized settings-default-icon<roundcube:exp expression="!request:_action ? ' selection-large-only' : ''"/>">
<roundcube:object name="settingstabs" class="listitem" tagname="li" />
<roundcube:container name="tabs" id="settings-menu" />
</ul>

@ -10,8 +10,8 @@
<span id="aria-label-prefsection" class="header-title"><roundcube:label name="preferences" /></span>
</div>
<div class="scroller">
<roundcube:object name="sectionslist" id="sections-table" class="listing iconized" noheader="true"
role="listbox" data-list="sections_list" />
<roundcube:object name="sectionslist" id="sections-table" class="listing iconized settings-default-icon"
noheader="true" role="listbox" data-list="sections_list" />
</div>
</div>

Loading…
Cancel
Save