From 7e03f1f9d968af2eaa88ca84d8e83a7ee710d60b Mon Sep 17 00:00:00 2001 From: Georgi Gardev Date: Fri, 1 May 2020 20:50:57 +0300 Subject: [PATCH] Adjust popup card styles for mobile --- config/lovelace/popup_cards.yaml | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/config/lovelace/popup_cards.yaml b/config/lovelace/popup_cards.yaml index aa0754d..19c80b2 100644 --- a/config/lovelace/popup_cards.yaml +++ b/config/lovelace/popup_cards.yaml @@ -4,26 +4,12 @@ binary_sensor.house_mode: '--ha-card-border-radius': 0 0 0.8em 0.8em border-radius: 0.8em opacity: 0.95 - margin-bottom: 200px min-width: 400px card: type: entities entities: - 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: title: Kitchen motion style: &broad_popup_style @@ -32,7 +18,6 @@ binary_sensor.motion_1_ias_zone: opacity: 0.95 margin-bottom: 200px width: 40% - min-width: 500px card: type: vertical-stack cards: @@ -77,6 +62,12 @@ binary_sensor.motion_2_ias_zone: entities: - 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: title: Security camera