make cursor blink respect auto-play settings
parent
2ca0b8ce62
commit
3f327a3ea7
|
@ -83,8 +83,13 @@
|
||||||
|
|
||||||
-if current_account&.user_shows_cursor?
|
-if current_account&.user_shows_cursor?
|
||||||
:css
|
:css
|
||||||
span.cursor { animation: t_blink 1s linear infinite }
|
|
||||||
span.cursor::before { content: " █" }
|
span.cursor::before { content: " █" }
|
||||||
|
-if current_account&.user&.setting_auto_play_gif
|
||||||
|
:css
|
||||||
|
span.cursor { animation: t_blink 1s linear infinite }
|
||||||
|
-else
|
||||||
|
:css
|
||||||
|
span.cursor:hover { animation: t_blink 1s linear infinite }
|
||||||
|
|
||||||
%body{ class: body_classes }
|
%body{ class: body_classes }
|
||||||
= content_for?(:content) ? yield(:content) : yield
|
= content_for?(:content) ? yield(:content) : yield
|
||||||
|
|
Loading…
Reference in New Issue