mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 14:56:53 +00:00
Lovelace: pic elements add default style (#5876)
This commit is contained in:
parent
15492647ed
commit
d66f85e6ba
@ -55,6 +55,7 @@ style:
|
|||||||
required: true
|
required: true
|
||||||
description: Position and style the element using CSS.
|
description: Position and style the element using CSS.
|
||||||
type: object
|
type: object
|
||||||
|
default: "position: absolute, transform: translate(-50%, -50%)"
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
### {% linkable_title Icon representing an entity state %}
|
### {% linkable_title Icon representing an entity state %}
|
||||||
@ -89,6 +90,7 @@ style:
|
|||||||
required: true
|
required: true
|
||||||
description: Position and style the element using CSS.
|
description: Position and style the element using CSS.
|
||||||
type: object
|
type: object
|
||||||
|
default: "position: absolute, transform: translate(-50%, -50%)"
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
### {% linkable_title Label with state text %}
|
### {% linkable_title Label with state text %}
|
||||||
@ -123,6 +125,7 @@ style:
|
|||||||
required: true
|
required: true
|
||||||
description: Position and style the element using CSS.
|
description: Position and style the element using CSS.
|
||||||
type: object
|
type: object
|
||||||
|
default: "position: absolute, transform: translate(-50%, -50%)"
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
### {% linkable_title Service Call Button %}
|
### {% linkable_title Service Call Button %}
|
||||||
@ -148,6 +151,7 @@ style:
|
|||||||
required: true
|
required: true
|
||||||
description: Position and style the element using CSS.
|
description: Position and style the element using CSS.
|
||||||
type: object
|
type: object
|
||||||
|
default: "position: absolute, transform: translate(-50%, -50%)"
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
### {% linkable_title Icon Element %}
|
### {% linkable_title Icon Element %}
|
||||||
@ -190,6 +194,7 @@ style:
|
|||||||
required: true
|
required: true
|
||||||
description: Position and style the element using CSS.
|
description: Position and style the element using CSS.
|
||||||
type: object
|
type: object
|
||||||
|
default: "position: absolute, transform: translate(-50%, -50%)"
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
### {% linkable_title Image Element %}
|
### {% linkable_title Image Element %}
|
||||||
@ -244,6 +249,7 @@ style:
|
|||||||
required: true
|
required: true
|
||||||
description: Position and style the element using CSS.
|
description: Position and style the element using CSS.
|
||||||
type: object
|
type: object
|
||||||
|
default: "position: absolute, transform: translate(-50%, -50%)"
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
### {% linkable_title Custom Elements %}
|
### {% linkable_title Custom Elements %}
|
||||||
@ -257,6 +263,7 @@ style:
|
|||||||
required: true
|
required: true
|
||||||
description: Position and style the element using CSS.
|
description: Position and style the element using CSS.
|
||||||
type: object
|
type: object
|
||||||
|
default: "position: absolute, transform: translate(-50%, -50%)"
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
The process for creating and referencing custom elements is the same as for custom cards.
|
The process for creating and referencing custom elements is the same as for custom cards.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user