mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 09:16:38 +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)}
|
||||
.item=${item}
|
||||
index=${ifDefined(index)}
|
||||
hasMeta
|
||||
graphic=${item.altText ? "avatar" : "icon"}
|
||||
graphic="avatar"
|
||||
>
|
||||
<ha-icon .icon=${item.icon} slot="graphic"></ha-icon>
|
||||
<span>${item.text}</span>
|
||||
<span class="item-text">${item.text}</span>
|
||||
${item.altText
|
||||
? html`
|
||||
<span slot="secondary" class="secondary">${item.altText}</span>
|
||||
<span slot="secondary" class="item-text secondary"
|
||||
>${item.altText}</span
|
||||
>
|
||||
`
|
||||
: null}
|
||||
</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 {
|
||||
margin: 8px;
|
||||
}
|
||||
@ -406,6 +415,10 @@ export class QuickBar extends LitElement {
|
||||
mwc-list-item {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.item-text {
|
||||
margin-left: 16px;
|
||||
}
|
||||
`,
|
||||
];
|
||||
}
|
||||
|
@ -1059,8 +1059,8 @@
|
||||
"ping": "Reload ping binary sensor entities",
|
||||
"filesize": "Reload file size entities",
|
||||
"telegram": "Reload telegram notify services",
|
||||
"smtp": "Reload smtp notify services",
|
||||
"mqtt": "Reload manually configured mqtt entities",
|
||||
"smtp": "Reload SMTP notify services",
|
||||
"mqtt": "Reload manually configured MQTT entities",
|
||||
"rpi_gpio": "Reload Raspberry Pi GPIO entities"
|
||||
},
|
||||
"server_management": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user