mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Supervisor style changes (#5706)
This commit is contained in:
parent
6e38a80efc
commit
f16a674a39
@ -123,6 +123,9 @@ class HassioAddonStore extends LitElement {
|
|||||||
hassio-addon-repository {
|
hassio-addon-repository {
|
||||||
margin-top: 24px;
|
margin-top: 24px;
|
||||||
}
|
}
|
||||||
|
hassio-search-input {
|
||||||
|
--iron-icon-fill-color: var(--primary-text-color);
|
||||||
|
}
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -59,13 +59,10 @@ class HassioAddonConfigDashboard extends LitElement {
|
|||||||
haStyle,
|
haStyle,
|
||||||
hassioStyle,
|
hassioStyle,
|
||||||
css`
|
css`
|
||||||
@media screen and (min-width: 1024px) {
|
.content {
|
||||||
.content {
|
margin: auto;
|
||||||
width: 50%;
|
padding: 8px;
|
||||||
margin: auto;
|
max-width: 1024px;
|
||||||
margin-top: 8px;
|
|
||||||
max-width: 1024px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
hassio-addon-network,
|
hassio-addon-network,
|
||||||
hassio-addon-audio,
|
hassio-addon-audio,
|
||||||
|
@ -43,7 +43,8 @@ class HassioAddonConfig extends LitElement {
|
|||||||
const valid = editor ? editor.isValid : true;
|
const valid = editor ? editor.isValid : true;
|
||||||
|
|
||||||
return html`
|
return html`
|
||||||
<paper-card heading="Config">
|
<h1>${this.addon.name}</h1>
|
||||||
|
<paper-card heading="Configuration">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<ha-yaml-editor
|
<ha-yaml-editor
|
||||||
@value-changed=${this._configChanged}
|
@value-changed=${this._configChanged}
|
||||||
|
@ -56,12 +56,10 @@ class HassioAddonDocumentationDashboard extends LitElement {
|
|||||||
haStyle,
|
haStyle,
|
||||||
hassioStyle,
|
hassioStyle,
|
||||||
css`
|
css`
|
||||||
@media screen and (min-width: 1024px) {
|
.content {
|
||||||
.content {
|
margin: auto;
|
||||||
width: 50%;
|
padding: 8px;
|
||||||
margin: auto;
|
max-width: 1024px;
|
||||||
max-width: 1024px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
];
|
];
|
||||||
|
@ -45,13 +45,10 @@ class HassioAddonInfoDashboard extends LitElement {
|
|||||||
haStyle,
|
haStyle,
|
||||||
hassioStyle,
|
hassioStyle,
|
||||||
css`
|
css`
|
||||||
@media screen and (min-width: 1024px) {
|
.content {
|
||||||
.content {
|
margin: auto;
|
||||||
width: 50%;
|
padding: 8px;
|
||||||
margin: auto;
|
max-width: 1024px;
|
||||||
margin-top: 8px;
|
|
||||||
max-width: 1024px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
];
|
];
|
||||||
|
@ -42,13 +42,10 @@ class HassioAddonLogDashboard extends LitElement {
|
|||||||
haStyle,
|
haStyle,
|
||||||
hassioStyle,
|
hassioStyle,
|
||||||
css`
|
css`
|
||||||
@media screen and (min-width: 1024px) {
|
.content {
|
||||||
.content {
|
margin: auto;
|
||||||
width: 50%;
|
padding: 8px;
|
||||||
margin: auto;
|
max-width: 1024px;
|
||||||
margin-top: 8px;
|
|
||||||
max-width: 1024px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
];
|
];
|
||||||
|
@ -13,7 +13,6 @@ import {
|
|||||||
fetchHassioAddonLogs,
|
fetchHassioAddonLogs,
|
||||||
HassioAddonDetails,
|
HassioAddonDetails,
|
||||||
} from "../../../../src/data/hassio/addon";
|
} from "../../../../src/data/hassio/addon";
|
||||||
import "../../../../src/layouts/loading-screen";
|
|
||||||
import { haStyle } from "../../../../src/resources/styles";
|
import { haStyle } from "../../../../src/resources/styles";
|
||||||
import { HomeAssistant } from "../../../../src/types";
|
import { HomeAssistant } from "../../../../src/types";
|
||||||
import "../../components/hassio-ansi-to-html";
|
import "../../components/hassio-ansi-to-html";
|
||||||
@ -36,14 +35,15 @@ class HassioAddonLogs extends LitElement {
|
|||||||
|
|
||||||
protected render(): TemplateResult {
|
protected render(): TemplateResult {
|
||||||
return html`
|
return html`
|
||||||
<paper-card heading="Log">
|
<h1>${this.addon.name}</h1>
|
||||||
|
<paper-card>
|
||||||
${this._error ? html` <div class="errors">${this._error}</div> ` : ""}
|
${this._error ? html` <div class="errors">${this._error}</div> ` : ""}
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
${this._content
|
${this._content
|
||||||
? html`<hassio-ansi-to-html
|
? html`<hassio-ansi-to-html
|
||||||
.content=${this._content}
|
.content=${this._content}
|
||||||
></hassio-ansi-to-html>`
|
></hassio-ansi-to-html>`
|
||||||
: html`<loading-screen></loading-screen>`}
|
: ""}
|
||||||
</div>
|
</div>
|
||||||
<div class="card-actions">
|
<div class="card-actions">
|
||||||
<mwc-button @click=${this._refresh}>Refresh</mwc-button>
|
<mwc-button @click=${this._refresh}>Refresh</mwc-button>
|
||||||
|
@ -4,8 +4,12 @@ export const hassioStyle = css`
|
|||||||
.content {
|
.content {
|
||||||
margin: 8px;
|
margin: 8px;
|
||||||
}
|
}
|
||||||
h1 {
|
h1,
|
||||||
|
.description,
|
||||||
|
.card-content {
|
||||||
color: var(--primary-text-color);
|
color: var(--primary-text-color);
|
||||||
|
}
|
||||||
|
h1 {
|
||||||
font-size: 2em;
|
font-size: 2em;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
font-family: var(--paper-font-headline_-_font-family);
|
font-family: var(--paper-font-headline_-_font-family);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user