mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-29 01:59:39 +01:00
Validation message styles
- Changed to absolute position to avoid reflow - "Better" style
This commit is contained in:
parent
bc0b8407d2
commit
aafbc58cdd
@ -57,6 +57,20 @@ const Et2InputWidgetMixin = (superclass) =>
|
||||
.input-group__container > .input-group__input ::slotted(.form-control) {
|
||||
width: 100%;
|
||||
}
|
||||
/* Validation error styles */
|
||||
::slotted(lion-validation-feedback[type]) {
|
||||
position: absolute;
|
||||
padding: 1ex;
|
||||
background-color: white;
|
||||
border-top: 2px solid;
|
||||
border-bottom: 1px solid;
|
||||
border-color: var(--primary-color);
|
||||
z-index: 1;
|
||||
}
|
||||
::slotted(lion-validation-feedback[type=error])
|
||||
{
|
||||
border-color: red;
|
||||
}
|
||||
`
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user