diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-07-30 13:10:35 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-07-30 13:10:35 -0500 |
commit | d9758157b9bb8e00b77f20ad87b07e85d80797d5 (patch) | |
tree | bd625897d7227334d4dc1c071f44b44775768905 /app/views/layouts/application.html.haml | |
parent | 90130014dd27a909fda8a63d3ce520d4d31fd68c (diff) |
add an optional blinking cursor to console formatting
Diffstat (limited to 'app/views/layouts/application.html.haml')
-rwxr-xr-x | app/views/layouts/application.html.haml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 1110942ac..f21d8dd97 100755 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -81,5 +81,10 @@ .status__content .emojione { width: 24px !important; height: 24px !important } .status__content .hoverplay:hover { padding-left: 24px !important } + -if current_account&.user_shows_cursor? + :css + span.cursor { animation: t_blink 1s linear infinite } + span.cursor::before { content: " █" } + %body{ class: body_classes } = content_for?(:content) ? yield(:content) : yield |