Etemplate: Fix required background color not showing for date fields

This commit is contained in:
nathangray 2019-11-01 14:53:16 -06:00
parent e3d30f1742
commit 32b49f03ed

View File

@ -480,6 +480,12 @@ span.et2_date span {
span.et2_date_duration input.et2_date_duration{ span.et2_date_duration input.et2_date_duration{
width: 25%; width: 25%;
} }
.et2_date.required, .et2_date[required] {
background-color: inherit;
}
.et2_date.required input, .et2_date[required] input {
background-color: #FFDD73
}
/* customize calendar layout */ /* customize calendar layout */
.ui-datepicker .ui-datepicker-header .ui-datepicker-title { .ui-datepicker .ui-datepicker-header .ui-datepicker-title {
margin-left: 2px; margin-left: 2px;