添加背景页面右边栏颜色选中风格与色阶栏保持一致

This commit is contained in:
jingrow 2026-01-21 16:50:32 +08:00
parent 23dfa9278d
commit 951813a539

View File

@ -1814,6 +1814,9 @@ const removeHistoryItem = (index: number) => {
transition: all 0.15s ease;
position: relative;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
display: flex;
align-items: center;
justify-content: center;
&:hover {
transform: scale(1.08);
@ -1822,20 +1825,18 @@ const removeHistoryItem = (index: number) => {
}
&.active {
border-color: #1fc76f;
box-shadow: 0 0 0 3px rgba(31, 199, 111, 0.25);
transform: scale(1.15);
&::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 10px;
height: 10px;
background: white;
border-radius: 50%;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
transform: translate(-50%, -50%) rotate(45deg);
width: 8px;
height: 14px;
border: solid #1fc76f;
border-width: 0 2.5px 2.5px 0;
}
}
}