Letās reset. After looking at your code, it appears some of it appears to have no effect on the card.
The code I provided first pinpointed the hour and minute fields, but we can target a level above with the same results.
Test out this version and let me know what needs adjusted or what you feel is missing.
type: entities
entities:
- entity: input_datetime.test
card_mod:
style:
ha-time-input $ ha-base-time-input $: |
ha-textfield:nth-of-type(1) {
width: 30px;
}
ha-textfield:nth-of-type(2) {
width: 25px;
}
ha-date-input:
$:
ha-textfield $: |
.mdc-text-field__input {
align-self:center;
}
hui-generic-entity-row $: |
state-badge {
display: none;
}
hui-generic-entity-row ha-date-input $:
ha-textfield $: |
span#label {
display: none;
}
.: |
:host {
--mdc-text-field-fill-color: transparent;
--mdc-select-fill-color: transparent;
--mdc-text-field-idle-line-color: transparent;
--mdc-text-field-hover-line-color: transparent;
--mdc-select-idle-line-color: transparent;
--mdc-select-hover-line-color: transparent;
--mdc-theme-primary: transparent;
}