From 294ffead44b9df8f6850130ef0ae62d8837eb6e9 Mon Sep 17 00:00:00 2001 From: Justin Nguyen Date: Tue, 19 Mar 2024 01:43:54 -0700 Subject: [PATCH] added Open button for Vehicle Status widget. Adjusted sizing of other components in Status widget --- .../VehicleStatus/EmergencyStop.vue | 64 +++++++------------ src/components/VehicleStatus/Open.vue | 50 +++++++++++++++ src/components/VehicleStatus/VehicleTitle.vue | 19 ++++-- src/components/VehicleStatusComponent.vue | 31 ++++++--- 4 files changed, 109 insertions(+), 55 deletions(-) create mode 100644 src/components/VehicleStatus/Open.vue diff --git a/src/components/VehicleStatus/EmergencyStop.vue b/src/components/VehicleStatus/EmergencyStop.vue index 5947a9d..639905e 100644 --- a/src/components/VehicleStatus/EmergencyStop.vue +++ b/src/components/VehicleStatus/EmergencyStop.vue @@ -1,9 +1,9 @@ + \ No newline at end of file diff --git a/src/components/VehicleStatus/Open.vue b/src/components/VehicleStatus/Open.vue new file mode 100644 index 0000000..c04c32b --- /dev/null +++ b/src/components/VehicleStatus/Open.vue @@ -0,0 +1,50 @@ + + + + + + \ No newline at end of file diff --git a/src/components/VehicleStatus/VehicleTitle.vue b/src/components/VehicleStatus/VehicleTitle.vue index 51733c5..ec9c7ab 100644 --- a/src/components/VehicleStatus/VehicleTitle.vue +++ b/src/components/VehicleStatus/VehicleTitle.vue @@ -1,6 +1,7 @@ @@ -70,19 +75,29 @@ } .adjust-battery { - height: 19%; - width: 36%; + height: 17%; + width: 34.5%; margin-top: auto; margin-left: 8%; } .adjust-connection { - height: 30%; - width: 28%; - margin-top: 1%; + height: 28%; + width: 26%; + margin-top: 2%; margin-bottom: 4%; margin-left: 10%; } - + .adjust-emergency-button { + margin-top: auto; + margin-bottom: 4%; + margin-left: 20%; + } + + .adjust-open-button { + margin-top: 4%; + margin-left: 60%; + } + \ No newline at end of file