diff --git a/css/common.css b/css/common.css index 1280de486..18e7f4826 100644 --- a/css/common.css +++ b/css/common.css @@ -3,201 +3,204 @@ */ .pages_count, .qsm-page .pages_count, -.quiz_section .pages_count{ - display: block; - text-align: center; +.quiz_section .pages_count { + display: block; + text-align: center; } -.mlw_qmn_question p:empty, .qsm-d-none{ - display: none; +.mlw_qmn_question p:empty, +.qsm-d-none { + display: none; } -.MJXc-display{ - display: inline-block !important; +.MJXc-display { + display: inline-block !important; } -body .quiz_section .qsm_contact_div .mlw_qmn_question{ - display: block; +body .quiz_section .qsm_contact_div .mlw_qmn_question { + display: block; } .mlw_qmn_question.polar-question-title { margin-bottom: 10px; } -.polar-question-title{ - margin-bottom: 50px; - font-size: 16px; - line-height: 20px; +.polar-question-title { + margin-bottom: 50px; + font-size: 16px; + line-height: 20px; } div .quiz_section .question-type-polar-s, .qsm_questions_answers_section .mlw_qmn_question .question-type-polar-s, -.qsm-quiz-container .mlw_qmn_question .question-type-polar-s{ - display: inline-flex; - flex-wrap: wrap; - width: 100%; - align-content: space-between; - align-items: center; +.qsm-quiz-container .mlw_qmn_question .question-type-polar-s { + display: inline-flex; + flex-wrap: wrap; + width: 100%; + align-content: space-between; + align-items: center; } .question-type-polar-s img { - max-width: 100%; - object-fit: cover; + max-width: 100%; + object-fit: cover; } -.question-type-polar-s br{ - display: none; +.question-type-polar-s br { + display: none; } -.question-type-polar-s .left-polar-title{ - width: auto; - max-width: 25%; +.question-type-polar-s .left-polar-title { + width: auto; + max-width: 25%; } -.question-type-polar-s .slider-main-wrapper{ - width: calc(50% - 20px); - padding-left: 10px; - padding-right: 10px; +.question-type-polar-s .slider-main-wrapper { + width: calc(50% - 20px); + padding-left: 10px; + padding-right: 10px; } -.question-type-polar-s .right-polar-title{ - width: auto; - max-width: 25%; +.question-type-polar-s .right-polar-title { + width: auto; + max-width: 25%; } -.question-type-polar-s .qsm_image_caption{ - display: block; +.question-type-polar-s .qsm_image_caption { + display: block; } .qsm_image_result_caption, -.qsm_image_result_caption_default{ - background-color: white; - display: block; - width: 100%; - box-sizing: border-box; - padding: 5px 5px 5px 27px; -} -.question-type-polar-s .ui-widget-content{ - background: #A5A5A5; - border-color: #A5A5A5; - border-radius: 0; - height: 20px; -} -.question-type-polar-s .ui-widget-content .ui-slider-handle{ - background: rgb(119, 113, 113); - height: 32px; - border-color: rgb(119, 113, 113); - top: -7px; - border-radius: 0px; - text-decoration: none; - color: #fff !important; - display: flex; - justify-content: center; -} -.site .question-type-polar-s a.ui-state-focus:focus{ - background: rgba(119, 113, 113, 1); - border-color: rgb(119, 113, 113, 1); - text-decoration: none; -} -.qsm-deselect-answer{ - float: right; +.qsm_image_result_caption_default { + background-color: white; + display: block; + width: 100%; + box-sizing: border-box; + padding: 5px 5px 5px 27px; +} +.question-type-polar-s .ui-widget-content { + background: #a5a5a5; + border-color: #a5a5a5; + border-radius: 0; + height: 20px; +} +.question-type-polar-s .ui-widget-content .ui-slider-handle { + background: rgb(119, 113, 113); + height: 32px; + border-color: rgb(119, 113, 113); + top: -7px; + border-radius: 0px; + text-decoration: none; + color: #fff !important; + display: flex; + justify-content: center; +} +.site .question-type-polar-s a.ui-state-focus:focus { + background: rgba(119, 113, 113, 1); + border-color: rgb(119, 113, 113, 1); + text-decoration: none; +} +.qsm-deselect-answer { + float: right; } .qsm-popup__close { - text-decoration: none !important; + text-decoration: none !important; } -.qsm-popup__btn-primary{ - margin-right: 30px; +.qsm-popup__btn-primary { + margin-right: 30px; } .submit-the-form { - margin-left: 15px !important; + margin-left: 15px !important; } -body .qsm-popup__container{ - padding-top: 40px; - padding-bottom: 50px; +body .qsm-popup__container { + padding-top: 40px; + padding-bottom: 50px; } -body .qsm-popup__header{ - text-align: left; +body .qsm-popup__header { + text-align: left; } body .qsm-popup .qsm-popup__btn { - font-size: 16px; - padding-left: 15px; - padding-right: 15px; - padding-top: 10px; - padding-bottom: 10px; + font-size: 16px; + padding-left: 15px; + padding-right: 15px; + padding-top: 10px; + padding-bottom: 10px; } -body .qsm-popup__content{ - text-align: center; +body .qsm-popup__content { + text-align: center; } -body .qsm-popup__content > img{ - display: inline-block; - width: 70px; +body .qsm-popup__content > img { + display: inline-block; + width: 70px; } -body .qsm-popup__content > p.qsm-time-up-text{ - font-weight: bold; - font-size: 24px; - margin-top: 10px; - font-family: inherit; +body .qsm-popup__content > p.qsm-time-up-text { + font-weight: bold; + font-size: 24px; + margin-top: 10px; + font-family: inherit; } -footer.qsm-popup__footer{ - text-align: center; +footer.qsm-popup__footer { + text-align: center; } -footer.qsm-popup__footer button.qsm-popup-secondary-button{ - background-color: #808080 !important; +footer.qsm-popup__footer button.qsm-popup-secondary-button { + background-color: #808080 !important; } -footer.qsm-popup__footer button.qsm-popup-secondary-button:hover{ - background-color: #808080 !important; - opacity: 0.9; +footer.qsm-popup__footer button.qsm-popup-secondary-button:hover { + background-color: #808080 !important; + opacity: 0.9; } .qsm-quiz-container select, .qsm-quiz-container input[type=checkbox], -.qsm-quiz-container input[type=radio]{ +.qsm-quiz-container input[type=radio] { cursor: pointer; } .qmn_accept_answers input[type=checkbox] { - vertical-align: top; - position: relative; - bottom: -5px; -} -.qsm-quiz-container .qsm-contact-type-checkbox{ - display: flex; - align-items: center; - flex-wrap: nowrap; - align-content: center; -} -.qsm-quiz-container .qsm-contact-type-checkbox input{margin: 0 5px 0 3px;} -.mlw_qmn_question_number{ - font-weight: bold; -} -.quiz_section .mlw_qmn_new_question{ - font-weight: bold; - display: inline; - width: auto; - margin-bottom: 10px; -} -.quiz_section .mlw_qmn_question.qsm_remove_bold{ - font-weight: normal; - display: block; - margin-bottom: 10px; -} -.quiz_section iframe{ - width: 100% !important; - min-height: 315px !important; -} -.qsm-progress-bar .progressbar-text{ - position: absolute; - padding: 0px; - margin: 0px; - top: 10px !important; - right: 10px; - font-size: 13px; - font-weight: bold; - color: rgb(52, 152, 219); -} -.quiz_section .mlw-file-upload-error-msg{ - color: red; - display: block; + vertical-align: top; + position: relative; + bottom: -5px; +} +.qsm-quiz-container .qsm-contact-type-checkbox { + display: flex; + align-items: center; + flex-wrap: nowrap; + align-content: center; +} +.qsm-quiz-container .qsm-contact-type-checkbox input { + margin: 0 5px 0 3px; +} +.mlw_qmn_question_number { + font-weight: bold; +} +.quiz_section .mlw_qmn_new_question { + font-weight: bold; + display: inline; + width: auto; + margin-bottom: 10px; +} +.quiz_section .mlw_qmn_question.qsm_remove_bold { + font-weight: normal; + display: block; + margin-bottom: 10px; +} +.quiz_section iframe { + width: 100% !important; + min-height: 315px !important; +} +.qsm-progress-bar .progressbar-text { + position: absolute; + padding: 0px; + margin: 0px; + top: 10px !important; + right: 10px; + font-size: 13px; + font-weight: bold; + color: rgb(52, 152, 219); +} +.quiz_section .mlw-file-upload-error-msg { + color: red; + display: block; } -.quiz_section .remove-uploaded-file{ - color: red; - border: 1px solid red; - width: 31px; - padding: 5px 5px 0px 5px; - display: inline-block; - cursor: pointer; +.quiz_section .remove-uploaded-file { + color: red; + border: 1px solid red; + width: 31px; + padding: 5px 5px 0px 5px; + display: inline-block; + cursor: pointer; } @@ -205,171 +208,164 @@ footer.qsm-popup__footer button.qsm-popup-secondary-button:hover{ * Design for new template variable QUESTION_WITH_ANSWER */ -.mlw_qmn_question .qmn_user_incorrect_answer{ - display: block; - color: #dc3232; - margin-bottom: 5px; - padding-left: 10px; +.mlw_qmn_question .qmn_user_incorrect_answer { + display: block; + color: #dc3232; + margin-bottom: 5px; + padding-left: 10px; } .mlw_qmn_question span.qmn_user_incorrect_answer::before { - position: relative; - top: 3px; - content: "\f335"; - font-family: dashicons; - - left: -10px; + position: relative; + top: 3px; + content: "\f335"; + font-family: dashicons; + left: -10px; } -.mlw_qmn_question .qmn_user_correct_answer{ - display: block; - color: green; - margin-bottom: 5px; - padding-left: 10px; -} -.mlw_qmn_question .qmn_user_correct_answer:before{ - content: "\f159"; - font-family: dashicons; - position: relative; - top: 3px; - left: -10px; +.mlw_qmn_question .qmn_user_correct_answer { + display: block; + color: green; + margin-bottom: 5px; + padding-left: 10px; +} +.mlw_qmn_question .qmn_user_correct_answer:before { + content: "\f159"; + font-family: dashicons; + position: relative; + top: 3px; + left: -10px; } -.mlw_qmn_question .qsm-text-wrong-option{ - display: block; - color: #dc3232; - margin-bottom: 5px; - padding-left: 10px; +.mlw_qmn_question .qsm-text-wrong-option { + display: block; + color: #dc3232; + margin-bottom: 5px; + padding-left: 10px; } .mlw_qmn_question span.qsm-text-wrong-option::before { - content: "\f335"; - font-family: dashicons; - position: relative; - top: 3px; - left: -10px; -} -.mlw_qmn_question .qsm-text-correct-option{ - display: block; - color: green; - margin-bottom: 5px; - padding-left: 10px; -} -.mlw_qmn_question .qsm-text-correct-option:before{ - content: "\f159"; - font-family: dashicons; - position: relative; - top: 3px; - left: -10px; -} -body .qsm-results-page .mlw_qmn_question .qmn_image_option:before{ - position: absolute; - top: calc(100% - 40px); - left: 15px; - background: #fff; - border-radius: 50%; - line-height: 1; -} -.qsm-results-page .mlw_qmn_question .qmn_image_option{ - flex-direction: column; - flex-wrap: nowrap; - height: auto; -} -.mlw_qmn_question .qsm-text-correct-option.qsm-text-user-correct-answer:before{ - content: "\f12a"; - top: 4px; -} -.mlw_qmn_question .qsm-text-simple-option{ - display: block; - margin-bottom: 5px; - color: #808080; - padding-left: 10px; -} -.mlw_qmn_question .qsm-text-simple-option:before{ - content: "\f159"; - font-family: dashicons; - position: relative; - top: 3px; - left: -10px; + content: "\f335"; + font-family: dashicons; + position: relative; + top: 3px; + left: -10px; +} +.mlw_qmn_question .qsm-text-correct-option { + display: block; + color: green; + margin-bottom: 5px; + padding-left: 10px; +} +.mlw_qmn_question .qsm-text-correct-option:before { + content: "\f159"; + font-family: dashicons; + position: relative; + top: 3px; + left: -10px; +} +body .qsm-results-page .mlw_qmn_question .qmn_image_option:before { + position: absolute; + top: calc(100% - 40px); + left: 15px; + background: #fff; + border-radius: 50%; + line-height: 1; +} +.qsm-results-page .mlw_qmn_question .qmn_image_option { + flex-direction: column; + flex-wrap: nowrap; + height: auto; +} +.mlw_qmn_question .qsm-text-correct-option.qsm-text-user-correct-answer:before { + content: "\f12a"; + top: 4px; +} +.mlw_qmn_question .qsm-text-simple-option { + display: block; + margin-bottom: 5px; + color: #808080; + padding-left: 10px; +} +.mlw_qmn_question .qsm-text-simple-option:before { + content: "\f159"; + font-family: dashicons; + position: relative; + top: 3px; + left: -10px; } .qsm-results-page .qmn_question_answer.qsm-add-border-bottom { - border-bottom: 1px solid #808080; - padding-bottom: 25px; + border-bottom: 1px solid #808080; + padding-bottom: 25px; } .qmn_quiz_container.qsm_auto_pagination_enabled { - position: relative; -} -.qmn_quiz_container.qsm_auto_pagination_enabled .quiz_section.quiz_end .qsm-btn{ - bottom: 0; - right: 0; - width: auto; - text-align: right; - height: auto; - padding: 0; - position: absolute; - z-index: 1; - margin-bottom: 15px; -} -.quiz_section input[type="text"].qmn_fill_blank{ - display: inline-block; -} -.qmn_quiz_container .mlw_previous{ - margin-bottom: 15px; -} -.multi-checkbox-limit-reach{ - color: red; - margin-top: 5px; - display: inline-block; + position: relative; +} +.qmn_quiz_container.qsm_auto_pagination_enabled .quiz_section.quiz_end .qsm-btn { + position: absolute; + bottom: 15px; + right: 0; + z-index: 1; +} +.quiz_section input[type="text"].qmn_fill_blank { + display: inline-block; +} +.multi-checkbox-limit-reach { + color: red; + margin-top: 5px; + display: inline-block; width: 100%; } -.quiz_section .qsm-inline-correct-info{ - margin-bottom: 0; - margin-top: 10px; -} -.quiz_section.qmn_error .mlw_answer_date{ - border: 1px solid #da4f49; - background: #F2DEDE; - padding: 5px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.qsm_social_share_link{display: inline-block;cursor: pointer;} -@media screen and (max-width: 767px){ - .question-type-polar-s .left-polar-title, - .question-type-polar-s .slider-main-wrapper, - .question-type-polar-s .right-polar-title{ - width: 100%; - margin-bottom: 30px; - } - .question-type-polar-s{ - height: auto !important; - } - body .quiz_section .qmn_radio_answers label, - body .quiz_section .qmn_check_answers label, - body .quiz_section .qmn_accept_answers label{ - font-size: 14px !important; - } - .question-type-polar-s .left-polar-title { - order: 1; - max-width: calc(50% - 10px); - padding-right: 10px; - } - .question-type-polar-s .right-polar-title { - order: 2; - max-width: calc(50% - 10px); - text-align: right; - padding-left: 10px; - } - .question-type-polar-s .slider-main-wrapper{ - order: 3; - } +.quiz_section .qsm-inline-correct-info { + margin-bottom: 0; + margin-top: 10px; +} +.quiz_section.qmn_error .mlw_answer_date { + border: 1px solid #da4f49; + background: #f2dede; + padding: 5px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} +.qsm_social_share_link { + display: inline-block; + cursor: pointer; +} +@media screen and (max-width: 767px) { + .question-type-polar-s .left-polar-title, + .question-type-polar-s .slider-main-wrapper, + .question-type-polar-s .right-polar-title { + width: 100%; + margin-bottom: 30px; + } + .question-type-polar-s { + height: auto !important; + } + body .quiz_section .qmn_radio_answers label, + body .quiz_section .qmn_check_answers label, + body .quiz_section .qmn_accept_answers label { + font-size: 14px !important; + } + .question-type-polar-s .left-polar-title { + order: 1; + max-width: calc(50% - 10px); + padding-right: 10px; + } + .question-type-polar-s .right-polar-title { + order: 2; + max-width: calc(50% - 10px); + text-align: right; + padding-left: 10px; + } + .question-type-polar-s .slider-main-wrapper { + order: 3; + } } .qsm_tooltip { position: relative; display: inline-block; cursor: pointer; } - -.qsm_tooltip .qsm_tooltiptext{ +.qsm_tooltip .qsm_tooltiptext { visibility: hidden; width: 120px; background-color: black; @@ -385,14 +381,15 @@ body .qsm-results-page .mlw_qmn_question .qmn_image_option:before{ left: 50%; margin-left: -60px; } -.qsm_tooltip .qsm_tooltiptext a{ +.qsm_tooltip .qsm_tooltiptext a { background-color: black !important; color: #fff!important; } .qsm_tooltip:hover .qsm_tooltiptext { visibility: visible; } -body .ui-tooltip, body .ui-tooltip.ui-widget-content{ +body .ui-tooltip, +body .ui-tooltip.ui-widget-content { box-shadow: none; background: #222; color: #fff; @@ -404,52 +401,78 @@ body .ui-tooltip, body .ui-tooltip.ui-widget-content{ text-align: justify; } .qsm_quiz_processing_box { - display: inline-block; - width: 100%; - box-sizing: border-box; - padding: 20px; - text-align: center; + display: inline-block; + width: 100%; + box-sizing: border-box; + padding: 20px; + text-align: center; } -.qsm_quiz_processing_box .qsm_quiz_processing_message{ - margin: 10px 0; +.qsm_quiz_processing_box .qsm_quiz_processing_message { + margin: 10px 0; } .qsm-text-correct-option.not-opted { color: #6f7479; } .admin_page_qsm_quiz_result_details .qmn_image_option img, .quiz_section .qmn_image_option img { - width: 100%; - height: 100%; - object-fit: cover; + width: 100%; + height: 100%; + object-fit: cover; } .admin_page_qsm_quiz_result_details .qmn_image_option img { - overflow: hidden; -} -.admin_page_qsm_quiz_result_details .qmn_image_option{ - width: 48%; - height: 250px; - display: inline-flex !important; - position: relative; - flex-wrap: nowrap; - overflow: hidden; - padding: 1%; - box-sizing: border-box; - align-items: flex-end; -} -.admin_page_qsm_quiz_result_details - .qsm_image_result_caption_default{ - display: block; - width: calc(100% - 45px); - box-sizing: content-box; - position: absolute; - left: 27px; - right: 50px; - padding: 5px; - bottom:10px; - z-index:99; - color: black; + overflow: hidden; +} +.admin_page_qsm_quiz_result_details .qmn_image_option { + width: 48%; + height: 250px; + display: inline-flex !important; + position: relative; + flex-wrap: nowrap; + overflow: hidden; + padding: 1%; + box-sizing: border-box; + align-items: flex-end; +} +.admin_page_qsm_quiz_result_details .qsm_image_result_caption_default { + display: block; + width: calc(100% - 45px); + box-sizing: content-box; + position: absolute; + left: 27px; + right: 50px; + padding: 5px; + bottom: 10px; + z-index: 99; + color: black; } .admin_page_qsm_quiz_result_details .qmn_question_answer.qsm-add-border-bottom { - border-bottom: 1px solid #808080; - padding-bottom: 25px; + border-bottom: 1px solid #808080; + padding-bottom: 25px; +} +.qmn_btn, +.qmn_quiz_container .qmn_btn, +.qmn_quiz_container .btn { + position: relative; + display: inline-block; + box-sizing: border-box; + color: #666 !important; + background: #ccc !important; + border: 1px solid #ccc !important; + font-family: inherit; + font-size: 16px !important; + line-height: 22px; + text-align: center; + min-width: 100px; + padding: 10px 20px !important; + cursor: pointer; + text-decoration: none !important; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + -webkit-box-shadow: 0px 0px 6px rgba(0, 0, 0, .05); + -moz-box-shadow: 0px 0px 6px rgba(0, 0, 0, .05); + box-shadow: 0px 0px 6px rgba(0, 0, 0, .05); + -webkit-transition: background .25s ease-out; + -moz-transition: background .25s ease-out; + transition: background .25s ease-out; } \ No newline at end of file diff --git a/css/qsm-admin-question.css b/css/qsm-admin-question.css index 2d9f26be9..094e08df0 100644 --- a/css/qsm-admin-question.css +++ b/css/qsm-admin-question.css @@ -5,7 +5,7 @@ align-items: center; flex-wrap: nowrap; } -.qsm_tab_content a.button-gray{ +.qsm_tab_content a.button-gray { border: transparent; } #delete-question-button { @@ -17,10 +17,11 @@ align-items: center; flex-wrap: nowrap; } -#delete-question-button .dashicons, #unlink-question-button .dashicons{ - margin-right: 5px; +#delete-question-button .dashicons, +#unlink-question-button .dashicons { + margin-right: 5px; } -#modal-7 .qsm-popup__container{ +#modal-7 .qsm-popup__container { max-width: 560px; } #modal-8 { @@ -36,11 +37,11 @@ margin: -10px -10px 0 0; font-size: 20px; } -#modal-8-title{ +#modal-8-title { color: #00449e; opacity: 70%; } -#modal-8 footer .dashicons{ +#modal-8 footer .dashicons { font-size: 20px; margin-right: 3px; vertical-align: middle; @@ -82,10 +83,10 @@ background-color: #fafafa; padding: 15px 20px; margin: 0 0 20px; - box-shadow: 0 2px 6px 0 #DADADB; + box-shadow: 0 2px 6px 0 #dadadb; } .page-header .dashicons { - color: #A6ABAF; + color: #a6abaf; font-size: 25px; } .page-header .dashicons.dashicons-trash { @@ -95,11 +96,11 @@ margin: 0 10px; } .page-header .edit-page-button span { - color: #1F8CBE; + color: #1f8cbe; } .page-header span.page-number { font-size: 18px; - color: #A6ABAF; + color: #a6abaf; display: inline-block; font-style: italic; margin: 3px 10px 0; @@ -114,11 +115,12 @@ background-color: #fafafa; box-shadow: 0 -2px 6px 0 #dadadb; } -.page-footer a.qsm-dashed-btn{ +.page-footer a.qsm-dashed-btn { min-width: 45%; padding: 8px 15px; } -.page-footer a.button .dashicons, .new-answer-button a#new-answer-button .dashicons { +.page-footer a.button .dashicons, +.new-answer-button a#new-answer-button .dashicons { line-height: 32px; } .question-create-page { @@ -161,27 +163,27 @@ align-content: center; position: relative; } -.question-content-title-box{ +.question-content-title-box { max-width: calc(100% - 200px); line-height: 20px; } -.question-content .qsm-actions-link-box{ +.question-content .qsm-actions-link-box { display: none; } -.question.opened .qsm-actions-link-box, .question-content:hover .qsm-actions-link-box{ +.question.opened .qsm-actions-link-box, .question-content:hover .qsm-actions-link-box { display: inline-flex; } .question-content .dashicons.dashicons-move { - color: #A6ABAF; + color: #a6abaf; font-size: 22px; } .question-content .question-content-text { - color: #1F8CBE; + color: #1f8cbe; font-size: 16px; font-weight: 500; margin: 2px 0; } -.question-content .form-actions{ +.question-content .form-actions { display: inline-flex; flex-wrap: wrap; flex-direction: row; @@ -218,22 +220,22 @@ top: 5px; vertical-align: top; } -.qsm-question-bank-filters{ +.qsm-question-bank-filters { display: flex; justify-content: space-between; flex-wrap: nowrap; padding: 0 20px; } -.qsm-question-bank-search{ +.qsm-question-bank-search { display: inline-flex; } -#modal-2 .qsm-popup__footer.qsm-question-bank-footer{ +#modal-2 .qsm-popup__footer.qsm-question-bank-footer { display: none; } -#modal-2 .qsm-popup__footer.qsm-question-bank-footer.opened{ +#modal-2 .qsm-popup__footer.qsm-question-bank-footer.opened { display: flex; } -.postbox-container .postbox{ +.postbox-container .postbox { background: #fefefe; border: 1px solid #f0f0f0; } @@ -265,7 +267,10 @@ position: relative; flex-direction: row; } -.answers-single select, .answers-single textarea, .answers-single input[type=text], .answers-single input[type=number]{ +.answers-single select, +.answers-single textarea, +.answers-single input[type=text], +.answers-single input[type=number] { padding: 4px 10px; margin: 0; } @@ -276,7 +281,7 @@ margin-bottom: 5px; text-align: center; } -.answers-single>div:nth-child(4){ +.answers-single>div.answer-correct-div { min-width: auto; width: 70px; padding: 5px 0; @@ -286,18 +291,19 @@ max-width: 60%; position: relative; } -.answers-single>div.remove-answer-icon{ +.answers-single>div.remove-answer-icon { width: 20px; min-width: 25px; - padding: 4px 0; + padding: 5px 0; } -.qsm-question-misc-options{ - display: inline-block; - width: 100%; - box-sizing: border-box; - margin: 20px 0 0; +.qsm-question-misc-options { + display: inline-block; + width: 100%; + box-sizing: border-box; + margin: 20px 0 0; } -.qsm-feature-image-upl, .qsm-feature-image-rmv{ +.qsm-feature-image-upl, +.qsm-feature-image-rmv { display: block; width: 100%; font-size: 14px; @@ -305,7 +311,7 @@ text-decoration: none; } input#image_size-width { - margin-left: 6px; + margin-left: 6px; } .questionElements .qsm-row>label { position: relative; @@ -314,26 +320,26 @@ input#image_size-width { position: relative; top: 2px; } -.qsm-editor-wrap #wp-question-text-wrap{ +.qsm-editor-wrap #wp-question-text-wrap { margin-bottom: 20px; } -.qsm-editor-wrap .wp-media-buttons{ +.qsm-editor-wrap .wp-media-buttons { float: right; margin: 6px 0 -3px 5px; } -.qsm-editor-wrap .wp-media-buttons button{ +.qsm-editor-wrap .wp-media-buttons button { font-size: 11px; padding: 0 5px; min-height: 26px; margin: 0; border-radius: 1px; } -.qsm-editor-wrap .wp-media-buttons button .wp-media-buttons-icon{ - width:18px; - height: 18px; +.qsm-editor-wrap .wp-media-buttons button .wp-media-buttons-icon { + width:18px; + height: 18px; } -.qsm-editor-wrap .wp-media-buttons button .wp-media-buttons-icon:before{ - font-size: 16px; +.qsm-editor-wrap .wp-media-buttons button .wp-media-buttons-icon:before { + font-size: 16px; } .questionElements .qsm-question-doc { text-decoration: none; @@ -360,15 +366,17 @@ input#image_size-width { .questionElements .qsm-tooltips-icon { cursor: help; } -#modal-2 .qsm-popup__content{ +#modal-2 .qsm-popup__content { padding: 20px 0 0; } -#modal-page-1 .qsm-popup__footer, #modal-2 .qsm-popup__footer, #modal-7 .qsm-popup__footer{ +#modal-page-1 .qsm-popup__footer, +#modal-2 .qsm-popup__footer, +#modal-7 .qsm-popup__footer { display: flex; justify-content: space-between; align-items: center; } -#modal-2 #question-bank{ +#modal-2 #question-bank { display: inline-block; width: 100%; box-sizing: border-box; @@ -377,26 +385,27 @@ input#image_size-width { flex-wrap: nowrap; flex-direction: column; padding: 0 20px 20px; + min-height: 200px; } @-moz-keyframes qsm-spinner-loader { 0% { -moz-transform: rotate(0deg); transform: rotate(0deg); - } + } 100% { -moz-transform: rotate(360deg); transform: rotate(360deg); - } + } } @-webkit-keyframes qsm-spinner-loader { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); - } + } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); - } + } } @keyframes qsm-spinner-loader { 0% { @@ -404,13 +413,13 @@ input#image_size-width { -ms-transform: rotate(0deg); -webkit-transform: rotate(0deg); transform: rotate(0deg); - } + } 100% { -moz-transform: rotate(360deg); -ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg); - } + } } /* :not(:required) hides this rule from IE9 and below */ .qsm-spinner-loader:not(:required) { @@ -452,7 +461,7 @@ a.import-button.button.disable_import::before { z-index: 5; } .ui-state-highlight { - background: #F3F3F3; + background: #f3f3f3; border: 1px dashed #cbcbcb; height: 50px; margin: 15px 10px 0; @@ -537,7 +546,7 @@ a.import-button.button.disable_import::before { font-size: 14px; text-decoration: none; } -.qsm-hide-question-desc-box{ +.qsm-hide-question-desc-box { display: inline-block; font-size: 14px; text-decoration: none; @@ -557,14 +566,14 @@ a#qsm-category-add-toggle { text-decoration: underline; cursor: pointer; } -#categorydiv .inside{ +#categorydiv .inside { margin: 0; padding: 0; } -.multi_category_area{ +.multi_category_area { margin: 0; } -.multi_category_area .qsm-category-filter{ +.multi_category_area .qsm-category-filter { margin: 0; border-width: 0 !important; border-bottom: 1px solid #eee !important; @@ -580,7 +589,7 @@ a#qsm-category-add-toggle { overflow-y: auto; font-size: 14px; } -.multi_category_area ul{ +.multi_category_area ul { margin: 0; } .multi_category_area a.add-multiple-category { @@ -621,36 +630,36 @@ a#qsm-category-add-toggle { #poststuff #post-body.columns-2 #side-sortables { min-width: unset; width: 100%; - } + } .questionElements .postbox { min-width: unset; width: 100%; - } + } #post-body.columns-2 #postbox-container-1 { width: 250px; float: left; margin-left: 10px; - } + } .questionElements { overflow: hidden; - } + } } @media screen and (max-width: 782px) { - /*List of questions*/ + /*List of questions*/ .question-content .question-content-text { font-size: 14px; - } + } body .question-content>div { margin: 0 5px; - } + } .page-footer a.button { font-size: 10px; min-height: 25px; padding: 0 5px; - } + } .page-footer a.button .dashicons { display: none; - } + } .question-controls .search-box { height: auto; width: auto; @@ -661,23 +670,30 @@ a#qsm-category-add-toggle { right: 0; left: 0; } - .question-controls .search-box input{padding: 0 8px;min-height: auto;} + .question-controls .search-box input { + padding: 0 8px; + min-height: auto; + } .questionElements .postbox { max-width: 100%; width: 100%; min-width: unset; - } + } .questionElements .category { margin-bottom: 10px; - } + } .answer-text-div { width: 135%; - } - .page{padding-bottom: 100px;} - .page-footer .page-header-buttons{flex-wrap: nowrap;} - .page-footer a.qsm-dashed-btn{ - font-size: 12px; - padding: 5px 5px; - margin: 5px; + } + .page { + padding-bottom: 100px; + } + .page-footer .page-header-buttons { + flex-wrap: nowrap; + } + .page-footer a.qsm-dashed-btn { + font-size: 12px; + padding: 5px 5px; + margin: 5px; } } diff --git a/css/qsm-admin.css b/css/qsm-admin.css index 54a24f915..5ff38f3aa 100644 --- a/css/qsm-admin.css +++ b/css/qsm-admin.css @@ -1,27 +1,27 @@ /******************** Quizzes/Surveys Page *********************/ /*.qsm-quizes-page .widefat td { - font-size: 16px !important; + font-size: 16px !important; } */ @-moz-keyframes qsm-spinner-loader { 0% { -moz-transform: rotate(0deg); transform: rotate(0deg); - } + } 100% { -moz-transform: rotate(360deg); transform: rotate(360deg); - } + } } @-webkit-keyframes qsm-spinner-loader { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); - } + } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); - } + } } @keyframes qsm-spinner-loader { 0% { @@ -29,13 +29,13 @@ -ms-transform: rotate(0deg); -webkit-transform: rotate(0deg); transform: rotate(0deg); - } + } 100% { -moz-transform: rotate(360deg); -ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg); - } + } } /* :not(:required) hides this rule from IE9 and below */ .qsm-spinner-loader:not(:required) { @@ -93,7 +93,7 @@ span.qsm-quiz-name { .qsm-action-links:hover { background-color: black; } -.qsm-action-link-delete, .qsm-popup__footer .delete-page-button{ +.qsm-action-link-delete, .qsm-popup__footer .delete-page-button { color: red !important; border: transparent; background: transparent; @@ -366,8 +366,6 @@ span.qsm-quiz-name { } .qsm-active-addons .installed_addons_wrapper, .qsm-active-addons .no_addons_installed { border: 1px solid #ccd0d4; - /*border-top: medium none; - */ } .qsm-active-addons .no_addons_installed { padding: 30px 25%; @@ -395,7 +393,9 @@ span.qsm-quiz-name { font-size: 14px; font-weight: bold; } -.qsm-active-addons .installed_addons_wrapper .installed_addon .installed_addon_link a {background: #FFF;} +.qsm-active-addons .installed_addons_wrapper .installed_addon .installed_addon_link a { + background: #fff; +} .qsm-active-addons .installed_addons_wrapper .installed_addon .installed_addon_link span.dashicons { margin-top: 4px; } @@ -409,34 +409,34 @@ span.qsm-quiz-name { float: right; } .qsm-help-page .handle-order-higher, .qsm-help-page .handle-order-lower, -.qsm-tools-page .handle-order-higher, .qsm-tools-page .handle-order-lower{ +.qsm-tools-page .handle-order-higher, .qsm-tools-page .handle-order-lower { display: none; } @media screen and (min-width: 1200px) { .qsm-quiz-page-wrapper-with-ads { margin-right: 0; width: 100%; - } + } .qsm-news-ads .qsm-info-widget { float: left; max-width: unset; width: 31.3%; - } + } .qsm-news-ads .qsm-info-widget:nth-child(3n + 5) { clear: both; - } + } .qsm-news-ads .remove-ads-adv-link { width: 100%; float: left; - } + } } @media screen and (max-width: 767px) { .qsm-quiz-page-addon { width: 100%; - } + } .quizzes-surveys_page_qmn_addons .qsm-news-ads { width: 100%; - } + } } /******************** Options Page *********************/ .template_list_holder { @@ -455,8 +455,6 @@ span.qsm-quiz-name { width: 100%; background-color: #fff; margin: 20px 0; - /*padding-bottom: 15px; - */ box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.06); } .results-page .results-page-content, #qsm_emails .qsm-email .qsm-email-content { @@ -539,21 +537,21 @@ span.qsm-quiz-name { .results-page-content, .qsm-email-content { flex-direction: row; justify-content: space-around; - } + } .results-page-when, .results-page-show, .email-when, .email-show { width: calc(50% - 15px); min-width: unset; - } + } .results-page-condition, .email-condition { align-items: center; flex-direction: row; - } + } .results-page-condition>select, .results-page-condition>input, .email-condition>select, .email-condition>input { max-width: 23%; - } + } .delete-condition-button { border: none; - } + } } /******************** Quiz Styles Tab *********************/ .qsm-styles { @@ -576,7 +574,7 @@ span.qsm-quiz-name { .qsm-styles { flex-direction: row; flex-wrap: wrap; - } + } } /******************** About/Credits Page *********************/ div.qsm_icon_wrap { @@ -678,7 +676,7 @@ ul.changelog li.update div.two:before { .qsm-addons { flex-direction: row; flex-wrap: wrap; - } + } } /******************** Help Page *********************/ .quiz_email_support p#mlw_support_message { @@ -713,11 +711,7 @@ ul.changelog li.update div.two:before { text-align: center; background: #fff; border: 1px solid #dfd4d4; - /* color: #000; - */ font-weight: bold; - /* font-size: 14px; - */ margin-bottom: 20px; margin-top: 10px; } @@ -740,8 +734,10 @@ ul.changelog li.update div.two:before { max-width: 330px; box-sizing: border-box; } -.admin_page_mlw_quiz_options .update-nag{display: none;} -.admin_page_mlw_quiz_options #wpwrap{ +.admin_page_mlw_quiz_options .update-nag { + display: none; +} +.admin_page_mlw_quiz_options #wpwrap { overflow: hidden; } .admin_page_mlw_quiz_options .qsm-info-widget { @@ -796,15 +792,118 @@ ul.changelog li.update div.two:before { .qsm_tab_content label { margin-right: 5px; } -.qsm_tab_content a{ +.qsm-sub-tab-menu { + display: flex; + flex-direction: row; + flex-wrap: wrap; + align-items: stretch; +} +.qsm-sub-text-tab-menu { + display: inline-block; + width: 100%; +} +.save-text-changes { + display: flex; + flex-direction: row-reverse; + flex-wrap: nowrap; + align-items: flex-end; + justify-content: flex-start; + padding: 10px; +} +.quiz_text_tab_content { + display: flex; + align-items: stretch; + flex-wrap: wrap; + flex-direction: row; + border: 1px solid #dfd4d4; +} +.quiz_text_tab_content form { + display: flex; + align-items: stretch; + flex-wrap: wrap; + flex-direction: row; +} +.quiz_text_tab_content form input { + padding: 10px; + font-size: 14px; + line-height: 1.4; +} +.quiz_text_tab_content .qsm-tab-btns { + text-align: right; + width: calc(100% - 20px); + margin-bottom: 15px; +} +#poststuff .quiz_text_tab_content h2, +.quiz_text_tab_content h2 { + font-size: 18px; + line-height: 1.5; + padding: 10px 0; + margin: 0 0 10px; +} +.quiz_text_tab_content .left-bar { + width: 240px; + padding: 15px; +} +.quiz_text_tab_content .right-bar { + width: calc(100% - 280px); + padding: 15px; + box-sizing: border-box; + border-left: 1px solid #dfd4d4; +} +.quiz_text_tab_content .left-bar ul { + display: flex; + flex-direction: column; + flex-wrap: nowrap; + align-content: flex-start; + width: 100%; + margin: 0; +} +.quiz_style_tab_content .form-table { + width: 100%; + margin: 0; +} +.qsm-custom-label-left-menu { + cursor: pointer; + border-left: 4px solid transparent; + border-bottom: 1px solid #f9f9f9; + margin: 0; +} +.currentli, +.currentli_general, +.currentli_variable { + border-left:4px solid #2271b1; + background-color: #a1cef3; +} +.qsm-custom-label-left-menu a { + color:black; + padding: 10px 6px; + width: 100%; +} +.qsm_tab_content a { cursor: pointer; text-decoration: none; outline: none; + display: inline-block; + box-sizing: border-box; } -.qsm_tab_content a:hover,.qsm_tab_content a:focus{ - outline: none; - text-decoration: none; - box-shadow: none; +.qsm_tab_content .subsubsub li { + border-left: 2px solid #aaa; + padding: 0 5px; +} +.qsm_tab_content .subsubsub li:first-child { + border-left: 0; + padding-left: 0; +} +.qsm_tab_content .subsubsub li a { + font-size: 14px; + line-height: 1.2; + padding: 0; +} +.qsm_tab_content a:hover, +.qsm_tab_content a:focus { + outline: none; + text-decoration: none; + box-shadow: none; } /* Popup */ .qsm-popup { @@ -846,7 +945,7 @@ ul.changelog li.update div.two:before { color: #2271b1; box-sizing: border-box; } -.qsm-theme-color-settings .qsm-popup__content label{ +.qsm-theme-color-settings .qsm-popup__content label { font-weight: 400; } .qsm-popup__close { @@ -889,37 +988,37 @@ body .qsm-popup__btn-primary { @keyframes mmfadeIn { from { opacity: 0; - } + } to { opacity: 1; - } + } } @keyframes mmfadeOut { from { opacity: 1; - } + } to { opacity: 0; - } + } } @keyframes mmslideIn { from { transform: translateY(15%); - } + } to { transform: translateY(0); - } + } } @keyframes mmslideOut { from { transform: translateY(0); - } + } to { transform: translateY(-10%); - } + } } .qsm-popup-slide, -.qsm-d-none{ +.qsm-d-none { display: none; } .qsm-popup-slide.is-open { @@ -937,10 +1036,15 @@ body .qsm-popup__btn-primary { .qsm-popup-slide[aria-hidden="true"] .qsm-popup__container { animation: mmslideOut 0.3s cubic-bezier(0, 0, 0.2, 1); } -.qsm-popup-slide .qsm-popup__container, .qsm-popup-slide .qsm-popup__overlay { +.qsm-popup-slide .qsm-popup__container, +.qsm-popup-slide .qsm-popup__overlay { will-change: transform; } -.qsm-popup select, .qsm-popup textarea, .qsm-popup input[type=text], .qsm-popup input[type=search], .qsm-popup input[type=number]{ +.qsm-popup select, +.qsm-popup textarea, +.qsm-popup input[type=text], +.qsm-popup input[type=search], +.qsm-popup input[type=number] { min-width: 200px !important; max-width: 200px !important; border: 1px solid #dddddd; @@ -1042,7 +1146,17 @@ h3.addon_category_name { min-width: 20px; padding: 0 10px; } -.qsm_tab_content input[type="text"], .qsm_tab_content input[type="number"], .qsm_tab_content input[type="url"], .qsm_global_settings input[type="text"], .qsm_global_settings input[type="number"], .qsm_global_settings input[type="email"], .qsm_global_settings input[type="url"], .qsm-addon-setting-wrap input[type="email"], .qsm-addon-setting-wrap input[type="text"], .qsm-addon-setting-wrap input[type="url"], .qsm-addon-setting-wrap input[type="number"] { +.qsm_tab_content input[type="text"], +.qsm_tab_content input[type="number"], +.qsm_tab_content input[type="url"], +.qsm_global_settings input[type="text"], +.qsm_global_settings input[type="number"], +.qsm_global_settings input[type="email"], +.qsm_global_settings input[type="url"], +.qsm-addon-setting-wrap input[type="email"], +.qsm-addon-setting-wrap input[type="text"], +.qsm-addon-setting-wrap input[type="url"], +.qsm-addon-setting-wrap input[type="number"] { background: #ffffff none repeat scroll 0 0; border: 1px solid #dddddd; border-radius: 1px; @@ -1130,6 +1244,15 @@ div#modal-6 label { color: #999; font-style: italic; } +#modal-6 .qsm-popup__content { + padding: 20px 0 0 20px; + box-shadow: inset 0 0 10px 0px #ddd; +} + +#modal-6 .qsm-popup__container { + max-width: 600px; +} + #modal-6 .button>span.dashicons { line-height: 29px; } @@ -1145,7 +1268,7 @@ div#modal-6 label { .qsm-no-quiz-wrapper .dashicons.dashicons-format-chat { font-size: 200px; display: block; - /* line-height: 200px; + /* line-height: 200px; */ width: auto; height: auto; @@ -1182,10 +1305,10 @@ tr .qsm-opt-desc { display: block; } .form-table .send_email .qsm-opt-tr, .form-table .send_email td { - padding-top: 0; + padding-top: 0; } .form-table .store_responses .qsm-opt-tr, .form-table .store_responses td { - padding-bottom: 0; + padding-bottom: 0; } #quiz_settings_wrapper .qsm-opt-desc { display: none !important; @@ -1195,8 +1318,6 @@ tr .qsm-opt-desc { } .form-table .qsm-opt-tr { position: relative; - padding-right: 24px; - padding-top: 15px; } td.scheduled_time_start { padding-bottom: 0 !important; @@ -1250,8 +1371,9 @@ td.scheduled_time_start { opacity: 1; z-index: 9999; } -.qsm-tab-btns a{ - margin: 0 10px; +.qsm-tab-btns a { + margin: 0 10px; + width: auto; } /** * Text Tab design */ .qsm-text-main-wrap { @@ -1266,6 +1388,7 @@ td.scheduled_time_start { position: relative; background: #fff; box-sizing: border-box; + border: 1px solid #dfd4d4; } .qsm-text-main-wrap #postbox-container-1 .qsm-text-header h5 { font-size: 14px; @@ -1278,15 +1401,15 @@ td.scheduled_time_start { font-weight: 400; } .qsm-text-main-wrap .qsm-text-header { - padding: 20px; - border-bottom: 1px solid #f1f1f1; display: flex; align-items: flex-start; justify-content: space-between; } -.qsm-text-main-wrap .qsm-text-header .message-dropdown label { - font-size: 14px; - font-weight: bold; +.qsm-text-main-wrap .qsm-text-header .qsm-row { + margin:0; +} +.qsm-text-header h5 { + padding: 20px 20px 0; } .qsm-text-main-wrap .qsm-text-conent { padding: 20px; @@ -1395,7 +1518,7 @@ td.scheduled_time_start { right: 0; min-width: 300px; z-index: 9; - background: #FFF; + background: #fff; border: 1px solid #e0e0e0; box-shadow: -5px 6px 6px 0 #ddd; font-size: 14px; @@ -1403,25 +1526,25 @@ td.scheduled_time_start { transition-duration: .3s; transition-timing-function: ease-in-out; } -.qsm-help-tab-dropdown-list.opened{ - transform:none; +.qsm-help-tab-dropdown-list.opened { + transform:none; } -.qsm-help-tab-dropdown-list h3{ +.qsm-help-tab-dropdown-list h3 { background: #f5f5f5; padding: 15px 20px; margin: 0; line-height: 1.2; font-size: calc(16px); } -.qsm-quiz-nav-bar .qsm-help-tab-dropdown-list a.qsm-help-tab-item{ +.qsm-quiz-nav-bar .qsm-help-tab-dropdown-list a.qsm-help-tab-item { display: block; border-bottom: 1px solid #f0f0f0; padding: 15px 20px; - color: #1F8CBE; + color: #1f8cbe; text-align: left; position: relative; } -.qsm-quiz-nav-bar .qsm-help-tab-dropdown-list a.qsm-help-tab-item:after{ +.qsm-quiz-nav-bar .qsm-help-tab-dropdown-list a.qsm-help-tab-item:after { content: '\f344'; font-family: dashicons; display: inline-block; @@ -1438,17 +1561,18 @@ td.scheduled_time_start { position: absolute; right: 20px; } -.qsm-quiz-nav-bar .qsm-help-tab-dropdown-list a.qsm-help-tab-item:last-child{ - border-color: transparent; +.qsm-quiz-nav-bar .qsm-help-tab-dropdown-list a.qsm-help-tab-item:last-child { + border-color: transparent; } -.qsm-quiz-nav-bar .qsm-help-tab-dropdown-list a.qsm-help-tab-item:hover, .qsm-quiz-nav-bar .qsm-help-tab-dropdown-list a.qsm-help-tab-item:focus{ +.qsm-quiz-nav-bar .qsm-help-tab-dropdown-list a.qsm-help-tab-item:hover, +.qsm-quiz-nav-bar .qsm-help-tab-dropdown-list a.qsm-help-tab-item:focus { border-bottom: 1px solid #eee; background-color: #f0f0f0; } -.qsm-help-tab-dropdown-list a.qsm-help-tab-item .dashicons{ +.qsm-help-tab-dropdown-list a.qsm-help-tab-item .dashicons { display: inline-block; } -.qsm-help-tab-dropdown-list .qsm-help-tab-icon{ +.qsm-help-tab-dropdown-list .qsm-help-tab-icon { display: inline-block; height: 20px; width: auto; @@ -1457,13 +1581,13 @@ td.scheduled_time_start { .mlw_quiz_options .nav-tab-wrapper { margin-top: 20px; } -.nav-tab-wrapper .qsm-tab-icon{ +.nav-tab-wrapper .qsm-tab-icon { display: inline-block; vertical-align: top; width: auto; height: 25px; } -.qsm-option-tab-dropdown{ +.qsm-option-tab-dropdown { position: relative; display: inline-block; margin-bottom: -5px; @@ -1475,20 +1599,20 @@ td.scheduled_time_start { top: 35px; display: none; } -.qsm-option-tab-dropdown-item{ +.qsm-option-tab-dropdown-item { border-bottom: 1px solid #c3c4c7; min-width: 100px; width: 100%; margin: 0; } -.qsm-option-tab-dropdown:hover .qsm-option-tab-dropdown-list{ +.qsm-option-tab-dropdown:hover .qsm-option-tab-dropdown-list { display: block; } .mlw_quiz_options .edit-quiz-name { - text-decoration: none; - box-shadow: none; - outline: none; - margin: 0 5px; + text-decoration: none; + box-shadow: none; + outline: none; + margin: 0 5px; } .qsm_text_customize_label { position: fixed; @@ -1596,13 +1720,15 @@ td.scheduled_time_start { .response-inner-wrap .inside .qmn_question_answer.qmn_question_answer_incorrect { background-image: url(../assets/wrong.png); } -.response-inner-wrap .inside .qsm-add-border-bottom.qmn_question_answer.qmn_question_answer_incorrect, .response-inner-wrap .inside .qsm-remove-border-bottom.qmn_question_answer.qmn_question_answer_incorrect { +.response-inner-wrap .inside .qsm-add-border-bottom.qmn_question_answer.qmn_question_answer_incorrect, +.response-inner-wrap .inside .qsm-remove-border-bottom.qmn_question_answer.qmn_question_answer_incorrect { background-image: none; } .response-inner-wrap .inside .qmn_question_answer.qmn_question_answer_correct { background-image: url(../assets/right.png); } -.response-inner-wrap .inside .qsm-add-border-bottom.qmn_question_answer.qmn_question_answer_correct, .response-inner-wrap .inside .qsm-remove-border-bottom.qmn_question_answer.qmn_question_answer_correct { +.response-inner-wrap .inside .qsm-add-border-bottom.qmn_question_answer.qmn_question_answer_correct, +.response-inner-wrap .inside .qsm-remove-border-bottom.qmn_question_answer.qmn_question_answer_correct { background-image: none; } .old_template_result_wrap { @@ -1645,11 +1771,13 @@ td.scheduled_time_start { max-width: 1200px; width: 100%; } -.qsm-quiz-email-tab .qsm-show-all-variable-text span.dashicons, .qsm-quiz-result-tab .qsm-show-all-variable-text span.dashicons { +.qsm-quiz-email-tab .qsm-show-all-variable-text span.dashicons, +.qsm-quiz-result-tab .qsm-show-all-variable-text span.dashicons { font-size: 16px; line-height: 22px; } -.qsm-quiz-email-tab .qsm-show-all-variable-text, .qsm-quiz-result-tab .qsm-show-all-variable-text { +.qsm-quiz-email-tab .qsm-show-all-variable-text, +.qsm-quiz-result-tab .qsm-show-all-variable-text { position: fixed; bottom: 20px; right: 25px; @@ -1670,7 +1798,7 @@ td.scheduled_time_start { line-height: 28px; } .qsm-theme-color-settings .qsm-popup__container, -.qsm-standard-popup .qsm-popup__container{ +.qsm-standard-popup .qsm-popup__container { padding: 0; margin: 0; position: relative; @@ -1679,52 +1807,56 @@ td.scheduled_time_start { max-height: 90vh; } .qsm-theme-color-settings .qsm-popup__header .qsm-popup__title, -.qsm-standard-popup .qsm-popup__header .qsm-popup__title{ +.qsm-standard-popup .qsm-popup__header .qsm-popup__title { padding: 10px 20px; } .qsm-standard-popup .qsm-popup__header .qsm-popup__close, -.qsm-theme-color-settings .qsm-popup__header .qsm-popup__close{ - position: relative; - font-size: 22px; - border: 1px solid #ddd; - padding: 15px; - cursor: pointer; +.qsm-theme-color-settings .qsm-popup__header .qsm-popup__close { + position: relative; + font-size: 22px; + border: 1px solid #ddd; + padding: 15px; + cursor: pointer; } .qsm-standard-popup .qsm-popup__content, -.qsm-theme-color-settings .qsm-popup__content{ +.qsm-theme-color-settings .qsm-popup__content { padding: 20px; margin: 0; box-shadow: inset 0 0 10px 1px #ddd; } -.qsm-standard-popup .qsm-popup__content a{outline: none;box-shadow: none;text-decoration: none;} -.qsm-standard-popup .qsm-popup__content table{ - width: 100%; - border-spacing: 0 5px; +.qsm-standard-popup .qsm-popup__content a { + outline: none; + box-shadow: none; + text-decoration: none; +} +.qsm-standard-popup .qsm-popup__content table { + width: 100%; + border-spacing: 0 5px; } .qsm-theme-color-settings .qsm-popup__footer, -.qsm-standard-popup .qsm-popup__footer{ +.qsm-standard-popup .qsm-popup__footer { padding: 12px 20px; } -.qsm-standard-popup .qsm-popup__footer_with_btns{ +.qsm-standard-popup .qsm-popup__footer_with_btns { display: flex; justify-content: space-between; align-items: center; } -#duplicate-quiz-form, #delete-quiz-form{ - margin: 10px 0; +#duplicate-quiz-form, #delete-quiz-form { + margin: 10px 0; } -#delete-quiz-form h3{margin-top: 0;} -.qsm-popup-upgrade .qsm-popup__footer{ +#delete-quiz-form h3 {margin-top: 0;} +.qsm-popup-upgrade .qsm-popup__footer { display: flex; justify-content: space-around; align-items: center; } -.qsm-popup-upgrade .qsm-popup__container{ +.qsm-popup-upgrade .qsm-popup__container { max-width: 500px; max-height: 90vh; } -.qsm-popup-upgrade .qsm-popup__container .qsm-popup__content{ - padding: 20px 20px 10px; +.qsm-popup-upgrade .qsm-popup__container .qsm-popup__content { + padding: 20px 20px 10px; } #qsm-global-default-popup .qsm-popup__footer { display: flex; @@ -1732,8 +1864,8 @@ td.scheduled_time_start { align-items: center; flex-wrap: nowrap; } -#qsm-global-default-popup .qsm-popup__footer button{ - margin: 0 5px; +#qsm-global-default-popup .qsm-popup__footer button { + margin: 0 5px; } .popup-template-span-wrap .popup-copied-des span.dashicons { line-height: 28px; @@ -1742,49 +1874,49 @@ td.scheduled_time_start { display: inline-block; margin-right: 5px; } -.qsm-standard-popup .qsm-popup__header .qsm-popup__title .title-tag{ - background: #D0DAFF; +.qsm-standard-popup .qsm-popup__header .qsm-popup__title .title-tag { + background: #d0daff; border-radius:5px; - padding: 4px 10px; - display: inline-block; - font-size: 11px; - letter-spacing: 1px; - vertical-align: middle; - margin: 0 5px; -} -.qsm-upgrade-box{ - display: inline-block; - width: 100%; - box-sizing: border-box; - padding: 10px; - max-width: 800px; -} -.qsm-popup-upgrade .qsm-upgrade-box{padding: 0;} -.qsm-popup-upgrade-close{ + padding: 4px 10px; + display: inline-block; + font-size: 11px; + letter-spacing: 1px; + vertical-align: middle; + margin: 0 5px; +} +.qsm-upgrade-box { + display: inline-block; + width: 100%; + box-sizing: border-box; + padding: 10px; + max-width: 800px; +} +.qsm-popup-upgrade .qsm-upgrade-box {padding: 0;} +.qsm-popup-upgrade-close { border:none; padding:0px; } -.qsm-upgrade-box h2{ - font-size: 22px; - line-height: normal; - margin: 15px 0 10px; - letter-spacing: 1px; +.qsm-upgrade-box h2 { + font-size: 22px; + line-height: normal; + margin: 15px 0 10px; + letter-spacing: 1px; } -.qsm-upgrade-box .qsm-upgrade-text{ - font-size: 16px; - line-height: 22px; - text-align: justify; -} -.qsm-upgrade-box .qsm-upgrade-read-icon{ - display: flex; - flex-direction: row; - margin: 10px 0; - flex-wrap: nowrap; - align-items: center; - font-size: 14px; -} -.qsm-upgrade-box .qsm-upgrade-read-icon a{ +.qsm-upgrade-box .qsm-upgrade-text { + font-size: 16px; + line-height: 22px; + text-align: justify; +} +.qsm-upgrade-box .qsm-upgrade-read-icon { + display: flex; + flex-direction: row; + margin: 10px 0; + flex-wrap: nowrap; + align-items: center; + font-size: 14px; +} +.qsm-upgrade-box .qsm-upgrade-read-icon a { text-decoration: none; font-weight: bold; display: inline-flex; @@ -1794,68 +1926,129 @@ td.scheduled_time_start { align-items: center; margin: 2px 6px 0; } -.qsm-upgrade-box .qsm-upgrade-read-icon img{ +.qsm-upgrade-box .qsm-upgrade-read-icon img { height: 15px; } -.qsm-upgrade-box .qsm-upgrade-right-arrow{ - font-size: 16px; - color: inherit; - height: 16px; - margin: 0 2px; +.qsm-upgrade-box .qsm-upgrade-right-arrow { + font-size: 16px; + color: inherit; + height: 16px; + margin: 0 2px; } -.qsm-upgrade-chart img{ +.qsm-upgrade-chart img { max-width: 100%; } .qsm-popup-upgrade-warning, -.qsm-popup-upgrade-info{ +.qsm-popup-upgrade-info { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: flex-start; - background: #EFF6FF; - border: 1px solid #D1E5FF; + background: #eff6ff; + border: 1px solid #d1e5ff; border-radius: 4px; padding: 10px 8px; margin: 5px 0; - color: #1E40AF; + color: #1e40af; font-weight: 500; } -.qsm-popup-upgrade-info img{width: auto;height: 20px;margin-right: 8px;} -.qsm-popup-upgrade-warning{ - background: #FFFBEB; - border: 1px solid #FBBF24; +.qsm-popup-upgrade-info img { + width: auto; + height: 20px; + margin-right: 8px; +} +.qsm-popup-upgrade-warning { + background: #fffbeb; + border: 1px solid #fbbf24; padding: 12px; - color: #92400E; + color: #92400e; font-size: 15px; align-items: center; } -.qsm-upgrade-box .qsm-popup-upgrade-warning img{width: auto;height: 15px;margin-right: 8px;} -.qsm-upgrade-box .qsm-upgrade-buttons{ +.qsm-upgrade-box .qsm-popup-upgrade-warning img { + width: auto; + height: 15px; + margin-right: 8px; +} +.qsm-upgrade-box .qsm-upgrade-buttons { display: flex; flex-direction: column; align-content: space-between; flex-wrap: nowrap; align-items: center; } -.qsm-upgrade-box .qsm-upgrade-buttons a{ +.qsm-upgrade-box .qsm-upgrade-buttons a { text-decoration: none; text-align: center; margin: 5px 0; width: 100%; box-sizing: border-box; } -.qsm-upgrade-box .qsm-upgrade-buttons a.qsm_bundle{ - padding: 10px 20px; +.qsm-upgrade-box .qsm-upgrade-buttons a.qsm_bundle { + padding: 10px 20px; } -.qsm-upgrade-box .qsm-upgrade-buttons.qsm-page-upgrade-buttons{ +.qsm-upgrade-box .qsm-upgrade-buttons.qsm-page-upgrade-buttons { display: flex; flex-direction: row; flex-wrap: wrap; align-content: center; align-items: center; } -.qsm-upgrade-box .qsm-upgrade-buttons.qsm-page-upgrade-buttons a{ - width: auto;margin-right: 10px;font-weight: 500;font-size: 14px;padding: 10px 20px; +.qsm-upgrade-box .qsm-upgrade-buttons.qsm-page-upgrade-buttons a { + width: auto; + margin-right: 10px; + font-weight: 500; + font-size: 14px; + padding: 10px 20px; +} +#modal-6 .sc-shortcode-input { + padding: 5px; + width: 400px; + max-width: 400px!important; +} +.qsm-popup-nonce-validation { + padding: 12px; + width: 90%; +} +.qsm-popup-nonce-validation .qsm-popup-upgrade-warning { + font-size: 12px; + padding: 5px; +} +.qsm-popup-nonce-validation .qsm-popup-upgrade-warning img { + width: auto; + height: 15px; + margin-right: 8px; +} +.qsm-popup-nonce-validation .qsm-popup-upgrade-warning a { + font-weight: bold; +} + +.qsm-nonce-validation { + border: 1px solid #fbbf24; + background: #fff; + overflow: auto; + border-left-color: #fbbf24; + box-shadow: 0 1px 1px rgb(0 0 0 / 4%); + border-left-width: 4px; +} +.qsm-nonce-validation img { + float: left; + width: auto; + height: 30px; + margin: 25px 20px; + margin-left: 20px; +} +.qsm-nonce-text { + float: left; + margin-top: 20px; +} +.qsm-nonce-validation .button-secondary { + margin: 20px 20px; + float: right; +} +.qsm-nonce-validation span { + display: inline-block; + margin-top: 2px; } /** * Style tab design */ .wp-upload-form { @@ -1872,54 +2065,57 @@ td.scheduled_time_start { float: left; max-width: unset; width: 31.3%; - } + } .qsm-news-ads .qsm-info-widget:nth-child(3n + 5) { clear: both; - } + } .remove-ads-adv-link { width: 100%; display: inline-block; margin-bottom: 30px; - } + } } @media screen and (max-width: 782px) { .form-table td fieldset label { margin-top: -1px !important; vertical-align: top; - } + } .qsm-tooltips-icon .qsm-tooltips { left: -90px; - } + } .qsm-opt-tr .qsm-tooltips-icon { right: 13px; - } + } .qsm-tooltips-icon .qsm-tooltips:before { left: auto; right: -3px; - } + } } @media screen and (max-width: 767px) { - .qsm-upgrade-box .qsm-upgrade-buttons.qsm-page-upgrade-buttons a{width: 100%;margin-right: 0;} + .qsm-upgrade-box .qsm-upgrade-buttons.qsm-page-upgrade-buttons a { + width: 100%; + margin-right: 0; + } .qsm-quiz-row td:nth-of-type(2n) { display: none; - } + } .qsm-quiz-page-wrapper, .qsm-quiz-page-wrapper-with-ads { overflow-x: auto; - } + } .qsm-quiz-page-wrapper thead th:nth-of-type(2n), .qsm-quiz-page-wrapper tfoot th:nth-of-type(2n), .qsm-quiz-page-wrapper-with-ads thead th:nth-of-type(2n), .qsm-quiz-page-wrapper-with-ads tfoot th:nth-of-type(2n) { display: none; - } + } .qsm-quiz-page-wrapper .row-actions { display: inline-block !important; - } + } .qsm-quiz-page-wrapper p.search-box { bottom: -30px; - } + } .qsm-popup__container { min-width: auto; max-width: 100%; } - .qsm-standard-popup .qsm-popup__container{ + .qsm-standard-popup .qsm-popup__container { min-width: 98%; max-width: 98% !important; } @@ -1927,55 +2123,55 @@ td.scheduled_time_start { display: block; width: 100%; float: left; - } + } .contact-form-label { display: inline-block; - } + } .template_variable { width: 100%; max-width: 100%; margin-bottom: 10px; word-break: break-word; - } + } .qsm_tab_content .form-table input[type="radio"] { top: 6px; margin-bottom: 8px; - } + } .result-page-wrapper form { overflow: scroll; width: 100%; - } + } p.search-box { bottom: -30px; - } + } .quizzes-surveys_page_qsm_quiz_help .hndle { padding-left: 15px; padding-bottom: 15px; - } + } .qsm-news-ads .qsm-info-widget { width: calc(100% - 30px); max-width: 100%; box-sizing: border-box; margin: 15px 15px 0 15px; - } + } .form-table .qsm-opt-tr { padding-bottom: 10px; - } + } .overview-main-wrapper { display: block; - } + } .overview-main-wrapper .overview-inner-wrap { margin-right: 0; width: 100%; - } + } .result-page-title { margin-bottom: 10px; - } + } } -.qsm-text-template-span{ +.qsm-text-template-span { min-width: 100px; } -.qsm-text-template-span .button{ +.qsm-text-template-span .button { padding: 0px; border: none; min-height: unset; @@ -1985,26 +2181,26 @@ td.scheduled_time_start { .qsm-text-template-span .template-variable:hover { background: unset; } -.qsm-text-template-span .click-to-copy{ +.qsm-text-template-span .click-to-copy { display: none; position: absolute; width: calc(100% - 25px); text-align: center; left: 0; } -.qsm-text-template-span:hover .click-to-copy{ +.qsm-text-template-span:hover .click-to-copy { display: inline-block; background: #def0ff; } -.qsm-text-template-span .qsm-tooltips-icon:before{ - content:"\003F"; +.qsm-text-template-span .qsm-tooltips-icon:before { + content: "\003F"; padding: 0px 3px; vertical-align: top; } -.qsm-text-template-span:hover .qsm-tooltips-icon{ +.qsm-text-template-span:hover .qsm-tooltips-icon { display: inline-block; } -.qsm-text-template-span:hover .temp-var-seperator{ +.qsm-text-template-span:hover .temp-var-seperator { position: absolute; display: flex; right: 0; @@ -2017,18 +2213,18 @@ td.scheduled_time_start { border-left: 1px dashed #a1c1d8; background: #def0ff; } -#show-all-variable-content .popup-template-span-wrap:hover{ +#show-all-variable-content .popup-template-span-wrap:hover { background: #def0ff; border-color: #a1c1d8 ; border-style: dashed; } -.popup-template-span-wrap .qsm-text-template-span .popup-copied-des span.dashicons{ +.popup-template-span-wrap .qsm-text-template-span .popup-copied-des span.dashicons { line-height: 1; } #result_page_fb_image { width: 25em; } -.audit_buttons{ +.audit_buttons { display: flex; align-items: center; justify-content: space-between; @@ -2050,36 +2246,36 @@ input#question_search::-webkit-search-cancel-button { z-index: 99; position: relative; } -.qsm-alerts{ +.qsm-alerts { margin-top: 20px; } -.mlw_quiz_options .notice{ +.mlw_quiz_options .notice { border-top: 1px solid #dfd4d4; border-bottom: 1px solid #dfd4d4; border-right: 1px solid #dfd4d4; } -.qsm-quiz-nav-bar .qsm-quiz-heading{ +.qsm-quiz-nav-bar .qsm-quiz-heading { padding: 0 20px; display: inline-flex; align-items: center; flex-wrap: nowrap; flex-direction: row; } -.qsm-quiz-nav-bar .qsm-quiz-heading .qsm_quiz_title{ +.qsm-quiz-nav-bar .qsm-quiz-heading .qsm_quiz_title { padding: 0; margin: 0; font-size: 23px; font-weight: 400; line-height: 1.3; } -.qsm-quiz-nav-bar .qsm-quiz-top-nav-links{ +.qsm-quiz-nav-bar .qsm-quiz-top-nav-links { position: relative; display: inline-flex; flex-direction: row; flex-wrap: wrap; align-items: center; } -.qsm-quiz-nav-bar .qsm-quiz-top-nav-links a{ +.qsm-quiz-nav-bar .qsm-quiz-top-nav-links a { text-decoration: none; box-shadow: none; outline: none; @@ -2090,11 +2286,12 @@ input#question_search::-webkit-search-cancel-button { min-width: 50px; text-align: center; } -.qsm-quiz-nav-bar .qsm-quiz-top-nav-links a:hover, .qsm-quiz-nav-bar .qsm-quiz-top-nav-links a:focus{ - color: #1F8CBE; - border-bottom: 3px solid #1F8CBE; +.qsm-quiz-nav-bar .qsm-quiz-top-nav-links a:hover, +.qsm-quiz-nav-bar .qsm-quiz-top-nav-links a:focus { + color: #1f8cbe; + border-bottom: 3px solid #1f8cbe; } -.qsm-quiz-nav-bar .qsm-quiz-top-nav-links .dashicons{ +.qsm-quiz-nav-bar .qsm-quiz-top-nav-links .dashicons { display: block; margin: 0 auto; color: inherit; @@ -2110,13 +2307,13 @@ input#question_search::-webkit-search-cancel-button { input#duplicate_questions { margin-left: 10px; } -.text-right{ +.text-right { text-align: right !important; } -.text-left{ +.text-left { text-align: left !important; } -.qsm-dashed-btn, a.qsm-dashed-btn, button.qsm-dashed-btn, input.qsm-dashed-btn{ +.qsm-dashed-btn, a.qsm-dashed-btn, button.qsm-dashed-btn, input.qsm-dashed-btn { display: inline-block; text-align: center; border: 2px dashed #ccc; @@ -2131,7 +2328,7 @@ input#duplicate_questions { box-sizing: border-box; color: #2196f3; } -.qsm-block-btn, .qsm-dashed-btn.qsm-block-btn{ +.qsm-block-btn, .qsm-dashed-btn.qsm-block-btn { width: 100%; padding: 10px 15px; font-size: 16px; @@ -2205,7 +2402,7 @@ input#duplicate_questions { border: 1px solid #ddd; cursor: pointer; } -.qsm-actions-link-box a.disabled{ +.qsm-actions-link-box a.disabled { cursor: not-allowed; } .qsm-actions-link-box a:hover, .qsm-actions-link-box a:focus { @@ -2217,7 +2414,7 @@ input#duplicate_questions { font-size: 16px; height: auto; } -.qsm-toggle-box{ +.qsm-toggle-box { display: inline-block; width: 100%; box-sizing: border-box; @@ -2226,7 +2423,7 @@ input#duplicate_questions { background: #fefefe; border: 1px solid #f0f0f0; } -.qsm-toggle-box .qsm-toggle-box-handle{ +.qsm-toggle-box .qsm-toggle-box-handle { display: inline-block; width: 100%; box-sizing: border-box; @@ -2234,16 +2431,17 @@ input#duplicate_questions { text-decoration: none; padding: 15px 20px; margin: 0; - background: #FFF; + background: #fff; color: #666666; cursor: pointer; } -.qsm-toggle-box .qsm-toggle-box-handle:hover, .qsm-toggle-box .qsm-toggle-box-handle:focus{ - outline:none; - text-decoration: none; - box-shadow: none; +.qsm-toggle-box .qsm-toggle-box-handle:hover, +.qsm-toggle-box .qsm-toggle-box-handle:focus { + outline:none; + text-decoration: none; + box-shadow: none; } -.qsm-toggle-box .toggle-indicator{ +.qsm-toggle-box .toggle-indicator { display: inline-block; vertical-align: middle; width: 20px; @@ -2251,7 +2449,7 @@ input#duplicate_questions { float: right; color: inherit; } -.qsm-toggle-box .toggle-indicator:before{ +.qsm-toggle-box .toggle-indicator:before { content: "\f347"; display: inline-block; font: normal 20px/1 dashicons; @@ -2259,20 +2457,25 @@ input#duplicate_questions { -moz-osx-font-smoothing: grayscale; text-decoration: none; } -.qsm-toggle-box.opened .toggle-indicator:before{ +.qsm-toggle-box.opened .toggle-indicator:before { content: "\f343"; } -.qsm-toggle-box .qsm-toggle-box-content{ +.qsm-toggle-box .qsm-toggle-box-content { display: none; padding: 15px 20px; border-top: 1px solid #eee; } -.qsm-toggle-box .qsm-toggle-box-content label{ +.qsm-toggle-box .qsm-toggle-box-content label { display: inline-block; margin: 0 5px 5px; min-width: 80px; } -.qsm-toggle-box .qsm-toggle-box-content select, .qsm-toggle-box .qsm-toggle-box-content textarea, .qsm-toggle-box .qsm-toggle-box-content input[type=text], .qsm-toggle-box .qsm-toggle-box-content input[type=date], .qsm-toggle-box .qsm-toggle-box-content input[type=number], .qsm-toggle-box .qsm-toggle-box-content input[type=url]{ +.qsm-toggle-box .qsm-toggle-box-content select, +.qsm-toggle-box .qsm-toggle-box-content textarea, +.qsm-toggle-box .qsm-toggle-box-content input[type="text"], +.qsm-toggle-box .qsm-toggle-box-content input[type="date"], +.qsm-toggle-box .qsm-toggle-box-content input[type="number"], +.qsm-toggle-box .qsm-toggle-box-content input[type="url"] { display: inline-block; max-width: 100%; width: 200px; @@ -2281,30 +2484,30 @@ input#duplicate_questions { border-radius: 1px; } .qsm-badge { - background: linear-gradient(225deg, #344ad6, #42d96b); - z-index: 9; - position: absolute; - color: #fff; - right: 5px; - top: 5px; - border-radius: 10px; - padding: 0 10px; - text-transform: uppercase; + background: linear-gradient(225deg, #344ad6, #42d96b); + z-index: 9; + position: absolute; + color: #fff; + right: 5px; + top: 5px; + border-radius: 10px; + padding: 0 10px; + text-transform: uppercase; } .themes-container .market-theme:hover .market-theme-url { - opacity: 1; + opacity: 1; } .themes-container .market-theme .market-theme-url { - position: absolute; - left: 50%; - top: 50%; - transform: translate(-50%, -50%); - opacity: 0; - transition: all 200ms ease-in-out; - text-align: center; + position: absolute; + left: 50%; + top: 50%; + transform: translate(-50%, -50%); + opacity: 0; + transition: all 200ms ease-in-out; + text-align: center; } /** Quiz Contact Tab Style **/ -.contact-form-builder-wrap{ +.contact-form-builder-wrap { display: flex; width: 100%; flex-direction: row; @@ -2313,7 +2516,7 @@ input#duplicate_questions { align-content: flex-start; margin-bottom: 150px; } -.contact-form-builder-wrap a{ +.contact-form-builder-wrap a { display: inline-block; box-sizing: border-box; text-decoration: none; @@ -2323,35 +2526,35 @@ input#duplicate_questions { max-width: 65%; margin-right: 40px; } -.contact-tab-sidebar{ +.contact-tab-sidebar { max-width: 25%; } -.contact-tab-sidebar .postbox{ +.contact-tab-sidebar .postbox { min-width: 300px; background: #fafafa; border: none; } -.contact-tab-sidebar .postbox-header{ +.contact-tab-sidebar .postbox-header { padding: 4px; border-bottom: 1px solid #dadada; } -.contact-tab-sidebar .inside{ +.contact-tab-sidebar .inside { padding: 0px 15px 10px; margin: 0 !important; } -.contact-tab-sidebar .inside .inside-row{ +.contact-tab-sidebar .inside .inside-row { display: block; width: 100%; margin: 15px 0; } -.contact-tab-sidebar .inside .inside-row label{ +.contact-tab-sidebar .inside .inside-row label { margin: 0; font-size: 14px; } -.contact-tab-sidebar .inside .inside-row input[type=checkbox]{ - margin: -.25rem 8px 0 0; +.contact-tab-sidebar .inside .inside-row input[type=checkbox] { + margin: -.25rem 8px 0 0; } -.contact-tab-content .hide-control{ +.contact-tab-content .hide-control { display: inline-block; float: right; margin: -30px 0 0; @@ -2373,41 +2576,42 @@ input#duplicate_questions { .contact-form-field.deleting { background: #ff6666; } -.contact-form-field.disabled-field{ +.contact-form-field.disabled-field { background: #f5f5f5; } -.contact-form-field.hidden-field{ - display: none; +.contact-form-field.hidden-field { + display: none; } .contact-form-field .contact-form-group { padding: 0 15px; vertical-align: middle; } -.contact-form-field .contact-form-inputs, .contact-form-field .contact-form-actions { +.contact-form-field .contact-form-inputs, +.contact-form-field .contact-form-actions { min-width: 150px; } .contact-form-field .sortable-handle { width: 25px; padding: 0 0 0 15px; } -.contact-form-field .field-required-flag{ - display: none; - position: absolute; - top: 5px; - right: 6px; - font-size: 20px; - font-weight: bold; - color: red; +.contact-form-field .field-required-flag { + display: none; + position: absolute; + top: 5px; + right: 6px; + font-size: 20px; + font-weight: bold; + color: red; } -.contact-form-field .sortable-handle a.move-field{ +.contact-form-field .sortable-handle a.move-field { display: inline-block; box-sizing: border-box; text-decoration: none; color: #3c434a; cursor: move; } -.contact-form-field .sortable-handle a.move-field span{ - color: #A6ABAF; +.contact-form-field .sortable-handle a.move-field span { + color: #a6abaf; font-size: 22px; } .contact-form-field .contact-form-group .contact-form-label { @@ -2415,7 +2619,9 @@ input#duplicate_questions { font-weight: bold; margin: 0 0 5px; } -.contact-form-field .contact-form-group .contact-form-control, .contact-form-field .contact-form-group select.contact-form-control, .contact-form-field .contact-form-group input[type="text"].contact-form-control { +.contact-form-field .contact-form-group .contact-form-control, +.contact-form-field .contact-form-group select.contact-form-control, +.contact-form-field .contact-form-group input[type="text"].contact-form-control { display: block; font-size: 14px; line-height: 1.4; @@ -2426,20 +2632,21 @@ input#duplicate_questions { padding: 5px 8px; } /* Settings style */ -.contact-form-field-settings{ - position: absolute; - right: 0; - top: 100%; - z-index: 999; - width: 350px; - padding: 20px; - box-sizing: border-box; - border-radius: 4px; - background: #ffffff; - border: 1px solid #dfd4d4; - box-shadow: 0 0 6px 2px #ddd; -} -.contact-form-field-settings:after, .contact-form-field-settings:before { +.contact-form-field-settings { + position: absolute; + right: 0; + top: 100%; + z-index: 999; + width: 350px; + padding: 20px; + box-sizing: border-box; + border-radius: 4px; + background: #ffffff; + border: 1px solid #dfd4d4; + box-shadow: 0 0 6px 2px #ddd; +} +.contact-form-field-settings:after, +.contact-form-field-settings:before { border: solid transparent; content: " "; display: block; @@ -2452,19 +2659,19 @@ input#duplicate_questions { border-color: rgba(255, 255, 255, 0); } .contact-form-field-settings:after { - border-bottom-color: #FFF; + border-bottom-color: #fff; top: -28px; } .contact-form-field-settings:before { border-bottom-color: #dfd4d4; top: -30px; } -.contact-form-field-settings h3{ +.contact-form-field-settings h3 { margin-top: 0; padding: 0 0 10px; border-bottom: 1px solid #ccc; } -.contact-form-field-settings .contact-form-group{ +.contact-form-field-settings .contact-form-group { display: inline-block; width: 100%; box-sizing: border-box; @@ -2493,85 +2700,92 @@ input#duplicate_questions { margin-bottom: 10px; } .qsm-row > label { - font-weight: normal; display: block; margin-bottom: 5px; color: #7b7575; + font-weight: normal; } -.qsm-row select, .qsm-row input[type=text], .qsm-row textarea { +.qsm-row select, +.qsm-row input[type="text"], +.qsm-row textarea { width: 100%; max-width: 100%; min-width: auto; } +.qsm-quiz-warning-icon { + color: #b32d2e; + margin: 0 5px; + cursor: pointer; +} /*QSM quiz theme setting tabs start*/ .qsm-quiz-theme-option-subheading { - margin-bottom: 0; - color: #2f87cc; - font-size: 15px; + margin-bottom: 0; + color: #2f87cc; + font-size: 15px; } .qsm-theme-color-settings .quiz-theme-option-image-button { padding: 3px 9px; - font-size: 11px; + font-size: 11px; } -.qsm-theme-color-settings .quiz-theme-option-image-button .dashicons{ +.qsm-theme-color-settings .quiz-theme-option-image-button .dashicons { line-height: 24px; } .qsm-theme-color-settings .wp-picker-container .wp-color-result.button, -.qsm-theme-color-settings footer.qsm-popup__footer .button{ +.qsm-theme-color-settings footer.qsm-popup__footer .button { margin: 0 0 0 10px; } .qsm-theme-option-image, .qsm-theme-color-settings .wp-picker-container { - position: relative; + position: relative; } .qsm-theme-color-settings .wp-picker-holder { - position: absolute; + position: absolute; z-index: 9999; top: 61px; - left: -136px; + left: -136px; } -.qsm-theme-color-settings .wp-picker-container label{ +.qsm-theme-color-settings .wp-picker-container label { width: 195px; } .qsm-theme-color-settings .wp-picker-input-wrap { - position: absolute; - width: 258px; - top: 37px; - left: -136px; + position: absolute; + width: 258px; + top: 37px; + left: -136px; z-index: 9999; } -.qsm-theme-color-settings .qsm-popup__content{ +.qsm-theme-color-settings .qsm-popup__content { max-height: 70vh; - overflow-x: auto; + overflow-x: auto; } .qsm-theme-color-settings span.wp-color-result-text { - min-width: 64px; + min-width: 64px; } -.qsm-theme-option-image{ +.qsm-theme-option-image { width: 112px; } .qsm-theme-color-settings .quiz-theme-option-image-thumbnail { - max-width: 100%; - margin-top: 10px; - border: 1px solid #868686bd; - border-radius: 2px; + max-width: 100%; + margin-top: 10px; + border: 1px solid #868686bd; + border-radius: 2px; } .qsm-theme-option-image-remove { - position: absolute; - right: 25px; - top: calc(50% - 10px); + position: absolute; + right: 25px; + top: calc(50% - 10px); opacity: 0; } -.qsm-theme-color-settings .qsm-theme-option-image:hover .qsm-theme-option-image-remove{ +.qsm-theme-color-settings .qsm-theme-option-image:hover .qsm-theme-option-image-remove { opacity: 1; } .qsm-theme-color-settings hr { - margin: 25px 0; + margin: 25px 0; } .qsm-theme-color-settings footer.qsm-popup__footer { - text-align: right; + text-align: right; } /*QSM quiz theme setting tabs end*/ -.qsm-row input[type=text]{ +.qsm-row input[type="text"] { border-radius: 4px; } \ No newline at end of file diff --git a/data/parsing_script.json b/data/parsing_script.json index a7055b04a..6e10e3e5d 100644 --- a/data/parsing_script.json +++ b/data/parsing_script.json @@ -1 +1 @@ -{"change_log":[""," Feature: Added option to enable\/disable case sensitive answer for fill-in blank question\n"," Feature: Added option to enable\/disable MathJax\n"," Feature: Added option to enable\/disable emails notifications\n"," Feature: Added option to set images size for image type answers\n"," Feature: Added %ANSWER_X% variables to show user's answer to a specific question\n"," Feature: Added translation support for all Javascript string messages\n"," Feature: Added image answer support for polar question type\n"," Bug: Fixed display issue with leaderboard customization block\n"," Bug: Fixed issue with questions count in quiz list page\n"," Bug: Fixed issue with %QUESTION_ANSWER_X% variables\n"," Bug: Fixed issue while deleting\/duplicating old quizzes\n"," Bug: Fixed issue with timer while using pagination\n"," Enhancement: Improved UI for image type answers options"],"products":[{"name":"Companion","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/06\/companion_banner.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=505248"},{"name":"Serene","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/06\/serene_banner.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=503010"},{"name":"Care Pack","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/03\/3.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=452861"},{"name":"Speed Improvement","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/03\/2.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=452858"}],"new_addons":[{"name":"Companion","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/06\/companion_banner.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=505248","price":{"amount":"0.00"},"description":""},{"name":"Serene","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/06\/serene_banner.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=503010","price":{"amount":"0.00"},"description":""},{"name":"Care Pack","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/03\/3.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=452861","price":{"amount":"99.00"},"description":""},{"name":"Speed Improvement","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/03\/2.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=452858","price":{"amount":"199.00"},"description":""},{"name":"Plugin Configuration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/03\/1.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=452658","price":{"amount":"49.00"},"description":""},{"name":"Advanced Question Types","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/01\/x-2.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=429053","price":{"personal1site":"39.00","business2-5sites":"59.00","developerunlimitedsites":"79.00"},"description":""},{"name":"Pro Bundle","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/Pro.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=306210","price":{"yearly":"199.00","lifetime":"597.00"},"description":"All QSM Addons in one single and affordable package. Over 34 addons are included in this package and new addons are added automatically. Save over $1600 by buying our bundle."},{"name":"Plus Bundle","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/PLUS.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=306190","price":{"yearly":"179.00","lifetime":"537.00"},"description":"14+ addons to add useful features to your quiz and surveys. "},{"name":"Basic Bundle","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/Basic-1.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=305426","price":{"yearly":"129.00","lifetime":"387.00"},"description":"All the right addons to get you started with QSM premium features. "},{"name":"Pool","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/Poolv2-1.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=302299","price":{"1site":"19.00","2-5sites":"24.00","unlimited":"49.00"},"description":""}],"blog_post":[{"link":"https:\/\/quizandsurveymaster.com\/create-an-interior-design-style-quiz-qsm\/","title":"How to Create an Interior Design Style Quiz with the best Quiz Plugin! (8 minutes read)","excerpt":"
Wanting to learn how to create an interior design style quiz for your audience could be a hassle in a competitive world like ours. But we have got your back mate! Today, in this blog, you can learn the A-Z of how to create any kind of interior design quiz, design style quiz, decoration style […]<\/p>\n"},{"link":"https:\/\/quizandsurveymaster.com\/relationship-quiz\/","title":"How to Create a Relationship Quiz in WordPress? (6 Simple Steps)","excerpt":"
A relationship is a kind of bond or connection between two people. A relationship quiz will help your users to find out in which type of relationship they are or what they should be expecting from a relationship. <\/p>\n"}],"popular_products":[{"name":"Google Sheet Connector","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2020\/03\/first-1.jpg","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=83375","price":{"personal1site":"29.00","business2-5sites":"39.00","developerunlimited":"59.00"},"description":"Sync your surveys with Google Sheets. "},{"name":"Paypal and Stripe Payment Integration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2020\/04\/Paypal-and-Stripe-Payment-Integration.jpg","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=63522","price":{"personal1site":"29.00","business2-5sites":"39.00","developerunlimitedsites":"59.00"},"description":"Add payment wall for quiz and surveys using this addon. Integrate Paypal or Stripe and start receiving payments. "},{"name":"Save & Resume","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2020\/04\/Save-and-Resume.jpg","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=63518","price":{"personal1site":"19.00","business2-5sites":"29.00","developerunlimitedsites":"49.00"},"description":"Enable save and resume functionality in your quiz. Users can now close and come back to a quiz anytime! "},{"name":"Simple Popups","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2020\/04\/Simple-Popups.jpg","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=38572","price":{"personal1site":"35.00","business2-5sites":"56.00","developerunlimitedsites":"87.00"},"description":"Have you ever wanted to have your quiz or survey inside of a popup? With this easy to use addon, now you can!"},{"name":"Google Analytics Tracking","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2020\/04\/Google-Analytics-Tracking.jpg","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=34421","price":{"personal1site":"35.00","business2-5sites":"56.00","developerunlimited":"87.00"},"description":"Track your quiz and survey submissions in Google Analytics."},{"name":"Logic","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2020\/04\/Logic.jpg","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=8071","price":{"personal1site":"49.00","business2-5sites":"59.00","developerunlimitedsites":"99.00"},"description":"Create Advanced Quizzes by adding Logic and Conditional Branching to your Quizzes and Surveys. Adds Unlimited Additional Conditons."},{"name":"Reporting & Analysis","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2020\/04\/Reporting-And-Analysis.jpg","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=3437","price":{"personal1site":"39.00","business2-5sites":"59.00","developerunlimitedsites":"99.00"},"description":"Analyze your results by visualizing the data in a variety of different graphs, filter the data, and export the data."},{"name":"Zapier Integration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2020\/04\/Zapier-Integration.jpg","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=2809","price":{"personal1site":"35.00","business2-5sites":"56.00","developerunlimitedsites":"87.00"},"description":"With Zapier Integration, Quiz And Survey Master can sends results to over 700 different websites and services using Zapier."},{"name":"Export Results","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2020\/04\/Export-Results.jpg","link":"https:\/\/quizandsurveymaster.com\/downloads\/export-results\/","price":{"personal1site":"29.00","business2-5sites":"39.00","developerunlimitedsites":"59.00"},"description":"This add-on gives you the ability to export your quiz results as a CSV file which can be imported into spreadsheet programs such as Excel and Google Sheets."},{"name":"User Dashboard","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2020\/04\/User-Dashboard.jpg","link":"https:\/\/quizandsurveymaster.com\/downloads\/user-dashboard\/","price":{"personal1site":"29.00","business2-5sites":"39.00","developerunlimitedsites":"59.00"},"description":"This add-on gives you the ability to set up a page where users can review their results from all the quizzes they have taken."}],"on_sale_products":[{"name":"Google Sheet Connector","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2020\/03\/first-1.jpg","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=83375","price":{"personal1site":"29.00","business2-5sites":"39.00","developerunlimited":"59.00"},"description":"Sync your surveys with Google Sheets. "}],"bundles":[{"name":"Pro Bundle","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/Pro.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=306210","price":{"yearly":"199.00","lifetime":"597.00"},"desc":"All QSM Addons in one single and affordable package. Over 34 addons are included in this package and new addons are added automatically. Save over $1600 by buying our bundle.","icon":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/PRO.png"},{"name":"Plus Bundle","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/PLUS.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=306190","price":{"yearly":"179.00","lifetime":"537.00"},"desc":"14+ addons to add useful features to your quiz and surveys. ","icon":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/Plus.png"},{"name":"Basic Bundle","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/Basic-1.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=305426","price":{"yearly":"129.00","lifetime":"387.00"},"desc":"All the right addons to get you started with QSM premium features. ","icon":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/Basic.png"}],"themes":[{"name":"Pool","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/theme-pool.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=302299","price":{"1site":"19.00","2-5sites":"24.00","unlimited":"49.00"},"description":"","demo":"https:\/\/themes.quizandsurveymaster.com\/ivory-qsm-theme-demo"},{"name":"Ivory","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/theme-ivory.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=302297","price":{"1site":"14.00","2-5sites":"24.00","unlimited":"49.00"},"description":"","demo":"https:\/\/themes.quizandsurveymaster.com\/ivory-qsm-theme-demo"},{"name":"Fragrance","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/theme-fragrance.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=300658","price":{"1site":"14.00","2-5sites":"24.00","unlimited":"49.00"},"description":"","demo":"https:\/\/themes.quizandsurveymaster.com\/fragrance-qsm-theme-demo"},{"name":"Breeze","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/theme-breeze.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=300513","price":{"1site":"24.00","2-5sites":"39.00","unlimited":"44.00"},"description":"","demo":"https:\/\/themes.quizandsurveymaster.com\/breeze-qsm-theme-demo"}]} \ No newline at end of file +{"change_log":[""," Bug: Fixed issue with random question and answers\n"," Bug: Fixed issue with quiz timer\n"," Bug: Fixed issue with file size limit\n"," Bug: Fixed security and Vulnerability issues.\n"," Enhancement: Improved UI for required fields validation message\n"," Enhancement: Improved UI in polar question\n"," Enhancement: Improved UI in Opt-in question"],"products":[{"name":"Companion","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/06\/companion_banner.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=505248"},{"name":"Serene","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/06\/serene_banner.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=503010"},{"name":"Care Pack","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/03\/3.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=452861"},{"name":"Speed Improvement","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/03\/2.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=452858"}],"new_addons":[{"name":"Companion","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/06\/companion_banner.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=505248","price":{"amount":"0.00"},"description":""},{"name":"Serene","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/06\/serene_banner.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=503010","price":{"amount":"0.00"},"description":""},{"name":"Care Pack","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/03\/3.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=452861","price":{"amount":"99.00"},"description":""},{"name":"Speed Improvement","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/03\/2.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=452858","price":{"amount":"199.00"},"description":""},{"name":"Plugin Configuration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/03\/1.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=452658","price":{"amount":"49.00"},"description":""},{"name":"Advanced Question Types","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/01\/x-2.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=429053","price":{"personal1site":"39.00","business2-5sites":"59.00","developerunlimitedsites":"79.00"},"description":""},{"name":"Pro Bundle","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/Pro.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=306210","price":{"yearly":"199.00","lifetime":"597.00"},"description":"All QSM Addons in one single and affordable package. Over 34 addons are included in this package and new addons are added automatically. Save over $1600 by buying our bundle."},{"name":"Plus Bundle","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/PLUS.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=306190","price":{"yearly":"179.00","lifetime":"537.00"},"description":"14+ addons to add useful features to your quiz and surveys. "},{"name":"Basic Bundle","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/Basic-1.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=305426","price":{"yearly":"129.00","lifetime":"387.00"},"description":"All the right addons to get you started with QSM premium features. "},{"name":"Pool","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/Poolv2-1.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=302299","price":{"1site":"19.00","2-5sites":"24.00","unlimited":"49.00"},"description":""}],"blog_post":[{"link":"https:\/\/quizandsurveymaster.com\/why-qsm-is-best-survey-maker-plugin\/","title":"Why Quiz and Survey Master is the Best Survey Maker Plugin? (5 Benefits!)","excerpt":"
The number of online quiz creators grows by the minute, and to be honest, we’re all here for it! Nonetheless, there are a few form builders who are leading the way, with only one remaining the best. Today’s blog will discuss Quiz and Survey Master, the Best Survey Maker Plugin. If you have heard of […]<\/p>\n"},{"link":"https:\/\/quizandsurveymaster.com\/importance-of-mathematics-quiz-competition\/","title":"Importance of Fun Mathematics Quiz Competition in School? (5 minutes read)","excerpt":"
The importance of Mathematics Quiz Competition in school is being uncovered only recently as education switched to online mode during the Pandemic. Since it became difficult to carry out conventional pen-and-paper tests, the MCQ-type tests became a good switch for teachers as well the students. Earlier people used to dread the thought of maths quizzes […]<\/p>\n"}],"popular_products":[{"name":"Google Sheet Connector","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2020\/03\/first-1.jpg","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=83375","price":{"personal1site":"29.00","business2-5sites":"39.00","developerunlimited":"59.00"},"description":"Sync your surveys with Google Sheets. "},{"name":"Paypal and Stripe Payment Integration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2020\/04\/Paypal-and-Stripe-Payment-Integration.jpg","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=63522","price":{"personal1site":"29.00","business2-5sites":"39.00","developerunlimitedsites":"59.00"},"description":"Add payment wall for quiz and surveys using this addon. Integrate Paypal or Stripe and start receiving payments. "},{"name":"Save & Resume","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2020\/04\/Save-and-Resume.jpg","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=63518","price":{"personal1site":"19.00","business2-5sites":"29.00","developerunlimitedsites":"49.00"},"description":"Enable save and resume functionality in your quiz. Users can now close and come back to a quiz anytime! "},{"name":"Simple Popups","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2020\/04\/Simple-Popups.jpg","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=38572","price":{"personal1site":"35.00","business2-5sites":"56.00","developerunlimitedsites":"87.00"},"description":"Have you ever wanted to have your quiz or survey inside of a popup? With this easy to use addon, now you can!"},{"name":"Google Analytics Tracking","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2020\/04\/Google-Analytics-Tracking.jpg","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=34421","price":{"personal1site":"35.00","business2-5sites":"56.00","developerunlimited":"87.00"},"description":"Track your quiz and survey submissions in Google Analytics."},{"name":"Logic","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2020\/04\/Logic.jpg","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=8071","price":{"personal1site":"49.00","business2-5sites":"59.00","developerunlimitedsites":"99.00"},"description":"Create Advanced Quizzes by adding Logic and Conditional Branching to your Quizzes and Surveys. Adds Unlimited Additional Conditons."},{"name":"Reporting & Analysis","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2020\/04\/Reporting-And-Analysis.jpg","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=3437","price":{"personal1site":"39.00","business2-5sites":"59.00","developerunlimitedsites":"99.00"},"description":"Analyze your results by visualizing the data in a variety of different graphs, filter the data, and export the data."},{"name":"Zapier Integration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2020\/04\/Zapier-Integration.jpg","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=2809","price":{"personal1site":"35.00","business2-5sites":"56.00","developerunlimitedsites":"87.00"},"description":"With Zapier Integration, Quiz And Survey Master can sends results to over 700 different websites and services using Zapier."},{"name":"Export Results","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2020\/04\/Export-Results.jpg","link":"https:\/\/quizandsurveymaster.com\/downloads\/export-results\/","price":{"personal1site":"29.00","business2-5sites":"39.00","developerunlimitedsites":"59.00"},"description":"This add-on gives you the ability to export your quiz results as a CSV file which can be imported into spreadsheet programs such as Excel and Google Sheets."},{"name":"User Dashboard","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2020\/04\/User-Dashboard.jpg","link":"https:\/\/quizandsurveymaster.com\/downloads\/user-dashboard\/","price":{"personal1site":"29.00","business2-5sites":"39.00","developerunlimitedsites":"59.00"},"description":"This add-on gives you the ability to set up a page where users can review their results from all the quizzes they have taken."}],"on_sale_products":[{"name":"Google Sheet Connector","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2020\/03\/first-1.jpg","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=83375","price":{"personal1site":"29.00","business2-5sites":"39.00","developerunlimited":"59.00"},"description":"Sync your surveys with Google Sheets. "}],"bundles":[{"name":"Pro Bundle","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/Pro.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=306210","price":{"yearly":"199.00","lifetime":"597.00"},"desc":"All QSM Addons in one single and affordable package. Over 34 addons are included in this package and new addons are added automatically. Save over $1600 by buying our bundle.","icon":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/PRO.png"},{"name":"Plus Bundle","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/PLUS.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=306190","price":{"yearly":"179.00","lifetime":"537.00"},"desc":"14+ addons to add useful features to your quiz and surveys. ","icon":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/Plus.png"},{"name":"Basic Bundle","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/Basic-1.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=305426","price":{"yearly":"129.00","lifetime":"387.00"},"desc":"All the right addons to get you started with QSM premium features. ","icon":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/Basic.png"}],"themes":[{"name":"Pool","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/theme-pool.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=302299","price":{"1site":"19.00","2-5sites":"24.00","unlimited":"49.00"},"description":"","demo":"https:\/\/themes.quizandsurveymaster.com\/ivory-qsm-theme-demo"},{"name":"Ivory","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/theme-ivory.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=302297","price":{"1site":"14.00","2-5sites":"24.00","unlimited":"49.00"},"description":"","demo":"https:\/\/themes.quizandsurveymaster.com\/ivory-qsm-theme-demo"},{"name":"Fragrance","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/theme-fragrance.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=300658","price":{"1site":"14.00","2-5sites":"24.00","unlimited":"49.00"},"description":"","demo":"https:\/\/themes.quizandsurveymaster.com\/fragrance-qsm-theme-demo"},{"name":"Breeze","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/theme-breeze.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=300513","price":{"1site":"24.00","2-5sites":"39.00","unlimited":"44.00"},"description":"","demo":"https:\/\/themes.quizandsurveymaster.com\/breeze-qsm-theme-demo"}]}
\ No newline at end of file
diff --git a/js/qsm-admin.js b/js/qsm-admin.js
index 5c9930cb1..37f0d4d79 100644
--- a/js/qsm-admin.js
+++ b/js/qsm-admin.js
@@ -178,9 +178,16 @@ var QSMAdmin;
jQuery('#screen-options-wrap').find('#welcome_panel-hide').prop('checked', false);
postboxes.save_state('toplevel_page_qsm_dashboard');
});
- //Get the message in text tab
- jQuery(document).on('change', '#qsm_question_text_message_id', function () {
- var text_id = jQuery(this).val();
+ //Get the message in text tab general
+ jQuery(document).on('click', '.quiz_text_tab_message', function () {
+ var text_id = jQuery(this).attr('data-id');
+ var text_label = jQuery(this).attr('data-label');
+ jQuery(".select_message").html(text_label);
+ jQuery('.quiz_text_tab').removeClass('current_general');
+ jQuery('.qsm-custom-label-left-menu').removeClass('currentli_general');
+ jQuery(this).addClass('current_general');
+ jQuery(this).parent().addClass('currentli_general');
+ jQuery('#' + text_id).show();
jQuery('.qsm-text-main-wrap .qsm-text-tab-message-loader').show();
jQuery.post(ajaxurl, { text_id: text_id, 'quiz_id': qsmTextTabObject.quiz_id, action: 'qsm_get_question_text_message' }, function (response) {
var data = jQuery.parseJSON(response);
@@ -194,27 +201,63 @@ var QSMAdmin;
}
jQuery('.qsm-text-allowed-variables > .qsm-text-variable-wrap').html('').html(data.allowed_variable_text);
jQuery('.qsm-text-main-wrap .qsm-text-tab-message-loader').hide();
- } else {
- console.log(data.message);
}
});
});
- //Save the message in text tab
+ //Get the message in text tab variable
+ jQuery(document).on('click', '.quiz_text_tab_message_variable', function () {
+ var text_id = jQuery(this).attr('data-id');
+ var text_label = jQuery(this).attr('data-label');
+ jQuery(".select_message_variable").html(text_label);
+ jQuery('.quiz_style_tab').removeClass('current_variable');
+ jQuery('.qsm-custom-label-left-menu').removeClass('currentli_variable');
+ jQuery(this).addClass('current_variable');
+ jQuery(this).parent().addClass('currentli_variable');
+ jQuery('#' + text_id).show();
+ jQuery('.qsm-text-main-wrap .qsm-text-tab-message-loader').show();
+ jQuery.post(ajaxurl, { text_id: text_id, 'quiz_id': qsmTextTabObject.quiz_id, action: 'qsm_get_question_text_message' }, function (response) {
+ var data = jQuery.parseJSON(response);
+ if (data.success === true) {
+ var text_msg = data.text_message;
+ if ($('#wp-qsm_question_text_message-wrap').hasClass('html-active')) {
+ jQuery("#qsm_question_text_message_variable").val(text_msg);
+ } else {
+ text_msg = text_msg.replace(/\n/g, "
");
+ tinyMCE.get('qsm_question_text_message_variable').setContent(text_msg);
+ }
+ jQuery('.qsm-text-allowed-variables > .qsm-text-variable-wrap').html('').html(data.allowed_variable_text);
+ jQuery('.qsm-text-main-wrap .qsm-text-tab-message-loader').hide();
+ }
+ });
+ });
+ //Save the message in text tab general text
jQuery(document).on('click', '#qsm_save_text_message', function () {
var $this = jQuery(this);
$this.siblings('.spinner').addClass('is-active');
- var text_id = jQuery('#qsm_question_text_message_id').val();
- var message = wp.editor.getContent('qsm_question_text_message');
+ var text_id = jQuery(".currentli_general .current_general").data('id');
+ var message = wp.editor.getContent('qsm_question_text_message');
jQuery.post(ajaxurl, { text_id: text_id, 'message': message, 'quiz_id': qsmTextTabObject.quiz_id, action: 'qsm_update_text_message' }, function (response) {
var data = jQuery.parseJSON(response);
if (data.success === true) {
//Do nothing
- } else {
- console.log(data.message);
}
$this.siblings('.spinner').removeClass('is-active');
});
});
+ //Save the message in text tab variable text
+ jQuery(document).on('click', '#qsm_save_text_message_variable', function () {
+ var $this = jQuery(this);
+ $this.siblings('.spinner').addClass('is-active');
+ var text_id = jQuery(".currentli_variable .current_variable").data('id');
+ var message = wp.editor.getContent('qsm_question_text_message_variable');
+ jQuery.post(ajaxurl, { text_id: text_id, 'message': message, 'quiz_id': qsmTextTabObject.quiz_id, action: 'qsm_update_text_message' }, function (response) {
+ var data = jQuery.parseJSON(response);
+ if (data.success === true) {
+ //Do nothing
+ }
+ $this.siblings('.spinner').removeClass('is-active');
+ });
+ });
//On click append on tiny mce
jQuery(document).on('click', '.qsm-text-allowed-variables button.button', function () {
var content = jQuery(this).text();
@@ -351,7 +394,6 @@ var QSMAdmin;
$('.qsm-addon-setting-wrap .qsm_popular_addons').hide();
$(href).show();
});
-
// opens media library o set featured image for quiz
$(document).on('click', '#set_featured_image', function (e) {
var button = $(this);
@@ -586,18 +628,42 @@ function deleteResults(id, quizName) {
idHidden.value = id;
idHiddenName.value = quizName;
}
-
//quiz options style tab
jQuery('.quiz_style_tab').click(function (e) {
e.preventDefault();
var current_id = jQuery(this).attr('data-id');
jQuery('.quiz_style_tab').removeClass('current');
+ jQuery('.qsm-custom-label-left-menu').removeClass('currentli');
jQuery(this).addClass('current');
jQuery('.quiz_style_tab_content').hide();
jQuery('#' + current_id).show();
});
-
-if (jQuery('body').hasClass('admin_page_mlw_quiz_options')) {
+//quiz options text tab custom label
+jQuery('.quiz_text_tab_custom').click(function (e) {
+ e.preventDefault();
+ var current_id = jQuery(this).attr('data-id');
+ jQuery('.quiz_text_tab_custom').removeClass('current');
+ jQuery('.qsm-custom-label-left-menu').removeClass('currentli');
+ jQuery(this).addClass('current');
+ jQuery(this).parent().addClass('currentli');
+ jQuery('.quiz_style_tab_content').hide();
+ jQuery('#' + current_id).show();
+});
+//quiz text tab
+jQuery('.quiz_text_tab').click(function (e) {
+ e.preventDefault();
+ var current_id = jQuery(this).attr('data-id');
+ jQuery('.quiz_text_tab').removeClass('current');
+ jQuery(this).addClass('current');
+ jQuery('.quiz_text_tab_content').hide();
+ jQuery("#postbox-container-1").show();
+ if(current_id == 'qsm_general_text'){ jQuery(".current_general")[0].click();}
+ if(current_id == 'qsm_variable_text'){ jQuery(".current_variable")[0].click();}
+ if(current_id == 'qsm_custom_label'){ jQuery("#postbox-container-1").css("display", "none");}
+ jQuery('#' + current_id).show();
+});
+if (jQuery('body').hasClass('admin_page_mlw_quiz_options')) { var current_id = jQuery(this).attr('data-id'); if(current_id == 'qsm_general_text'){ jQuery(".current_general")[0].click();}
+if(current_id == 'qsm_variable_text'){ jQuery(".current_variable")[0].click();}
if (window.location.href.indexOf('tab=style') > 0) {
function mlw_qmn_theme(theme) {
document.getElementById('save_quiz_theme').value = theme;
@@ -1493,13 +1559,13 @@ var import_button;
if (action == 'change') {
$('.qb-load-more-wrapper').remove();
$('#question-bank').find('.question-bank-question').remove();
- $('#question-bank').append('
User Comments
'; + $template .= ''.__('User Comments','quiz-master-next').'
'; $template .= 'Responses
'; + $template .= ''.__('Responses','quiz-master-next').'
'; $template .= 'Quiz Results for %QUIZ_NAME%
+ $template = "".__('Quiz Results for','quiz-master-next')." %QUIZ_NAME%
%CONTACT_ALL%
Name Provided: %USER_NAME%
Business Provided: %USER_BUSINESS%
diff --git a/php/admin/options-page-questions-tab.php b/php/admin/options-page-questions-tab.php index f2d44b4c9..4e7a43db5 100644 --- a/php/admin/options-page-questions-tab.php +++ b/php/admin/options-page-questions-tab.php @@ -29,9 +29,8 @@ function qsm_settings_questions_tab() { * @since 4.4.0 */ function qsm_options_questions_tab_content() { - global $wpdb; - global $mlwQuizMasterNext; - + global $wpdb, $mlwQuizMasterNext; + $quiz_data = $wpdb->get_results( "SELECT quiz_id, quiz_name FROM " . $wpdb->prefix . "mlw_quizzes WHERE deleted=0 ORDER BY quiz_id DESC" ); $question_categories = $wpdb->get_results( "SELECT DISTINCT category FROM {$wpdb->prefix}mlw_questions", 'ARRAY_A' ); $enabled = get_option( 'qsm_multiple_category_enabled' ); @@ -67,26 +66,26 @@ function qsm_options_questions_tab_content() { 'questions' => array(), ); foreach ( $pages as $k => $val ) { - $qpage = isset( $db_qpages[ $k ] ) ? $db_qpages[ $k ] : $defaultQPage; - $qpage['id'] = $k + 1; - $qpage['pagekey'] = ( isset( $qpage['pagekey'] ) && ! empty( $qpage['pagekey'] ) ) ? $qpage['pagekey'] : uniqid(); - $qpage['hide_prevbtn'] = ( isset( $qpage['hide_prevbtn'] ) && ! empty( $qpage['hide_prevbtn'] ) ) ? $qpage['hide_prevbtn'] : 0; - $pages[ $k ] = array_values( $val ); - $qpage['questions'] = array_values( $val ); - $qpages[] = $qpage; + $qpage = isset( $db_qpages[ $k ] ) ? $db_qpages[ $k ] : $defaultQPage; + $qpage['id'] = $k + 1; + $qpage['pagekey'] = ( isset( $qpage['pagekey'] ) && ! empty( $qpage['pagekey'] ) ) ? $qpage['pagekey'] : uniqid(); + $qpage['hide_prevbtn'] = ( isset( $qpage['hide_prevbtn'] ) && ! empty( $qpage['hide_prevbtn'] ) ) ? $qpage['hide_prevbtn'] : 0; + $pages[ $k ] = array_values( $val ); + $qpage['questions'] = array_values( $val ); + $qpages[] = $qpage; } } else { - $defaultQPage = array( + $defaultQPage = array( 'id' => 1, 'quizID' => $quiz_id, 'pagekey' => uniqid(), 'hide_prevbtn' => 0, 'questions' => array(), ); - $qpages[] = $defaultQPage; + $qpages[] = $defaultQPage; } - $qpages = apply_filters( 'qsm_filter_quiz_page_attributes', $qpages, $pages ); - $json_data = array( + $qpages = apply_filters( 'qsm_filter_quiz_page_attributes', $qpages, $pages ); + $json_data = array( 'quizID' => $quiz_id, 'answerText' => __( 'Answer', 'quiz-master-next' ), 'nonce' => wp_create_nonce( 'wp_rest' ), @@ -100,667 +99,701 @@ function qsm_options_questions_tab_content() { 'question_bank_nonce' => wp_create_nonce( 'delete_question_question_bank_nonce' ), 'single_question_nonce' => wp_create_nonce( 'delete_question_from_database' ), 'rest_user_nonce' => wp_create_nonce( 'wp_rest_nonce_' . $quiz_id . '_' . get_current_user_id() ), - 'default_answers' => $default_answers, + 'default_answers' => $default_answers, ); wp_localize_script( 'qsm_admin_js', 'qsmQuestionSettings', $json_data ); // Load Question Types. - $question_types = $mlwQuizMasterNext->pluginHelper->get_question_type_options(); - $question_types_categorized = $mlwQuizMasterNext->pluginHelper->categorize_question_types(); + $question_types = $mlwQuizMasterNext->pluginHelper->get_question_type_options(); + $question_types_categorized = $mlwQuizMasterNext->pluginHelper->categorize_question_types(); // Display warning if using competing options. $pagination = $mlwQuizMasterNext->pluginHelper->get_section_setting( 'quiz_options', 'pagination' ); if ( 0 != $pagination ) { ?> -- - -
-+ + +
[ - ID: - ] -
- -[ + ID: + ] +
+ +- - -
-[ ID: ]
- -[ ID: ]
+ +-
- --
- +
+
+ ++
+ +
--
-
- |
+
+
+
-
-
+
+
+
+
-
-
-
+
-
+
-
+
+
+-
+
+
- -
-
+
-
+
- |
+
- -
-
+
-
+
- |
+
- -
-
+
-
+