mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 10:16:46 +00:00
Minor visual QB command tweaks (#7590)
This commit is contained in:
parent
fa28b480f1
commit
b7bcf97365
@ -182,14 +182,15 @@ export class QuickBar extends LitElement {
|
|||||||
.twoline=${Boolean(item.altText)}
|
.twoline=${Boolean(item.altText)}
|
||||||
.item=${item}
|
.item=${item}
|
||||||
index=${ifDefined(index)}
|
index=${ifDefined(index)}
|
||||||
hasMeta
|
graphic="avatar"
|
||||||
graphic=${item.altText ? "avatar" : "icon"}
|
|
||||||
>
|
>
|
||||||
<ha-icon .icon=${item.icon} slot="graphic"></ha-icon>
|
<ha-icon .icon=${item.icon} slot="graphic"></ha-icon>
|
||||||
<span>${item.text}</span>
|
<span class="item-text">${item.text}</span>
|
||||||
${item.altText
|
${item.altText
|
||||||
? html`
|
? html`
|
||||||
<span slot="secondary" class="secondary">${item.altText}</span>
|
<span slot="secondary" class="item-text secondary"
|
||||||
|
>${item.altText}</span
|
||||||
|
>
|
||||||
`
|
`
|
||||||
: null}
|
: null}
|
||||||
</mwc-list-item>
|
</mwc-list-item>
|
||||||
@ -387,6 +388,14 @@ export class QuickBar extends LitElement {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ha-icon {
|
||||||
|
margin-left: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
ha-svg-icon {
|
||||||
|
color: var(--primary-text-color);
|
||||||
|
}
|
||||||
|
|
||||||
ha-svg-icon.prefix {
|
ha-svg-icon.prefix {
|
||||||
margin: 8px;
|
margin: 8px;
|
||||||
}
|
}
|
||||||
@ -406,6 +415,10 @@ export class QuickBar extends LitElement {
|
|||||||
mwc-list-item {
|
mwc-list-item {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.item-text {
|
||||||
|
margin-left: 16px;
|
||||||
|
}
|
||||||
`,
|
`,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -1059,8 +1059,8 @@
|
|||||||
"ping": "Reload ping binary sensor entities",
|
"ping": "Reload ping binary sensor entities",
|
||||||
"filesize": "Reload file size entities",
|
"filesize": "Reload file size entities",
|
||||||
"telegram": "Reload telegram notify services",
|
"telegram": "Reload telegram notify services",
|
||||||
"smtp": "Reload smtp notify services",
|
"smtp": "Reload SMTP notify services",
|
||||||
"mqtt": "Reload manually configured mqtt entities",
|
"mqtt": "Reload manually configured MQTT entities",
|
||||||
"rpi_gpio": "Reload Raspberry Pi GPIO entities"
|
"rpi_gpio": "Reload Raspberry Pi GPIO entities"
|
||||||
},
|
},
|
||||||
"server_management": {
|
"server_management": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user