I get it, but I pointed you in the right direction. This forum is educational and not designed for others to do the work for you.
I was pointing out you that can play with the js file code. Clearing your browser cache between tests is crucial.
Test adding these lines:
background: blue !important;
--mdc-text-field-idle-line-color: transparent !important;
--mdc-text-field-hover-line-color: transparent !important;
Full code
customElements.whenDefined('ha-textfield').then(() => {
const UIElement = customElements.get('ha-textfield');
const { html, css } = UIElement.prototype;
const newStyle = css`
:host([id="hour"]):has(.mdc-floating-label--float-above) span#label,
:host([id="min"]):has(.mdc-floating-label--float-above) span#label,
:host([id="sec"]):has(.mdc-floating-label--float-above) span#label,
:host([id="millisec"]):has(.mdc-floating-label--float-above) span#label {
display: none;
}
:host([id="hour"]):has(.mdc-floating-label--float-above) label,
:host([id="min"]):has(.mdc-floating-label--float-above) label,
:host([id="sec"]):has(.mdc-floating-label--float-above) label,
:host([id="millisec"]):has(.mdc-floating-label--float-above) label {
align-items: center !important;
background: blue !important;
--mdc-text-field-idle-line-color: transparent !important;
--mdc-text-field-hover-line-color: transparent !important;
}
:host([id="hour"]):has(.mdc-floating-label--float-above) .mdc-text-field__affix--suffix,
:host([id="min"]):has(.mdc-floating-label--float-above) .mdc-text-field__affix--suffix,
:host([id="sec"]):has(.mdc-floating-label--float-above) .mdc-text-field__affix--suffix,
:host([id="millisec"]):has(.mdc-floating-label--float-above) .mdc-text-field__affix--suffix {
align-content: center;
}`;
const newStyles = [].concat(UIElement.styles, newStyle);
Object.defineProperty(UIElement, 'styles', {value: newStyles, configurable: true, enumerable: false});
Object.defineProperty(UIElement, 'elementStyles', {value: newStyles, configurable: true, enumerable: false});
});