From c484146d2a1d2904c4d4c1ce413f493e6399da35 Mon Sep 17 00:00:00 2001 From: Danil Kovtonyuk Date: Thu, 30 Jan 2020 03:48:59 +1000 Subject: [PATCH] add loading state to makeContribution button --- assets/styles/app.scss | 14 ++++++++++++++ package.json | 1 - pages/index.vue | 2 +- yarn.lock | 21 --------------------- 4 files changed, 15 insertions(+), 23 deletions(-) diff --git a/assets/styles/app.scss b/assets/styles/app.scss index ee27d45..b6d0eac 100644 --- a/assets/styles/app.scss +++ b/assets/styles/app.scss @@ -59,5 +59,19 @@ &.is-primary.is-outlined { background-color: rgba($primary, .104); + + &.is-loading:focus { + background-color: rgba($primary, .104); + + &::after { + border-color: transparent transparent $primary $primary !important; + } + } + } + + &.is-loading { + &::after { + border-radius: 100%; + } } } diff --git a/package.json b/package.json index bb98527..d27ac63 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,6 @@ "crypto": "^1.0.1", "dotenv": "^8.2.0", "express": "^4.16.4", - "express-fileupload": "^1.1.6", "express-session": "^1.17.0", "morgan": "^1.9.1", "multer": "^1.4.2", diff --git a/pages/index.vue b/pages/index.vue index c692791..0370756 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -3,7 +3,7 @@
Hello, Anonymous