about summary refs log tree commit diff
path: root/app/javascript
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/javascript
parent90130014dd27a909fda8a63d3ce520d4d31fd68c (diff)
add an optional blinking cursor to console formatting
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/flavours/glitch/styles/monsterpit.scss11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/styles/monsterpit.scss b/app/javascript/flavours/glitch/styles/monsterpit.scss
index 71b4f4910..6c9e30d47 100644
--- a/app/javascript/flavours/glitch/styles/monsterpit.scss
+++ b/app/javascript/flavours/glitch/styles/monsterpit.scss
@@ -19,6 +19,12 @@
       color: darken($secondary-text-color, 20%);
     }
   }
+  span.cursor {
+    color: lighten($dark-text-color, 20%);
+    font-family: $font-monospace, monospace;
+    /* animation: t_blink 1s linear infinite; */
+  }
+  /* span.cursor::before { content: " █" } */
 }
 
 .composer--reply > .content {
@@ -99,3 +105,8 @@ div.drawer__inner__admin {
     }
   }
 }
+
+@keyframes t_blink {
+  from { opacity: 1 }
+  to { opacity: 0 }
+}