mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 10:16:46 +00:00
More descriptive delete/move buttons + red delete (#4145)
This commit is contained in:
parent
f2812bc706
commit
b41f4777d4
@ -76,7 +76,7 @@ export class HuiCardOptions extends LitElement {
|
||||
"ui.panel.lovelace.editor.edit_card.move"
|
||||
)}</paper-item
|
||||
>
|
||||
<paper-item @click="${this._deleteCard}">
|
||||
<paper-item .class="delete-item" @click="${this._deleteCard}">
|
||||
${this.hass!.localize(
|
||||
"ui.panel.lovelace.editor.edit_card.delete"
|
||||
)}</paper-item
|
||||
@ -133,6 +133,10 @@ export class HuiCardOptions extends LitElement {
|
||||
paper-item {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
paper-item.delete-item {
|
||||
color: var(--google-red-500);
|
||||
}
|
||||
`;
|
||||
}
|
||||
|
||||
|
@ -1446,8 +1446,8 @@
|
||||
"show_code_editor": "Show Code Editor",
|
||||
"add": "Add Card",
|
||||
"edit": "Edit",
|
||||
"delete": "Delete",
|
||||
"move": "Move",
|
||||
"delete": "Delete Card",
|
||||
"move": "Move to View",
|
||||
"options": "More options"
|
||||
},
|
||||
"save_config": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user