mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-03 06:27:47 +00:00
QuickBar
This commit is contained in:
parent
60b09dd57d
commit
d5c64b78d9
@ -102,6 +102,7 @@ export class HaChip extends LitElement {
|
|||||||
|
|
||||||
.mdc-chip:not(.outlined) .mdc-chip__icon.mdc-chip__icon--leading {
|
.mdc-chip:not(.outlined) .mdc-chip__icon.mdc-chip__icon--leading {
|
||||||
margin-left: -12px !important;
|
margin-left: -12px !important;
|
||||||
|
margin-right: -2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mdc-chip.outlined ha-svg-icon,
|
.mdc-chip.outlined ha-svg-icon,
|
||||||
|
@ -272,17 +272,10 @@ export class QuickBar extends LitElement {
|
|||||||
<span>
|
<span>
|
||||||
<ha-chip
|
<ha-chip
|
||||||
.label=${item.categoryText}
|
.label=${item.categoryText}
|
||||||
hasIcon
|
.leadingIcon=${item.iconPath}
|
||||||
class="command-category ${item.categoryKey}"
|
class="command-category ${item.categoryKey}"
|
||||||
>
|
>
|
||||||
${item.iconPath
|
</ha-chip>
|
||||||
? html`<ha-svg-icon
|
|
||||||
.path=${item.iconPath}
|
|
||||||
slot="icon"
|
|
||||||
></ha-svg-icon>`
|
|
||||||
: ""}
|
|
||||||
${item.categoryText}</ha-chip
|
|
||||||
>
|
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span class="command-text">${item.primaryText}</span>
|
<span class="command-text">${item.primaryText}</span>
|
||||||
@ -623,7 +616,6 @@ export class QuickBar extends LitElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.command-category {
|
.command-category {
|
||||||
--ha-chip-icon-color: #585858;
|
|
||||||
--ha-chip-text-color: #212121;
|
--ha-chip-text-color: #212121;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user