Skip to content

Commit 170ac45

Browse files
committed
style: 顶部定时 添加悬停缩放效果和光标指针样式
1 parent 2dd4535 commit 170ac45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderer/components/player/SleepTimerTop.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ onUnmounted(() => {
112112
<style lang="scss" scoped>
113113
114114
.sleep-timer-countdown {
115-
@apply fixed top-[28px] left-1/2 transform -translate-x-1/2 -translate-y-full py-1 px-3 rounded-b-lg bg-green-500 text-white text-sm flex items-center;
115+
@apply fixed top-[28px] left-1/2 transform -translate-x-1/2 -translate-y-full py-1 px-3 rounded-b-lg bg-green-500 text-white text-sm flex items-center hover:scale-110 transition-all cursor-pointer;
116116
box-shadow: 0 2px 10px rgba(0,0,0,0.15);
117117
z-index: 9998;
118118
min-width: 80px;

0 commit comments

Comments
 (0)