style(frontend): update ListSpaceSidebar styles for improved hover and active states
- Change background colors for hover and active states to enhance visual feedback. - Adjust icon label colors and remove unnecessary font weight properties for better consistency. - Refine item count background color to align with updated design standards.
This commit is contained in:
@@ -376,21 +376,20 @@ onBeforeUnmount(() => {
|
|||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: var(--td-bg-color-secondarycontainer);
|
background: var(--td-bg-color-container-hover);
|
||||||
color: var(--td-text-color-primary);
|
color: var(--td-text-color-primary);
|
||||||
}
|
}
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
background: var(--td-success-color-light);
|
background: var(--td-bg-color-secondarycontainer);
|
||||||
color: var(--td-brand-color);
|
color: var(--td-brand-color);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: var(--td-success-color-light);
|
background: var(--td-bg-color-secondarycontainer);
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-label {
|
.icon-label {
|
||||||
color: var(--td-brand-color);
|
color: var(--td-brand-color);
|
||||||
font-weight: 520;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -498,7 +497,7 @@ onBeforeUnmount(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: var(--td-bg-color-secondarycontainer);
|
background: var(--td-bg-color-container-hover);
|
||||||
color: var(--td-text-color-primary);
|
color: var(--td-text-color-primary);
|
||||||
|
|
||||||
.item-icon {
|
.item-icon {
|
||||||
@@ -512,25 +511,20 @@ onBeforeUnmount(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
background: var(--td-success-color-light);
|
background: var(--td-bg-color-secondarycontainer);
|
||||||
color: var(--td-brand-color);
|
color: var(--td-brand-color);
|
||||||
|
|
||||||
.item-icon {
|
.item-icon {
|
||||||
color: var(--td-brand-color);
|
color: var(--td-brand-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
.item-label {
|
|
||||||
font-weight: 500;
|
|
||||||
}
|
|
||||||
|
|
||||||
.item-count {
|
.item-count {
|
||||||
background: var(--td-success-color-light);
|
background: var(--td-bg-color-secondarycontainer);
|
||||||
color: var(--td-brand-color);
|
color: var(--td-brand-color);
|
||||||
font-weight: 520;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: var(--td-success-color-light);
|
background: var(--td-bg-color-secondarycontainer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user