diff --git a/src/components/buttons/ha-call-service-button.js b/src/components/buttons/ha-call-service-button.js index dc6b1abf70..34aff3e34f 100644 --- a/src/components/buttons/ha-call-service-button.js +++ b/src/components/buttons/ha-call-service-button.js @@ -11,12 +11,18 @@ import "./ha-progress-button"; class HaCallServiceButton extends EventsMixin(PolymerElement) { static get template() { return html` + `; @@ -54,6 +60,11 @@ class HaCallServiceButton extends EventsMixin(PolymerElement) { type: Boolean, value: false, }, + + outlined: { + type: Boolean, + value: false, + }, }; } diff --git a/src/components/buttons/ha-progress-button.ts b/src/components/buttons/ha-progress-button.ts index a446d456fc..fc3865b7ef 100644 --- a/src/components/buttons/ha-progress-button.ts +++ b/src/components/buttons/ha-progress-button.ts @@ -21,12 +21,15 @@ class HaProgressButton extends LitElement { @property({ type: Boolean }) public raised = false; + @property({ type: Boolean }) public outlined = false; + @query("mwc-button") private _button?: Button; public render(): TemplateResult { return html` @@ -71,6 +74,7 @@ class HaProgressButton extends LitElement { mwc-button { transition: all 1s; + width: 100%; } mwc-button.success { diff --git a/src/panels/config/cloud/account/cloud-alexa-pref.ts b/src/panels/config/cloud/account/cloud-alexa-pref.ts index f8753c34d4..b70cfe78a0 100644 --- a/src/panels/config/cloud/account/cloud-alexa-pref.ts +++ b/src/panels/config/cloud/account/cloud-alexa-pref.ts @@ -32,17 +32,17 @@ export class CloudAlexaPref extends LitElement { return html` -
- -
+
+ +
${this.hass!.localize("ui.panel.config.cloud.account.alexa.info")}
  • @@ -197,6 +197,15 @@ export class CloudAlexaPref extends LitElement { margin-right: 7px; margin-left: 0.5em; } + ha-card { + display: flex; + flex-direction: column; + justify-content: space-between; + height: 100%; + } + .card-content { + flex: 1; + } `; } } diff --git a/src/panels/config/core/ha-config-url-form.ts b/src/panels/config/core/ha-config-url-form.ts index e63b256e0c..702adf75bf 100644 --- a/src/panels/config/core/ha-config-url-form.ts +++ b/src/panels/config/core/ha-config-url-form.ts @@ -51,46 +51,31 @@ class ConfigUrlForm extends LitElement { ` : ""} ${this._error ? html`
    ${this._error}
    ` : ""} -
    -
    - ${this.hass.localize( - "ui.panel.config.core.section.core.core_config.external_url" - )} -
    - - -
    - -
    -
    - ${this.hass.localize( - "ui.panel.config.core.section.core.core_config.internal_url" - )} -
    - - -
    + + + +
diff --git a/src/panels/config/server_control/ha-config-server-control.ts b/src/panels/config/server_control/ha-config-server-control.ts index f0f55e1cd7..5dc6f99a8b 100644 --- a/src/panels/config/server_control/ha-config-server-control.ts +++ b/src/panels/config/server_control/ha-config-server-control.ts @@ -216,6 +216,7 @@ export class HaConfigServerControl extends LitElement {