From d9758157b9bb8e00b77f20ad87b07e85d80797d5 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Tue, 30 Jul 2019 13:10:35 -0500 Subject: add an optional blinking cursor to console formatting --- app/javascript/flavours/glitch/styles/monsterpit.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'app/javascript/flavours') 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 } +} -- cgit