{"version":3,"file":"./assets/css/cpt-admin.css","sources":["webpack://flexible-faqs/./src/scss/cpt-admin.scss"],"sourcesContent":["/* Styles for the FAQ CPT editor screen only. */\n\n// Hide FAQ info metabox on page load.\n#wpgo_faq_info_mb {\n\tdisplay: none;\n}\n\n// styles specific to visual only mode\n#wpgo-faq-cpt .visual-mode-only {\n\tborder-bottom: 1px solid #ccd0d4;\n\n\t&.disabled-faq-item {\n\t\t.drag-icon + .question-text {\n\t\t\topacity: 0.6;\n\t\t}\n\t}\n\n\t> .inside {\n\t\tpadding: 10px 7px 10px 7px;\n\t}\n\n\t.faq-heading.question {\n\t\tz-index: 9999;\n\t\tposition: absolute;\n\t\ttop: -3px;\n\t\tleft: 10px;\n\t\tmargin: 0;\n\t\tpadding: 12px 0 5px 0;\n\t}\n\n\t.faq-heading.answer {\n\t\tz-index: 9999;\n\t\tposition: absolute;\n\t\ttop: -15px;\n\t\tleft: 10px;\n\t\tmargin: 0;\n\t\tpadding: 12px 0 5px 0;\n\t}\n\n\t.answer-container .mce-panel {\n\t\tmargin-top: 10px;\n\t}\n\n\t.mce-btn-group {\n\t\tfloat: right;\n\t\tpadding: 5px 0px 0 0;\n\t}\n\n\t.mce-edit-area {\n\t\tpadding-top: 40px;\n\t}\n\n\t.mce-edit-area > iframe {\n\t\tborder-top: 1px #eee solid;\n\t}\n\n\t.question-container,\n\t.answer-container {\n\t\tposition: relative;\n\t}\n\n\t.question-container .mce-edit-area > iframe {\n\t\tmin-height: 50px !important;\n\t}\n\n\t.answer-container .mce-edit-area > iframe {\n\t\tmin-height: 120px !important;\n\t}\n\n\t.mce-stack-layout {\n\t\tpadding: 0;\n\t}\n\n\t.mce-statusbar {\n\t\tborder: 0;\n\t}\n}\n\n// Hide the 'Visibility' section in Publish metabox.\n\nbody.post-type-wpgo_faq .misc-pub-visibility {\n\tdisplay: none;\n}\n\n// TinyMC embed YouTube video dialog.\n\ntextarea.mce-textbox[placeholder~=\"YouTube\"]::placeholder {\n\tcolor: #bbb;\n\tfont-style: italic;\n}\n\n// general faq metabox styles\n\n.add-faq-msg {\n\ttext-align: center;\n\tfont-style: italic;\n}\n#wpgo-faq-cpt {\n\t.close-faq a {\n\t\tfloat: right;\n\t\tfont-size: 12px;\n\t\tpadding: 0px 6px;\n\t\tmin-height: 26px;\n\t}\n\n\t.close-faq {\n\t\theight: 28px;\n\t\tpadding: 12px 10px 12px 0;\n\t}\n\n\t// make image icon slightly bigger\n\t.mce-ico.mce-i-image,\n\t.mce-ico.mce-i-media {\n\t\tfont-size: 19px;\n\t}\n\n\t.mce-faq-upgrade {\n\t\tmargin-right: 7px;\n\n\t\ti {\n\t\t\tpadding: 3px 0 0 0;\n\t\t\tcolor: #239c23;\n\t\t\topacity: 0.5;\n\t\t}\n\t}\n}\n\n.disable-faq-item {\n\tdisplay: flex;\n\talign-items: flex-end;\n\n\tinput[type=\"checkbox\"] {\n\t\theight: 0;\n\t\twidth: 0;\n\t\tdisplay: none;\n\t}\n\n\tlabel {\n\t\tcursor: pointer;\n\t\ttext-indent: -9999px;\n\t\twidth: 30px;\n\t\theight: 18px;\n\t\tbackground: #2271b1;\n\t\tdisplay: block;\n\t\tborder-radius: 100px;\n\t\tposition: relative;\n\t\tmargin-left: 10px;\n\t}\n\n\tlabel:after {\n\t\tcontent: \"\";\n\t\tposition: absolute;\n\t\ttop: 2px;\n\t\tleft: 2px;\n\t\twidth: 14px;\n\t\theight: 14px;\n\t\tbackground: #fff;\n\t\tborder-radius: 90px;\n\t\ttransition: 0.1s;\n\n\t\ttransform: translateX(85%);\n\t}\n\n\tinput:checked + label {\n\t\tbackground: #999;\n\t}\n\n\tinput:checked + label:after {\n\t\tleft: 16px;\n\t\ttransform: translateX(-100%);\n\t}\n}\n\n/** New Post Create metabox css**/\n.faq_new_post_form_section label {\n\tfont-weight: 500;\n\tcolor: #000;\n\twidth: 18%;\n\tdisplay: inline-block;\n}\n\n.faq_new_post_form_section input,\n.faq_new_post_form_section select {\n\twidth: 80%;\n\tmargin: 5px 0;\n}\n\n#faq-create-new-post-wrapper {\n\tdisplay: flex;\n\tjustify-content: space-between;\n\tmargin: 20px 0 10px;\n\n\t#faq_mb_acc {\n\t\talign-self: center;\n\t}\n}\n\n.faq_new_post_form_section span.error {\n\tcolor: red;\n\ttext-transform: capitalize;\n}\n.faq_new_post_form_section #faq_create_new_post {\n\twidth: auto;\n}\n.faq_new_post_form_section #loader {\n\tvertical-align: middle;\n\tpadding: 10px;\n\tline-height: 1;\n}\n\n.faq_new_post_form_section #faq-success-notice {\n\tbackground: #fff;\n\tborder: 1px solid #ccd0d4;\n\tborder-left-width: 4px;\n\tbox-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);\n\tpadding: 0px 13px;\n\tborder-left-color: #155724;\n}\n\n.faq_new_post_form_section #faq-error-notice {\n\tbackground: #fff;\n\tborder: 1px solid #ccd0d4;\n\tborder-left-width: 4px;\n\tbox-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);\n\tpadding: 0px 13px;\n\tborder-left-color: #721c24;\n}\n.faq_new_post_form_section #faq-newpost-url {\n\tfloat: right;\n\ttext-transform: capitalize;\n}\n\n/* Create an FAQ page Meta box css */\n// Generalized css not in use now but may be used later.\n.display-none {\n\tdisplay: none !important;\n}\n\n.postbox-container {\n\t#wpgo-faq-cpt-new_post {\n\t\t.ffaq_advanced_controls {\n\t\t\tdisplay: none;\n\t\t}\n\t\t.faq_new_post_form_section {\n\t\t\t.ffaq-notices {\n\t\t\t\tbackground: #fff;\n\t\t\t\tborder: 1px solid #ccd0d4;\n\t\t\t\tborder-left-width: 4px;\n\t\t\t\tbox-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);\n\t\t\t\tpadding: 6px 12px;\n\t\t\t\tmargin-top: 15px;\n\t\t\t\tp {\n\t\t\t\t\tmargin-top: 0;\n\t\t\t\t\tmargin-bottom: 0;\n\t\t\t\t}\n\t\t\t}\n\t\t\t.success-notices {\n\t\t\t\tborder-left-color: #155724;\n\t\t\t}\n\t\t\t.error-notices {\n\t\t\t\tborder-left-color: #721c24;\n\t\t\t}\n\t\t}\n\t}\n}\n\n// ===============\n// unsorted styles\n// ===============\n\n/* Hide Q/A meta box draggable title bar. */\n/* #wpgo-faq-cpt button.handlediv, #wpgo-faq-cpt h2.hndle, #post-body-content {\n    display: none;\n} */\n\n#output-faq .mce-toolbar-grp {\n\tborder: 0;\n}\n\n#wpgo-faq-cpt .handlediv,\n#wpgo-faq-cpt .handle-order-higher,\n#wpgo-faq-cpt .handle-order-lower {\n\tdisplay: none;\n}\n\n#wpgo-faq-cpt textarea {\n\tfont-size: 14px;\n\tpadding: 6px 8px;\n}\n\n#wpgo-faq-cpt textarea.question-input {\n\tmargin: 0 0 5px;\n\tpadding: 6px 8px;\n}\n\n#output-faq {\n\tpadding-top: 10px;\n\tpadding-bottom: 10px;\n}\n\n.full-width {\n\twidth: 100%;\n}\n\n.shordcode-label {\n\tmargin: 5px 0;\n}\n\n.shordcode-input {\n\twidth: 100%;\n\tfont-family: \"Courier New\", Courier, monospace;\n}\n\n.description {\n\tmargin-top: 7px;\n}\n\n// New Setting for colors and opacity of question text.\n.postbox > h2 .dashicons.dashicons-menu {\n\tcolor: #ccc;\n}\n\n.wpgo-faq-advanced-setting + .postbox-header + .inside {\n\t.postbox > h2 .dashicons.dashicons-menu {\n\t\tcolor: #00a300;\n\t}\n\n\t.postbox.disabled-faq-item > h2 .dashicons.dashicons-menu {\n\t\tcolor: #ccc;\n\t}\n\n\t.postbox > h2 .dashicons.dashicons-menu.empty-faq {\n\t\tcolor: #b32d2e;\n\t}\n}\n\n#wpgo-faq-cpt .visual-mode-only.postbox.opened > h2 .dashicons.dashicons-menu,\n#wpgo-faq-cpt .visual-mode-only.postbox.opened > h2 .dashicons.dashicons-menu + span.question-text {\n\topacity: 0.4;\n}\n\nh2 .drag-handle + .question-text {\n\topacity: 1;\n}\n\n.drag-handle:hover {\n\tcursor: move;\n}\n/* question text and drag handle styling ends here */\n\n.toggle-button,\n.remove-faq {\n\tfloat: left;\n\twidth: 18px;\n\theight: 18px;\n\tfont-size: 18px;\n\tmargin: 0;\n\tpadding: 0;\n\tborder: 0;\n\tbackground: 0 0;\n\tcursor: pointer;\n\tline-height: inherit;\n\tcolor: #777;\n}\n\n.toggle-button {\n\tfloat: left;\n\tmargin-right: 3px;\n}\n\n.remove-faq {\n\tfloat: right;\n\tcolor: rgb(197, 58, 58);\n}\n\n.faq-form-box {\n\tmargin-top: 7px;\n\tmargin-bottom: 7px;\n\tmin-height: 40px;\n}\n\n#output-faq .faq-form-box h2 {\n\tfont-size: 15px;\n\tpadding: 11px 12px;\n}\n\n.outer-heading {\n\tdisplay: flex;\n\tpadding: 10px 10px 0;\n}\n\n/* no longer needed?\n#output-faq .outer-heading {\n    line-height: 1.1em;\n}*/\n\n.drag-icon {\n\talign-self: flex-start;\n}\n\n.question-text {\n\tmargin-left: 10px;\n\tflex-grow: 1;\n\theight: 20px;\n\toverflow: hidden;\n}\n\n.pull-right {\n\t/* width: 45px; */\n\tfloat: right;\n\tdisplay: none;\n\talign-self: flex-start;\n\tflex-shrink: 0;\n\topacity: 0.8;\n}\n\n#output-faq .faq-form-box .faq-heading {\n\tfont-weight: bold;\n}\n\n#output-faq .faq-form-box .faq-heading.question {\n\tfont-size: 15px;\n\tpadding: 12px 0 5px 0;\n\tmargin: 0 0 -32px 3px;\n}\n\n#output-faq .faq-form-box .faq-heading.answer {\n\tfont-size: 15px;\n\tpadding: 10px 0 5px 0;\n\tmargin: 15px 0 -32px 2px;\n}\n\n#output-faq .wp-media-buttons {\n\tmargin: 0 0 0 65px;\n}\n\n#wpgo-faq-cpt .inside {\n\tbackground: #f7f7f7;\n\tmargin: 0px 0 0;\n}\n\n/* #wpgo-faq-cpt .faq-form-box .inside {\n\tbackground: #fff\n} */\n\n.add-faq-container {\n\ttext-align: center;\n\tmargin-top: 5px;\n\tmargin-bottom: 5px;\n}\n\n.add-faq {\n\tcolor: #808080;\n\ttext-decoration: none;\n}\n\n.placeholder-view {\n\t/* border: 1px dotted #000; */\n\theight: 42px;\n\tbackground: #efefef;\n\tmargin-bottom: 8px;\n\tmargin-top: 8px;\n}\n\n.sort-container {\n\tposition: relative;\n\twidth: 100%;\n}\n\n.faq-form-box:hover .pull-right,\n.faq-form-box .pull-right.expanded {\n\tdisplay: block;\n}\n\n.wpgo-spinner {\n\tvisibility: visible;\n\twidth: 100%;\n\tbackground-position: center;\n\tmargin-bottom: 20px;\n}\n\n.question-spinner {\n\tvisibility: visible;\n\tbackground-size: 14px 14px;\n\tfloat: none;\n\tvertical-align: middle;\n\topacity: 1;\n\twidth: 14px;\n\theight: 14px;\n\tmargin: -3px 5px 0;\n}\n\n/* Copy icon for shortcode and tooltip. */\n.wpgo-single-faq-cpt-sc,\n.wpgo-group-faq-cpt-sc {\n\tposition: relative;\n\n\timg.wpgo-faq-shortcode-copy {\n\t\twidth: 20px;\n\t\tposition: absolute;\n\t\tcursor: pointer;\n\t\ttop: 6px;\n\t\tright: 3px;\n\t}\n}\n\n/* Advanced bulk action styles */\n.post-type-wpgo_faq {\n\t.wpgo-faq-advanced-setting {\n\t\tposition: absolute;\n\t\tright: 10px;\n\t\ttop: 8px;\n\t\ta,\n\t\ta:focus,\n\t\ta:hover {\n\t\t\tcolor: #888;\n\t\t\toutline: 0;\n\t\t\ttext-decoration: none;\n\t\t\tbox-shadow: none;\n\t\t}\n\t\t.dashicons,\n\t\t.dashicons-before:before {\n\t\t\tfont-size: 16px;\n\t\t}\n\t}\n\t.wpgo-faq-advanced-option {\n\t\ttext-align: left;\n\t\tpadding-top: 10px;\n\t\tdisplay: none;\n\t\t.faq_bulk_btn {\n\t\t\tmargin: 0 0 0 8px;\n\t\t}\n\t}\n}\n\n#wpgo-faq-advanced-option .btn-sample-faq {\n\tfloat: right;\n\tpadding: 0 5px !important;\n\tmin-height: 25px !important;\n\tfont-size: 12px !important;\n}\n.sample-faq-div {\n\tposition: absolute;\n\tright: 10px;\n}\n\n#faq-dialog {\n\tdisplay: none;\n\n\tfieldset {\n\t\tmargin: 10px 5px;\n\t}\n\n\tlabel:not(.faq-label) {\n\t\twidth: 33%;\n\t\tdisplay: inline-block;\n\t\tfont-size: 12px;\n\t}\n}\n\n.random-faq {\n\tdisplay: inline-block;\n\talign-items: flex-end;\n\n\tinput[type=\"checkbox\"] {\n\t\theight: 0;\n\t\twidth: 0;\n\t\tdisplay: none;\n\t}\n\n\tspan {\n\t\tcursor: pointer;\n\t\ttext-indent: -9999px;\n\t\twidth: 30px;\n\t\theight: 18px;\n\t\tbackground: #2271b1;\n\t\tdisplay: block;\n\t\tborder-radius: 100px;\n\t\tposition: relative;\n\t\tmargin-left: 10px;\n\t}\n\n\tspan:after {\n\t\tcontent: \"\";\n\t\tposition: absolute;\n\t\ttop: 2px;\n\t\tleft: 2px;\n\t\twidth: 14px;\n\t\theight: 14px;\n\t\tbackground: #fff;\n\t\tborder-radius: 90px;\n\t\ttransition: 0.1s;\n\t\ttransform: translateX(85%);\n\t}\n\n\tinput:checked + span {\n\t\tbackground: #999;\n\t}\n\n\tinput:checked + span:after {\n\t\tleft: 16px;\n\t\ttransform: translateX(-100%);\n\t}\n}\n\n.error-div {\n\tcolor: #721c24;\n\tbackground-color: #f8d7da;\n\tborder-color: #f5c6cb;\n\tpadding: 5px;\n\tmargin: 5px 0;\n}\n\n.add-faq-container .btn-sample-faq,\n.add-faq-container .add-sample-faq {\n\tmargin-left: 5px;\n}\n\n// FAQ information metabox.\n\n.faq-stats-text {\n\tfont-size: 14px;\n}\n\n.faq-stats-icon {\n\twidth: 16px;\n\theight: 16px;\n}\n\n#wpgo-faq-stats {\n\tpadding: 0.2em 0.5em;\n\tmin-height: 20px;\n\n\tsup {\n\t\tfont-weight: 700;\n\t\tmargin-top: -9px;\n\t\tfont-size: 9px;\n\t}\n\n\t.active-items {\n\t\tfont-weight: 700;\n\t\tcolor: #008000;\n\t}\n\n\tp {\n\t\tmargin: 10px 0;\n\t}\n\n\timg {\n\t\twidth: 14px;\n\t\theight: 14px;\n\t\tmargin-right: 5px;\n\t}\n\n\timg.faq-stats-icon.created {\n\t\twidth: 12px;\n\t\theight: 12px;\n\t}\n\n\timg.faq-stats-icon.prize {\n\t\twidth: 20px;\n\t\theight: 20px;\n\t\tmargin-left: -4px;\n\t}\n\n\t.active-items,\n\t.empty_faqs,\n\t.total-items,\n\t.enabled-items,\n\t.disabled-items {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t}\n\n\t.total-items,\n\t.enabled-items {\n\t\tmargin-bottom: -5px;\n\t}\n\n\t.wpgo-alert {\n\t\tcolor: #b32d2e;\n\t\tfont-size: 13px;\n\t\tfont-weight: 500;\n\t\tfont-style: italic;\n\t\tmargin-top: 10px;\n\n\t\tsvg {\n\t\t\tfill: #b32d2e;\n\t\t\twidth: 14px;\n\t\t\tmargin-bottom: -2px;\n\t\t\tmargin-right: 2px;\n\t\t}\n\t}\n}\n\n.postbox.faq-form-box .inside {\n\theight: 0;\n\tpadding: 0 !important;\n\tdisplay: block !important;\n\toverflow: hidden;\n\t// Disabling transition for now.\n\t// It doesn't look great when TinyMCE hasn't been initialized yet.\n\t//transition: height 0.5s ease-in-out;\n}\n\nbody .postbox.faq-form-box .inside.expanded {\n\theight: auto;\n\tpadding: 10px 7px;\n}\n"],"mappings":"AAAA;AAGA;AACA;AACA;AAGA;AACA;AADA;AAKA;AALA;AAUA;AAVA;AAcA;AACA;AACA;AACA;AACA;AACA;AAnBA;AAuBA;AACA;AACA;AACA;AACA;AACA;AA5BA;AAgCA;AAhCA;AAoCA;AACA;AArCA;AAyCA;AAzCA;AA6CA;AA7CA;;AAkDA;AAlDA;AAsDA;AAtDA;AA0DA;AA1DA;AA8DA;AA9DA;AAkEA;AACA;AAKA;AACA;AACA;AAIA;AACA;AACA;AACA;AAHA;AACA;AACA;AACA;AAHA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AANA;AASA;AACA;AACA;AAXA;;AAgBA;AACA;AAjBA;AAoBA;AApBA;AAuBA;AACA;AACA;AACA;AAIA;AACA;AACA;AAFA;AAKA;AACA;AACA;AAPA;AAWA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAnBA;AAuBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAjCA;AAqCA;AArCA;AAyCA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AAHA;AAMA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAEA;AACA;AACA;AAEA;AAGA;AACA;AAJA;AAOA;AACA;AACA;AACA;AACA;AACA;AAZA;AAcA;AACA;AACA;AAhBA;AAmBA;AACA;AApBA;AAsBA;AACA;AASA;AACA;;AAlFA;AAsFA;AACA;AACA;AAEA;;;AAGA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AAGA;AACA;AACA;AAEA;AAEA;AACA;AAHA;AAMA;AACA;AAPA;AAUA;AACA;AAGA;;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;;;AA3GA;AAgHA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;;AArHA;AAyHA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;;AAEA;AAFA;;AAKA;AACA;AACA;AACA;AACA;AACA;AAGA;AACA;AAEA;AACA;AACA;AAJA;;;AAQA;AACA;AACA;AACA;AAXA;;AAeA;AACA;AAhBA;AAmBA;AACA;AACA;AArBA;AAuBA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AADA;AAIA;AAJA;AAQA;AACA;AACA;AACA;AAGA;AACA;AACA;AAFA;AAKA;AACA;AACA;AAPA;AAWA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAnBA;AAuBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAhCA;AAoCA;AApCA;AAwCA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;;AAEA;AACA;AAIA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AAFA;AAKA;AACA;AACA;AAPA;AAWA;AACA;AAZA;AAgBA;AAhBA;AAoBA;AACA;AACA;AAtBA;AA0BA;AACA;AA3BA;AA+BA;AACA;AACA;AAjCA;;;;;AAyCA;AACA;AA1CA;;AA+CA;AA/CA;AAmDA;AACA;AACA;AACA;AACA;AAvDA;AA0DA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AAKA;AACA;AACA;;","sourceRoot":""}