Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
peach-html5-editor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7eb32af
)
fix cursor blink in firefox, tweak
author
Jason Woofenden
<jason@jasonwoof.com>
Wed, 24 Feb 2016 18:37:12 +0000
(13:37 -0500)
committer
Jason Woofenden
<jason@jasonwoof.com>
Wed, 24 Feb 2016 18:37:12 +0000
(13:37 -0500)
editor.coffee
patch
|
blob
|
history
diff --git
a/editor.coffee
b/editor.coffee
index
e3b922e
..
df8ad8a
100644
(file)
--- a/
editor.coffee
+++ b/
editor.coffee
@@
-174,17
+174,15
@@
css += 'height: 1em;'
css += 'width: 2px;'
css += 'margin-left: -1px;'
css += 'margin-right: -1px;'
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 += '}'
-css += '@-webkit-keyframes "blink" {'
-css += 'from, to { background: #000; }'
-css += '50% { background: transparent; }'
+css += '@-webkit-keyframes blink {'
+css += 'to { visibility: hidden; }'
css += '}'
css += '}'
-css += '@keyframes "blink" {'
-css += 'from, to { background: #000; }'
-css += '50% { background: transparent; }'
+css += '@keyframes blink {'
+css += 'to { visibility: hidden; }'
css += '}'
# key codes:
css += '}'
# key codes: