From 9bae257548fd42e1fb8eb193bf2bb45e8402e009 Mon Sep 17 00:00:00 2001 From: pnoker Date: Sun, 31 Oct 2021 21:41:13 +0800 Subject: [PATCH] fix(card): standardize card css class names across all entity card components --- src/components/card/styles/thing-card.scss | 10 +++++----- src/views/application/ApplicationCard.vue | 18 +++++++++--------- src/views/dashboard/DashboardCard.vue | 10 +++++----- src/views/device/DeviceCard.vue | 10 +++++----- src/views/driver/DriverCard.vue | 10 +++++----- src/views/gateway/GatewayCard.vue | 10 +++++----- src/views/point/PointCard.vue | 10 +++++----- src/views/point/info/PointInfoCard.vue | 6 +++--- src/views/point/value/PointValueCard.vue | 8 ++++---- src/views/profile/ProfileCard.vue | 10 +++++----- 10 files changed, 51 insertions(+), 51 deletions(-) diff --git a/src/components/card/styles/thing-card.scss b/src/components/card/styles/thing-card.scss index 0aacfbf8c..2503716b4 100644 --- a/src/components/card/styles/thing-card.scss +++ b/src/components/card/styles/thing-card.scss @@ -42,7 +42,7 @@ cursor: pointer; } -.thing-content { +.thing-card-content { height: 100%; display: flex; flex-direction: column; @@ -106,7 +106,7 @@ border-bottom: 1px solid #fbc4c4; } -.thing-body { +.thing-card__body { display: flex; flex-direction: column; @@ -114,7 +114,7 @@ padding-inline-start: 5px; } - .thing-body-content { + .thing-card-body-content { display: flex; justify-content: center; @@ -196,14 +196,14 @@ } } -.thing__footer { +.thing-card__footer { height: 20px; margin-top: 2px; display: flex; justify-content: space-between; border-top: 1px solid #dcdfe6; - .thing__footer-title { + .thing-card-footer-title { text-align: center; font-size: 14px; font-weight: bold; diff --git a/src/views/application/ApplicationCard.vue b/src/views/application/ApplicationCard.vue index 19c5d5892..798fd01f1 100644 --- a/src/views/application/ApplicationCard.vue +++ b/src/views/application/ApplicationCard.vue @@ -1,17 +1,17 @@