JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
fix cursor blink in firefox, tweak
authorJason Woofenden <jason@jasonwoof.com>
Wed, 24 Feb 2016 18:37:12 +0000 (13:37 -0500)
committerJason Woofenden <jason@jasonwoof.com>
Wed, 24 Feb 2016 18:37:12 +0000 (13:37 -0500)
editor.coffee

index e3b922e..df8ad8a 100644 (file)
@@ -174,17 +174,15 @@ css +=     'height: 1em;'
 css +=     'width: 2px;'
 css +=     'margin-left: -1px;'
 css +=     'margin-right: -1px;'
-css +=     'background: #000;'
-css +=     '-webkit-animation: 1s blink step-end infinite;'
-css +=     'animation: 1s blink step-end infinite;'
+css +=     'background: #444;'
+css +=     '-webkit-animation: blink 1s steps(2, start) infinite;'
+css +=     'animation: blink 1s steps(2, start) infinite;'
 css += '}'
-css += '@-webkit-keyframes "blink" {'
-css +=     'from, to { background: #000; }'
-css +=     '50% { background: transparent; }'
+css += '@-webkit-keyframes blink {'
+css +=     'to { visibility: hidden; }'
 css += '}'
-css += '@keyframes "blink" {'
-css +=     'from, to { background: #000; }'
-css +=     '50% { background: transparent; }'
+css += '@keyframes blink {'
+css +=     'to { visibility: hidden; }'
 css += '}'
 
 # key codes: