diff --git a/src/app/src/App.vue b/src/app/src/App.vue
index 427708c..c69faae 100644
--- a/src/app/src/App.vue
+++ b/src/app/src/App.vue
@@ -52,6 +52,9 @@ body {
padding-top: 50px;
margin: 0;
}
+h1, h2, h3, h4, h5 {
+ font-weight: 500;
+}
p {
margin-bottom: 0;
}
@@ -138,10 +141,51 @@ a:hover {
}
.mpj-text-right {
text-align: right;
- color: rgba(0, 0, 0, .60);
}
.mpj-muted-text {
- color: rgba(0, 0, 0, .60);
+ color: rgba(0, 0, 0, .6);
+}
+.mpj-narrow {
+ max-width: 40rem;
+ margin: auto;
+}
+.mpj-modal {
+ position: fixed;
+ z-index: 8;
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ overflow: auto;
+ background-color: rgba(0, 0, 0, .4);
+}
+.mpj-modal-content {
+ background-color: whitesmoke;
+ border: solid 1px #050;
+ border-radius: .5rem;
+ animation-name: animatetop;
+ animation-duration: 0.4s;
+ padding: 1rem;
+ margin-top: 4rem;
+}
+@keyframes animatetop {
+ from {
+ top: -300px;
+ opacity: 0;
+ }
+ to {
+ top: 0;
+ opacity: 1;
+ }
+}
+.mpj-modal-content header {
+ margin: -1rem -1rem .5rem;
+ border-radius: .4rem;
+}
+.mpj-modal-content header h3 {
+ color: white;
+ margin: 0;
+ padding: 1rem;
}
.mpj-margin {
margin-left: 1rem;
diff --git a/src/app/src/components/request/EditRequest.vue b/src/app/src/components/request/EditRequest.vue
index 235cd12..22a35d9 100644
--- a/src/app/src/components/request/EditRequest.vue
+++ b/src/app/src/components/request/EditRequest.vue
@@ -1,7 +1,7 @@
article.mpj-main-content(role='main')
page-title(:title='title')
- form.mpj-edit-request-form
+ .mpj-narrow
label(for='request_text') Prayer Request
br
textarea#request_text(v-model='form.requestText'
@@ -28,14 +28,14 @@ article.mpj-main-content(role='main')
v-model='form.status')
label(for='status_answered')= ' Answered'
br(v-else)
- div.mpj-edit-request-form.mpj-text-right
- button(@click.stop='saveRequest()').primary
- md-icon(icon='save')
- = ' Save'
- |
- button(@click.stop='goBack()')
- md-icon(icon='arrow_back')
- = ' Cancel'
+ .mpj-text-right
+ button(@click.stop='saveRequest()').primary
+ md-icon(icon='save')
+ = ' Save'
+ |
+ button(@click.stop='goBack()')
+ md-icon(icon='arrow_back')
+ = ' Cancel'
-