mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-09 10:50:24 +00:00
Icons (#6106)
* [icon] replaced 'sf2-icon-caret-down' with the new 'sf3-font-more' * ['delete' icon] replaced all the 'sf2-icon-delete' icon with the new 'sf3-font-delete1' icon * [UI] modified the colors of the operation icons in pages
This commit is contained in:
@@ -640,11 +640,10 @@ class DirentListItem extends React.Component {
|
||||
<a href="#" className="op-icon sf2-icon-share" title={gettext('Share')} role="button" aria-label={gettext('Share')} onClick={this.onItemShare}></a>
|
||||
)}
|
||||
{(dirent.permission === 'rw' || dirent.permission === 'cloud-edit' || (isCustomPermission && canDelete)) && (
|
||||
<a href="#" className="op-icon sf2-icon-delete" title={gettext('Delete')} role="button" aria-label={gettext('Delete')} onClick={this.onItemDelete}></a>
|
||||
<a href="#" className="op-icon sf3-font-delete1 sf3-font" title={gettext('Delete')} role="button" aria-label={gettext('Delete')} onClick={this.onItemDelete}></a>
|
||||
)}
|
||||
<ItemDropdownMenu
|
||||
item={this.props.dirent}
|
||||
toggleClass={'sf2-icon-caret-down'}
|
||||
isHandleContextMenuEvent={true}
|
||||
getMenuList={this.props.getDirentItemMenuList}
|
||||
onMenuItemClick={this.onMenuItemClick}
|
||||
@@ -664,11 +663,10 @@ class DirentListItem extends React.Component {
|
||||
<a href="#" className="op-icon sf2-icon-share" title={gettext('Share')} role="button" aria-label={gettext('Share')} onClick={this.onItemShare}></a>
|
||||
)}
|
||||
{(dirent.permission === 'rw' || dirent.permission === 'cloud-edit' || (isCustomPermission && canDelete)) && (
|
||||
<a href="#" className="op-icon sf2-icon-delete" title={gettext('Delete')} role="button" aria-label={gettext('Delete')} onClick={this.onItemDelete}></a>
|
||||
<a href="#" className="op-icon sf3-font-delete1 sf3-font" title={gettext('Delete')} role="button" aria-label={gettext('Delete')} onClick={this.onItemDelete}></a>
|
||||
)}
|
||||
<ItemDropdownMenu
|
||||
item={this.props.dirent}
|
||||
toggleClass={'sf2-icon-caret-down'}
|
||||
isHandleContextMenuEvent={true}
|
||||
getMenuList={this.props.getDirentItemMenuList}
|
||||
onMenuItemClick={this.onMenuItemClick}
|
||||
|
Reference in New Issue
Block a user