From 3739a3244878aa285e1ffde383c154c7408ee229 Mon Sep 17 00:00:00 2001 From: Danil Kovtonyuk Date: Thu, 5 Nov 2020 17:47:03 +1000 Subject: [PATCH] add tooltips to deploy button add waiting state --- assets/styles/components/_step.scss | 5 +++- components/Diamond.vue | 18 +++++++----- components/Step.vue | 44 ++++++++++++++++++++--------- langs/en.json | 4 ++- package.json | 2 +- yarn.lock | 28 +++++++++--------- 6 files changed, 64 insertions(+), 37 deletions(-) diff --git a/assets/styles/components/_step.scss b/assets/styles/components/_step.scss index 08ccca0..fd1da25 100644 --- a/assets/styles/components/_step.scss +++ b/assets/styles/components/_step.scss @@ -40,12 +40,15 @@ @include until(576px) { font-size: 0.9rem; } + + + .deployed { + margin-top: .25rem; + } } .deployed { font-size: 0.813rem; color: #6B6B6B; - margin-top: .25rem; text-overflow: ellipsis; overflow: hidden; } diff --git a/components/Diamond.vue b/components/Diamond.vue index ec8dde7..93612d6 100644 --- a/components/Diamond.vue +++ b/components/Diamond.vue @@ -12,24 +12,24 @@ cy="30" r="29.5" fill="#111111" - :stroke="active ? '#44F1A6' : '#3F3F3F'" + :stroke="waiting ? '#FFB950' : active ? '#44F1A6' : '#3F3F3F'" /> @@ -41,6 +41,10 @@ export default { type: Boolean, default: false, }, + waiting: { + type: Boolean, + default: false, + }, }, } diff --git a/components/Step.vue b/components/Step.vue index 5f842b5..5c9a4a7 100644 --- a/components/Step.vue +++ b/components/Step.vue @@ -1,18 +1,21 @@