From a31a70f435fdfec004d4ee252fd0ee7368996db3 Mon Sep 17 00:00:00 2001 From: Stefan Zermatten Date: Mon, 18 Feb 2019 14:26:46 +0200 Subject: [PATCH] Made health bar editing compatible with dark mode --- app/imports/ui/components/HealthBar.vue | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/app/imports/ui/components/HealthBar.vue b/app/imports/ui/components/HealthBar.vue index ce5414a9..111ab9c3 100644 --- a/app/imports/ui/components/HealthBar.vue +++ b/app/imports/ui/components/HealthBar.vue @@ -53,12 +53,12 @@ @click="$refs.editInput.focus()" class="mr-2" > - add - remove + + add + + + remove + - + done - + close @@ -120,6 +120,7 @@ this.editValue = this.value; this.$nextTick(function() { this.$refs.editInput.focus(); + console.log() }); }, cancelEdit() { @@ -185,6 +186,12 @@ .theme--dark .hover { background: #515151 !important; } + .filled.theme--light { + background: #fff !important; + } + .filled.theme--dark { + background: #424242 !important; + } .background-transition-enter-active, .background-transition-leave-active { transition: all 0.2s;