Skip to content

Commit 07e8d4e

Browse files
author
Luke Barnard
committed
Add visual bell animation for RTE
1 parent 8daa0fc commit 07e8d4e

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎src/skins/vector/css/matrix-react-sdk/views/rooms/_MessageComposer.scss‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,16 @@ limitations under the License.
7878
margin-right: 6px;
7979
}
8080

81+
@keyframes visualbell
82+
{
83+
from { background-color: #faa }
84+
to { background-color: $primary-bg-color }
85+
}
86+
87+
.mx_MessageComposer_input_error {
88+
animation: 0.2s visualbell;
89+
}
90+
8191
.mx_MessageComposer_input_empty .public-DraftEditorPlaceholder-root {
8292
display: none;
8393
}

0 commit comments

Comments
 (0)