diff options
Diffstat (limited to 'app/views/layouts')
-rwxr-xr-x | app/views/layouts/application.html.haml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index f21d8dd97..f183bfab7 100755 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -83,8 +83,13 @@ -if current_account&.user_shows_cursor? :css - span.cursor { animation: t_blink 1s linear infinite } 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 } = content_for?(:content) ? yield(:content) : yield |