mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Et2Select: Fix "required" styling did not show in a better way
Previous method (38e8df2
) made widget entirely transparent
This commit is contained in:
parent
a3e2850b05
commit
9a036b1dfe
@ -80,10 +80,6 @@ export class Et2Select extends Et2WithSearchMixin(Et2WidgetWithSelect)
|
|||||||
sl-menu::part(base) {
|
sl-menu::part(base) {
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
}
|
}
|
||||||
/* allow required background color to show */
|
|
||||||
.select--standard .select__control {
|
|
||||||
background-color: inherit;
|
|
||||||
}
|
|
||||||
/* No horizontal scrollbar, even if options are long */
|
/* No horizontal scrollbar, even if options are long */
|
||||||
.dropdown__panel {
|
.dropdown__panel {
|
||||||
overflow-x: clip;
|
overflow-x: clip;
|
||||||
|
@ -1996,7 +1996,11 @@ img.vfsMimeIcon[src*="/etemplate/thumbnail.php"] {
|
|||||||
/**
|
/**
|
||||||
* Validation
|
* Validation
|
||||||
*/
|
*/
|
||||||
.et2_required:not(.hasValue), .et2_required:not(.hasValue)::part(base), [required]:not(.hasValue)::part(base) {
|
.et2_required:not(.hasValue), .et2_required:not(.hasValue)::part(base), .et2_required:not(.hasValue)::part(control),
|
||||||
|
/* most inputs */
|
||||||
|
[required]:not(.hasValue)::part(base),
|
||||||
|
/* selects */
|
||||||
|
[required]:not(.hasValue)::part(control) {
|
||||||
background-color: #ffffd0;
|
background-color: #ffffd0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user