mirror of https://github.com/vector-im/riot-web
Add visual bell animation for RTE
parent
8daa0fced8
commit
07e8d4ef69
|
@ -78,6 +78,16 @@ limitations under the License.
|
||||||
margin-right: 6px;
|
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 {
|
.mx_MessageComposer_input_empty .public-DraftEditorPlaceholder-root {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue