mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-04-29 06:48:16 +00:00
Adjust popup card styles for mobile
This commit is contained in:
@@ -4,26 +4,12 @@ binary_sensor.house_mode:
|
|||||||
'--ha-card-border-radius': 0 0 0.8em 0.8em
|
'--ha-card-border-radius': 0 0 0.8em 0.8em
|
||||||
border-radius: 0.8em
|
border-radius: 0.8em
|
||||||
opacity: 0.95
|
opacity: 0.95
|
||||||
margin-bottom: 200px
|
|
||||||
min-width: 400px
|
min-width: 400px
|
||||||
card:
|
card:
|
||||||
type: entities
|
type: entities
|
||||||
entities:
|
entities:
|
||||||
- input_select.house_mode
|
- input_select.house_mode
|
||||||
|
|
||||||
sensor.synology_type_volume_1:
|
|
||||||
title: Platinum
|
|
||||||
style: &popup_style_no_margin
|
|
||||||
'--ha-card-border-radius': 0 0 0.8em 0.8em
|
|
||||||
border-radius: 0.8em
|
|
||||||
opacity: 0.95
|
|
||||||
margin-bottom: 0
|
|
||||||
height: 80%
|
|
||||||
min-width: 400px
|
|
||||||
card:
|
|
||||||
type: custom:decluttering-card
|
|
||||||
template: platinum_card
|
|
||||||
|
|
||||||
binary_sensor.motion_1_ias_zone:
|
binary_sensor.motion_1_ias_zone:
|
||||||
title: Kitchen motion
|
title: Kitchen motion
|
||||||
style: &broad_popup_style
|
style: &broad_popup_style
|
||||||
@@ -32,7 +18,6 @@ binary_sensor.motion_1_ias_zone:
|
|||||||
opacity: 0.95
|
opacity: 0.95
|
||||||
margin-bottom: 200px
|
margin-bottom: 200px
|
||||||
width: 40%
|
width: 40%
|
||||||
min-width: 500px
|
|
||||||
card:
|
card:
|
||||||
type: vertical-stack
|
type: vertical-stack
|
||||||
cards:
|
cards:
|
||||||
@@ -77,6 +62,12 @@ binary_sensor.motion_2_ias_zone:
|
|||||||
entities:
|
entities:
|
||||||
- entity: sensor.motion_2_illuminance
|
- entity: sensor.motion_2_illuminance
|
||||||
|
|
||||||
|
sensor.synology_type_volume_1:
|
||||||
|
title: Platinum
|
||||||
|
style: *popup_style
|
||||||
|
card:
|
||||||
|
type: custom:decluttering-card
|
||||||
|
template: platinum_card
|
||||||
|
|
||||||
switch.camera:
|
switch.camera:
|
||||||
title: Security camera
|
title: Security camera
|
||||||
|
|||||||
Reference in New Issue
Block a user