From 542b912090af799f38b92c8a59bb41bca1553a55 Mon Sep 17 00:00:00 2001 From: Liyas Thomas Date: Fri, 30 Aug 2019 15:37:51 +0530 Subject: [PATCH] :zap: Added 'Not found' prompt for empty filtered history --- components/history.vue | 227 ++++++++++++++++++----------------------- components/toggle.vue | 35 ++++--- pages/index.vue | 121 ++++++++++++---------- 3 files changed, 185 insertions(+), 198 deletions(-) diff --git a/components/history.vue b/components/history.vue index 3db297a11..50d5f8a0b 100644 --- a/components/history.vue +++ b/components/history.vue @@ -2,34 +2,8 @@ - @@ -40,10 +14,7 @@
  • - + {{entry.status}}
  • @@ -56,122 +27,120 @@
  • -
  • -
  • + +
    - - diff --git a/components/toggle.vue b/components/toggle.vue index c02e950bc..2e9ea5d9b 100644 --- a/components/toggle.vue +++ b/components/toggle.vue @@ -3,7 +3,8 @@ - + @@ -14,7 +15,7 @@ $inactiveColor: var(--fg-color); $inactiveHandleColor: $inactiveColor; - $activeHandleColor: var(--fg-color); + $activeHandleColor: var(--act-color); $width: 50px; $height: 20px; @@ -27,7 +28,7 @@ } label.caption { - margin-left: 5px; + margin-left: 4px; vertical-align: middle; } @@ -62,7 +63,7 @@ pointer-events: none; transition: $transition; - box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); } &.on { @@ -75,24 +76,26 @@ } } } + diff --git a/pages/index.vue b/pages/index.vue index a17885dfe..4af0b0c1f 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -187,15 +187,15 @@ - +