mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 11:46:42 +00:00
Fix more info header color and page background color (#5716)
This commit is contained in:
parent
7fdd525dac
commit
8f2a7c95b3
@ -41,8 +41,8 @@ class HaMoreInfoDialog extends DialogMixin(PolymerElement) {
|
|||||||
/* overrule the ha-style-dialog max-height on small screens */
|
/* overrule the ha-style-dialog max-height 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) {
|
||||||
more-info-controls {
|
more-info-controls {
|
||||||
--more-info-header-background: var(--primary-color);
|
--more-info-header-background: var(--app-header-background-color);
|
||||||
--more-info-header-color: var(--text-primary-color);
|
--more-info-header-color: var(--app-header-text-color, white);
|
||||||
}
|
}
|
||||||
:host {
|
:host {
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
|
@ -51,6 +51,9 @@
|
|||||||
height: 112px;
|
height: 112px;
|
||||||
background-color: #THEMEC;
|
background-color: #THEMEC;
|
||||||
}
|
}
|
||||||
|
html {
|
||||||
|
background-color: var(--primary-background-color, #fafafa);
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -264,8 +264,8 @@ export class DialogEntityEditor extends LitElement {
|
|||||||
/* overrule the ha-style-dialog max-height on small screens */
|
/* overrule the ha-style-dialog max-height 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) {
|
||||||
app-toolbar {
|
app-toolbar {
|
||||||
background-color: var(--primary-color);
|
background-color: var(--app-header-background-color);
|
||||||
color: var(--text-primary-color);
|
color: var(--app-header-text-color, white);
|
||||||
}
|
}
|
||||||
ha-paper-dialog {
|
ha-paper-dialog {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user