Merge pull request #4516 from vector-im/luke/css-visual-bell
Add visual bell animation for RTE
This commit is contained in:
commit
d4435daf31
|
@ -78,6 +78,16 @@ limitations under the License.
|
|||
margin-right: 6px;
|
||||
}
|
||||
|
||||
@keyframes visualbell
|
||||
{
|
||||
from { background-color: #faa }
|
||||
to { background-color: $primary-bg-color }
|
||||
}
|
||||
|
||||
.mx_MessageComposer_input_error {
|
||||
animation: 0.2s visualbell;
|
||||
}
|
||||
|
||||
.mx_MessageComposer_input_empty .public-DraftEditorPlaceholder-root {
|
||||
display: none;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue