about summary refs log tree commit diff
path: root/app/views/layouts
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-07-30 13:10:35 -0500
committermultiple creatures <dev@multiple-creature.party>2019-07-30 13:10:35 -0500
commitd9758157b9bb8e00b77f20ad87b07e85d80797d5 (patch)
treebd625897d7227334d4dc1c071f44b44775768905 /app/views/layouts
parent90130014dd27a909fda8a63d3ce520d4d31fd68c (diff)
add an optional blinking cursor to console formatting
Diffstat (limited to 'app/views/layouts')
-rwxr-xr-xapp/views/layouts/application.html.haml5
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