Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -293,9 +293,6 @@ export class DialogLovelaceDashboardDetail extends LitElement {
return [
haStyleDialog,
css`
.form {
padding-bottom: 24px;
}
ha-switch {
padding: 16px 0;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,6 @@ export class DialogLovelaceResourceDetail extends LitElement {
return [
haStyleDialog,
css`
.form {
padding-bottom: 24px;
}
.warning {
color: var(--error-color);
}
Expand Down
7 changes: 0 additions & 7 deletions src/panels/config/zone/dialog-zone-detail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,10 +272,6 @@ class DialogZoneDetail extends LitElement {
return [
haStyleDialog,
css`
.form {
padding-bottom: 24px;
color: var(--primary-text-color);
}
.location {
display: flex;
}
Expand All @@ -298,9 +294,6 @@ class DialogZoneDetail extends LitElement {
a {
color: var(--primary-color);
}
p {
color: var(--primary-text-color);
}
`,
];
}
Expand Down
9 changes: 8 additions & 1 deletion src/resources/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,16 @@ export const haStyleDialog = css`
ha-dialog {
--mdc-dialog-min-width: 400px;
--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;
color: var(--primary-text-color);
}

ha-dialog .form {
padding-bottom: 24px;
color: var(--primary-text-color);
}

/* make dialog fullscreen on small screens */
@media all and (max-width: 450px), all and (max-height: 500px) {
ha-dialog {
Expand Down
4 changes: 2 additions & 2 deletions src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -882,8 +882,8 @@
"new_dashboard": "Add new dashboard",
"dismiss": "Close",
"show_sidebar": "Show in sidebar",
"icon": "Sidebar icon",
"title": "Sidebar title",
"icon": "Icon",
"title": "Title",
"title_required": "Title is required.",
"url": "Url",
"url_error_msg": "The url can not contain spaces or special characters, except for _ and -",
Expand Down