|
<EjsDatePicker TValue="DateTime?" CssClass="customClass"></EjsDatePicker>
<style>
.e-input-group.e-control-wrapper.customClass {
font-size: 20px;
color: #18d245;
background-color: #ffc0cb;
}
</style> |
|
.customClass.e-input-group.e-control-wrapper .e-input-group-icon,
.customClass.e-input-group.e-control-wrapper .e-input-group-icon:hover,
.customClass.e-input-group.e-control-wrapper .e-input-group-icon:active,
.customClass.e-date-wrapper span.e-input-group-icon.e-date-icon.e-icons.e-active {
color: blue;
} |
|
/*For DatePicker placeholder*/
.customClass.e-float-input.e-control-wrapper:not(.e-error) input:valid ~ label.e-float-text,
.customClass.e-float-input.e-control-wrapper:not(.e-error) input ~ label.e-label-top.e-float-text,
.customClass.e-float-input:not(.e-error):not(.e-input-focus) input:not(:focus):valid ~ label.e-float-text.e-label-bottom,
.customClass.e-float-input.e-control-wrapper:not(.e-error):not(.e-input-focus) input:not(:focus):valid ~ label.e-float-text.e-label-bottom,
.customClass.e-float-input.e-control-wrapper:not(.e-error).e-input-focus input ~ label.e-float-text {
color: #4a4ac4;
}
/*For DatePicker border line*/
.customClass.e-float-input.e-input-group:not(.e-float-icon-left) .e-float-line::before,
.customClass.e-float-input.e-control-wrapper.e-input-group:not(.e-float-icon-left) .e-float-line::before,
.customClass.e-float-input.e-input-group:not(.e-float-icon-left) .e-float-line::after,
.customClass.e-float-input.e-control-wrapper.e-input-group:not(.e-float-icon-left) .e-float-line::after {
background: #4a4ac4;
}
.customClass.e-input-group:not(.e-success):not(.e-warning):not(.e-error):not(.e-float-icon-left),
.customClass.e-input-group:hover:not(.e-success):not(.e-warning):not(.e-error):not(.e-disabled):not(.e-float-icon-left) {
border-color: #4a4ac4;
} |
|
.customClass.e-float-input:not(.e-error):not(.e-input-focus) input:not(:focus):valid ~ label.e-float-text.e-label-bottom,
.customClass.e-float-input.e-control-wrapper:not(.e-error):not(.e-input-focus) input:not(:focus):valid ~ label.e-float-text.e-label-bottom,
.customClass.e-float-input.e-control-wrapper:not(.e-error).e-input-focus input ~ label.e-float-text {
color: #4a4ac4;
} |
|
/* Style when DatePicker is editing is disabled*/
.customClass.e-float-input:not(.e-input-focus):not(.e-disabled) input:not(:focus):not(:valid) ~ label.e-float-text:not(.e-label-top),
.customClass.e-float-input:not(.e-error) input:focus ~ label.e-float-text,
.customClass.e-float-input:not(.e-error).e-input-focus input[readonly] ~ label.e-label-top.e-float-text {
color: #4a4ac4;
} |