Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
styles: Hoist @keyframes to top level.
Anders Kaseorg99f1d087866c
diff --git a/static/styles/compose.css b/static/styles/compose.cssindex 202e3433dc1..42d495b5260 100644--- a/static/styles/compose.css+++ b/static/styles/compose.css@@ -450,6 +450,16 @@flex: 1;}+@keyframes message-limit-flash {+ 0% {+ box-shadow: none;+ }++ 100% {+ box-shadow: 0 0 0 1pt hsl(0, 76%, 65%);+ }+}+textarea.new_message_textarea {display: table-cell;width: calc(100% - 12px);@@ -463,22 +473,12 @@ textarea.new_message_textarea {color: hsl(0, 0%, 33%);background-color: hsl(0, 0%, 100%);- @keyframes flash {- 0% {- box-shadow: none;- }-- 100% {- box-shadow: 0 0 0 1pt hsl(0, 76%, 65%);- }- }-&.over_limit,&.over_limit:focus {box-shadow: 0 0 0 1pt hsl(0, 76%, 65%);&.flash {- animation: flash 0.5s ease-in-out infinite;+ animation: message-limit-flash 0.5s ease-in-out infinite;}}