From 7906ee2c49964e169371130dccffc939e16c4049 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 30 Apr 2023 22:32:50 +0200 Subject: [PATCH] Entity components style improvements. Multiple style improvements for the entity components. Among these: - A more consistent style for entity values and toggler buttons. - Fixed overflowing/underflowing entities on smaller/larger screen sizes. - Simplified the stylesheets for many entities as many component classes have now been moved to `common.scss`. --- .../components/panels/Entities/Battery.vue | 26 ++------- .../panels/Entities/BinarySensor.vue | 25 ++------ .../src/components/panels/Entities/Cpu.vue | 20 ++----- .../src/components/panels/Entities/Dimmer.vue | 22 ++----- .../src/components/panels/Entities/Disk.vue | 57 +++++++------------ .../src/components/panels/Entities/Entity.vue | 7 ++- .../components/panels/Entities/EnumSensor.vue | 29 ++-------- .../components/panels/Entities/EnumSwitch.vue | 19 ++----- .../src/components/panels/Entities/Light.vue | 8 +-- .../panels/Entities/LinkQuality.vue | 23 ++------ .../panels/Entities/MemoryStats.vue | 38 ++++++------- .../panels/Entities/PercentSensor.vue | 17 ++---- .../src/components/panels/Entities/Sensor.vue | 31 ++-------- .../components/panels/Entities/Variable.vue | 42 ++++++++++---- .../components/panels/Entities/common.scss | 53 +++++++++++++++-- 15 files changed, 171 insertions(+), 246 deletions(-) diff --git a/platypush/backend/http/webapp/src/components/panels/Entities/Battery.vue b/platypush/backend/http/webapp/src/components/panels/Entities/Battery.vue index 621977fd6..3363c6984 100644 --- a/platypush/backend/http/webapp/src/components/panels/Entities/Battery.vue +++ b/platypush/backend/http/webapp/src/components/panels/Entities/Battery.vue @@ -1,22 +1,16 @@