diff --git a/app/models/form.server.model.js b/app/models/form.server.model.js index 0cde31ce..cecade11 100644 --- a/app/models/form.server.model.js +++ b/app/models/form.server.model.js @@ -138,7 +138,13 @@ var FormSchema = new Schema({ buttonColor: { type: String, match: [/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/] - }, + default: '#fff', + }, + buttonTextColor: { + type: String, + match: [/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/], + default: '#333' + }, }, font: String, backgroundImage: { type: Schema.Types.Mixed } diff --git a/public/modules/forms/css/form.css b/public/modules/forms/css/form.css index 4a64709f..f4859d67 100644 --- a/public/modules/forms/css/form.css +++ b/public/modules/forms/css/form.css @@ -21,8 +21,8 @@ bottom: 0; } -section.public-form { - margin-top: -70px; +.container.admin-form { + margin-top: 70px; } section.content p.breakwords { @@ -370,7 +370,7 @@ div.config-form .row.field { /* Styles for form list view (/forms) */ section > section.public-form { - padding: 0 10% 10%; + padding: 0 10% 0 10%; } .form-item { diff --git a/public/modules/forms/views/adminTabs/design.html b/public/modules/forms/views/adminTabs/design.html index 2065b46f..899c57fa 100644 --- a/public/modules/forms/views/adminTabs/design.html +++ b/public/modules/forms/views/adminTabs/design.html @@ -21,7 +21,7 @@
-
Question Font Color
+
Question Text Color
@@ -34,13 +34,36 @@
-
Answer Font Color
+
Answer Text Color
+ +
+
+
Button Background Color
+
+ +
+ +
+
+
+
+
Button Text Color
+
+ +
+ +
+
@@ -52,4 +75,4 @@ - \ No newline at end of file + diff --git a/public/modules/forms/views/directiveViews/field/statement.html b/public/modules/forms/views/directiveViews/field/statement.html index a1f3d2b0..b7d94578 100644 --- a/public/modules/forms/views/directiveViews/field/statement.html +++ b/public/modules/forms/views/directiveViews/field/statement.html @@ -9,7 +9,8 @@
diff --git a/public/modules/forms/views/directiveViews/field/textarea.html b/public/modules/forms/views/directiveViews/field/textarea.html index a4d2ab07..627a9216 100755 --- a/public/modules/forms/views/directiveViews/field/textarea.html +++ b/public/modules/forms/views/directiveViews/field/textarea.html @@ -17,7 +17,8 @@ diff --git a/public/modules/forms/views/directiveViews/field/textfield.html b/public/modules/forms/views/directiveViews/field/textfield.html index 76245992..9d546604 100755 --- a/public/modules/forms/views/directiveViews/field/textfield.html +++ b/public/modules/forms/views/directiveViews/field/textfield.html @@ -9,7 +9,7 @@
diff --git a/public/modules/forms/views/directiveViews/form/submit-form.client.view.html b/public/modules/forms/views/directiveViews/form/submit-form.client.view.html index a49edfb7..6278a526 100755 --- a/public/modules/forms/views/directiveViews/form/submit-form.client.view.html +++ b/public/modules/forms/views/directiveViews/form/submit-form.client.view.html @@ -2,83 +2,87 @@
-
-
-

- {{myform.startPage.introTitle}} -

-
-
-

- {{myform.startPage.introParagraph}} -

-
-
+class="form-submitted" +style="padding-top: 35vh;"> +
+
+

+{{myform.startPage.introTitle}} +

+
+
+

+{{myform.startPage.introParagraph}} +

+
+
-
- -
- +
+ +
+
-
-
-
- - -
-
-
+
+
+
+ + +
+
+
-
- - - -
- - press ENTER - -
-
+
-
+ +