-
+
-
diff --git a/src/public/modules/core/components/banner.client.component.js b/src/public/modules/core/components/banner.client.component.js
index 80d174e99d..1d00c1b696 100644
--- a/src/public/modules/core/components/banner.client.component.js
+++ b/src/public/modules/core/components/banner.client.component.js
@@ -12,10 +12,17 @@ angular.module('core').component('bannerComponent', {
function bannerController() {
const vm = this
+ vm.BANNER_TYPES = {
+ info: 'info',
+ warn: 'warn',
+ error: 'error',
+ }
+
vm.$onInit = () => {
if (!vm.message) {
vm.bannerHidden = true
} else {
+ processBannerMessage()
vm.bannerHidden = false
}
}
@@ -26,4 +33,21 @@ function bannerController() {
vm.bannerHidden = true
})
}
+
+ const processBannerMessage = () => {
+ // Retrieve banner type from message, but it is possible that no types
+ // exist.
+ const vmMessage = vm.message || ''
+ const type = vmMessage.split(':').shift().trim().toLowerCase()
+ const retrievedType = vm.BANNER_TYPES[type]
+
+ vm.bannerType = retrievedType || vm.BANNER_TYPES.info
+
+ // If there is a type retrieved from message, remove the type encoding in
+ // the message.
+ // The + 1 is to also remove the semicolon from the encoding
+ vm.bannerMessage = retrievedType
+ ? vmMessage.substring(vmMessage.indexOf(':') + 1).trim()
+ : vmMessage
+ }
}
diff --git a/src/public/modules/core/css/admin-form-header.css b/src/public/modules/core/css/admin-form-header.css
index 5155cc5edd..e1234087df 100644
--- a/src/public/modules/core/css/admin-form-header.css
+++ b/src/public/modules/core/css/admin-form-header.css
@@ -1,8 +1,21 @@
+/*
+* Prefixed by https://autoprefixer.github.io
+* PostCSS: v7.0.29,
+* Autoprefixer: v9.7.6
+* Browsers: last 4 version
+*/
+
/* Form header */
#admin-form .vcenter {
+ display: -webkit-box;
+ display: -ms-flexbox;
display: flex;
+ -webkit-box-pack: center;
+ -ms-flex-pack: center;
justify-content: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
align-items: center;
}
@@ -10,6 +23,9 @@
padding-top: 10px;
padding-bottom: 10px;
background-color: white;
+ -webkit-box-flex: 0;
+ -ms-flex: 0 1 auto;
+ flex: 0 1 auto;
}
#admin-form #form-header #header-myforms {
@@ -26,8 +42,14 @@
#admin-form #form-header .right-spacer {
margin-right: 15px;
+ display: -webkit-box;
+ display: -ms-flexbox;
display: flex;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
align-items: center;
+ -webkit-box-pack: end;
+ -ms-flex-pack: end;
justify-content: flex-end;
}
@@ -48,6 +70,7 @@
#admin-form #form-header #header-myforms a:hover {
color: #2f60ce;
+ -webkit-text-decoration-line: none;
text-decoration-line: none;
}
@@ -61,6 +84,7 @@
margin-bottom: 0;
white-space: nowrap;
overflow: hidden;
+ -o-text-overflow: ellipsis;
text-overflow: ellipsis;
}
@@ -205,6 +229,8 @@
width: 700px;
top: 125px;
left: 50%;
+ -webkit-transform: translate(-50%);
+ -ms-transform: translate(-50%);
transform: translate(-50%);
}
@@ -379,6 +405,7 @@
margin-bottom: 10px;
white-space: nowrap;
overflow: hidden;
+ -o-text-overflow: ellipsis;
text-overflow: ellipsis;
}
@@ -396,9 +423,15 @@
cursor: pointer;
height: 20px;
width: 20px;
+ display: -webkit-box;
+ display: -ms-flexbox;
display: flex;
font-size: 30px;
+ -webkit-box-pack: center;
+ -ms-flex-pack: center;
justify-content: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
align-items: center;
color: #979797;
margin-left: 20px;
diff --git a/src/public/modules/core/css/avatar-dropdown.css b/src/public/modules/core/css/avatar-dropdown.css
index e1bb64c6e1..fbffccc786 100644
--- a/src/public/modules/core/css/avatar-dropdown.css
+++ b/src/public/modules/core/css/avatar-dropdown.css
@@ -1,3 +1,10 @@
+/*
+* Prefixed by https://autoprefixer.github.io
+* PostCSS: v7.0.29,
+* Autoprefixer: v9.7.6
+* Browsers: last 4 version
+*/
+
.navbar__avatar {
position: relative;
display: -webkit-inline-box;
@@ -14,7 +21,9 @@
}
.navbar__avatar__avatar {
- display: block;
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
color: #fff;
text-transform: uppercase;
border: 2px solid #484848;
@@ -26,6 +35,12 @@
font-size: 16px;
cursor: pointer;
position: relative;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+ -webkit-box-pack: center;
+ -ms-flex-pack: center;
+ justify-content: center;
}
@media not all and (min-width: 768px) {
diff --git a/src/public/modules/core/css/banner.css b/src/public/modules/core/css/banner.css
new file mode 100644
index 0000000000..b342f9fe22
--- /dev/null
+++ b/src/public/modules/core/css/banner.css
@@ -0,0 +1,92 @@
+/*
+* Prefixed by https://autoprefixer.github.io
+* PostCSS: v7.0.29,
+* Autoprefixer: v9.7.6
+* Browsers: last 4 version
+*/
+
+/* BANNER COMPONENT */
+
+banner-component {
+ -webkit-box-flex: 0;
+ -ms-flex: 0 1 auto;
+ flex: 0 1 auto;
+}
+
+.banner-container {
+ position: sticky;
+ top: 0;
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+ padding: 12px 20px;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+ -webkit-box-pack: center;
+ -ms-flex-pack: center;
+ justify-content: center;
+ line-height: 20px;
+ font-weight: normal;
+ overflow: hidden;
+ font-size: 16px;
+ z-index: 999;
+ width: 100%;
+}
+
+.banner-container-info {
+ /* Additional padding as opposed to the rest to accomodate dismiss button */
+ padding: 12px 50px 12px 20px;
+ background-color: #1e3e84;
+ color: #f0f4f6;
+}
+
+.banner-container-info a {
+ color: #f0f4f6;
+}
+
+.banner-container a {
+ text-decoration: underline;
+ cursor: pointer;
+ font-weight: normal;
+}
+
+.banner-container-warn {
+ background-color: #ffe47a;
+ color: #323232;
+}
+
+.banner-container-warn a {
+ color: #323232;
+}
+
+.banner-container-error {
+ background-color: #a94442;
+ color: #fff;
+}
+
+.banner-container-error a {
+ color: #fff;
+}
+
+.banner-container div {
+ display: inline-block;
+}
+
+.banner-container #dismiss {
+ position: absolute;
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-pack: center;
+ -ms-flex-pack: center;
+ justify-content: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+ right: 0;
+ top: 0;
+ height: 100%;
+ width: 50px;
+ cursor: pointer;
+}
diff --git a/src/public/modules/core/css/core.css b/src/public/modules/core/css/core.css
index 38e7a2287e..612671eacb 100755
--- a/src/public/modules/core/css/core.css
+++ b/src/public/modules/core/css/core.css
@@ -1,3 +1,10 @@
+/*
+* Prefixed by https://autoprefixer.github.io
+* PostCSS: v7.0.29,
+* Autoprefixer: v9.7.6
+* Browsers: last 4 version
+*/
+
/* Global Variables */
a {
@@ -12,8 +19,13 @@ input:-webkit-autofill {
-webkit-box-shadow: 0 0 0 30px white inset !important;
}
+html,
+body {
+ height: 100%;
+ margin: 0;
+}
+
body {
- overflow-x: hidden;
font-family: 'Muli', sans-serif;
font-size: 16px;
overscroll-behavior-y: none;
@@ -25,6 +37,17 @@ body {
float: none;
}
+.page-container {
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-orient: vertical;
+ -webkit-box-direction: normal;
+ -ms-flex-flow: column;
+ flex-flow: column;
+ height: 100vh;
+}
+
/* ====================================================== */
/* Custom CSS for Buttons */
@@ -132,6 +155,7 @@ textarea.input-custom {
.input-custom:focus {
border: solid 2px #2f60ce;
+ -webkit-box-shadow: none;
box-shadow: none;
outline: none;
}
@@ -141,20 +165,34 @@ textarea.input-custom {
border: solid 1px #ccc;
}
-.input-custom::placeholder {
+.input-custom::-webkit-input-placeholder {
+ /* Chrome, Firefox, Opera, Safari 10.1+ */
+ color: #b8b8b8;
+ opacity: 1; /* Firefox */
+}
+
+.input-custom::-moz-placeholder {
/* Chrome, Firefox, Opera, Safari 10.1+ */
color: #b8b8b8;
opacity: 1; /* Firefox */
}
.input-custom:-ms-input-placeholder {
- /* Internet Explorer 10-11 */
+ /* Chrome, Firefox, Opera, Safari 10.1+ */
color: #b8b8b8;
+ opacity: 1; /* Firefox */
}
.input-custom::-ms-input-placeholder {
- /* Microsoft Edge */
+ /* Chrome, Firefox, Opera, Safari 10.1+ */
color: #b8b8b8;
+ opacity: 1; /* Firefox */
+}
+
+.input-custom::placeholder {
+ /* Chrome, Firefox, Opera, Safari 10.1+ */
+ color: #b8b8b8;
+ opacity: 1; /* Firefox */
}
/* ====================================================== */
@@ -302,6 +340,8 @@ button.btn-delete > .bx-trash {
padding: 2px;
border-radius: 23px;
background-color: #dcdcdc;
+ -webkit-transition: all 0.3s ease-in-out;
+ -o-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
margin-bottom: 0;
}
@@ -316,9 +356,17 @@ button.btn-delete > .bx-trash {
width: 30px;
background-color: white;
border-radius: 50%;
+ -webkit-transition: all 0.3s ease-in-out;
+ -o-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
+ display: -webkit-box;
+ display: -ms-flexbox;
display: flex;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
align-items: center;
+ -webkit-box-pack: center;
+ -ms-flex-pack: center;
justify-content: center;
border: solid 1px #b8b8b8;
color: #b8b8b8;
@@ -344,6 +392,8 @@ button.btn-delete > .bx-trash {
}
.toggle-selector-on .toggle-selector-switch {
+ -webkit-transform: translateX(101%);
+ -ms-transform: translateX(101%);
transform: translateX(101%);
border: solid 1px #07926e;
color: #07926e;
@@ -546,6 +596,7 @@ body #toast-container > div {
}
body #toast-container > div:hover {
+ -webkit-box-shadow: none;
box-shadow: none;
}
@@ -574,7 +625,11 @@ body #toast-container .toast .toast-message .toast-custom-icon {
left: 10px;
font-size: 35px;
height: 100%;
+ display: -webkit-box;
+ display: -ms-flexbox;
display: flex;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
align-items: center;
}
@@ -646,8 +701,14 @@ i.glyphicon-question-sign {
width: 100%;
background-color: rgba(255, 255, 255, 0.7);
z-index: 1000;
+ display: -webkit-box;
+ display: -ms-flexbox;
display: flex;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
align-items: center;
+ -webkit-box-pack: center;
+ -ms-flex-pack: center;
justify-content: center;
}
diff --git a/src/public/modules/core/css/landing.css b/src/public/modules/core/css/landing.css
index e59110d2cd..a9f79cb519 100644
--- a/src/public/modules/core/css/landing.css
+++ b/src/public/modules/core/css/landing.css
@@ -802,49 +802,3 @@
#landing #landing-footer #footer-links span {
float: right;
}
-
-/* BANNER COMPONENT */
-
-banner-component {
- position: fixed;
- font-size: 16px;
- z-index: 10;
- width: 100%;
- bottom: 0;
-}
-
-.banner-container {
- display: flex;
- padding: 12px 50px 12px 20px;
- background-color: #1e3e84;
- align-items: center;
- justify-content: center;
- color: #f0f4f6;
- line-height: 20px;
- font-weight: 100;
- width: 100%;
- overflow: hidden;
-}
-
-.banner-container div {
- display: inline-block;
-}
-
-.banner-container #dismiss {
- position: absolute;
- display: flex;
- justify-content: center;
- align-items: center;
- right: 0;
- top: 0;
- height: 100%;
- width: 50px;
- cursor: pointer;
-}
-
-.banner-container a {
- color: #f0f4f6;
- text-decoration: underline;
- cursor: pointer;
- font-weight: normal;
-}
diff --git a/src/public/modules/forms/admin/controllers/list-forms.client.controller.js b/src/public/modules/forms/admin/controllers/list-forms.client.controller.js
index 253be9a92e..b0e17f4fe2 100644
--- a/src/public/modules/forms/admin/controllers/list-forms.client.controller.js
+++ b/src/public/modules/forms/admin/controllers/list-forms.client.controller.js
@@ -152,12 +152,6 @@ function ListFormsController(
vm.showFormBtns[formId] = true
}
- // Hide form buttons if area
- // outside form buttons is clicked
- vm.closeListFormModal = () => {
- vm.clearFormBtns()
- }
-
vm.clearFormBtns = () => {
vm.showFormBtns = []
}
diff --git a/src/public/modules/forms/admin/controllers/view-responses.client.controller.js b/src/public/modules/forms/admin/controllers/view-responses.client.controller.js
index eceab09d5d..ee240516b3 100644
--- a/src/public/modules/forms/admin/controllers/view-responses.client.controller.js
+++ b/src/public/modules/forms/admin/controllers/view-responses.client.controller.js
@@ -16,6 +16,8 @@ angular
'Toastr',
'$uibModal',
'$timeout',
+ '$location',
+ '$anchorScroll',
'moment',
'FormSgSdk',
ViewResponsesController,
@@ -29,6 +31,8 @@ function ViewResponsesController(
Toastr,
$uibModal,
$timeout,
+ $location,
+ $anchorScroll,
moment,
FormSgSdk,
) {
@@ -100,6 +104,18 @@ function ViewResponsesController(
},
}
+ // Function to use $anchorScroll to scroll to top of responses.
+ vm.scrollToTop = function () {
+ // set the location.hash
+ $location.hash('responses-tab')
+
+ $anchorScroll()
+
+ // Remove hash
+ $location.hash('')
+ $location.replace()
+ }
+
// Trigger for export CSV
vm.exportCsv = function () {
let params = {
@@ -261,6 +277,7 @@ function ViewResponsesController(
}
vm.nextRespondent = function () {
+ vm.scrollToTop()
if (vm.currentResponse.number <= 1) {
// This is the last response
} else if (vm.currentResponse.index >= vm.tableParams.data.length - 1) {
@@ -281,6 +298,7 @@ function ViewResponsesController(
}
vm.previousRespondent = function () {
+ vm.scrollToTop()
if (vm.currentResponse.number >= vm.responsesCount) {
// This is the first response
} else if (vm.currentResponse.index <= 0) {
diff --git a/src/public/modules/forms/admin/css/edit-form.css b/src/public/modules/forms/admin/css/edit-form.css
index 1f1ef33a27..efd11156d8 100644
--- a/src/public/modules/forms/admin/css/edit-form.css
+++ b/src/public/modules/forms/admin/css/edit-form.css
@@ -1,3 +1,10 @@
+/*
+* Prefixed by https://autoprefixer.github.io
+* PostCSS: v7.0.29,
+* Autoprefixer: v9.7.6
+* Browsers: last 4 version
+*/
+
.modal-body {
overflow-x: hidden;
}
@@ -7,6 +14,44 @@
margin: auto;
}
+#admin-form .admin-form-content .tab-content .tab-pane .logic-container,
+#admin-form .admin-form-content .tab-content .tab-pane .settings-container,
+#admin-form .admin-form-content .tab-content .tab-pane .share-container,
+#admin-form .admin-form-content .tab-content .tab-pane .results-container,
+#admin-form .admin-form-content .tab-content .tab-pane .build-container {
+ overflow: auto;
+ height: 100%;
+}
+
+#admin-form .admin-form-content {
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-orient: vertical;
+ -webkit-box-direction: normal;
+ -ms-flex-flow: column;
+ flex-flow: column;
+
+ /* Height of header and navbar */
+ height: calc(100% - 135px);
+}
+
+#admin-form .admin-form-content .nav-pills {
+ -webkit-box-flex: 0;
+ -ms-flex: 0 1 auto;
+ flex: 0 1 auto;
+}
+
+#admin-form .admin-form-content .tab-content {
+ height: 100%;
+
+ /* overflow: hidden; */
+}
+
+#admin-form .admin-form-content .tab-content .tab-pane {
+ height: 100%;
+}
+
/* Left/bottom side of edit form: Add field icons */
@media not all and (min-width: 768px) {
@@ -22,9 +67,9 @@
@media all and (min-width: 768px) {
#admin-form #current-fields {
- height: calc(100vh - 135px);
- overflow-y: scroll;
padding: 45px 10% 45px 10%;
+ overflow: auto;
+ height: 100%;
}
#admin-form #current-fields .current-field-item .current-field-title {
@@ -37,9 +82,9 @@
#admin-form #add-field {
float: left;
width: 270px;
- height: calc(100vh - 135px);
overflow-y: scroll;
background-color: #f0f4f6;
+ height: 100%;
}
#admin-form #add-field #myinfo-disable-screen .myinfo-storage-overlay {
@@ -53,7 +98,6 @@
background-color: rgba(77, 104, 117, 0.9);
color: white;
padding: 168px 40px 168px 40px;
- margin: -20px -11px -20px -11px;
}
#admin-form #add-field #myinfo-disable-screen a {
@@ -67,16 +111,18 @@
#admin-form #add-field .myinfo-category {
font-size: 13px;
margin-left: 5px;
- margin-bottom: 15px;
+ margin-bottom: 13px;
}
#admin-form #add-field hr {
border: solid 1px #dee7eb;
- margin-left: 5px;
+ margin: 0 13px;
}
#admin-form #add-field .nav-tabs {
width: 100%;
+ display: -webkit-box;
+ display: -ms-flexbox;
display: flex;
}
@@ -109,13 +155,10 @@
border-bottom: 3px solid white;
}
-#admin-form #add-field .tab-content {
- padding: 20px 8px;
-}
-
#admin-form #add-field .tab-content .tab-pane .row {
margin-left: 0;
margin-right: 0;
+ padding: 20px 8px;
}
#admin-form #add-field .add-field-panel {
@@ -202,8 +245,14 @@
#admin-form #add-field-mobile #add-field-btn {
position: fixed;
z-index: 50;
+ display: -webkit-box;
+ display: -ms-flexbox;
display: flex;
+ -webkit-box-pack: center;
+ -ms-flex-pack: center;
justify-content: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
align-items: center;
cursor: pointer;
bottom: 10px;
@@ -242,6 +291,8 @@
#add-field-modal .nav-tabs {
width: 100%;
+ display: -webkit-box;
+ display: -ms-flexbox;
display: flex;
}
@@ -278,8 +329,13 @@
}
#add-field-modal .add-field-modal-panel {
+ display: -webkit-box;
+ display: -ms-flexbox;
display: flex;
+ -ms-flex-wrap: wrap;
flex-wrap: wrap;
+ -webkit-box-pack: center;
+ -ms-flex-pack: center;
justify-content: center;
}
@@ -323,8 +379,14 @@
bottom: 30px;
left: calc(50% - 25px);
z-index: 2000;
+ display: -webkit-box;
+ display: -ms-flexbox;
display: flex;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
align-items: center;
+ -webkit-box-pack: center;
+ -ms-flex-pack: center;
justify-content: center;
color: #fff;
font-size: 25px;
@@ -371,7 +433,11 @@
#admin-form #current-fields .start-end-item {
text-align: center;
+ -webkit-box-pack: center;
+ -ms-flex-pack: center;
justify-content: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
align-items: center;
font-size: 18px;
line-height: 1.22;
@@ -379,11 +445,19 @@
}
#admin-form #current-fields .current-field-item {
+ display: -webkit-box;
+ display: -ms-flexbox;
display: flex;
+ -webkit-box-orient: horizontal;
+ -webkit-box-direction: normal;
+ -ms-flex-direction: row;
flex-direction: row;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
align-items: center;
height: 60px;
border: solid 1px #23489b;
+ -webkit-box-shadow: 1px 2px 6px 0 rgba(0, 0, 0, 0.1);
box-shadow: 1px 2px 6px 0 rgba(0, 0, 0, 0.1);
padding: 0 17px 0 17px;
background-color: #fff;
@@ -427,6 +501,8 @@
.current-field-item
.current-field-icon
*:first-child {
+ display: -webkit-box;
+ display: -ms-flexbox;
display: flex;
}
@@ -435,6 +511,7 @@
line-height: 1.22;
color: #4a4a4a;
overflow: hidden;
+ -o-text-overflow: ellipsis;
text-overflow: ellipsis;
white-space: nowrap;
}
@@ -442,7 +519,11 @@
#admin-form #current-fields .current-field-item .current-field-options,
#admin-form #current-fields .current-field-item .current-field-opt-icon-group {
margin-left: auto;
+ display: -webkit-box;
+ display: -ms-flexbox;
display: flex;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
align-items: center;
}
@@ -454,8 +535,14 @@
background: none;
border: none;
outline: none;
+ display: -webkit-box;
+ display: -ms-flexbox;
display: flex;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
align-items: center;
+ -webkit-box-pack: center;
+ -ms-flex-pack: center;
justify-content: center;
}
@@ -467,8 +554,14 @@
font-size: 10px;
color: #767676;
background-color: #f0f0f0;
+ display: -webkit-box;
+ display: -ms-flexbox;
display: flex;
+ -webkit-box-pack: center;
+ -ms-flex-pack: center;
justify-content: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
align-items: center;
}
@@ -517,6 +610,7 @@
#admin-form #current-fields .current-field-hidden {
border: 1px solid #dcdcdc;
+ -webkit-box-shadow: none;
box-shadow: none;
}
@@ -529,6 +623,7 @@
#admin-form #edit-form {
background-color: #fff;
+ height: 100%;
}
.edit-modal-window .modal-dialog {
@@ -547,7 +642,11 @@
}
.full-page-modal .modal-header > .modal-title {
+ display: -webkit-box;
+ display: -ms-flexbox;
display: flex;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
align-items: center;
}
@@ -572,6 +671,7 @@
border: none;
border-radius: 0;
overflow: auto;
+ -webkit-box-shadow: none;
box-shadow: none;
}
@@ -606,7 +706,11 @@
> .modal-content
> .modal-body
.preview-field-panel {
+ display: -webkit-box;
+ display: -ms-flexbox;
display: flex;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
align-items: center;
background-color: white;
padding-top: 50px;
@@ -696,6 +800,8 @@
}
.edit-modal-window .modal-body > .row {
+ display: -webkit-box;
+ display: -ms-flexbox;
display: flex;
}
@@ -840,6 +946,8 @@
position: absolute;
bottom: 0;
left: 0;
+ -webkit-transform: translate(-10px, 7px);
+ -ms-transform: translate(-10px, 7px);
transform: translate(-10px, 7px);
}
@@ -945,7 +1053,11 @@
}
.edit-modal-window .edit-panel .table-column-title {
+ display: -webkit-box;
+ display: -ms-flexbox;
display: flex;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
align-items: center;
padding-bottom: 10px;
}
@@ -1002,7 +1114,10 @@
/* Color options on Edit Start Page modal */
.color-field {
+ display: -webkit-box;
+ display: -ms-flexbox;
display: flex;
+ -ms-flex-pack: distribute;
justify-content: space-around;
}
@@ -1032,6 +1147,8 @@
}
.color-field .selected-color-field {
+ -webkit-transform: scale(1.2);
+ -ms-transform: scale(1.2);
transform: scale(1.2);
}
@@ -1169,7 +1286,11 @@ a.modal-cancel-btn:hover {
/* Components */
.toggle-option {
+ display: -webkit-box;
+ display: -ms-flexbox;
display: flex;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
align-items: center;
}
@@ -1201,15 +1322,27 @@ a.modal-cancel-btn:hover {
/* Image */
#upload-image {
+ display: -webkit-box;
+ display: -ms-flexbox;
display: flex;
+ -webkit-box-orient: horizontal;
+ -webkit-box-direction: normal;
+ -ms-flex-direction: row;
flex-direction: row;
+ -webkit-box-pack: justify;
+ -ms-flex-pack: justify;
justify-content: space-between;
border: solid 1px #b8b8b8;
background-color: #fff;
}
#image-details {
+ display: -webkit-box;
+ display: -ms-flexbox;
display: flex;
+ -webkit-box-orient: vertical;
+ -webkit-box-direction: normal;
+ -ms-flex-direction: column;
flex-direction: column;
padding: 14px 0 14px 20px;
}
@@ -1225,7 +1358,11 @@ a.modal-cancel-btn:hover {
}
#upload-button-footer {
+ display: -webkit-box;
+ display: -ms-flexbox;
display: flex;
+ -webkit-box-pack: justify;
+ -ms-flex-pack: justify;
justify-content: space-between;
margin-top: 4px;
margin-bottom: 8px;
@@ -1244,7 +1381,11 @@ a.modal-cancel-btn:hover {
}
#remove-image {
+ display: -webkit-box;
+ display: -ms-flexbox;
display: flex;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
align-items: center;
padding: 0 20px;
}
diff --git a/src/public/modules/forms/admin/css/list-forms.css b/src/public/modules/forms/admin/css/list-forms.css
index 799684d78d..414f1eb099 100644
--- a/src/public/modules/forms/admin/css/list-forms.css
+++ b/src/public/modules/forms/admin/css/list-forms.css
@@ -1,22 +1,34 @@
+/*
+* Prefixed by https://autoprefixer.github.io
+* PostCSS: v7.0.29,
+* Autoprefixer: v9.7.6
+* Browsers: last 4 version
+*/
+
/* List forms */
#list-tab {
- min-height: 100vh;
width: 100%;
+ height: 100%;
background-color: #f0f4f6;
overflow-x: hidden;
}
#list-form #list-form-exist #list-form-overlay {
position: absolute;
- width: 90%;
- height: 90%;
+
+ /* Huge width in addition to negative left positioning allows for both sides
+ of the form to be covered */
+ width: 150vw;
+ left: -50%;
+ height: 100%;
z-index: 0;
}
#list-form {
z-index: 100;
padding-bottom: 50px;
+ position: relative;
}
/* Welcome message */
@@ -43,6 +55,7 @@
#list-form #list-form-exist .form-item {
text-align: center;
background-color: #fff;
+ -webkit-box-shadow: 1px 2px 6px 0 rgba(0, 0, 0, 0.1);
box-shadow: 1px 2px 6px 0 rgba(0, 0, 0, 0.1);
/* Transparent border so content is not
@@ -74,6 +87,8 @@
/* Mouseover behavior */
#list-form #list-form-exist .form-item#create-new:hover {
+ -webkit-transition: all 0.2s;
+ -o-transition: all 0.2s;
transition: all 0.2s;
background-color: #82a0e2;
cursor: pointer;
@@ -87,6 +102,8 @@
#list-form #list-form-exist .form-item:not(#create-new).active {
background-color: #04aa80;
cursor: pointer;
+ -webkit-transition: all 0.5s;
+ -o-transition: all 0.5s;
transition: all 0.5s;
opacity: 1;
border: solid 3px #07926e;
@@ -118,6 +135,7 @@
color: #323232;
padding: 0 15px 10px 15px;
overflow: hidden;
+ -o-text-overflow: ellipsis;
text-overflow: ellipsis;
}
@@ -250,8 +268,15 @@
/* Small screen sizes */
@media not all and (min-width: 768px) {
#list-form #list-form-exist {
+ display: -webkit-box;
+ display: -ms-flexbox;
display: flex;
+ -webkit-box-pack: center;
+ -ms-flex-pack: center;
justify-content: center;
+ -webkit-box-orient: vertical;
+ -webkit-box-direction: normal;
+ -ms-flex-direction: column;
flex-direction: column;
}
diff --git a/src/public/modules/forms/admin/directiveViews/edit-form.client.view.html b/src/public/modules/forms/admin/directiveViews/edit-form.client.view.html
index f4059c7a3b..19c9bf13fa 100644
--- a/src/public/modules/forms/admin/directiveViews/edit-form.client.view.html
+++ b/src/public/modules/forms/admin/directiveViews/edit-form.client.view.html
@@ -38,8 +38,8 @@
MyInfo
-
PERSONAL
+
PERSONAL
-
CONTACT
+
CONTACT
-
EMPLOYMENT & EDUCATION
+
EMPLOYMENT & EDUCATION
-
FAMILY