From 26aed2e5a56de174d63f118c3db516d80ccbf460 Mon Sep 17 00:00:00 2001 From: Immanuel Onyeka Date: Wed, 9 Nov 2022 16:07:28 -0500 Subject: [PATCH] Add and reset fees from a modal --- assets/main.css | 31 ++++++++++++++++++ components/dialog.vue | 21 ++++++++++++ components/new.vue | 76 +++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 125 insertions(+), 3 deletions(-) create mode 100644 components/dialog.vue diff --git a/assets/main.css b/assets/main.css index 6fd7993..3f08e10 100644 --- a/assets/main.css +++ b/assets/main.css @@ -8,6 +8,7 @@ --outline: #DFE3E8; --brand: #0f6b4b; --shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; + --shadow-md: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; } body { @@ -222,6 +223,9 @@ section.radios h3 { grid-column: 1 / 3; } +.form button { +} + .form.radios input { height: 20px; } @@ -287,3 +291,30 @@ section.form .fee { section.form .fee img { margin-left: auto; } + +div.modal { + position: fixed; + z-index: 5; + width: 100vw; + width: 100vw; + height: 100vh; + top: 0; + left: 0; +} + +div.modal .form { + z-index: 5; + margin: auto auto; + margin-top: 20%; + width: 100%; + max-width: 300px; + padding: 20px 10px; + background: white; + box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; + border-radius: 3px; +} + +div.modal .form img.close-btn { + right: 10px; + position: absolute; +} diff --git a/components/dialog.vue b/components/dialog.vue new file mode 100644 index 0000000..4fa697e --- /dev/null +++ b/components/dialog.vue @@ -0,0 +1,21 @@ + + + diff --git a/components/new.vue b/components/new.vue index a9ad5d0..d600e4c 100644 --- a/components/new.vue +++ b/components/new.vue @@ -144,11 +144,39 @@ selected="estimate.transaction == 1"> ${{fee.amount}} - {{fee.name}}
{{fee.type}} - + + + +

New Fee

+ + + + + + + + + + + +
+

Mortgage Insurance