mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 03:36:44 +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 */
|
||||
@media all and (max-width: 450px), all and (max-height: 500px) {
|
||||
more-info-controls {
|
||||
--more-info-header-background: var(--primary-color);
|
||||
--more-info-header-color: var(--text-primary-color);
|
||||
--more-info-header-background: var(--app-header-background-color);
|
||||
--more-info-header-color: var(--app-header-text-color, white);
|
||||
}
|
||||
:host {
|
||||
width: 100% !important;
|
||||
|
@ -51,6 +51,9 @@
|
||||
height: 112px;
|
||||
background-color: #THEMEC;
|
||||
}
|
||||
html {
|
||||
background-color: var(--primary-background-color, #fafafa);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -264,8 +264,8 @@ export class DialogEntityEditor extends LitElement {
|
||||
/* overrule the ha-style-dialog max-height on small screens */
|
||||
@media all and (max-width: 450px), all and (max-height: 500px) {
|
||||
app-toolbar {
|
||||
background-color: var(--primary-color);
|
||||
color: var(--text-primary-color);
|
||||
background-color: var(--app-header-background-color);
|
||||
color: var(--app-header-text-color, white);
|
||||
}
|
||||
ha-paper-dialog {
|
||||
height: 100%;
|
||||
|
Loading…
x
Reference in New Issue
Block a user