From c4aec696787de30702fddb04cf9ce6e77de7aebe Mon Sep 17 00:00:00 2001 From: bmauger Date: Wed, 20 Oct 2021 11:54:08 -0400 Subject: [PATCH] Revert "Update buttons to use one button for all instances (so far)." This reverts commit 868897f0d2353ca307692fc57235fa1d42292b48. --- src/Funnel1.vue | 27 ++++++++++++++++-------- src/assets/scss/components/_buttons.scss | 10 ++++----- src/components/buttons/buttonPrimary.vue | 24 ++------------------- 3 files changed, 25 insertions(+), 36 deletions(-) diff --git a/src/Funnel1.vue b/src/Funnel1.vue index 8bbfbc974..f55bfe40c 100644 --- a/src/Funnel1.vue +++ b/src/Funnel1.vue @@ -26,24 +26,29 @@
-
- +
+
+
+
+
@@ -56,6 +61,8 @@ import imageButton from './components/imageButton'; import confetti from './components/confetti'; import buttonPrimary from './components/buttons/buttonPrimary'; + import buttonPrimaryFocus from './components/buttons/buttonPrimaryFocus'; + import buttonDisabled from './components/buttons/buttonDisabled'; export default { @@ -65,7 +72,9 @@ vehicleImage, imageButton, confetti, - buttonPrimary + buttonPrimary, + buttonPrimaryFocus, + buttonDisabled } } diff --git a/src/assets/scss/components/_buttons.scss b/src/assets/scss/components/_buttons.scss index 0d0608dd7..efbb34ded 100644 --- a/src/assets/scss/components/_buttons.scss +++ b/src/assets/scss/components/_buttons.scss @@ -30,11 +30,11 @@ } } } - } - &.disabled { - background: $gray-100; - background: linear-gradient(270deg, $gray-100 0%, $gray-100 100%); - color: $gray-400; + &:disabled { + background: $gray-100; + background: linear-gradient(270deg, $gray-100 0%, $gray-100 100%); + color: $gray-400; + } } &.btn-primary-focus { position: relative;//Required for :after pseduo to position correctly diff --git a/src/components/buttons/buttonPrimary.vue b/src/components/buttons/buttonPrimary.vue index abc24e291..50cd6daa7 100644 --- a/src/components/buttons/buttonPrimary.vue +++ b/src/components/buttons/buttonPrimary.vue @@ -1,30 +1,10 @@