From 48ac2685b7fc3e9cf5f177b2a39fbb645d23003d Mon Sep 17 00:00:00 2001 From: Jose Olarte III Date: Sun, 2 Apr 2023 10:57:21 +0800 Subject: [PATCH] New toggle-style contact amounts control --- src/assets/styles/tailwind.css | 7 +++++++ src/views/AccountViewView.vue | 20 ++++++++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/src/assets/styles/tailwind.css b/src/assets/styles/tailwind.css index e4a92e79c..b05122da3 100644 --- a/src/assets/styles/tailwind.css +++ b/src/assets/styles/tailwind.css @@ -9,3 +9,10 @@ font-family: 'Work Sans', ui-sans-serif, system-ui, sans-serif !important; } } + +@layer components { + input:checked ~ .dot { + transform: translateX(100%); + background-color: #FFF !important; + } +} \ No newline at end of file diff --git a/src/views/AccountViewView.vue b/src/views/AccountViewView.vue index 81345187a..000eb8d2f 100644 --- a/src/views/AccountViewView.vue +++ b/src/views/AccountViewView.vue @@ -192,6 +192,26 @@ + + +