mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 19:26:36 +00:00
parent
3b1f9a5dab
commit
06cd7556f3
@ -293,9 +293,6 @@ export class DialogLovelaceDashboardDetail extends LitElement {
|
|||||||
return [
|
return [
|
||||||
haStyleDialog,
|
haStyleDialog,
|
||||||
css`
|
css`
|
||||||
.form {
|
|
||||||
padding-bottom: 24px;
|
|
||||||
}
|
|
||||||
ha-switch {
|
ha-switch {
|
||||||
padding: 16px 0;
|
padding: 16px 0;
|
||||||
}
|
}
|
||||||
|
@ -210,9 +210,6 @@ export class DialogLovelaceResourceDetail extends LitElement {
|
|||||||
return [
|
return [
|
||||||
haStyleDialog,
|
haStyleDialog,
|
||||||
css`
|
css`
|
||||||
.form {
|
|
||||||
padding-bottom: 24px;
|
|
||||||
}
|
|
||||||
.warning {
|
.warning {
|
||||||
color: var(--error-color);
|
color: var(--error-color);
|
||||||
}
|
}
|
||||||
|
@ -272,10 +272,6 @@ class DialogZoneDetail extends LitElement {
|
|||||||
return [
|
return [
|
||||||
haStyleDialog,
|
haStyleDialog,
|
||||||
css`
|
css`
|
||||||
.form {
|
|
||||||
padding-bottom: 24px;
|
|
||||||
color: var(--primary-text-color);
|
|
||||||
}
|
|
||||||
.location {
|
.location {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
@ -298,9 +294,6 @@ class DialogZoneDetail extends LitElement {
|
|||||||
a {
|
a {
|
||||||
color: var(--primary-color);
|
color: var(--primary-color);
|
||||||
}
|
}
|
||||||
p {
|
|
||||||
color: var(--primary-text-color);
|
|
||||||
}
|
|
||||||
`,
|
`,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -203,9 +203,16 @@ export const haStyleDialog = css`
|
|||||||
ha-dialog {
|
ha-dialog {
|
||||||
--mdc-dialog-min-width: 400px;
|
--mdc-dialog-min-width: 400px;
|
||||||
--mdc-dialog-max-width: 600px;
|
--mdc-dialog-max-width: 600px;
|
||||||
--mdc-dialog-title-ink-color: var(--primary-text-color);
|
--mdc-dialog-heading-ink-color: var(--primary-text-color);
|
||||||
--justify-action-buttons: space-between;
|
--justify-action-buttons: space-between;
|
||||||
|
color: var(--primary-text-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ha-dialog .form {
|
||||||
|
padding-bottom: 24px;
|
||||||
|
color: var(--primary-text-color);
|
||||||
|
}
|
||||||
|
|
||||||
/* make dialog fullscreen on small screens */
|
/* make dialog fullscreen on small screens */
|
||||||
@media all and (max-width: 450px), all and (max-height: 500px) {
|
@media all and (max-width: 450px), all and (max-height: 500px) {
|
||||||
ha-dialog {
|
ha-dialog {
|
||||||
|
@ -882,8 +882,8 @@
|
|||||||
"new_dashboard": "Add new dashboard",
|
"new_dashboard": "Add new dashboard",
|
||||||
"dismiss": "Close",
|
"dismiss": "Close",
|
||||||
"show_sidebar": "Show in sidebar",
|
"show_sidebar": "Show in sidebar",
|
||||||
"icon": "Sidebar icon",
|
"icon": "Icon",
|
||||||
"title": "Sidebar title",
|
"title": "Title",
|
||||||
"title_required": "Title is required.",
|
"title_required": "Title is required.",
|
||||||
"url": "Url",
|
"url": "Url",
|
||||||
"url_error_msg": "The url can not contain spaces or special characters, except for _ and -",
|
"url_error_msg": "The url can not contain spaces or special characters, except for _ and -",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user