brillout / timer-tab

Source code of Timer Tab
http://www.timer-tab.com/
57 stars 16 forks source link

Hide the Pause Button #6

Open jkenzer opened 4 years ago

jkenzer commented 4 years ago

Is there a way to hide the pause button on the countdown timer? When zoomed in, the pause button is really big.

brillout commented 4 years ago

I agree it's ugly.

The only thing I'm reluctant about is that people may want to pause the countdown (and more importantly to stop it when the youtube alarm is playing!).

Maybe I'm being too conservative here?

jkenzer commented 4 years ago

Maybe a toggle to turn it on or off or making it a bit smaller?

brillout commented 4 years ago

How about opacity: 0 but if the countdown is zero then opacity: 100 and if the mouse cursor is being moved then opacity: 100 to then progressively set opacity: 0 again when mouse cursor is not moving. Thoughts?

brillout commented 4 years ago

It will mean however that the countdown will not be vertically centered.

jkenzer commented 4 years ago

I think that's a great solution. If you're just setting the opacity and not making it display: none, won't it retain it's positioning?

brillout commented 4 years ago

Exactly it will and that's why the countdown will not be vertically centered.