Set input and button background color to white for toolbar (#20369)
This commit is contained in:
parent
bfdc9a3d86
commit
578d3c4260
|
@ -45,8 +45,8 @@ export class HaAssistChip extends MdAssistChip {
|
|||
margin-inline-start: var(--_icon-label-space);
|
||||
}
|
||||
::before {
|
||||
background: var(--ha-assist-chip-container-color);
|
||||
opacity: var(--ha-assist-chip-container-opacity);
|
||||
background: var(--ha-assist-chip-container-color, transparent);
|
||||
opacity: var(--ha-assist-chip-container-opacity, 1);
|
||||
}
|
||||
:where(.active)::before {
|
||||
background: var(--ha-assist-chip-active-container-color);
|
||||
|
|
|
@ -27,6 +27,10 @@ export class HaOutlinedTextField extends MdOutlinedTextField {
|
|||
--md-outlined-field-focus-outline-width: 1px;
|
||||
--mdc-icon-size: var(--md-input-chip-icon-size, 18px);
|
||||
}
|
||||
md-outlined-field {
|
||||
background: var(--ha-outlined-text-field-container-color, transparent);
|
||||
opacity: var(--ha-outlined-text-field-container-opacity, 1);
|
||||
}
|
||||
.input {
|
||||
font-family: Roboto, sans-serif;
|
||||
}
|
||||
|
|
|
@ -97,6 +97,7 @@ class SearchInputOutlined extends LitElement {
|
|||
ha-outlined-text-field {
|
||||
display: block;
|
||||
width: 100%;
|
||||
--ha-outlined-text-field-container-color: var(--card-background-color);
|
||||
}
|
||||
ha-svg-icon,
|
||||
ha-icon-button {
|
||||
|
|
|
@ -743,7 +743,7 @@ export class HaTabsSubpageDataTable extends LitElement {
|
|||
padding: 8px 12px;
|
||||
box-sizing: border-box;
|
||||
font-size: 14px;
|
||||
--ha-assist-chip-container-color: var(--primary-background-color);
|
||||
--ha-assist-chip-container-color: var(--card-background-color);
|
||||
}
|
||||
|
||||
.selection-controls {
|
||||
|
@ -770,6 +770,7 @@ export class HaTabsSubpageDataTable extends LitElement {
|
|||
|
||||
ha-assist-chip {
|
||||
--ha-assist-chip-container-shape: 10px;
|
||||
--ha-assist-chip-container-color: var(--card-background-color);
|
||||
}
|
||||
|
||||
.select-mode-chip {
|
||||
|
|
Loading…
Reference in New Issue