1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-22 11:57:34 +00:00
* [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:
llj
2024-05-23 12:09:54 +08:00
committed by GitHub
parent 84381426d5
commit 5c0518ef22
32 changed files with 45 additions and 41 deletions

View File

@@ -50,7 +50,7 @@ class TagListItem extends React.Component {
<TagColor repoID={repoID} tag={item} />
<TagName repoID={repoID} tag={item} />
<button
className={`tag-delete-icon sf2-icon-delete border-0 px-0 bg-transparent cursor-pointer ${isTagHighlighted ? '' : 'invisible'}`}
className={`tag-delete-icon sf3-font-delete1 sf3-font border-0 px-0 bg-transparent cursor-pointer ${isTagHighlighted ? '' : 'invisible'}`}
onClick={this.deleteTag}
aria-label={gettext('Delete')}
title={gettext('Delete')}

View File

@@ -47,7 +47,7 @@ export default class VirtualTagListItem extends React.Component {
<VirtualTagColor repoID={repoID} tag={item} updateVirtualTag={this.props.updateVirtualTag} />
<VirtualTagName repoID={repoID} tag={item} updateVirtualTag={this.props.updateVirtualTag} />
<button
className={`tag-delete-icon sf2-icon-delete border-0 px-0 bg-transparent cursor-pointer ${isTagHighlighted ? '' : 'invisible'}`}
className={`tag-delete-icon sf3-font-delete1 sf3-font border-0 px-0 bg-transparent cursor-pointer ${isTagHighlighted ? '' : 'invisible'}`}
onClick={this.deleteVirtualTag}
aria-label={gettext('Delete')}
title={gettext('Delete')}