merged/config/merged/card_styles.yml

106 lines
2.4 KiB
YAML
Raw Normal View History

2022-12-08 16:16:28 +02:00
---
- template: card_full_image
header: Full background
2023-01-04 17:12:34 +02:00
text: Text in box on top of the imag. Adjustable background
and text color to mix/match with images.
2022-12-08 16:16:28 +02:00
fields:
- header
- text
options:
- background
- color
- text_align
2022-12-08 16:16:28 +02:00
- template: card_gap_square
header: Narrow card with up down section
text: Smaller image, large margins, possible subheader
Order turns it upside down, image bottom
fields:
- header
- text
options:
- background
- color
- order
- text_align
2022-12-08 16:16:28 +02:00
- subheader
- template: card_normal_square
header: Standard card with square image
2023-01-04 17:12:34 +02:00
text: Image, header, text, normal stuff. No margin between image and text.
Possible subheader. Text alignment option. Also option to turn upside
down with order.
2022-12-08 16:16:28 +02:00
fields:
- header
- text
options:
- background
- color
- text_align
2022-12-08 16:16:28 +02:00
- subheader
2023-01-04 17:12:34 +02:00
- order
2023-01-14 14:45:31 +02:00
- button_link
- button_text
2023-01-04 17:12:34 +02:00
- template: card_wide_square
header: Sideway card with square image
text: Much like standard square card, just turned sideways.
fields:
- header
- text
options:
- background
- color
- text_align
- subheader
- order
2023-01-14 16:37:21 +02:00
- button_link
- button_text
2023-01-05 13:56:50 +02:00
- template: card_feature_normal
header: Card looking feature
text: For things where no image is available or apropriate.
Making lists a little more interesting to look at.
May use svg as image.
fields:
- header
- text
options:
- background
- color
- text_align
- button_link
- button_text
2023-01-05 17:46:27 +02:00
- template: card_feature_box
header: Feature card with box
2023-01-05 17:04:05 +02:00
text: For things where no image is available or apropriate.
Making lists a little more interesting to look at.
May use svg as image.
fields:
- header
- text
options:
- background
- color
- text_align
- button_link
- button_text
2022-12-08 16:16:28 +02:00
- template: card_normal_round
2023-01-04 17:12:34 +02:00
header: Standard card with rounded look
text: Otherwise quite similar to standard. But there is gap under the image.
2022-12-08 16:16:28 +02:00
fields:
- header
- text
2022-12-14 17:17:16 +02:00
options:
- background
- color
- text_align
2023-01-14 16:37:21 +02:00
- button_link
- button_text
2022-12-09 00:53:15 +02:00
- template: form_field
header: A single field in a form
text: The header is the Name of the field, the description
serves as a placeholder.
fields:
- header
- text
options:
- compulsory
- form_type