problems ack dialog: submit on enter and show error for empty message

This commit is contained in:
Alexander Zobnin
2018-12-27 13:57:08 +03:00
parent ad0f2c809c
commit 9e40959ef6
4 changed files with 65 additions and 11 deletions

View File

@@ -510,6 +510,25 @@
}
}
.zbx-ack-modal {
.gf-form-input.zbx-ack-error {
border-color: $btn-danger-bg;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 5px $btn-danger-bg;
}
.gf-form .gf-form-hint {
.gf-form-hint-text {
display: inherit;
float: right;
&.ack-error-message {
float: left;
color: $error-text-color;
}
}
}
}
@keyframes slide-down {
0% {
opacity: 0;