Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

style(design): add color and text-decoration-line on hover condition (#1773)

karl6f3a9fef9c74
diff --git a/packages/design/src/components/slider/index.module.less b/packages/design/src/components/slider/index.module.less
index 83d4cb14f1..104406ce15 100644
--- a/packages/design/src/components/slider/index.module.less
+++ b/packages/design/src/components/slider/index.module.less
@@ -132,8 +132,12 @@
transition: all 0.2s;
+ text-decoration: none;
+
&:hover {
background-color: @slider-parts-hover-color;
+ text-decoration: inherit;
+ color: inherit;
}
&.dropdown-open {
@@ -173,9 +177,12 @@
border-radius: var(--border-radius-base);
transition: background 0.2s;
+ text-decoration: none;
&:hover {
background-color: rgb(var(--bg-color-hover));
+ color: inherit;
+ text-decoration: inherit;
}
}