From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +0800
Subject: [PATCH] 修改
---
app/components/explore/item-operation/index.tsx | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/app/components/explore/item-operation/index.tsx b/app/components/explore/item-operation/index.tsx
index 6fd11fd..9e081c1 100644
--- a/app/components/explore/item-operation/index.tsx
+++ b/app/components/explore/item-operation/index.tsx
@@ -52,33 +52,33 @@
<PortalToFollowElemTrigger
onClick={() => setOpen(v => !v)}
>
- <div className={cn(className, s.btn, 'h-6 w-6 rounded-md border-none py-1', (isItemHovering || open) && `${s.open} !bg-components-actionbar-bg !shadow-none`)}></div>
+ <div className={cn(className, s.btn, 'h-6 w-6 rounded-md border-none py-1', (isItemHovering || open) && `${s.open} !bg-gray-100 !shadow-none`)}></div>
</PortalToFollowElemTrigger>
<PortalToFollowElemContent
className="z-50"
>
<div
ref={ref}
- className={'min-w-[120px] rounded-lg border border-components-panel-border bg-components-panel-bg-blur p-1 shadow-lg backdrop-blur-[5px]'}
+ className={'min-w-[120px] p-1 bg-white rounded-lg border border--gray-200 shadow-lg'}
onMouseEnter={setIsHovering}
onMouseLeave={setNotHovering}
onClick={(e) => {
e.stopPropagation()
}}
>
- <div className={cn(s.actionItem, 'group hover:bg-state-base-hover')} onClick={togglePin}>
- <Pin02 className='h-4 w-4 shrink-0 text-text-secondary' />
+ <div className={cn(s.actionItem, 'hover:bg-gray-50 group')} onClick={togglePin}>
+ <Pin02 className='shrink-0 w-4 h-4 text-gray-500' />
<span className={s.actionName}>{isPinned ? t('explore.sidebar.action.unpin') : t('explore.sidebar.action.pin')}</span>
</div>
{isShowRenameConversation && (
- <div className={cn(s.actionItem, 'group hover:bg-state-base-hover')} onClick={onRenameConversation}>
- <RiEditLine className='h-4 w-4 shrink-0 text-text-secondary' />
+ <div className={cn(s.actionItem, 'hover:bg-gray-50 group')} onClick={onRenameConversation}>
+ <RiEditLine className='shrink-0 w-4 h-4 text-gray-500' />
<span className={s.actionName}>{t('explore.sidebar.action.rename')}</span>
</div>
)}
{isShowDelete && (
- <div className={cn(s.actionItem, s.deleteActionItem, 'group hover:bg-state-base-hover')} onClick={onDelete} >
- <RiDeleteBinLine className={cn(s.deleteActionItemChild, 'h-4 w-4 shrink-0 stroke-current stroke-2 text-text-secondary')} />
+ <div className={cn(s.actionItem, s.deleteActionItem, 'hover:bg-gray-50 group')} onClick={onDelete} >
+ <RiDeleteBinLine className={cn(s.deleteActionItemChild, 'shrink-0 w-4 h-4 stroke-current text-gray-500 stroke-2')} />
<span className={cn(s.actionName, s.deleteActionItemChild)}>{t('explore.sidebar.action.delete')}</span>
</div>
)}
--
Gitblit v1.8.0