diff --git a/src/renderer/index.css b/src/renderer/index.css index 34a3616..0555b7e 100644 --- a/src/renderer/index.css +++ b/src/renderer/index.css @@ -11,7 +11,7 @@ } .n-slider-handle-indicator--top { - @apply bg-transparent text-2xl px-2 py-1 shadow-none mb-0 dark:text-[#ffffffdd] text-[#000000dd] !important; + @apply bg-transparent text-2xl px-2 py-1 shadow-none mb-0 text-white bg-dark-300 dark:bg-gray-800 bg-opacity-80 rounded-lg !important; mix-blend-mode: difference !important; } diff --git a/src/renderer/layout/components/PlayBar.vue b/src/renderer/layout/components/PlayBar.vue index 404cc2e..25bdc0b 100644 --- a/src/renderer/layout/components/PlayBar.vue +++ b/src/renderer/layout/components/PlayBar.vue @@ -25,6 +25,9 @@ :max="allTime" :min="0" :format-tooltip="formatTooltip" + :show-tooltip="showSliderTooltip" + @mouseenter="showSliderTooltip = true" + @mouseleave="showSliderTooltip = false" >